-
Notifications
You must be signed in to change notification settings - Fork 141
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
Failed mirroring when using latest_release
plugin
#1775
Comments
Here are a few more version patterns from various packages that fail the Failed to parse geopandas version '0.1.0.dev-120828c' |
Thanks for reporting. Happy to accept ignoring non PEP440 valid version and downloading all that are. As I think you've worked out wrapping that Then sparks the harder question of do we want to download non standard (old) non conforment versions at all? Or just document this version does cause this to not happen, since it's the "latest_release" plugin anyways ... |
Also note the existence of this package, specifically to handle the legacy version parsing. https://pypi.org/project/packaging-legacy/ |
this issue might be related to #1784 |
Certain packages never get mirrored when using the
latest_release
plugin do to an unhandled exception raised by the "parse()" function from packaging.version.nltk
package is an example of a package that is never mirrored when thelatest_release
plugin is used to filter the last "n" versions of each package. In that specific case, thenltk
package has a release version "2.0.1rc2-git" that returns the following when packaging.version.parse() is called:Because this exception is not handled, the plugin always returns an empty list of possible package releases -- resulting in nothing being mirrored.
The failing code is in
bandersnatch_filter_plugins/latest_name.py
:The text was updated successfully, but these errors were encountered: