Skip to content

Commit 6b2045c

Browse files
authored
Merge pull request #21 from release-engineering/bump_python
Add support for Python 3.12
2 parents 8f61b4f + f3fbe09 commit 6b2045c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/tox-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
matrix:
4444
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
45-
python-version: ["3.8", "3.9", "3.10", "3.11"]
45+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
4646
steps:
4747
- uses: actions/checkout@v2
4848
- name: Set up Python ${{ matrix.python-version }}
@@ -55,7 +55,7 @@ jobs:
5555
sudo apt-get install -y rpm
5656
sudo apt-get install -y libkrb5-dev
5757
- name: Install Tox
58-
run: pip install tox 'virtualenv<20.21.1'
58+
run: pip install tox
5959
- name: Test on ${{ matrix.python-version }}
6060
run: tox -e "py${{ matrix.python-version }}"
6161
coverage:

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
'Programming Language :: Python :: 3.9',
1818
'Programming Language :: Python :: 3.10',
1919
'Programming Language :: Python :: 3.11',
20+
'Programming Language :: Python :: 3.12',
2021
],
2122
install_requires=[
2223
'attrs',

tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[tox]
2-
envlist = pip-compile, docs, lint, mypy, security, py38, py39, py310, py311
2+
envlist = pip-compile, docs, lint, mypy, security, py38, py39, py310, py311, py312
33

44
[testenv]
55
envdir = {toxworkdir}/shared-environment
66
deps=
77
-r requirements-test.txt
88
usedevelop=true
9+
download=true
910
commands=
1011
pytest -vv \
1112
--cov-config .coveragerc --cov=cloudpub --cov-report term \

0 commit comments

Comments
 (0)