From 5035b1eab7fb76c7e69ebdbb48591b08f46e90cf Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Tue, 17 Dec 2024 09:58:45 +0100 Subject: [PATCH] Fix version of pip with wrong python constraints --- recipe/patch_yaml/pip.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/recipe/patch_yaml/pip.yaml b/recipe/patch_yaml/pip.yaml index 87830c757..b404ed738 100644 --- a/recipe/patch_yaml/pip.yaml +++ b/recipe/patch_yaml/pip.yaml @@ -42,3 +42,15 @@ then: - add_depends: - setuptools - wheel +--- +# See https://github.com/conda-forge/pip-feedstock/issues/132 +# There is a build of pip that does not have wheel and setuptools +# dependency, and does not have the correct constraint on the python version +if: + name: pip + version_in: ["24.3.1"] + build: pyh145f28c_1 +then: + - replace_depends: + old: python >=3.9 + new: python >=3.13.0a0