Skip to content

Commit

Permalink
Merge pull request #55 from mj0nez/add-python312
Browse files Browse the repository at this point in the history
Add python312
  • Loading branch information
mj0nez authored Oct 3, 2023
2 parents 4c47e44 + 36179b4 commit 613584a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/packaging_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v4
Expand Down
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 79
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
target-version = ['py37', 'py38', 'py39', 'py310', 'py311', 'py312']
exclude = '''
/(
\.eggs
Expand Down Expand Up @@ -43,7 +43,12 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"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",
]
dependencies = [
"holidays>=0.16,<0.28;python_version<'3.8'",
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ commands =
# the type_check environment checks the type hints using mypy
deps =
-r requirements.txt
holidays<0.34 # temporarly pinned because PR #55
mypy
types-pytz
types-python-dateutil
Expand All @@ -57,6 +58,7 @@ commands =
deps =
{[testenv:tests]deps}
{[testenv:linting]deps}
{[testenv:type_check]deps}
{[testenv:format]deps}
pip-tools
commands =
Expand Down

0 comments on commit 613584a

Please sign in to comment.