Skip to content

Commit 9a70f5c

Browse files
committed
build system update
1 parent 5372628 commit 9a70f5c

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ flake8 = "^5.0.0"
5151
tox-poetry-installer = {extras = ["poetry"], version = "^0.8.1"}
5252

5353
[build-system]
54-
requires = ["poetry>=1.2"]
55-
build-backend = "poetry.masonry.api"
54+
requires = ["poetry_core>=1.0.0"]
55+
build-backend = "poetry.core.masonry.api"

tox.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
[tox]
2+
isolated_build = True
3+
4+
[tox:.package]
5+
# note tox will use the same python version as under what tox is installed to package
6+
# so unless this is python 3 you can require a given python version for the packaging
7+
# environment via the basepython key
8+
basepython = python3
9+
110
[testenv:integration-tests]
211
deps = -r{toxinidir}/dev_requirements.txt
312

0 commit comments

Comments
 (0)