-
-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkgs/sagemath-*/tox.ini: Create environment that uses Sage's python as the basepython, fix sagemath-standard deps #32716
Comments
Author: Matthias Koeppe |
Commit: |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:8
command in the ticket description fails with
|
comment:9
Did you run |
This comment has been minimized.
This comment has been minimized.
comment:11
besides diff --git a/build/pkgs/sage_conf/install-requires.txt b/build/pkgs/sage_conf/install-requires.txt
index 83ad7e641fa..3d4ff51d565 100644
--- a/build/pkgs/sage_conf/install-requires.txt
+++ b/build/pkgs/sage_conf/install-requires.txt
@@ -1 +1 @@
-sage-conf ~= 9.5.b6
+sage-conf
diff --git a/build/pkgs/sage_setup/install-requires.txt b/build/pkgs/sage_setup/install-requires.txt
index 01a931f5eb5..9d4666c07f4 100644
--- a/build/pkgs/sage_setup/install-requires.txt
+++ b/build/pkgs/sage_setup/install-requires.txt
@@ -1 +1 @@
-sage-setup ~= 9.5.b6
+sage-setup that |
comment:12
And after these changes, it errors out (much later) with
|
comment:13
the latter is probably a config error, as the module is there and well:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:43
Replying to @dimpase:
Indeed, that was missing too, fixed now. |
comment:46
Replying to @dimpase:
that appeared to suffice (but now the branch got updated) |
comment:47
what I don't like are explicit versions of Obviously there should be an automated way. |
Reviewer: Dima Pasechnik |
comment:48
OK, otherwise it looks good. Perhaps deal with versions mentioned in the last comment on another ticket (unless it can be trivially fixed). |
comment:49
Replying to @dimpase:
If you mean |
comment:51
OK |
comment:52
Thanks! |
comment:53
Merge failure on top of: 662aaf2 Trac #32423: Update numpy to 1.22.x, scipy 1.8.x, networkx 2.8.x d98aa73 Trac #29549: bootstrap: Clean up use of gettextize 24b4eeb Trac #13321: FreeModule.hom stores its matrix over the wrong ring 93357f3 Trac #34104: Build & Test workflow: Run apt-get update first 23e4bbe Trac #34092: Docbuild workflow broken because furo is too new 9440e71 Trac #34088: cygwin python3 missing ensurepip 9879ff4 Trac #33936: Remove runtime dependency on sage_docbuild introduced in #33763 55d05c9 Trac #31403: giac: Make cliquer a dependency, libnauty an optional dependency 843eb03 Updated SageMath version to 9.7.beta4 merge was not clean: conflicts in pkgs/sagemath-standard/tox.ini |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed branch from u/mkoeppe/pkgs_sagemath_standard_tox_ini__use_sage_s_python_by_default to |
Changed commit from |
comment:57
Replying to @mkoeppe:
Implemented now in #33817 |
Newer versions of
tox
seem to provision python 3.10 when the environmentpython
is used, but then our wheels don't necessarily fit.For this reason, the examples shown in the developer's manual hardcoded the Python version (
tox -e py39
).We now define tox environments
sagepython
intox.ini
, which takes Python asSAGE_VENV/bin/python3
and change the manual to use this environment in examples, such as:(to be run after
make build
)Depends on #33936
CC: @dimpase @kwankyu
Component: refactoring
Author: Matthias Koeppe
Branch:
ca9d6ce
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/32716
The text was updated successfully, but these errors were encountered: