diff options
author | Bernát Gábor <bgabor8@bloomberg.net> | 2021-11-01 21:39:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-01 21:39:26 +0000 |
commit | 623189a00aa96c805990fd12dc883c69e251f4b2 (patch) | |
tree | b26e60c5f171bd0f52031ada560c875f8c242fb9 | |
parent | a372a69921baaf8756223fabe50879a220ca5a29 (diff) | |
download | virtualenv-623189a00aa96c805990fd12dc883c69e251f4b2.tar.gz |
Fix release docs (#2229)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-rw-r--r-- | .pre-commit-config.yaml | 4 | ||||
-rw-r--r-- | docs/changelog.rst | 18 | ||||
-rw-r--r-- | docs/changelog/2208.feature.rst | 4 | ||||
-rw-r--r-- | docs/changelog/2224.feature.rst | 3 | ||||
-rw-r--r-- | docs/changelog/2225.bugfix.rst | 1 | ||||
-rw-r--r-- | setup.cfg | 4 | ||||
-rw-r--r-- | tasks/release.py | 2 |
7 files changed, 23 insertions, 13 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a9ba679..e402420 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: hooks: - id: isort - repo: https://github.com/psf/black - rev: 21.9b0 + rev: 21.10b0 hooks: - id: black args: [--safe] @@ -39,7 +39,7 @@ repos: - id: tox-ini-fmt args: ["-p", "fix_lint"] - repo: https://github.com/asottile/setup-cfg-fmt - rev: v1.18.0 + rev: v1.19.0 hooks: - id: setup-cfg-fmt args: [--min-py3-version, "3.5", "--max-py-version", "3.10"] diff --git a/docs/changelog.rst b/docs/changelog.rst index b81bd98..893b52c 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -5,6 +5,24 @@ Release History .. towncrier release notes start +v20.10.0 (2021-11-01) +--------------------- + +Features - 20.10.0 +~~~~~~~~~~~~~~~~~~ +- If a ``"venv"`` install scheme exists in ``sysconfig``, virtualenv now uses it to create new virtual environments. + This allows Python distributors, such as Fedora, to patch/replace the default install scheme without affecting + the paths in new virtual environments. + A similar technique `was proposed to Python, for the venv module <https://bugs.python.org/issue45413>`_ - by ``hroncok`` (`#2208 <https://github.com/pypa/virtualenv/issues/2208>`_) +- The activated virtualenv prompt is now always wrapped in parentheses. This + affects venvs created with the ``--prompt`` attribute, and matches virtualenv's + behaviour on par with venv. (`#2224 <https://github.com/pypa/virtualenv/issues/2224>`_) + +Bugfixes - 20.10.0 +~~~~~~~~~~~~~~~~~~ +- Fix broken prompt set up by activate.bat - by :user:`SiggyBar`. (`#2225 <https://github.com/pypa/virtualenv/issues/2225>`_) + + v20.9.0 (2021-10-23) -------------------- diff --git a/docs/changelog/2208.feature.rst b/docs/changelog/2208.feature.rst deleted file mode 100644 index dbfd59a..0000000 --- a/docs/changelog/2208.feature.rst +++ /dev/null @@ -1,4 +0,0 @@ -If a ``"venv"`` install scheme exists in ``sysconfig``, virtualenv now uses it to create new virtual environments. -This allows Python distributors, such as Fedora, to patch/replace the default install scheme without affecting -the paths in new virtual environments. -A similar technique `was proposed to Python, for the venv module <https://bugs.python.org/issue45413>`_ - by ``hroncok`` diff --git a/docs/changelog/2224.feature.rst b/docs/changelog/2224.feature.rst deleted file mode 100644 index 18f5701..0000000 --- a/docs/changelog/2224.feature.rst +++ /dev/null @@ -1,3 +0,0 @@ -The activated virtualenv prompt is now always wrapped in parentheses. This -affects venvs created with the ``--prompt`` attribute, and matches virtualenv's -behaviour on par with venv. diff --git a/docs/changelog/2225.bugfix.rst b/docs/changelog/2225.bugfix.rst deleted file mode 100644 index f7cab3e..0000000 --- a/docs/changelog/2225.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix broken prompt set up by activate.bat - by :user:`SiggyBar`. @@ -40,7 +40,7 @@ project_urls = [options] packages = find: install_requires = - backports.entry_points_selectable>=1.0.4 + backports.entry-points-selectable>=1.0.4 distlib>=0.3.1,<1 filelock>=3.2,<4 platformdirs>=2,<3 @@ -94,7 +94,7 @@ docs = towncrier>=21.3 testing = coverage>=4 - coverage_enable_subprocess>=1 + coverage-enable-subprocess>=1 flaky>=3 pytest>=4 pytest-env>=0.6.2 diff --git a/tasks/release.py b/tasks/release.py index d58373f..fa797d3 100644 --- a/tasks/release.py +++ b/tasks/release.py @@ -51,7 +51,7 @@ def get_upstream(repo: Repo) -> Remote: def release_changelog(repo: Repo, version: Version) -> Commit: print("generate release commit") - check_call(["towncrier", "--yes", "--version", version.public], cwd=str(ROOT_SRC_DIR)) + check_call(["towncrier", "build", "--yes", "--version", version.public], cwd=str(ROOT_SRC_DIR)) release_commit = repo.index.commit(f"release {version}") return release_commit |