Skip to content

Eliminate network access from some download, upgrade, and list tests#13714

Merged
ichard26 merged 2 commits intopypa:mainfrom
ichard26:test/improve-slow-tests
Dec 21, 2025
Merged

Eliminate network access from some download, upgrade, and list tests#13714
ichard26 merged 2 commits intopypa:mainfrom
ichard26:test/improve-slow-tests

Conversation

@ichard26
Copy link
Member

Towards #13707.

Unsurprisingly, some of our slowest tests (after #13713) are those that use the network. After this PR, we're down to 98 functional tests with the network marker.

This way these tests don't have to access PyPI nor build the INITools
sdist which are both slow.
@ichard26 ichard26 added C: tests Testing and related things skip news Does not need a NEWS file entry (eg: trivial changes) labels Dec 21, 2025
@ichard26 ichard26 changed the title Eliminiate network access from some download, upgrade, and list tests Eliminate network access from some download, upgrade, and list tests Dec 21, 2025
Unfortunately, there are lots of other list tests that do depend on
the network, but they look non trivial to fix.
@ichard26 ichard26 force-pushed the test/improve-slow-tests branch from 713399f to 2dd94f4 Compare December 21, 2025 01:46
@ichard26 ichard26 enabled auto-merge December 21, 2025 01:47
@ichard26 ichard26 merged commit e5fd9e4 into pypa:main Dec 21, 2025
28 checks passed
@ichard26 ichard26 deleted the test/improve-slow-tests branch December 21, 2025 03:59
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

C: tests Testing and related things skip news Does not need a NEWS file entry (eg: trivial changes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant