Skip to content

Commit c5c9470

Browse files
Run CI in Python 3.12 (mostly); Drop base-python from tox.ini (#104)
* Update on python 3.12 * Update .github/workflows/unittests.yml Co-authored-by: konstantin <[email protected]> * Update setup.cfg Co-authored-by: konstantin <[email protected]> * Update setup.cfg Co-authored-by: konstantin <[email protected]> * Update .github/workflows/main_fristenkalender.yml * drop basepython our CI is good enough so we don't need this here --------- Co-authored-by: konstantin <[email protected]>
1 parent 8f9f849 commit c5c9470

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ${{ matrix.os }}
77
strategy:
88
matrix:
9-
python-version: ["3.11"]
9+
python-version: ["3.12"]
1010
os: [ubuntu-latest]
1111
steps:
1212
- uses: actions/checkout@v4

.github/workflows/formatting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ${{ matrix.os }}
77
strategy:
88
matrix:
9-
python-version: ["3.11"]
9+
python-version: ["3.12"]
1010
os: [ubuntu-latest]
1111
tool: ["black", "isort"]
1212
steps:

.github/workflows/main_fristenkalender.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ env:
1414
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
1515
PYTHON_VERSION: '3.11' # set this to the python version to use (supports 3.6, 3.7, 3.8)
1616

17+
1718
jobs:
1819
build:
1920
runs-on: ubuntu-latest

.github/workflows/pythonlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
python-version: ["3.11"]
10+
python-version: ["3.12"]
1111
os: [ubuntu-latest]
1212
linter-env: ["linting", "type_check"]
1313
steps:

.github/workflows/unittests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ${{ matrix.os }}
77
strategy:
88
matrix:
9-
python-version: ["3.11"]
9+
python-version: ["3.11", "3.12"]
1010
os: [ubuntu-latest]
1111
steps:
1212
- uses: actions/checkout@v4

dev_requirements/requirements-linting.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
astroid==3.2.4
88
# via pylint
9-
dill==0.3.6
9+
dill==0.3.7
1010
# via pylint
1111
isort==5.13.2
1212
# via pylint

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.9
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# pip-compile requirements.in

setup.cfg

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ classifiers =
1515
Development Status :: 4 - Beta
1616
Intended Audience :: Developers
1717
Programming Language :: Python
18-
Programming Language :: Python :: 3.8
18+
Programming Language :: Python :: 3.11
19+
Programming Language :: Python :: 3.12
1920
Operating System :: OS Independent
2021
license = mit
2122
platforms = any
@@ -28,7 +29,7 @@ package_dir =
2829
packages = find:
2930
zip_safe = False
3031
include_package_data = True
31-
python_requires = >=3.8
32+
python_requires = >=3.11
3233
install_requires =
3334
# write here line by line the dependencies for your package
3435

tox.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[tox]
2-
basepython = python3.9
32
envlist =
43
tests
54
linting
@@ -60,7 +59,6 @@ commands =
6059

6160
[testenv:dev]
6261
# the dev environment contains everything you need to start developing on your local machine.
63-
basepython = python3.9
6462
deps =
6563
{[testenv:tests]deps}
6664
{[testenv:linting]deps}

0 commit comments

Comments
 (0)