Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

require python >= 3.8, add support for py312 #64

Merged
merged 1 commit into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading