Skip to content

Commit ff3a5e0

Browse files
committed
Restore use_scm_version in setup.py
Despite adding it also to pyproject.toml, it doesn't work for `pip install -e .` and probably other stuff like that, so it got version `0.0.0`. This reverts 8cea267 "Pin an older pytest-benchmark for now" - the real problem was the above.
1 parent 5ca5220 commit ff3a5e0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33

44
if __name__ == "__main__":
5-
setup()
5+
setup(use_scm_version={"write_to": "src/pluggy/_version.py"})

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ deps=
1818
commands=pytest {posargs:testing/benchmark.py}
1919
deps=
2020
pytest
21-
# Once pytest lifts its pluggy<1.0 constraint, the pytest-benchmark
22-
# constraint can be removed.
23-
pytest-benchmark==3.1.1
21+
pytest-benchmark
2422

2523
[testenv:linting]
2624
skip_install = true

0 commit comments

Comments
 (0)