From ea8a39807993bbdd5a580f6b919f28206d61b9ba Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Tue, 8 Nov 2022 15:25:55 -0500 Subject: [PATCH] pex: fix python3-pep517 build --- srcpkgs/pex/patches/flit_version.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 srcpkgs/pex/patches/flit_version.patch diff --git a/srcpkgs/pex/patches/flit_version.patch b/srcpkgs/pex/patches/flit_version.patch new file mode 100644 index 00000000000..b3ef6fc61e2 --- /dev/null +++ b/srcpkgs/pex/patches/flit_version.patch @@ -0,0 +1,13 @@ +The upper restriction on the flit_core version appears to be a stock +generational restriction rather than a specific requirement, and the package +seems to build as expected anyway. Drop the requirement restriction. + +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["flit_core >=2,<3"] ++requires = ["flit_core"] + build-backend = "flit_core.buildapi" + + [tool.flit.metadata]