diff --git a/docs/changelog.rst b/docs/changelog.rst index d440ee8e6..cb5b7dbf0 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,6 +4,17 @@ Release History .. towncrier release notes start +v4.0.9 (2022-12-13) +------------------- + +Features - 4.0.9 +~~~~~~~~~~~~~~~~ +- Add :meth:`tox_on_install ` and + :meth:`tox_env_teardown ` plugin hooks - by :user:`gaborbernat`. (:issue:`2687`) +- Add ``PKG_CONFIG_PATH`` to the default pass through environment list for python tox environments - + by :user:`gaborbernat`. (:issue:`2700`) + + v4.0.8 (2022-12-11) ------------------- diff --git a/docs/changelog/2687.feature.rst b/docs/changelog/2687.feature.rst deleted file mode 100644 index fbf2165d4..000000000 --- a/docs/changelog/2687.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add :meth:`tox_on_install ` and -:meth:`tox_env_teardown ` plugin hooks - by :user:`gaborbernat`. diff --git a/docs/changelog/2700.feature.rst b/docs/changelog/2700.feature.rst deleted file mode 100644 index 671b489e6..000000000 --- a/docs/changelog/2700.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add ``PKG_CONFIG_PATH`` to the default pass through environment list for python tox environments - -by :user:`gaborbernat`. diff --git a/tests/session/cmd/test_show_config.py b/tests/session/cmd/test_show_config.py index e392adef5..95b422aca 100644 --- a/tests/session/cmd/test_show_config.py +++ b/tests/session/cmd/test_show_config.py @@ -101,12 +101,12 @@ def test_pass_env_config_default(tox_project: ToxProjectCreator, stdout_is_atty: (["COMSPEC"] if is_win else []) + ["CURL_CA_BUNDLE", "LANG", "LANGUAGE", "LD_LIBRARY_PATH"] + (["MSYSTEM", "NUMBER_OF_PROCESSORS", "PATHEXT"] if is_win else []) - + ["PIP_*"] + + ["PIP_*", "PKG_CONFIG_PATH"] + (["PROCESSOR_ARCHITECTURE"] if is_win else []) + (["PROGRAMDATA"] if is_win else []) + (["PROGRAMFILES"] if is_win else []) + (["PROGRAMFILES(x86)"] if is_win else []) - + ["PKG_CONFIG_PATH", "REQUESTS_CA_BUNDLE", "SSL_CERT_FILE"] + + ["REQUESTS_CA_BUNDLE", "SSL_CERT_FILE"] + (["SYSTEMDRIVE", "SYSTEMROOT", "TEMP"] if is_win else []) + (["TERM"] if stdout_is_atty else []) + (["TMP", "USERPROFILE"] if is_win else ["TMPDIR"])