Skip to content

Commit

Permalink
require python >= 3.8, add support for py312
Browse files Browse the repository at this point in the history
Also: do github CI runs on ubuntu 22.04.
  • Loading branch information
ThomasWaldmann committed Jan 10, 2024
1 parent 1e1b60c commit d8f9626
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.11"
- name: Lint with flake8
run: |
pip install flake8
Expand All @@ -22,24 +22,21 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
python-version: "3.6"
toxenv: py36
- os: ubuntu-20.04
python-version: "3.7"
toxenv: py37
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.8"
toxenv: py38
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.9"
toxenv: py39
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.10"
toxenv: py310
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: "3.11"
toxenv: py311
- os: ubuntu-22.04
python-version: "3.12"
toxenv: py312
env:
TOXENV: ${{ matrix.toxenv }}
steps:
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'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 :: System :: Archiving :: Backup',
],
packages=find_packages('src'),
Expand All @@ -43,5 +42,5 @@
},
setup_requires=['setuptools_scm>=1.7', ],
install_requires=[],
python_requires=">=3.6",
python_requires=">=3.8",
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# fakeroot -u tox --recreate

[tox]
envlist = py{36,37,38,39,310,311},flake8
envlist = py{38,39,310,311,312},flake8

[testenv]
usedevelop = True
Expand Down

0 comments on commit d8f9626

Please sign in to comment.