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

Warn user about empty namespaces #508

Merged
merged 1 commit into from
Oct 1, 2021

Conversation

abravalheri
Copy link
Collaborator

Purpose

Sometimes extension-related parameters seem to end up not persisted to setup.cfg.

Issue #506, shows that it might happen for the namespace extension, and via a reaction chain cause errors during updates.

Approach

The changes implemented in this commit try to prevent this reaction chain of errors happening, by replacing None with "" and instructing the user a workaround for this situation.

Sometimes extension-related parameters seem to end up not persisted to
`setup.cfg`.

Issue #506, shows that it might happen for the `namespace` extension,
and via a reaction chain cause errors during updates.

The changes implemented in this commit try to prevent this reaction
chain of errors happening, while also instructing the user on how to
workaround in this situation.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 5595420610002944

  • 7 of 7 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.006%) to 97.291%

Totals Coverage Status
Change from base Build 5113446040600576: 0.006%
Covered Lines: 1639
Relevant Lines: 1671

💛 - Coveralls

@abravalheri abravalheri marked this pull request as ready for review September 30, 2021 17:46
@FlorianWilhelm
Copy link
Member

Thanks @abravalheri!

@FlorianWilhelm FlorianWilhelm merged commit ecb43cc into master Oct 1, 2021
@FlorianWilhelm FlorianWilhelm deleted the issue-506-empty-namespaces branch October 1, 2021 12:25
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.

None yet

3 participants