-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Invalid specifier error #169
Comments
Hej 👋, Thank you for reporting this and sorry for the late reply! I'm not sure whether this is a bug in Context: The reason for the invalid specifier is related to the recent
|
A ok !! Thanks !! |
Hi @twu, I closed this issed but I've one question My poetry.lock has the below code. Ipython is 8.8.0 and not 0.7.1.fix1. Can I think that this issue will show up to every package with similar used format version on his history?
|
Seems to still be reproducible in 0.6.1: $ echo ipython==8.5.0 | skjold audit --sources pypa - |& tail -n 1
packaging.specifiers.InvalidSpecifier: Invalid specifier: '==0.7.1.fix1'
$ skjold --version
skjold, version 0.6.1 @twu I think this issue should be reopened. Awesome library/cli btw 👍 |
Sorry @Bernardoow for the late reply 🙇 As @petarmaric's comment made me revisit this I took another look and it seems like the issue lies with how
I will try working on this sometime this week/weekend. Thanks again 🙇 As a temporary workaround you can either:
|
Any updates in this issue? |
I have the same issue now with gemnasium:
|
Hi @twu !! I got the bellow error. Can I help to fix this?
specifiers.SpecifierSet(f"=={x}", prereleases=True) File "/home/bernardo.abreu/.cache/pre-commit/repow4ikj4am/py_env-python3/lib/python3.10/site-packages/packaging/specifiers.py", line 700, in __init__ parsed.add(Specifier(specifier)) File "/home/bernardo.abreu/.cache/pre-commit/repow4ikj4am/py_env-python3/lib/python3.10/site-packages/packaging/specifiers.py", line 234, in __init__ raise InvalidSpecifier(f"Invalid specifier: '{spec}'") packaging.specifiers.InvalidSpecifier: Invalid specifier: '==0.7.1.fix1'
The text was updated successfully, but these errors were encountered: