Re: [sage-release] Sage 10.3.beta8 released

2024-02-17 Thread Matthias Köppe
Try the updated instructions from the 10.3.beta7 installation 
guide: 
https://deploy-livedoc--sagemath.netlify.app/html/en/installation/conda#using-conda-to-provide-system-packages-for-the-sage-distribution,
 
which uses lock files

On Saturday, February 17, 2024 at 12:01:09 AM UTC-8 furutaka@gmail.com 
wrote:

> Hi,
>
> A build roughly along the procedure described in "Using conda to provide 
> system packages for the Sage distribution" 
> 
>  
> (`conda env update` instead of `cocnda env create` because the conda 
> environment has been already installed), failed because of the lack of 
> 'markupsafe':
>
>> [sagelib-10.3.beta8] Installing collected packages: sagemath-standard
>> [sagelib-10.3.beta8]   Running setup.py develop for sagemath-standard
>> [sagelib-10.3.beta8] Running command python setup.py develop
>> [sagelib-10.3.beta8] 
>> 
>> [sagelib-10.3.beta8] Traceback (most recent call last):
>> [sagelib-10.3.beta8]   File "", line 2, in 
>> [sagelib-10.3.beta8]   File "", line 34, in 
>> 
>> [sagelib-10.3.beta8]   File 
>> "/home/furutaka/work/sage/sage-10.3.beta8-condaSys/src/setup.py", line 85, 
>> in 
>> [sagelib-10.3.beta8] from sage_setup.autogen import autogen_all
>> [sagelib-10.3.beta8]   File 
>> "/home/furutaka/work/sage/sage-10.3.beta8-condaSys/src/sage_setup/autogen/__init__.py",
>>  
>> line 3, in 
>> [sagelib-10.3.beta8] from . import interpreters
>> [sagelib-10.3.beta8]   File 
>> "/home/furutaka/work/sage/sage-10.3.beta8-condaSys/src/sage_setup/autogen/interpreters/__init__.py",
>>  
>> line 118, in 
>> [sagelib-10.3.beta8] from .generator import InterpreterGenerator, 
>> AUTOGEN_WARN
>> [sagelib-10.3.beta8]   File 
>> "/home/furutaka/work/sage/sage-10.3.beta8-condaSys/src/sage_setup/autogen/interpreters/generator.py",
>>  
>> line 19, in 
>> [sagelib-10.3.beta8] from .memory import string_of_addr
>> [sagelib-10.3.beta8]   File 
>> "/home/furutaka/work/sage/sage-10.3.beta8-condaSys/src/sage_setup/autogen/interpreters/memory.py",
>>  
>> line 16, in 
>> [sagelib-10.3.beta8] from .utils import je, reindent_lines as ri
>> [sagelib-10.3.beta8]   File 
>> "/home/furutaka/work/sage/sage-10.3.beta8-condaSys/src/sage_setup/autogen/interpreters/utils.py",
>>  
>> line 19, in 
>> [sagelib-10.3.beta8] from jinja2 import Environment
>> [sagelib-10.3.beta8]   File 
>> "/home/furutaka/mambaforge/envs/sage-build/lib/python3.11/site-packages/jinja2/__init__.py",
>>  
>> line 8, in 
>> [sagelib-10.3.beta8] from .environment import Environment as 
>> Environment
>> [sagelib-10.3.beta8]   File 
>> "/home/furutaka/mambaforge/envs/sage-build/lib/python3.11/site-packages/jinja2/environment.py",
>>  
>> line 14, in 
>> [sagelib-10.3.beta8] from markupsafe import Markup
>> [sagelib-10.3.beta8] ModuleNotFoundError: No module named 'markupsafe'
>> [sagelib-10.3.beta8] 
>> 
>> [sagelib-10.3.beta8] Error building the Sage library
>> [sagelib-10.3.beta8] 
>> 
>> [sagelib-10.3.beta8] Please email sage-devel (
>> http://groups.google.com/group/sage-devel)
>> [sagelib-10.3.beta8] explaining the problem and including the 
>> relevant part of the log file
>> [sagelib-10.3.beta8]   
>> /home/furutaka/work/sage/sage-10.3.beta8-condaSys/logs/pkgs/sagelib-10.3.beta8.log
>> [sagelib-10.3.beta8] Describe your computer, operating system, etc.
>> [sagelib-10.3.beta8] 
>> 
>> [sagelib-10.3.beta8] error: subprocess-exited-with-error
>> [sagelib-10.3.beta8] 
>> [sagelib-10.3.beta8] × python setup.py develop did not run 
>> successfully.
>> [sagelib-10.3.beta8] │ exit code: 1
>> [sagelib-10.3.beta8] ╰─> See above for output.
>>
>
>
> Another `make` after doing `conda install conda-forge::markupsafe --name 
> sage-build` then failed in building "sagemath-doc_html-none":
>
>> [sagemath_doc_html-none] Traceback (most recent call last):
>> [sagemath_doc_html-none]   File 
>> "/home/furutaka/mambaforge/envs/sage-build/lib/python3.11/site-packages/babel/localtime/_helpers.py",
>>  
>> line 16, in _get_tzinfo
>> [sagemath_doc_html-none] return pytz.timezone(tzenv)
>> [sagemath_doc_html-none]^
>> [sagemath_doc_html-none] AttributeError: module 'pytz' has no attribute 
>> 'timezone'
>> [sagemath_doc_html-none] 
>> [sagemath_doc_html-none] During handling of the above exception, another 
>> exception occurred:
>> [sagemath_doc_html-none] 
>> [sagemath_doc_html-none] Traceback (most recent call last):
>> [sagemath_doc_html-none]   File 

Re: [sage-release] Sage 10.3.beta8 released

2024-02-17 Thread Kazuyoshi Furutaka
Hi,

A build roughly along the procedure described in "Using conda to provide
system packages for the Sage distribution"

(`conda env update` instead of `cocnda env create` because the conda
environment has been already installed), failed because of the lack of
'markupsafe':

> [sagelib-10.3.beta8] Installing collected packages: sagemath-standard
> [sagelib-10.3.beta8]   Running setup.py develop for sagemath-standard
> [sagelib-10.3.beta8] Running command python setup.py develop
> [sagelib-10.3.beta8]
> 
> [sagelib-10.3.beta8] Traceback (most recent call last):
> [sagelib-10.3.beta8]   File "", line 2, in 
> [sagelib-10.3.beta8]   File "", line 34, in
> 
> [sagelib-10.3.beta8]   File
> "/home/furutaka/work/sage/sage-10.3.beta8-condaSys/src/setup.py", line 85,
> in 
> [sagelib-10.3.beta8] from sage_setup.autogen import autogen_all
> [sagelib-10.3.beta8]   File
> "/home/furutaka/work/sage/sage-10.3.beta8-condaSys/src/sage_setup/autogen/__init__.py",
> line 3, in 
> [sagelib-10.3.beta8] from . import interpreters
> [sagelib-10.3.beta8]   File
> "/home/furutaka/work/sage/sage-10.3.beta8-condaSys/src/sage_setup/autogen/interpreters/__init__.py",
> line 118, in 
> [sagelib-10.3.beta8] from .generator import InterpreterGenerator,
> AUTOGEN_WARN
> [sagelib-10.3.beta8]   File
> "/home/furutaka/work/sage/sage-10.3.beta8-condaSys/src/sage_setup/autogen/interpreters/generator.py",
> line 19, in 
> [sagelib-10.3.beta8] from .memory import string_of_addr
> [sagelib-10.3.beta8]   File
> "/home/furutaka/work/sage/sage-10.3.beta8-condaSys/src/sage_setup/autogen/interpreters/memory.py",
> line 16, in 
> [sagelib-10.3.beta8] from .utils import je, reindent_lines as ri
> [sagelib-10.3.beta8]   File
> "/home/furutaka/work/sage/sage-10.3.beta8-condaSys/src/sage_setup/autogen/interpreters/utils.py",
> line 19, in 
> [sagelib-10.3.beta8] from jinja2 import Environment
> [sagelib-10.3.beta8]   File
> "/home/furutaka/mambaforge/envs/sage-build/lib/python3.11/site-packages/jinja2/__init__.py",
> line 8, in 
> [sagelib-10.3.beta8] from .environment import Environment as
> Environment
> [sagelib-10.3.beta8]   File
> "/home/furutaka/mambaforge/envs/sage-build/lib/python3.11/site-packages/jinja2/environment.py",
> line 14, in 
> [sagelib-10.3.beta8] from markupsafe import Markup
> [sagelib-10.3.beta8] ModuleNotFoundError: No module named 'markupsafe'
> [sagelib-10.3.beta8]
> 
> [sagelib-10.3.beta8] Error building the Sage library
> [sagelib-10.3.beta8]
> 
> [sagelib-10.3.beta8] Please email sage-devel (
> http://groups.google.com/group/sage-devel)
> [sagelib-10.3.beta8] explaining the problem and including the relevant
> part of the log file
> [sagelib-10.3.beta8]
> /home/furutaka/work/sage/sage-10.3.beta8-condaSys/logs/pkgs/sagelib-10.3.beta8.log
> [sagelib-10.3.beta8] Describe your computer, operating system, etc.
> [sagelib-10.3.beta8]
> 
> [sagelib-10.3.beta8] error: subprocess-exited-with-error
> [sagelib-10.3.beta8]
> [sagelib-10.3.beta8] × python setup.py develop did not run
> successfully.
> [sagelib-10.3.beta8] │ exit code: 1
> [sagelib-10.3.beta8] ╰─> See above for output.
>


Another `make` after doing `conda install conda-forge::markupsafe --name
sage-build` then failed in building "sagemath-doc_html-none":

> [sagemath_doc_html-none] Traceback (most recent call last):
> [sagemath_doc_html-none]   File
> "/home/furutaka/mambaforge/envs/sage-build/lib/python3.11/site-packages/babel/localtime/_helpers.py",
> line 16, in _get_tzinfo
> [sagemath_doc_html-none] return pytz.timezone(tzenv)
> [sagemath_doc_html-none]^
> [sagemath_doc_html-none] AttributeError: module 'pytz' has no attribute
> 'timezone'
> [sagemath_doc_html-none]
> [sagemath_doc_html-none] During handling of the above exception, another
> exception occurred:
> [sagemath_doc_html-none]
> [sagemath_doc_html-none] Traceback (most recent call last):
> [sagemath_doc_html-none]   File "", line 198, in
> _run_module_as_main
> [sagemath_doc_html-none]   File "", line 88, in _run_code
> [sagemath_doc_html-none]   File
> "/home/furutaka/work/sage/sage-10.3.beta8-condaSys/src/sage_docbuild/__main__.py",
> line 65, in 
> [sagemath_doc_html-none] import sphinx.ext.intersphinx
> [sagemath_doc_html-none]   File
> "/home/furutaka/mambaforge/envs/sage-build/lib/python3.11/site-packages/sphinx/ext/intersphinx.py",
> line 36, in 
> [sagemath_doc_html-none] from sphinx.builders.html import
>