Skip to content

Commit 623189a

Browse files
Fix release docs (#2229)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent a372a69 commit 623189a

File tree

7 files changed

+23
-13
lines changed

7 files changed

+23
-13
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
hooks:
2121
- id: isort
2222
- repo: https://github.com/psf/black
23-
rev: 21.9b0
23+
rev: 21.10b0
2424
hooks:
2525
- id: black
2626
args: [--safe]
@@ -39,7 +39,7 @@ repos:
3939
- id: tox-ini-fmt
4040
args: ["-p", "fix_lint"]
4141
- repo: https://github.com/asottile/setup-cfg-fmt
42-
rev: v1.18.0
42+
rev: v1.19.0
4343
hooks:
4444
- id: setup-cfg-fmt
4545
args: [--min-py3-version, "3.5", "--max-py-version", "3.10"]

docs/changelog.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@ Release History
55

66
.. towncrier release notes start
77
8+
v20.10.0 (2021-11-01)
9+
---------------------
10+
11+
Features - 20.10.0
12+
~~~~~~~~~~~~~~~~~~
13+
- If a ``"venv"`` install scheme exists in ``sysconfig``, virtualenv now uses it to create new virtual environments.
14+
This allows Python distributors, such as Fedora, to patch/replace the default install scheme without affecting
15+
the paths in new virtual environments.
16+
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>`_)
17+
- The activated virtualenv prompt is now always wrapped in parentheses. This
18+
affects venvs created with the ``--prompt`` attribute, and matches virtualenv's
19+
behaviour on par with venv. (`#2224 <https://github.com/pypa/virtualenv/issues/2224>`_)
20+
21+
Bugfixes - 20.10.0
22+
~~~~~~~~~~~~~~~~~~
23+
- Fix broken prompt set up by activate.bat - by :user:`SiggyBar`. (`#2225 <https://github.com/pypa/virtualenv/issues/2225>`_)
24+
25+
826
v20.9.0 (2021-10-23)
927
--------------------
1028

docs/changelog/2208.feature.rst

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

docs/changelog/2224.feature.rst

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

docs/changelog/2225.bugfix.rst

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

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ project_urls =
4040
[options]
4141
packages = find:
4242
install_requires =
43-
backports.entry_points_selectable>=1.0.4
43+
backports.entry-points-selectable>=1.0.4
4444
distlib>=0.3.1,<1
4545
filelock>=3.2,<4
4646
platformdirs>=2,<3
@@ -94,7 +94,7 @@ docs =
9494
towncrier>=21.3
9595
testing =
9696
coverage>=4
97-
coverage_enable_subprocess>=1
97+
coverage-enable-subprocess>=1
9898
flaky>=3
9999
pytest>=4
100100
pytest-env>=0.6.2

tasks/release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def get_upstream(repo: Repo) -> Remote:
5151

5252
def release_changelog(repo: Repo, version: Version) -> Commit:
5353
print("generate release commit")
54-
check_call(["towncrier", "--yes", "--version", version.public], cwd=str(ROOT_SRC_DIR))
54+
check_call(["towncrier", "build", "--yes", "--version", version.public], cwd=str(ROOT_SRC_DIR))
5555
release_commit = repo.index.commit(f"release {version}")
5656
return release_commit
5757

0 commit comments

Comments
 (0)