Skip to content

Commit

Permalink
Fix release docs
Browse files Browse the repository at this point in the history
Signed-off-by: Bernát Gábor <[email protected]>
  • Loading branch information
gaborbernat committed Nov 1, 2021
1 parent a372a69 commit 0284755
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"]
Expand Down
18 changes: 18 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
--------------------

Expand Down
4 changes: 0 additions & 4 deletions docs/changelog/2208.feature.rst

This file was deleted.

3 changes: 0 additions & 3 deletions docs/changelog/2224.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/changelog/2225.bugfix.rst

This file was deleted.

2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ testing =
pytest>=4
pytest-env>=0.6.2
pytest-freezegun>=0.4.1
pytest-mock>=2
pytest-randomly>=1
pytest-timeout>=1
pytest-mock>=2
packaging>=20.0;python_version>"3.4"

[options.package_data]
Expand Down
2 changes: 1 addition & 1 deletion tasks/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0284755

Please sign in to comment.