Skip to content

Commit

Permalink
Test python 3.12 (webrecorder#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
white-gecko authored Aug 23, 2024
1 parent 1bd08e2 commit 2ff571f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,22 @@ jobs:
strategy:
max-parallel: 3
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- name: checkout
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install setuptools on python 3.12
if: ${{ matrix.python-version == '3.12' }}
run: |
pip install setuptools
- name: Install warcio
run: python setup.py install

Expand Down
6 changes: 6 additions & 0 deletions CHANGELIST.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Unreleased
~~~~~~~~~~

- Add support for Python 3.12 by adjusting `urllib3` dependency to `>=1.26.4,<1.26.16`


1.7.4
~~~~~

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def finalize_options(self):
test_suite='',
extras_require={
'testing': [
'urllib3==1.25.11',
'urllib3>=1.26.5,<1.26.16',
'pytest',
'pytest-cov',
'httpbin>=0.10.2',
Expand Down

0 comments on commit 2ff571f

Please sign in to comment.