]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
fix template files include
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 4 Mar 2025 19:33:59 +0000 (14:33 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 4 Mar 2025 19:35:50 +0000 (14:35 -0500)
Fixed an issue in the new :pep:`621` ``pyproject.toml`` layout that
prevented Alembic's template files from being included in the ``.whl`` file
in the distribution.

Fixes: #1616
Change-Id: I059e69841f918985d999aafad1319a0c7fd9d2d5

docs/build/changelog.rst
docs/build/unreleased/1616.rst [new file with mode: 0644]
pyproject.toml

index 16d6984db29a7ed7ba537f410c36e599cf1cb1f6..2fa3a5ab17c78c5274794faae7da4f0005ee7072 100644 (file)
@@ -9,7 +9,7 @@ Changelog
 
 .. changelog::
     :version: 1.15.0
-    :released: March 4, 2025
+    :released: March 4, 2025  (yanked due to issue #1616)
 
     .. change::
         :tags: bug, environment
diff --git a/docs/build/unreleased/1616.rst b/docs/build/unreleased/1616.rst
new file mode 100644 (file)
index 0000000..3c5821b
--- /dev/null
@@ -0,0 +1,7 @@
+.. change::
+    :tags: bug, installation
+    :tickets: 1616
+
+    Fixed an issue in the new :pep:`621` ``pyproject.toml`` layout that
+    prevented Alembic's template files from being included in the ``.whl`` file
+    in the distribution.
index 813779abaad95c83206d9f811c6deced5f5de8b1..a62f7e8948cf591627ef73162871b1c135fb2cb9 100644 (file)
@@ -59,10 +59,8 @@ package-dir = {"" = "."}
 license-files = ["LICENSE"]
 
 [tool.setuptools.package-data]
-alembic = ["*.pyi", "py.typed"]
+"*" = ["*.pyi", "py.typed", "*.mako", "README"]
 
-[tool.setuptools.exclude-package-data]
-alembic = ["test*"]
 
 [tool.setuptools.packages.find]
 include = ["alembic*"]