]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Remove pyproject.toml from distribution
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 21 Mar 2020 14:16:47 +0000 (10:16 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 21 Mar 2020 14:20:14 +0000 (10:20 -0400)
SQLAlchemy does not want to opt-in to pep-517 at this time
as this would require a custom build backend interface
which we have not built yet, and the standard is not
widely adopted at this time in any case.  Per
[1] [2], the presence of this file indicates a positive opt-in
to pep-517, so it must be omitted from source distributions.

[1] https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support
[2] https://www.python.org/dev/peps/pep-0517/#id5

Fixes: #5207
Change-Id: If8d26a9edf942047920d273d8be778df7a018b3e
(cherry picked from commit f2a817dd7cde50988839750b9c2464675fb4f069)

MANIFEST.in
doc/build/changelog/unreleased_13/5207.rst [new file with mode: 0644]

index b5cd1b5b2bd668619e889c6d15a5d7ecda8fd4b2..372cc16525d0ffab4d4429331e3bcf59f7b06df2 100644 (file)
@@ -11,3 +11,7 @@ recursive-include lib *.c *.txt
 
 include README* AUTHORS LICENSE CHANGES* tox.ini
 prune doc/build/output
+
+# don't include pyproject.toml until we
+# have explicitly built a pep-517 backend
+exclude pyproject.toml
diff --git a/doc/build/changelog/unreleased_13/5207.rst b/doc/build/changelog/unreleased_13/5207.rst
new file mode 100644 (file)
index 0000000..abc8729
--- /dev/null
@@ -0,0 +1,11 @@
+.. change::
+    :tags: installer
+    :tickets: 5207
+
+    Ensured that the "pyproject.toml" file is not included in builds, as the
+    presence of this file is a positive direction to pip that pep-517 should be
+    used. As this mode of operation is not well supported by current tools /
+    distros, we would like to explicitly disallow this mode of operation until
+    we have an actual pep517 installation module available.
+
+