Skip to content

Commit e09f4fb

Browse files
committed
fix: update build system and Python version support for 3.10+ compatibility
1 parent c11ba9b commit e09f4fb

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Contributing
7474

7575
Local Development
7676
-----------------
77-
> You will need to install `Python3.7` if you do not have it locally, before working on this project.
77+
> You will need to install `Python3.10` or higher if you do not have it locally, before working on this project.
7878
7979
This project uses [Poetry]() to manage project dependencies, build steps, and publishing to [PYPI]().
8080

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ requests = "^2.25.1"
3939
python-dotenv = "^0.15.0"
4040
dataclasses-json = "^0.5.3"
4141
fuuid = "^0.1.0"
42-
poetry-dynamic-versioning = "^0.13.0"
4342

4443
[tool.poetry.group.dev.dependencies]
4544
pytest = "^7.0.0"
@@ -71,5 +70,5 @@ relative_files = true
7170
[tool.poetry.scripts]
7271

7372
[build-system]
74-
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
75-
build-backend = "poetry.core.masonry.api"
73+
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
74+
build-backend = "poetry-dynamic-versioning.backend"

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55

66
[tox]
77
envlist = linting,
8-
python3.7,
9-
python3.8,
10-
python3.9
8+
python3.10,
9+
python3.11,
10+
python3.12
1111
minversion = 3.7.0
1212
isolated_build = true
1313
skip_missing_interpreters = true
1414
skipsdist = true
1515

1616
[tox:.package]
17-
basepython = python3.7
17+
basepython = python3.10
1818

1919
[testenv]
2020
description = run tests with pytest under {basepython}

0 commit comments

Comments
 (0)