Skip to content

Commit

Permalink
Fix setuptools_scm configuration (#279)
Browse files Browse the repository at this point in the history
* Fix setuptools_scm configuration

* build: Enabled Tox build isolation.

This fixes an issue that forced us to add setuptools_scm to setup.cfg, instead of specifying the dependency just once in pyproject.toml.
See discussion #279

Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>

Co-authored-by: Michael Seifert <m.seifert@digitalernachschub.de>
  • Loading branch information
asvetlov and seifertm committed Feb 3, 2022
1 parent d8efa64 commit e78b59d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -2,7 +2,7 @@
requires = [
"setuptools>=51.0",
"wheel>=0.36",
"setuptools_scm>=6.2"
"setuptools_scm[toml]>=6.2"
]
build-backend = "setuptools.build_meta"

Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Expand Up @@ -34,9 +34,6 @@ python_requires = >=3.7
packages = find:
include_package_data = True

setup_requires =
setuptools_scm >= 6.2

install_requires =
pytest >= 6.1.0
typing-extensions >= 4.0; python_version < "3.8"
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Expand Up @@ -2,6 +2,7 @@
minversion = 3.14.0
envlist = py37, py38, py39, py310, lint, version-info, pytest-min
skip_missing_interpreters = true
isolated_build = true
passenv =
CI

Expand Down

0 comments on commit e78b59d

Please sign in to comment.