File tree Expand file tree Collapse file tree 7 files changed +12
-14
lines changed Expand file tree Collapse file tree 7 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,5 @@ conda init bash
88
99#  Build sage
1010conda run -n sage-dev ./bootstrap
11- conda run -n sage-dev ./configure --with-python=/opt/conda/envs/sage-dev/bin/python --prefix=/opt/conda/envs/sage-dev
12- conda run -n sage-dev pip install --no-build-isolation -v -v -e ./pkgs/sage-conf ./pkgs/sage-setup 
11+ conda run -n sage-dev pip install --no-build-isolation -v -v -e ./pkgs/sage-setup 
1312conda run -n sage-dev pip install --no-build-isolation -v -v -e ./src
Original file line number Diff line number Diff line change @@ -62,21 +62,17 @@ jobs:
6262          conda info 
6363          conda list 
6464
65- name : Configure 
65+ name : Bootstrap 
6666        shell : bash -l {0} 
6767        continue-on-error : true 
6868        run : | 
6969          ./bootstrap 
70-           echo "::add-matcher::.github/workflows/configure-systempackage-problem-matcher.json" 
71-           ./configure --enable-build-as-root --with-python=$CONDA_PREFIX/bin/python --prefix=$CONDA_PREFIX --enable-system-site-packages $(for pkg in $(./sage -package list :standard: --has-file spkg-configure.m4 --has-file distros/conda.txt --exclude rpy2); do echo --with-system-$pkg=force; done) 
72-           echo "::remove-matcher owner=configure-system-package-warning::" 
73-           echo "::remove-matcher owner=configure-system-package-error::" 
7470
7571name : Build 
7672        shell : bash -l {0} 
7773        run : | 
7874          # Use --no-deps and pip check below to verify that all necessary dependencies are installed via conda. 
79-           pip install --no-build-isolation --no-deps -v -v -e ./pkgs/sage-conf ./pkgs/sage- setup 
75+           pip install --no-build-isolation --no-deps -v -v -e ./pkgs/sage-setup 
8076          pip install --no-build-isolation --no-deps --config-settings editable_mode=compat -v -v -e ./src 
8177env :
8278          SAGE_NUM_THREADS : 2 
Original file line number Diff line number Diff line change 1111      && conda config --append envs_dirs $(pwd) 
1212      && conda activate $(pwd)/venv 
1313      && ./bootstrap 
14-       && ./configure --enable-build-as-root --with-python=$CONDA_PREFIX/bin/python --prefix=$CONDA_PREFIX 
15-       && pip install --no-build-isolation -v -v -e ./pkgs/sage-conf ./pkgs/sage-setup 
14+       && pip install --no-build-isolation -v -v -e ./pkgs/sage-setup 
1615      && pip install --no-build-isolation -v -v -e ./src 
1716#  Activate conda environment, set up Trac remote
1817    #  RestructuredText extension recommends python extension, although we have already installed it
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ sage_conf for conda
8787
8888The version of the distribution package in the directory
8989`pkgs/sage-conf_conda  <https://github.com/sagemath/sage/tree/develop/pkgs/sage-conf_conda/ >`_
90- is  used in an experimental  installation method of SageMath, where all packages
90+ may be  used in an installation method of SageMath, where all packages
9191are provided by conda.  This method is described in
9292https://doc.sagemath.org/html/en/installation/conda.html#using-conda-to-provide-all-dependencies-for-the-sage-library-experimental
9393
Original file line number Diff line number Diff line change @@ -131,9 +131,15 @@ Here we assume that you are using a git checkout.
131131  - Bootstrap the source tree and install the build prerequisites and the Sage library::
132132
133133      $ ./bootstrap 
134-       $ pip install --no-build-isolation -v -v --editable ./pkgs/sage-conf_conda ./pkgs/sage- setup 
134+       $ pip install --no-build-isolation -v -v --editable ./pkgs/sage-setup 
135135      $ pip install --no-build-isolation --config-settings editable_mode=compat -v -v --editable ./src 
136136
137+     If you encounter any errors, try to install the ``sage-conf`` package first:: 
138+ 
139+       $ pip install --no-build-isolation -v -v --editable ./pkgs/sage-conf_conda 
140+ 
141+     and then run the last command again. 
142+ 
137143  - Verify that Sage has been installed::
138144
139145      $ sage -c 'print(version())' 
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ requires = [
66    # Note that PEP517/518 have no notion of optional sage_spkg dependencies: 
77    # https://github.com/pypa/pip/issues/6144 
88     esyscmd ( `sage-get-system-packages  install-requires-toml  \  
9-         sage_conf       \  
109        setuptools  \  
1110        wheel           \  
1211        sage_setup      \  
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ include(`setup_cfg_metadata.m4')dnl'
1111[ options] 
1212python_requires = >=3.9, <3.13
1313install_requires =
14-     SPKG_INSTALL_REQUIRES_sage_conf
1514    SPKG_INSTALL_REQUIRES_six
1615dnl  From build/pkgs/sagelib/dependencies
1716    SPKG_INSTALL_REQUIRES_conway_polynomials
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments