Skip to content

Commit e29217a

Browse files
committed
release 4.4.0
1 parent ea12bf4 commit e29217a

File tree

4 files changed

+39
-26
lines changed

4 files changed

+39
-26
lines changed

docs/changelog.rst

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,45 @@ Release History
44

55
.. towncrier release notes start
66
7+
v4.4.0 (2023-01-25)
8+
-------------------
9+
10+
Features - 4.4.0
11+
~~~~~~~~~~~~~~~~
12+
- Test environments now recognize boolean config keys ``constrain_package_deps`` (default=true) and ``use_frozen_constraints`` (default=false),
13+
which control how tox generates and applies constraints files when performing ``install_package_deps``.
14+
15+
If ``constrain_package_deps`` is true (default), then tox will write out ``{env_dir}{/}constraints.txt`` and pass it to
16+
``pip`` during ``install_package_deps``. If ``use_frozen_constraints`` is false (default), the constraints will be taken
17+
from the specifications listed under ``deps`` (and inside any requirements or constraints file referenced in ``deps``).
18+
Otherwise, ``list_dependencies_command`` (``pip freeze``) is used to enumerate exact package specifications which will
19+
be written to the constraints file.
20+
21+
In previous releases, conflicting package dependencies would silently override the ``deps`` named in the configuration,
22+
resulting in test runs against unexpected dependency versions, particularly when using tox factors to explicitly test
23+
with different versions of dependencies - by :user:`masenf`. (:issue:`2386`)
24+
25+
Bugfixes - 4.4.0
26+
~~~~~~~~~~~~~~~~
27+
- When parsing command lines, use ``shlex(..., posix=True)``, even on windows platforms, since non-POSIX mode does not
28+
handle escape characters and quoting like a shell would. This improves cross-platform configurations without hacks or
29+
esoteric quoting.
30+
31+
To make this transition easier, on Windows, the backslash path separator will not treated as an escape character unless
32+
it preceeds a quote, whitespace, or another backslash chracter. This allows paths to mostly be written in single or
33+
double backslash style.
34+
35+
Note that **double-backslash will no longer be escaped to a single backslash in substitutions**, instead the double
36+
backslash will be consumed as part of command splitting, on either posix or windows platforms.
37+
38+
In some instances superfluous double or single quote characters may be stripped from arg arrays in ways that do not
39+
occur in the default windows ``cmd.exe`` shell - by :user:`masenf`. (:issue:`2635`)
40+
41+
Improved Documentation - 4.4.0
42+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43+
- Add infromation when command from ``list_dependencies_command`` configuration option is used. (:issue:`2883`)
44+
45+
746
v4.3.5 (2023-01-18)
847
-------------------
948

docs/changelog/2386.feature.rst

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/changelog/2635.bugfix.rst

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/changelog/2883.doc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)