thebjorn/pydeps

Unable to exclude 2 libraries related to oathlib

Closed this issue · 3 comments

So far excludes has worked great for all other package i am including. (and thats a lot).
However for https://github.com/oauthlib/oauthlib and https://github.com/requests/requests-oauthlib
There is no combination of excludes i can use to collapse them
version info

% pydeps --version                                                                                                                                                                                                                                                                                                 (assets-3.7) 
pydeps v1.10.12
% python --version                                                                                                                                                                                                                                                                                                 (assets-3.7) 
Python 3.7.7

my invocation is like this
pydeps lib --keep-target-cluster --max-cluster-size 500 --max-bacon=0 --rankdir BT --reverse --noshow -T svg -o libBT.svg
simplified config (although ive tried stronger globs for oathlib and it hasnt worked)

[pydeps]
exclude =
    oathlib.*
    requests_oathlib.*
    redis_lock.*
    flask.*
    redis.*
    jira.*
    backpack.*
    psycopg2.*
    arrow.*
    jwt.*
    webargs.*
# and more

Almost everything collapses fine except those 2 libs
image

Any idea what could be the issue.
Thanks for the great tool!

@merc1031 Could the issue have anything to do with the fact that oauthlib is misspelled?

oathlib.* requests_oathlib.*

That is how they are spelled in your configuration file.

@av-guy Yep. I am an idiot! I was so distracted i didnt notice.
Thanks haha.

@merc1031 Don't beat yourself up. It happens to the best of us. Glad it worked out.