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

Fix Cyberstorm case-insensitivity issues #1063

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

x753
Copy link
Contributor

@x753 x753 commented Sep 24, 2024

Some Cyberstorm APIs would fail because the queries were case-insensitive and expected a single package as a response, but there are packages in the database that have the same name with different capitalization.

This PR fixes those APIs to no longer use iexact and stops users from uploading new packages with different capitalization to already uploaded packages.

Fix Cyberstorm APIs which would fail if there were multiple packages
with the same name in a different case.
Prevent newly uploaded packages from having the same name but in a
different case.
Fix tests in test_package_listing.py that relied on case
insensitivity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant