Skip to content

Commit 2a2bec9

Browse files
authored
Merge pull request #1350 from jazzband/release-3.7.0
Prepare for release 3.7.0
2 parents a4e4783 + 1fe70ab commit 2a2bec9

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

CHANGES.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Changes
44
Unreleased
55
----------
66

7+
8+
3.7.0 (2024-05-29)
9+
------------------
10+
711
- Dropped support for Django 3.2, which reached end-of-life on 2024-04-01 (gh-1344)
812
- Removed the temporary requirement on ``asgiref>=3.6`` added in 3.5.0,
913
now that the minimum required Django version is 4.2 (gh-1344)
@@ -13,8 +17,6 @@ Unreleased
1317
- Added ``django>=4.2`` as an installation dependency, to mirror the minimum version
1418
tested in our CI (gh-1349)
1519

16-
.. Start of PyPI readme
17-
1820
3.6.0 (2024-05-26)
1921
------------------
2022

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,14 @@ core-metadata-version = "2.2"
7070

7171
[tool.hatch.metadata.hooks.fancy-pypi-readme]
7272
content-type = "text/x-rst"
73+
# (Preview the generated readme by installing `hatch` and running
74+
# `hatch project metadata readme` - see
75+
# https://github.com/hynek/hatch-fancy-pypi-readme/blob/24.1.0/README.md#cli-interface)
7376
fragments = [
7477
{ path = "README.rst", start-after = ".. Start of PyPI readme\n\n" },
7578
{ text = "\n====\n\nChangelog\n=========\n\n" },
76-
{ path = "CHANGES.rst", start-after = ".. Start of PyPI readme\n\n" },
79+
# Only include the first title after "Unreleased" - as well as the rest of the file
80+
{ path = "CHANGES.rst", pattern = "\nUnreleased\n-{4,}\n(?:.*?)\n([^\n]+\n-{4,}\n.*)" },
7781
]
7882

7983
[tool.black]

0 commit comments

Comments
 (0)