Skip to content

Commit

Permalink
Add support for Python 3.12
Browse files Browse the repository at this point in the history
Add support for Python 3.12
  • Loading branch information
JAVGan committed Aug 15, 2024
1 parent dacdca3 commit ad05c75
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tox-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
strategy:
matrix:
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -55,7 +55,7 @@ jobs:
sudo apt-get install -y rpm
sudo apt-get install -y libkrb5-dev
- name: Install Tox
run: pip install tox 'virtualenv<20.21.1'
run: pip install tox
- name: Test on ${{ matrix.python-version }}
run: tox -e "py${{ matrix.python-version }}"
coverage:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
install_requires=[
'attrs',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = pip-compile, docs, lint, mypy, security, py38, py39, py310, py311
envlist = pip-compile, docs, lint, mypy, security, py38, py39, py310, py311, py312

[testenv]
envdir = {toxworkdir}/shared-environment
Expand Down

0 comments on commit ad05c75

Please sign in to comment.