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 reading pypirc #421

Merged
merged 3 commits into from
Jul 12, 2023
Merged

Fix reading pypirc #421

merged 3 commits into from
Jul 12, 2023

Conversation

mauritsvanrees
Copy link
Member

Easy enough at first, but then the tests broke because my ~/.pypirc was found... So some more fixes were needed.

Always let the later config file override settings from an earlier config file.
Allow ignoring the two package config files by passing use_package_config=False.  This is only useful in tests, to test some corner cases.

The previous commit, which restored reading a ~/.pypirc, meant that my personal settings, like extra-message, were found, and this broke tests.
It is now shielded again.
I think it now functions like it did previously again.
zest/releaser/vcs.py Show resolved Hide resolved
zest/releaser/pypi.py Show resolved Hide resolved
zest/releaser/pypi.py Outdated Show resolved Hide resolved
@reinout
Copy link
Collaborator

reinout commented Jul 12, 2023

Looks fine!

@reinout reinout merged commit fb76b21 into master Jul 12, 2023
6 checks passed
@reinout reinout deleted the maurits-fix-reading-pypirc branch July 12, 2023 20:07
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.

2 participants