-
Notifications
You must be signed in to change notification settings - Fork 1
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
Can not calculate version #28
Comments
Original comment by: Jason R. Coombs (BitBucket: jaraco, GitHub: jaraco) The StopIteration means that no hgtools Manager class was found that was suitable. Because you're doing a git checkout, that probably means that you don't have a late version of Git installed or in the path. hgtools 6.1 requires Git 1.7.10 or later. Older versions of hgtools probably won't help because they didn't work properly with Git for listing tags. |
Original comment by: Gustavo Picon (BitBucket: tabo, GitHub: tabo) I'm affected by this issue too, and I do have git installed. The problem seems to be that hgtools is using setuptools' version parsing to compare version numbers, and this is what happens:
So even while I have git 1.9.3 installed, hgtools discards it as if it was older than 1.7.10. (The |
Original comment by: Jason R. Coombs (BitBucket: jaraco, GitHub: jaraco) @tabo The issue you're getting here I think is subtly different. SetuptoolsLegacyVersion was only very recently introduced in Setuptools 8, so hgtools probably needs to be updated to support that. I agreed the StopIteration is a poor experience. |
* Use `extend-ignore` in flake8 config This option allows to add extra ignored rules to the default list instead of replacing it. The default exclusions are: E121, E123, E126, E226, E24, E704, W503 and W504. Fixes #28. Refs: * https://github.com/pypa/setuptools/pull/2486/files#r541943356 * https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-extend-ignore * https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-ignore * Enable complexity limit. Fixes jaraco/skeleton#34. * Replace pep517.build with build (#37) * Replace pep517.build with build Resolves #30 * Prefer simple usage Co-authored-by: Jason R. Coombs <[email protected]> * Use license_files instead of license_file in meta (#35) Singular `license_file` is deprecated since wheel v0.32.0. Refs: * https://wheel.readthedocs.io/en/stable/news.html * https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file Co-authored-by: Jason R. Coombs <[email protected]>
* Use `extend-ignore` in flake8 config This option allows to add extra ignored rules to the default list instead of replacing it. The default exclusions are: E121, E123, E126, E226, E24, E704, W503 and W504. Fixes #28. Refs: * https://github.com/pypa/setuptools/pull/2486/files#r541943356 * https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-extend-ignore * https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-ignore * Enable complexity limit. Fixes jaraco/skeleton#34. * Replace pep517.build with build (#37) * Replace pep517.build with build Resolves #30 * Prefer simple usage Co-authored-by: Jason R. Coombs <[email protected]> * Use license_files instead of license_file in meta (#35) Singular `license_file` is deprecated since wheel v0.32.0. Refs: * https://wheel.readthedocs.io/en/stable/news.html * https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file Co-authored-by: Jason R. Coombs <[email protected]>
Originally reported by: Renier de Bruyn (BitBucket: renierdbruyn, GitHub: renierdbruyn)
hgtools
seems to break packages, when I try to install it trough pip i.e.pip install https://github.com/renierdbruyn/calendra/tarball/master#calendra
or directly from your repo e.g.pip install https://github.com/jaraco/calendra/tarball/master
I got it to install by doing:
pip install git+git://github.com/renierdbruyn/calendra.git@master#egg=calendra
but this resets the version to 0.0.0 Why is this?repo in question can be found here
The stack trace:
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: