Skip to content

Commit

Permalink
Remove Python 3.6 from builds, add Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Feb 11, 2023
1 parent 60552cc commit 04399bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.8']
python: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.8']
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions src/flask_httpauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,8 @@ def authenticate(self, auth, stored_password_or_ha1):
or not auth.nonce or not auth.response \
or not stored_password_or_ha1:
return False
if not(self.verify_nonce_callback(auth.nonce)) or \
not(self.verify_opaque_callback(auth.opaque)):
if not self.verify_nonce_callback(auth.nonce) or \
not self.verify_opaque_callback(auth.opaque):
return False
if auth.qop and auth.qop not in self.qop: # pragma: no cover
return False
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[tox]
envlist=flake8,py36,py37,py38,py39,py310pypy3,docs
envlist=flake8,py37,py38,py39,py310,py311,pypy3,docs
skip_missing_interpreters=True

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
pypy-3: pypy3

[testenv]
Expand Down

0 comments on commit 04399bd

Please sign in to comment.