Re: [sage-release] Re: Sage 10.2.beta3 released

2023-09-18 Thread John Cremona
On Mon, 18 Sept 2023 at 09:50, Dima Pasechnik  wrote:

> run
>
> make pytest
>
> (or ./sage -i pytest)
>
> to install it and have it ready for Sage.
> (i.e. install it into Sage's venv)
>

Thanks Dima

John


>
> On Mon, Sep 18, 2023 at 9:04 AM John Cremona 
> wrote:
> >
> > What should I do to avoid this message when running "make testlong":
> >
> > pytest is not installed in the venv, skip checking tests that rely on it
> >
> > i.e. how should I install pytest.  System-wide or what?
> >
> > John
> >
> > On Mon, 18 Sept 2023 at 01:08, Matthias Köppe 
> wrote:
> >>
> >> I've pushed a fix to https://github.com/sagemath/sage/pull/36276
> >>
> >> On Sunday, September 17, 2023 at 5:02:05 PM UTC-7 Matthias Köppe wrote:
> >>>
> >>> Yes, it's a bug in the build system. Running  CONFIG_SHELL="bash -x"
> ./configure
> >>>
> >>> + printf '%s\n' 'configure:49868: result: no; skipping check'
> >>> + printf '%s\n' 'no; skipping check'
> >>> + sage_spkg_install_meson-python=yes
> >>> ./configure: line 49870: sage_spkg_install_meson-python=yes: command
> not found
> >>> + test yes = yes
> >>> + :
> >>> + sage_use_system_meson-python=no
> >>> ./configure: line 49874: sage_use_system_meson-python=no: command not
> found
> >>> + test xno = xno
> >>> + :
> >>> + sage_use_system_meson_python=yes
> >>> + printf '%s\n' 'configure:49884: will use system package and not
> install SPKG meson_python'
> >>> + printf '%s\n' 'configure: will use system package and not install
> SPKG meson_python'
> >>> +
> >>>
> >>> On Sunday, September 17, 2023 at 1:34:35 PM UTC-7 Dima Pasechnik wrote:
> 
> 
> 
>  On Sun, Sep 17, 2023 at 7:25 PM John H Palmieri 
> wrote:
>  >
>  > Similar problem for me on OS X. I don't understand something: the
> dependencies for scipy include meson_python, but that package is not
> installed before scipy attempts to build, and fails. Running "make
> meson_python" and then "make scipy" succeeds, as does "make".
> 
>  $ cat build/pkgs/scipy/dependencies
>   $(BLAS) gfortran numpy pybind11 cython pythran | $(PYTHON_TOOLCHAIN)
> meson_python $(PYTHON)
> 
>  looks OK. So this looks like a bug in our build system
> 
> 
>  >
>  >
>  >
>  > On Saturday, September 16, 2023 at 2:59:58 PM UTC-7 Kwankyu Lee
> wrote:
>  >>
>  >> Succeeded after sage -pip install meson-python.
>  >>
>  >> On Sunday, September 17, 2023 at 6:52:59 AM UTC+9 Kwankyu Lee
> wrote:
>  >>>
>  >>> Incremental build failed
>  >>>
>  >>> [scipy-1.11.2]
> [..]
>  >>> [scipy-1.11.2] scipy-1.11.2
>  >>> [scipy-1.11.2]
> 
>  >>> [sagelib-10.2.beta3]   Removing file or directory
> /Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/sagemath-standard.egg-link
>  >>> [sagelib-10.2.beta3]   Removing pth entries from
> /Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/easy-install.pth:
>  >>> [sagelib-10.2.beta3]   Removing entry:
> /Users/kwankyu/GitHub/sage-dev/src
>  >>> [sagelib-10.2.beta3]   Successfully uninstalled
> sagemath-standard-10.2b3
>  >>> [sagelib-10.2.beta3]   Running setup.py develop for
> sagemath-standard
>  >>> [sagelib-10.2.beta3] Running command python setup.py develop
>  >>> [scipy-1.11.2] Setting up build directory for scipy-1.11.2
>  >>> [scipy-1.11.2] Finished extraction
>  >>> [scipy-1.11.2] Applying patches from ../patches...
>  >>> [scipy-1.11.2] Applying ../patches/numpy-include.patch
>  >>> [scipy-1.11.2] patching file scipy/spatial/setup.py
>  >>> [scipy-1.11.2] Hunk #1 succeeded at 39 (offset -1 lines).
>  >>> [scipy-1.11.2] Applying
> ../patches/tests_no_internet_dependency.patch
>  >>> [scipy-1.11.2] patching file scipy/datasets/meson.build
>  >>> [scipy-1.11.2]
> 
>  >>> [scipy-1.11.2] Host system:
>  >>> [scipy-1.11.2] Darwin Helios.local 22.6.0 Darwin Kernel Version
> 22.6.0: Wed Jul  5 22:21:56 PDT 2023; root:xnu-8796.141.3~6/RELEASE_X86_64
> x86_64
>  >>> [scipy-1.11.2]
> 
>  >>> [scipy-1.11.2] C compiler: gcc
>  >>> [scipy-1.11.2] C compiler version:
>  >>> [scipy-1.11.2] Apple clang version 14.0.3 (clang-1403.0.22.14.1)
>  >>> [scipy-1.11.2] Target: x86_64-apple-darwin22.6.0
>  >>> [scipy-1.11.2] Thread model: posix
>  >>> [scipy-1.11.2] InstalledDir:
> /Library/Developer/CommandLineTools/usr/bin
>  >>> [scipy-1.11.2]
> 
>  >>> [scipy-1.11.2] Package 'scipy' is currently not installed
>  >>> [scipy-1.11.2] No legacy uninstaller found for 'scipy'; nothing
> to do
>  >>> [scipy-1.11.2] Installing scipy-1.11.2
>  >>> 

Re: [sage-release] Re: Sage 10.2.beta3 released

2023-09-18 Thread Dima Pasechnik
run

make pytest

(or ./sage -i pytest)

to install it and have it ready for Sage.
(i.e. install it into Sage's venv)

On Mon, Sep 18, 2023 at 9:04 AM John Cremona  wrote:
>
> What should I do to avoid this message when running "make testlong":
>
> pytest is not installed in the venv, skip checking tests that rely on it
>
> i.e. how should I install pytest.  System-wide or what?
>
> John
>
> On Mon, 18 Sept 2023 at 01:08, Matthias Köppe  
> wrote:
>>
>> I've pushed a fix to https://github.com/sagemath/sage/pull/36276
>>
>> On Sunday, September 17, 2023 at 5:02:05 PM UTC-7 Matthias Köppe wrote:
>>>
>>> Yes, it's a bug in the build system. Running  CONFIG_SHELL="bash -x" 
>>> ./configure
>>>
>>> + printf '%s\n' 'configure:49868: result: no; skipping check'
>>> + printf '%s\n' 'no; skipping check'
>>> + sage_spkg_install_meson-python=yes
>>> ./configure: line 49870: sage_spkg_install_meson-python=yes: command not 
>>> found
>>> + test yes = yes
>>> + :
>>> + sage_use_system_meson-python=no
>>> ./configure: line 49874: sage_use_system_meson-python=no: command not found
>>> + test xno = xno
>>> + :
>>> + sage_use_system_meson_python=yes
>>> + printf '%s\n' 'configure:49884: will use system package and not install 
>>> SPKG meson_python'
>>> + printf '%s\n' 'configure: will use system package and not install SPKG 
>>> meson_python'
>>> +
>>>
>>> On Sunday, September 17, 2023 at 1:34:35 PM UTC-7 Dima Pasechnik wrote:



 On Sun, Sep 17, 2023 at 7:25 PM John H Palmieri  
 wrote:
 >
 > Similar problem for me on OS X. I don't understand something: the 
 > dependencies for scipy include meson_python, but that package is not 
 > installed before scipy attempts to build, and fails. Running "make 
 > meson_python" and then "make scipy" succeeds, as does "make".

 $ cat build/pkgs/scipy/dependencies
  $(BLAS) gfortran numpy pybind11 cython pythran | $(PYTHON_TOOLCHAIN) 
 meson_python $(PYTHON)

 looks OK. So this looks like a bug in our build system


 >
 >
 >
 > On Saturday, September 16, 2023 at 2:59:58 PM UTC-7 Kwankyu Lee wrote:
 >>
 >> Succeeded after sage -pip install meson-python.
 >>
 >> On Sunday, September 17, 2023 at 6:52:59 AM UTC+9 Kwankyu Lee wrote:
 >>>
 >>> Incremental build failed
 >>>
 >>> [scipy-1.11.2] 
 >>> [..]
 >>> [scipy-1.11.2] scipy-1.11.2
 >>> [scipy-1.11.2] 
 >>> [sagelib-10.2.beta3]   Removing file or directory 
 >>> /Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/sagemath-standard.egg-link
 >>> [sagelib-10.2.beta3]   Removing pth entries from 
 >>> /Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/easy-install.pth:
 >>> [sagelib-10.2.beta3]   Removing entry: 
 >>> /Users/kwankyu/GitHub/sage-dev/src
 >>> [sagelib-10.2.beta3]   Successfully uninstalled 
 >>> sagemath-standard-10.2b3
 >>> [sagelib-10.2.beta3]   Running setup.py develop for sagemath-standard
 >>> [sagelib-10.2.beta3] Running command python setup.py develop
 >>> [scipy-1.11.2] Setting up build directory for scipy-1.11.2
 >>> [scipy-1.11.2] Finished extraction
 >>> [scipy-1.11.2] Applying patches from ../patches...
 >>> [scipy-1.11.2] Applying ../patches/numpy-include.patch
 >>> [scipy-1.11.2] patching file scipy/spatial/setup.py
 >>> [scipy-1.11.2] Hunk #1 succeeded at 39 (offset -1 lines).
 >>> [scipy-1.11.2] Applying ../patches/tests_no_internet_dependency.patch
 >>> [scipy-1.11.2] patching file scipy/datasets/meson.build
 >>> [scipy-1.11.2] 
 >>> [scipy-1.11.2] Host system:
 >>> [scipy-1.11.2] Darwin Helios.local 22.6.0 Darwin Kernel Version 
 >>> 22.6.0: Wed Jul  5 22:21:56 PDT 2023; 
 >>> root:xnu-8796.141.3~6/RELEASE_X86_64 x86_64
 >>> [scipy-1.11.2] 
 >>> [scipy-1.11.2] C compiler: gcc
 >>> [scipy-1.11.2] C compiler version:
 >>> [scipy-1.11.2] Apple clang version 14.0.3 (clang-1403.0.22.14.1)
 >>> [scipy-1.11.2] Target: x86_64-apple-darwin22.6.0
 >>> [scipy-1.11.2] Thread model: posix
 >>> [scipy-1.11.2] InstalledDir: 
 >>> /Library/Developer/CommandLineTools/usr/bin
 >>> [scipy-1.11.2] 
 >>> [scipy-1.11.2] Package 'scipy' is currently not installed
 >>> [scipy-1.11.2] No legacy uninstaller found for 'scipy'; nothing to do
 >>> [scipy-1.11.2] Installing scipy-1.11.2
 >>> [scipy-1.11.2] DEPRECATION: --no-binary currently disables reading 
 >>> from the cache of locally built wheels. In the future --no-binary will 
 >>> not influence the wheel cache. pip 23.1 

Re: [sage-release] Re: Sage 10.2.beta3 released

2023-09-18 Thread John Cremona
What should I do to avoid this message when running "make testlong":

pytest is not installed in the venv, skip checking tests that rely on it

i.e. how should I install pytest.  System-wide or what?

John

On Mon, 18 Sept 2023 at 01:08, Matthias Köppe 
wrote:

> I've pushed a fix to https://github.com/sagemath/sage/pull/36276
>
> On Sunday, September 17, 2023 at 5:02:05 PM UTC-7 Matthias Köppe wrote:
>
>> Yes, it's a bug in the build system. Running  CONFIG_SHELL="bash -x"
>> ./configure
>>
>> + printf '%s\n' 'configure:49868: result: no; skipping check'
>> + printf '%s\n' 'no; skipping check'
>> + sage_spkg_install_meson-python=yes
>> ./configure: line 49870: sage_spkg_install_meson-python=yes: command not
>> found
>> + test yes = yes
>> + :
>> + sage_use_system_meson-python=no
>> ./configure: line 49874: sage_use_system_meson-python=no: command not
>> found
>> + test xno = xno
>> + :
>> + sage_use_system_meson_python=yes
>> + printf '%s\n' 'configure:49884: will use system package and not install
>> SPKG meson_python'
>> + printf '%s\n' 'configure: will use system package and not install SPKG
>> meson_python'
>> +
>>
>> On Sunday, September 17, 2023 at 1:34:35 PM UTC-7 Dima Pasechnik wrote:
>>
>>>
>>>
>>> On Sun, Sep 17, 2023 at 7:25 PM John H Palmieri 
>>> wrote:
>>> >
>>> > Similar problem for me on OS X. I don't understand something: the
>>> dependencies for scipy include meson_python, but that package is not
>>> installed before scipy attempts to build, and fails. Running "make
>>> meson_python" and then "make scipy" succeeds, as does "make".
>>>
>>> $ cat build/pkgs/scipy/dependencies
>>>  $(BLAS) gfortran numpy pybind11 cython pythran | $(PYTHON_TOOLCHAIN)
>>> meson_python $(PYTHON)
>>>
>>> looks OK. So this looks like a bug in our build system
>>>
>>>
>>> >
>>> >
>>> >
>>> > On Saturday, September 16, 2023 at 2:59:58 PM UTC-7 Kwankyu Lee wrote:
>>> >>
>>> >> Succeeded after sage -pip install meson-python.
>>> >>
>>> >> On Sunday, September 17, 2023 at 6:52:59 AM UTC+9 Kwankyu Lee wrote:
>>> >>>
>>> >>> Incremental build failed
>>> >>>
>>> >>> [scipy-1.11.2]
>>> [..]
>>> >>> [scipy-1.11.2] scipy-1.11.2
>>> >>> [scipy-1.11.2] 
>>> >>> [sagelib-10.2.beta3]   Removing file or directory
>>> /Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/sagemath-standard.egg-link
>>> >>> [sagelib-10.2.beta3]   Removing pth entries from
>>> /Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/easy-install.pth:
>>> >>> [sagelib-10.2.beta3]   Removing entry:
>>> /Users/kwankyu/GitHub/sage-dev/src
>>> >>> [sagelib-10.2.beta3]   Successfully uninstalled
>>> sagemath-standard-10.2b3
>>> >>> [sagelib-10.2.beta3]   Running setup.py develop for sagemath-standard
>>> >>> [sagelib-10.2.beta3] Running command python setup.py develop
>>> >>> [scipy-1.11.2] Setting up build directory for scipy-1.11.2
>>> >>> [scipy-1.11.2] Finished extraction
>>> >>> [scipy-1.11.2] Applying patches from ../patches...
>>> >>> [scipy-1.11.2] Applying ../patches/numpy-include.patch
>>> >>> [scipy-1.11.2] patching file scipy/spatial/setup.py
>>> >>> [scipy-1.11.2] Hunk #1 succeeded at 39 (offset -1 lines).
>>> >>> [scipy-1.11.2] Applying ../patches/tests_no_internet_dependency.patch
>>> >>> [scipy-1.11.2] patching file scipy/datasets/meson.build
>>> >>> [scipy-1.11.2] 
>>> >>> [scipy-1.11.2] Host system:
>>> >>> [scipy-1.11.2] Darwin Helios.local 22.6.0 Darwin Kernel Version
>>> 22.6.0: Wed Jul  5 22:21:56 PDT 2023; root:xnu-8796.141.3~6/RELEASE_X86_64
>>> x86_64
>>> >>> [scipy-1.11.2] 
>>> >>> [scipy-1.11.2] C compiler: gcc
>>> >>> [scipy-1.11.2] C compiler version:
>>> >>> [scipy-1.11.2] Apple clang version 14.0.3 (clang-1403.0.22.14.1)
>>> >>> [scipy-1.11.2] Target: x86_64-apple-darwin22.6.0
>>> >>> [scipy-1.11.2] Thread model: posix
>>> >>> [scipy-1.11.2] InstalledDir:
>>> /Library/Developer/CommandLineTools/usr/bin
>>> >>> [scipy-1.11.2] 
>>> >>> [scipy-1.11.2] Package 'scipy' is currently not installed
>>> >>> [scipy-1.11.2] No legacy uninstaller found for 'scipy'; nothing to do
>>> >>> [scipy-1.11.2] Installing scipy-1.11.2
>>> >>> [scipy-1.11.2] DEPRECATION: --no-binary currently disables reading
>>> from the cache of locally built wheels. In the future --no-binary will not
>>> influence the wheel cache. pip 23.1 will enforce this behaviour change. A
>>> possible replacement is to use the --no-cache-dir option. You can use the
>>> flag --use-feature=no-binary-enable-wheel-cache to test the upcoming
>>> behaviour. Discussion can be found at
>>> https://github.com/pypa/pip/issues/11453
>>> >>> [scipy-1.11.2] Processing
>>>