From d694bb4b011a8f937da74b8b0b24e1fb11ac2163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=2E=20Armando=20Sol=C3=A9?= Date: Fri, 10 Nov 2023 14:39:38 +0100 Subject: [PATCH 1/2] Install oldest-supported-numpy --- appveyor.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 4ed269dbe..8bc63acea 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -43,6 +43,7 @@ build_script: - "pip install --upgrade build" - "pip install --upgrade setuptools" - "pip install --upgrade wheel" + - "pip install oldest-supported-numpy" - "pip install --upgrade numpy" - "pip install --upgrade cython" @@ -52,7 +53,7 @@ build_script: # Build # --no-isolation complains about oldest-supported-numpy not being installed - - "python -c \"text=open('pyproject.toml').read().replace('oldest-supported-','');open('pyproject.toml','w').write(text)\"" + # - "python -c \"text=open('pyproject.toml').read().replace('oldest-supported-','');open('pyproject.toml','w').write(text)\"" - "python -m build --no-isolation --wheel" - ps: "ls dist" From ab36803f4200590157d21e4e62cdeede0b91c7a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=2E=20Armando=20Sol=C3=A9?= Date: Fri, 10 Nov 2023 14:47:14 +0100 Subject: [PATCH 2/2] cleanup --- appveyor.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 8bc63acea..46c3fa6d0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -43,6 +43,7 @@ build_script: - "pip install --upgrade build" - "pip install --upgrade setuptools" - "pip install --upgrade wheel" + # --no-isolation complains about oldest-supported-numpy not being installed - "pip install oldest-supported-numpy" - "pip install --upgrade numpy" - "pip install --upgrade cython" @@ -52,8 +53,6 @@ build_script: - "pip freeze" # Build - # --no-isolation complains about oldest-supported-numpy not being installed - # - "python -c \"text=open('pyproject.toml').read().replace('oldest-supported-','');open('pyproject.toml','w').write(text)\"" - "python -m build --no-isolation --wheel" - ps: "ls dist"