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

Deprecate empty usernames #687

Merged
merged 6 commits into from
Aug 2, 2024
Merged

Deprecate empty usernames #687

merged 6 commits into from
Aug 2, 2024

Conversation

jaraco
Copy link
Owner

@jaraco jaraco commented Aug 1, 2024

  • Add a test capturing the missed expectation. Ref Support for empty string usernames is inconsistent #668.
  • Mark the test as xfail where it's failing (Windows).
  • Deprecate setting a password for an empty username.
  • Extract method for registration.
  • When constructing KeyringBackend subclasses, wrap set_password to enforce non-empty usernames.

@jaraco
Copy link
Owner Author

jaraco commented Aug 1, 2024

Tests on diffcov are failing, but only because the coverage reports aren't aggregated (jaraco/skeleton#130).

@mitya57
Copy link
Collaborator

mitya57 commented Aug 1, 2024

or comment in the issue

There will be an issue link generated, right?

@jaraco
Copy link
Owner Author

jaraco commented Aug 1, 2024

or comment in the issue

There will be an issue link generated, right?

Yes. It will link to #668 in the changelog (from the 668.feature.rst file).

@jaraco jaraco merged commit 2d484ee into main Aug 2, 2024
26 of 30 checks passed
@jaraco jaraco deleted the 668-empty-user branch August 2, 2024 21:32
abn added a commit to abn/poetry that referenced this pull request Nov 16, 2024
abn added a commit to abn/poetry that referenced this pull request Nov 16, 2024
abn added a commit to abn/poetry that referenced this pull request Nov 17, 2024
abn added a commit to abn/poetry that referenced this pull request Nov 17, 2024
abn added a commit to abn/poetry that referenced this pull request Nov 17, 2024
abn added a commit to abn/poetry that referenced this pull request Nov 17, 2024
abn added a commit to abn/poetry that referenced this pull request Nov 17, 2024
abn added a commit to python-poetry/poetry that referenced this pull request Nov 17, 2024
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