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.
Description
Allow updating to qrcode 8.x. Version was bumped to 8.x because of python support: 3.8 was dropped, 3.13 was added - same as this project 🙂 Their changelog: https://github.com/lincolnloop/python-qrcode/blob/main/CHANGES.rst#change-log
Motivation and Context
I'm using pip-sync/pip-compile which creates a requirements.txt from a pyproject.toml. With
django-two-factor-auth==1.17.0in the pyproject.toml,qrcode==7.4.2also ends up in the requirements.txt. I also run dependabot for package updates and this fails when it wants to update it to a 8.x version. Because of theqrcode>=4.0.0,<7.99in django-two-factor-auth's pyproject.toml:How Has This Been Tested?
Locally in a fresh pyenv virtualenv for 3.13:
and with tox:
The one failing test also fails for me on
jazzband/django-two-factor-auth's master branch. The output:I guess I am missing something to run the chrome tests 🤷 ? I tried downloading a chromedriver and geckodriver but couldn't get it to start properly..
Screenshots (if appropriate):
Types of changes
Checklist: