summaryrefslogtreecommitdiff
path: root/src/tox/provision.py
diff options
context:
space:
mode:
authorBernát Gábor <gaborjbernat@gmail.com>2022-09-10 08:37:49 +0100
committerGitHub <noreply@github.com>2022-09-10 00:37:49 -0700
commit0ee8853249ee0fc3c8248e54637f52f69f27795d (patch)
tree9b1f7595a84751d80fd5d8d87834d6d767cce929 /src/tox/provision.py
parent252299ca2ac6bf47f4fde858b14ebaeaa3519150 (diff)
downloadtox-git-0ee8853249ee0fc3c8248e54637f52f69f27795d.tar.gz
Use PEP-621 to load project dependencies (#2499)
Diffstat (limited to 'src/tox/provision.py')
-rw-r--r--src/tox/provision.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tox/provision.py b/src/tox/provision.py
index 9b43ce2b..95273fe4 100644
--- a/src/tox/provision.py
+++ b/src/tox/provision.py
@@ -58,11 +58,12 @@ def tox_add_option(parser: ArgumentParser) -> None:
def provision(state: State) -> int | bool:
+ # remove the dev and marker to allow local development of the package
state.conf.core.add_config(
keys=["min_version", "minversion"],
of_type=Version,
# do not include local version specifier (because it's not allowed in version spec per PEP-440)
- default=Version(current_version.split("+")[0]),
+ default=Version(current_version),
desc="Define the minimal tox version required to run",
)
state.conf.core.add_config(