summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasen Furer <m_github@0x26.net>2023-01-25 14:37:49 -0800
committerGitHub <noreply@github.com>2023-01-25 14:37:49 -0800
commit8155760626fbc44cb32daccd16a82f916688371c (patch)
treed83b79dc05cfeb367bd71f1c382aceb661fa5a36
parente29217a0f8303f21993f792988413345a7afff0a (diff)
downloadtox-git-8155760626fbc44cb32daccd16a82f916688371c.tar.gz
pip_install: constrain_package_deps is now False by default (#2899)
-rw-r--r--docs/changelog/2897.bugfix.rst2
-rw-r--r--src/tox/tox_env/python/pip/pip_install.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/changelog/2897.bugfix.rst b/docs/changelog/2897.bugfix.rst
new file mode 100644
index 00000000..2f5736b8
--- /dev/null
+++ b/docs/changelog/2897.bugfix.rst
@@ -0,0 +1,2 @@
+In tox 4.4.0 ``constrain_package_deps`` was introduced with a default value of ``True``. This has been changed back to
+``False``, which restores the original behavior of tox 4.3.5 - by :user:`masenf`.
diff --git a/src/tox/tox_env/python/pip/pip_install.py b/src/tox/tox_env/python/pip/pip_install.py
index fcd445a5..55f95f65 100644
--- a/src/tox/tox_env/python/pip/pip_install.py
+++ b/src/tox/tox_env/python/pip/pip_install.py
@@ -42,7 +42,7 @@ class Pip(Installer[Python]):
self._env.conf.add_config(
keys=["constrain_package_deps"],
of_type=bool,
- default=True,
+ default=False,
desc="If true, apply constraints during install_package_deps.",
)
self._env.conf.add_config(