Skip to content

Commit 613584a

Browse files
authored
Merge pull request #55 from mj0nez/add-python312
Add python312
2 parents 4c47e44 + 36179b4 commit 613584a

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

.github/workflows/packaging_test.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.7", "3.8", "3.9", "3.10", "3.11"]
9+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
1010
os: [ubuntu-latest]
1111
steps:
1212
- uses: actions/checkout@v4

.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.7", "3.8", "3.9", "3.10", "3.11" ]
9+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
1010
os: [ ubuntu-latest ]
1111
steps:
1212
- uses: actions/checkout@v4

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.black]
22
line-length = 79
3-
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
3+
target-version = ['py37', 'py38', 'py39', 'py310', 'py311', 'py312']
44
exclude = '''
55
/(
66
\.eggs
@@ -43,7 +43,12 @@ classifiers = [
4343
"Operating System :: OS Independent",
4444
"Programming Language :: Python",
4545
"Programming Language :: Python :: 3 :: Only",
46+
"Programming Language :: Python :: 3.7",
47+
"Programming Language :: Python :: 3.8",
48+
"Programming Language :: Python :: 3.9",
49+
"Programming Language :: Python :: 3.10",
4650
"Programming Language :: Python :: 3.11",
51+
"Programming Language :: Python :: 3.12",
4752
]
4853
dependencies = [
4954
"holidays>=0.16,<0.28;python_version<'3.8'",

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ commands =
3434
# the type_check environment checks the type hints using mypy
3535
deps =
3636
-r requirements.txt
37+
holidays<0.34 # temporarly pinned because PR #55
3738
mypy
3839
types-pytz
3940
types-python-dateutil
@@ -57,6 +58,7 @@ commands =
5758
deps =
5859
{[testenv:tests]deps}
5960
{[testenv:linting]deps}
61+
{[testenv:type_check]deps}
6062
{[testenv:format]deps}
6163
pip-tools
6264
commands =

0 commit comments

Comments
 (0)