Skip to content

Commit d91a8f2

Browse files
zzzeekGerrit Code Review
authored and
Gerrit Code Review
committed
Merge "fix template files include" into main
2 parents 2b63cc2 + d82e382 commit d91a8f2

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

docs/build/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Changelog
99

1010
.. changelog::
1111
:version: 1.15.0
12-
:released: March 4, 2025
12+
:released: March 4, 2025 (yanked due to issue #1616)
1313

1414
.. change::
1515
:tags: bug, environment

docs/build/unreleased/1616.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.. change::
2+
:tags: bug, installation
3+
:tickets: 1616
4+
5+
Fixed an issue in the new :pep:`621` ``pyproject.toml`` layout that
6+
prevented Alembic's template files from being included in the ``.whl`` file
7+
in the distribution.

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,8 @@ package-dir = {"" = "."}
5959
license-files = ["LICENSE"]
6060

6161
[tool.setuptools.package-data]
62-
alembic = ["*.pyi", "py.typed"]
62+
"*" = ["*.pyi", "py.typed", "*.mako", "README"]
6363

64-
[tool.setuptools.exclude-package-data]
65-
alembic = ["test*"]
6664

6765
[tool.setuptools.packages.find]
6866
include = ["alembic*"]

0 commit comments

Comments
 (0)