Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility fixes #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Compatibility fixes #44

wants to merge 2 commits into from

Conversation

jsinge
Copy link

@jsinge jsinge commented Jan 16, 2022

This PR contains some fixes that I needed to get the cppdep tool running in my recent python 3.8 environment.
Also handling of errors in the yaml file was adapted a little bit to get more helpful error messages

* Prevent TypeError in path_common by converting path set into list
* Fix networkx version to 2.0 to circumvent AttributeError: 'DiGraph' object has no attribute 'number_of_selfloops'
* Fix pytest version to 3.6
* Import mock from unittest for compatiblity with python 3.3 and above
In case the script aborts because a package has no sources, print the package name.
In case of duplicated source file declarations inside one package, show a warning instead of aborting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant