@@ -75,13 +75,16 @@ from source as follows:
75
75
- Create a new conda environment including all standard packages
76
76
recognized by sage, and activate it::
77
77
78
- $ conda env create --file environment.yml --name sage-build
78
+ $ conda env create --file environment-3.11 .yml --name sage-build
79
79
$ conda activate sage-build
80
80
81
- Alternatively, use ``environment-optional.yml `` in place of
81
+ Alternatively, use ``environment-optional-3.11 .yml `` in place of
82
82
``environment.yml `` to create an environment with all standard and optional
83
83
packages recognized by sage.
84
84
85
+ A different Python version can be selected by replacing ``3.11 `` by ``3.9 ``
86
+ or ``3.10 `` in these commands.
87
+
85
88
- Then the SageMath distribution will be built using the compilers provided by Conda
86
89
and using many packages installed by Conda::
87
90
@@ -123,16 +126,15 @@ Here we assume that you are using a git checkout.
123
126
- Create and activate a new conda environment with the dependencies of Sage
124
127
and a few additional developer tools::
125
128
126
- $ mamba env create --file src/environment-dev.yml --name sage-dev
129
+ $ mamba env create --file src/environment-dev-3.11 .yml --name sage-dev
127
130
$ conda activate sage-dev
128
131
129
- Alternatively, you can use ``src/environment.yml `` or
130
- ``src/environment-optional.yml ``, which will only install standard
132
+ Alternatively, you can use ``src/environment-3.11 .yml `` or
133
+ ``src/environment-optional-3.11 .yml ``, which will only install standard
131
134
(and optional) packages without any additional developer tools.
132
135
133
- By default, the most recent version of Python supported by Sage is
134
- installed. You can use the additional option ``python=3.9 `` in the above
135
- ``env create `` command to select another Python version (here 3.9).
136
+ A different Python version can be selected by replacing ``3.11 `` by ``3.9 ``
137
+ or ``3.10 `` in these commands.
136
138
137
139
- Install the build prerequisites and the Sage library::
138
140
@@ -142,7 +144,7 @@ Here we assume that you are using a git checkout.
142
144
- Verify that Sage has been installed::
143
145
144
146
$ sage -c 'print(version())'
145
- SageMath version 9.6.beta5 , Release Date: 2022-03-12
147
+ SageMath version 10.2.beta4 , Release Date: 2023-09-24
146
148
147
149
Note that ``make `` is not used at all. All dependencies
148
150
(including all Python packages) are provided by conda.
@@ -162,7 +164,7 @@ After editing any Cython files, rebuild the Sage library using::
162
164
163
165
In order to update the conda environment later, you can run::
164
166
165
- $ mamba env update --file src/environment-dev.yml --name sage-dev
167
+ $ mamba env update --file src/environment-dev-3.11 .yml --name sage-dev
166
168
167
169
To build the documentation, use::
168
170
0 commit comments