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

Allow reporting on quarantined packages #322

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

Conversation

Robin5605
Copy link
Contributor

Closes #319

Create a dependency to get the HTTPX client. This was always there bound
to state, but wrapping it in a dependency provides a cleaner interface
and better testability.
This will ensure that quarantined packages don't register as "not on
PyPI" because quarantined packages are not visible through the JSON API,
however still show as normal when queried through
pypi.org/project/<project_name>.
Fix tests to have them pass in mock objects as arguments rather than
trying to monkeypatch the httpx module by injecting mocks
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.

Allow reporting on quarantined packages
1 participant