Skip to content

Commit 4d6b980

Browse files
committed
fix: compatibility with Python 3.12
1 parent 22fc763 commit 4d6b980

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ jobs:
3535
with:
3636
python-version: ${{ matrix.python-version }}
3737

38-
- name: Prepare tests
38+
- name: Install dependencies
3939
run: |
4040
pip install -U pip poetry
41+
poetry env use $(which python)
4142
poetry install
4243
4344
- name: E2E tests

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ include = [
1515
kosmorro = 'kosmorro.__main__:main'
1616

1717
[tool.poetry.dependencies]
18-
python = ">=3.8,<3.12"
18+
python = "^3.8"
1919
tabulate = ">=0.8,<0.10"
2020
termcolor = ">=1.1,<3.0"
2121
kosmorrolib = "^1.0"

0 commit comments

Comments
 (0)