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

Package name/version inconsistency with PyPI #104

Closed
stevejefferiesIDBS opened this issue Jan 11, 2016 · 1 comment
Closed

Package name/version inconsistency with PyPI #104

stevejefferiesIDBS opened this issue Jan 11, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@stevejefferiesIDBS
Copy link

I have noticed an inconsistency between pypiserver and pypi.python.org with a certain package which is fairly unusual in its naming/versioning. The package in question is python-owasp-zap-v2.4.

The package can be installed from pypi.python.org using pip install python-owasp-zap-v2.4 resulting in an installed version of 0.0.7. The same fails on a locally deployed pypiserver as the package name appears as python-owasp-zap on this server.

It looks as though the regex used by pypiserver is spliting (and consuming) the package name on the occurance of -v resulting in python-owasp-zap and a version of 2.4-0.0.7. Not 100% but I think a version in this format is invalid so potentially pypiserver needs a revised regex or some additional logic to check for such cases. Interestingly this worked back in older versions and looks to have been impacted by commit - 2d0de09

I'm open to working on providing such a fix if my above analysis makes sense and seems correct, but before I look into it I wanted to get feedback as I may have interpreted the problem incorrectly here.

@ankostis ankostis self-assigned this Jan 12, 2016
@ankostis
Copy link
Member

Yes, it seems like a bug; version-identifiers do not start with v,
if you have start looking into it, please consider also #102.
Thank you in advance.

@ankostis ankostis added this to the Next Release milestone Jan 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants