warehouse
warehouse copied to clipboard
The Python Package Index
This is for #6192 . I had to create a new constants module because import warehouse.legacy leads to circular imports. Instead of resolving that, I went with creating a new...
Here's an example test case: ```python from tests.common.db.accounts import UserFactory def test_user_profile(db_session, webtest): user = UserFactory.create() assert user.username # vist user's page resp = webtest.get(f"/user/{user.username}/") assert resp.status_code == 200 ```...
**Describe the bug** Since 15th April my uploads to test.pypi.org have started failing with the error: HTTPError: 400 Only one sdist may be uploaded per release. Not sure if something...
**What's the problem this feature will solve?** Similarly to Github, it would allow the users to mark the projects as archived and no longer maintained. It could prevent later process...
As we proceed in evolving our own Admin interface to review and act on inbound reports, here's some things that should happen. - [x] Extend `Observations` to allow for `additional`...
Fixes https://github.com/pypi/warehouse/issues/15748. We have three types that a `request.identity` can be: - `User`: when the identity is a user backed by a login session - `UserTokenContext`: when the identity is...
Our mirroring support currently assumes that the `journals.id` field is a monotonically increasing integer. However, the way that `SERIAL` is implemented in PostgreSQL, this isn't actually true. The fetching of...
Reported by a bandersnatch user in #12214, the `last_serial` value for a Project was out of sync with the `journals` table after what appears to have been an automated mass...