Skip to content

Comments

Deprecate empty usernames#687

Merged
jaraco merged 6 commits intomainfrom
668-empty-user
Aug 2, 2024
Merged

Deprecate empty usernames#687
jaraco merged 6 commits intomainfrom
668-empty-user

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
@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