Skip to content

Commit f2a817d

Browse files
committed
Remove pyproject.toml from distribution
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: sqlalchemy#5207 Change-Id: If8d26a9edf942047920d273d8be778df7a018b3e
1 parent a25e2e0 commit f2a817d

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

MANIFEST.in

+4
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ recursive-include lib *.c *.txt
1111

1212
include README* AUTHORS LICENSE CHANGES* tox.ini
1313
prune doc/build/output
14+
15+
# don't include pyproject.toml until we
16+
# have explicitly built a pep-517 backend
17+
exclude pyproject.toml
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.. change::
2+
:tags: installer
3+
:tickets: 5207
4+
5+
Ensured that the "pyproject.toml" file is not included in builds, as the
6+
presence of this file is a positive direction to pip that pep-517 should be
7+
used. As this mode of operation is not well supported by current tools /
8+
distros, we would like to explicitly disallow this mode of operation until
9+
we have an actual pep517 installation module available.
10+
11+

0 commit comments

Comments
 (0)