move argon2-cffi to optional [password]
dependency for Python 3.13
#1520
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
a temporary measure, to allow installation on free-threaded Python while CFFI is unsupported. Adds a test run against 3.13t.
When PEP 780 lands, we can move this to a free-threaded condition, instead of a version one. But it's possible that CFFI will be fixed before that happens.
pip install jupyterlab
becomes incomplete on Python >=3.13, as passwords cannot be set or checked without addingjupyter-server[password]
dependency. Of course, only password-setting users are affected, not default tokens.The standard library does have support for scrypt now, so we could at the same time add support for scrypt passwords and use that by default. Then the degradation would be smaller, in that only password checking for already-stored argon2 passwords would be affected, instead of also losing the ability to set new ones.
xref jupyterlab/jupyterlab#16915