sagemath/sage

Set version upper bound for setuptools: <64.0

Closed this issue · 11 comments

From @saraedum on zulip:
I am building SageMath from source following the guide that uses conda packages. I find that pip install --no-build-isolation -v -v --editable src always recompiles all the extension modules.

As a fix for Sage 9.7, we set an upper bound for setuptools that excludes the new editable wheels feature introduced in 64.0.0. See #34344, #34209 for follow-ups

CC: @saraedum @isuruf @tobiasdiez @dimpase

Component: build

Author: Matthias Koeppe

Branch/Commit: 8ff3894

Reviewer: Julian Rüth

Issue created by migration from https://trac.sagemath.org/ticket/34442

New commits:

4196d9dbuild/pkgs/setuptools/distros/conda.txt: Use setuptools < 64

Author: Matthias Koeppe

Commit: 4196d9d

Description changed:

--- 
+++ 
@@ -1 +1,4 @@
+From @saraedum on zulip:
+ I am building [SageMath](../wiki/SageMath) from source following the guide that uses conda packages. I find that pip install --no-build-isolation -v -v --editable src always recompiles all the extension modules.
 
+

Changed commit from 4196d9d to 8ff3894

Branch pushed to git repo; I updated commit sha1. New commits:

8ff3894build/pkgs/setuptools/install-requires.txt: Set upper bound

Description changed:

--- 
+++ 
@@ -1,4 +1,4 @@
 From @saraedum on zulip:
  I am building [SageMath](../wiki/SageMath) from source following the guide that uses conda packages. I find that pip install --no-build-isolation -v -v --editable src always recompiles all the extension modules.
 
-
+As a fix for Sage 9.7, we set an upper bound for setuptools that excludes the new editable wheels feature introduced in 64.0.0. See #34344, #34209 for follow-ups

Reviewer: Julian Rüth

comment:7

Thanks!