-
-
Notifications
You must be signed in to change notification settings - Fork 301
Runtime dependency on setuptools #215
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
Conversation
Not sure about the correct version constraint: please amend. |
packaging = ">=19,<21" | ||
tomlkit = "^0.5.3" | ||
jinja2 = "^2.10.3" | ||
setuptools = ">=47.3.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What would be a more appropriate version constraint? (this is latest on pypi as of today)
Could you provide the full traceback? Thanks! |
Actually that's the full traceback when running |
I was expecting an exception at the end. It's not clear why it fails. |
Oh sorry! Might be that I clipped that unintentionally. The exception was that In a python environment without In such a environment, the truth is: The python environment is the one crafted by the following nix expression:
What this does:
With this setup it works. If I left Hypothesis: In most common standard python environments setuptools might be shipped or available. |
Note: https://github.com/DavHau/mach-nix/ has it's build in completely resolved dependency graph of all pypi packages (250MB database). This database is published every 12 hours or so and used for static dependency resolution. Since |
@woile Apologies for the noise... Does my latter explanation make sense? I still wonder what an appropriate version of |
Hey, yes, thanks, I gotta research now, I don't want to run in the issue that it doesn't work in a machine which already has |
Yeah, I understand. I think tagging the lowest possible setuptools version, which also implements |
We have removed the dependency 🎉 You can try the latest version 💪 |
Imported here:
commitizen/commitizen/changelog.py
Line 33 in b8fc1ee
Types of changes
Please put an
x
in the box that appliesWithout it in a pristine python environment: