Skip to content

Restore test isolation by allowing username override for PyPI#1131

Merged
jaraco merged 4 commits intomainfrom
bugfix/1121-test-isolation
Nov 29, 2024
Merged

Restore test isolation by allowing username override for PyPI#1131
jaraco merged 4 commits intomainfrom
bugfix/1121-test-isolation

Conversation

@jaraco
Copy link
Member

@jaraco jaraco commented Jun 26, 2024

Closes #1121

  • Extract method for 'is_pypi' to consolidate repeated behavior and documentation.
  • Default username to 'token' if not specified.
  • Restore ability for users to override the username even for PyPI.

@jaraco jaraco force-pushed the bugfix/1121-test-isolation branch from 1955602 to 3f90d88 Compare June 26, 2024 19:58
@jaraco
Copy link
Member Author

jaraco commented Sep 6, 2024

I'm working on twine again and this issue is once again affecting me and still attempting to leak my secrets.

@sigmavirus24 sigmavirus24 force-pushed the bugfix/1121-test-isolation branch from 3f90d88 to d3b77b6 Compare October 5, 2024 11:45
@jaraco jaraco merged commit 03bcad6 into main Nov 29, 2024
@jaraco jaraco deleted the bugfix/1121-test-isolation branch November 29, 2024 19:19
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.

Running twine tests in dev environment fail and emit PyPI tokens

1 participant