Skip to content

Commit 4d317bf

Browse files
Release 23.11.0 (#566)
* venv/bin/towncrier build --yes * Show release draft as a step output. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update final version. * Update dev version. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 3b27ce2 commit 4d317bf

File tree

9 files changed

+35
-8
lines changed

9 files changed

+35
-8
lines changed

.github/workflows/ci.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,12 @@ jobs:
160160
python-version: '3.11'
161161
task:
162162
- name: Check Newsfragment
163-
nox: check_newsfragment
163+
run: |
164+
nox -e check_newsfragment
165+
nox -e draft_newsfragment >> $GITHUB_STEP_SUMMARY
164166
run-if: ${{ github.head_ref != 'pre-commit-ci-update-config' }}
165167
- name: Check mypy
166-
nox: typecheck
168+
run: nox -e typecheck
167169
run-if: true
168170

169171
steps:
@@ -187,7 +189,9 @@ jobs:
187189

188190
- uses: twisted/python-info-action@v1
189191

190-
- run: nox -e ${{ matrix.task.nox }}
192+
- name: Check
193+
run: |
194+
${{ matrix.task.run }}
191195
if: ${{ matrix.task.run-if }}
192196

193197

NEWS.rst

+21
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,27 @@ Release notes
55

66
.. towncrier release notes start
77
8+
towncrier 23.11.0 (2023-11-08)
9+
==============================
10+
11+
No significant changes since the previous release candidate.
12+
13+
14+
Bugfixes
15+
--------
16+
17+
- ``build`` now treats a missing fragments directory the same as an empty one, consistent with other operations. (`#538 <https://github.com/twisted/towncrier/issues/538>`_)
18+
- Fragments with filenames like `fix-1.2.3.feature` are now associated with the ticket `fix-1.2.3`.
19+
In previous versions they were incorrectly associated to ticket `3`. (`#562 <https://github.com/twisted/towncrier/issues/562>`_)
20+
- Orphan newsfragments containing numeric values are no longer accidentally associated to tickets. In previous versions the orphan marker was ignored and the newsfragment was associated to a ticket having the last numerical value from the filename. (`#562 <https://github.com/twisted/towncrier/issues/562>`_)
21+
22+
23+
Misc
24+
----
25+
26+
- `#558 <https://github.com/twisted/towncrier/issues/558>`_, `#559 <https://github.com/twisted/towncrier/issues/559>`_
27+
28+
829
towncrier 23.10.0 (2023-10-24)
930
==============================
1031

noxfile.py

+6
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ def check_newsfragment(session: nox.Session) -> None:
5454
session.run("python", "-m", "towncrier.check", "--compare-with", "origin/trunk")
5555

5656

57+
@nox.session
58+
def draft_newsfragment(session: nox.Session) -> None:
59+
session.install(".")
60+
session.run("python", "-m", "towncrier.build", "--draft")
61+
62+
5763
@nox.session
5864
def typecheck(session: nox.Session) -> None:
5965
# Click 8.1.4 is bad type hints -- lets not complicate packaging and only

src/towncrier/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# For dev - Version('towncrier', 23, 8, 1, dev=0)
1212
# For RC - Version('towncrier', 23, 9, 0, release_candidate=1)
1313
# For final - Version('towncrier', 23, 9, 0)
14-
__version__ = Version("towncrier", 23, 10, 1, dev=0)
14+
__version__ = Version("towncrier", 23, 11, 1, dev=0)
1515
# The version is exposed in string format to be
1616
# available for the hatching build tools.
1717
_hatchling_version = __version__.short()

src/towncrier/newsfragments/538.bugfix

-1
This file was deleted.

src/towncrier/newsfragments/558.misc

Whitespace-only changes.

src/towncrier/newsfragments/559.misc

Whitespace-only changes.

src/towncrier/newsfragments/562.bugfix

-1
This file was deleted.

src/towncrier/newsfragments/562.bugfix.1

-2
This file was deleted.

0 commit comments

Comments
 (0)