Skip to content

Commit

Permalink
Merge pull request #146 from alanhamlett/main
Browse files Browse the repository at this point in the history
Remove support for Python 3.7
  • Loading branch information
alanhamlett authored Jul 29, 2024
2 parents 60cf1f7 + 009c255 commit 7810cc4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
name: Run Tests with Python ${{ matrix.python-version }}
steps:
-
Expand All @@ -23,7 +23,7 @@ jobs:
architecture: x64
-
name: Install Dependencies
run: pip install flask nose mock
run: pip install flask nose mock setuptools
-
name: Unit tests
run: python setup.py test
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
Expand Down
2 changes: 1 addition & 1 deletion test_seasurf.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ def test_header_set_cookie(self):
res3.headers.get('Set-Cookie', ''),
'CSRF cookie always be re-set if a token is requested by the template')

client.delete_cookie(self.csrf._csrf_name)
client.delete_cookie(key=self.csrf._csrf_name)

res4 = client.get('/foo')

Expand Down

0 comments on commit 7810cc4

Please sign in to comment.