Re: [sage-devel] question on Python version when installing 9.6 beta 7
Hi, That is OK, your system already has 'distutils.core' which sage needs. Thanks for your verification. Regards, phiho On Sun, Apr 10, 2022 at 6:37 PM 'Nasser M. Abbasi' via sage-devel < sage-devel@googlegroups.com> wrote: > I get the same exact thing as you show. but this had no effect on sagemath > build accepting my external python. > > >python > Python 3.10.4 (main, Mar 24 2022, 16:12:56) [GCC 9.4.0] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> import distutils.core > :1: DeprecationWarning: The distutils package is deprecated and > slated for removal in Python 3.12. Use setuptools or check PEP 632 for > potential alternatives > >>> > > I made sure also this time to do all apt install commands the ./configure > suggested at the end. The trick seems to be to install > >sudo apt-get install libpython3.10-dev > > Before hand. > > Linux Ubuntu 20.04 under windows 10 WSL 2 subsystem. > > On Sunday, April 10, 2022 at 5:30:11 PM UTC-5 hohoa...@gmail.com wrote: > >> Hi, >> >> > How to check for this 'distutils.core' ? >> >> $ python >> Python 3.10.4 (main, Mar 24 2022, 16:12:56) [GCC 9.4.0] on linux >> Type "help", "copyright", "credits" or "license" for more information. >> >>> import distutils.core >> >> :1: DeprecationWarning: The distutils package is deprecated and >> slated for removal in Python 3.12. Use setuptools or check PEP 632 for >> potential alternatives >> >>> >> >> Regards, >> >> phiho >> >> >> On Sun, Apr 10, 2022 at 6:22 PM 'Nasser M. Abbasi' via sage-devel < >> sage-...@googlegroups.com> wrote: >> >>> How to check for this 'distutils.core' ? >>> >>> YES. the build completed successfully. UsingRC0 just released. >>> >>> >>> >>> [sagetex-3.5] Successfully installed sagetex-3.5 >>> [sagetex-3.5] Deleting temporary build directory >>> [sagetex-3.5] >>> /home/me/sagemath/sage-9.6.rc0/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/sagetex-3.5 >>> [sagetex-3.5] Finished installing sagetex-3.5 >>> make[2]: Leaving directory '/home/me/sagemath/sage-9.6.rc0/build/make' >>> >>> real116m35.126s >>> user109m40.552s >>> sys 6m39.450s >>> Sage build/upgrade complete! >>> make[1]: Leaving directory '/home/me/sagemath/sage-9.6.rc0' >>> > >>> >>> >ls -lrt config.log >>> -rw-r--r-- 1 me me 334247 Apr 10 15:12 config.log >>> >which sage >>> /home/me/sagemath/sage-9.6.rc0/sage >>> >sage >>> ┌┐ >>> │ SageMath version 9.6.rc0, Release Date: 2022-04-10 │ >>> │ Using Python 3.10.4. Type "help()" for help. │ >>> └┘ >>> ┏┓ >>> ┃ Warning: this is a prerelease version, and it may be unstable. ┃ >>> ┗┛ >>> sage: >>> === >>> >>> Here is my config.log file you can look to see if you find what you want. >>> >>> https://12000.org/tmp/sagemath_rc0/config.log >>> >>> --Nasser >>> >>> On Sunday, April 10, 2022 at 3:33:41 PM UTC-5 hohoa...@gmail.com wrote: >>> Hi, > sudo apt-get install libpython3.10-dev > ./configure --enable-fricas --with-python=/bin/python3 Would you please verify if you have 'distutils.core' on your system and did the make complete successfully? Regards, phiho On Sun, Apr 10, 2022 at 4:04 PM 'Nasser M. Abbasi' via sage-devel < sage-...@googlegroups.com> wrote: > > Finally, this made it use install python > > sudo apt-get install libpython3.10-dev > ./configure --enable-fricas --with-python=/bin/python3 > > gives > Checking whether SageMath should install SPKG python3... > checking whether any of bzip2 liblzma libffi is installed as or will > be installed as SPKG... no > checking for python3 >= 3.7.0, < 3.11.0 with modules sqlite3, ctypes, > math, hashlib, crypt, socket, zlib, distutils.core, ssl... > checking for /bin/python3... /bin/python3 > checking ... whether /bin/python3 is good... :1: > DeprecationWarning: The distutils package is deprecated and slated for > removal in Python 3.12. Use setuptools or check PEP 632 for potential > alternatives > yes > checking for python3 >= 3.7.0, < 3.11.0 with modules sqlite3, ctypes, > math, hashlib, crypt, socket, zlib, distutils.core, ssl... /bin/python3 > configure: will use system package and not install SPKG python3 > checking whether /bin/python3 is configured to build multiarch > extensions... no > checking whether "-march=native" works with the C/C++ compilers > configured for building extensions for /bin/python3... yes > checking whether OpenMP works with the C/C++ compilers configured for > building extensions for /bin/python3.
Re: [sage-devel] question on Python version when installing 9.6 beta 7
I get the same exact thing as you show. but this had no effect on sagemath build accepting my external python. >python Python 3.10.4 (main, Mar 24 2022, 16:12:56) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import distutils.core :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives >>> I made sure also this time to do all apt install commands the ./configure suggested at the end. The trick seems to be to install sudo apt-get install libpython3.10-dev Before hand. Linux Ubuntu 20.04 under windows 10 WSL 2 subsystem. On Sunday, April 10, 2022 at 5:30:11 PM UTC-5 hohoa...@gmail.com wrote: > Hi, > > > How to check for this 'distutils.core' ? > > $ python > Python 3.10.4 (main, Mar 24 2022, 16:12:56) [GCC 9.4.0] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> import distutils.core > > :1: DeprecationWarning: The distutils package is deprecated and > slated for removal in Python 3.12. Use setuptools or check PEP 632 for > potential alternatives > >>> > > Regards, > > phiho > > > On Sun, Apr 10, 2022 at 6:22 PM 'Nasser M. Abbasi' via sage-devel < > sage-...@googlegroups.com> wrote: > >> How to check for this 'distutils.core' ? >> >> YES. the build completed successfully. UsingRC0 just released. >> >> >> >> [sagetex-3.5] Successfully installed sagetex-3.5 >> [sagetex-3.5] Deleting temporary build directory >> [sagetex-3.5] >> /home/me/sagemath/sage-9.6.rc0/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/sagetex-3.5 >> [sagetex-3.5] Finished installing sagetex-3.5 >> make[2]: Leaving directory '/home/me/sagemath/sage-9.6.rc0/build/make' >> >> real116m35.126s >> user109m40.552s >> sys 6m39.450s >> Sage build/upgrade complete! >> make[1]: Leaving directory '/home/me/sagemath/sage-9.6.rc0' >> > >> >> >ls -lrt config.log >> -rw-r--r-- 1 me me 334247 Apr 10 15:12 config.log >> >which sage >> /home/me/sagemath/sage-9.6.rc0/sage >> >sage >> ┌┐ >> │ SageMath version 9.6.rc0, Release Date: 2022-04-10 │ >> │ Using Python 3.10.4. Type "help()" for help. │ >> └┘ >> ┏┓ >> ┃ Warning: this is a prerelease version, and it may be unstable. ┃ >> ┗┛ >> sage: >> === >> >> Here is my config.log file you can look to see if you find what you want. >> >> https://12000.org/tmp/sagemath_rc0/config.log >> >> --Nasser >> >> On Sunday, April 10, 2022 at 3:33:41 PM UTC-5 hohoa...@gmail.com wrote: >> >>> Hi, >>> >>> > sudo apt-get install libpython3.10-dev >>> > ./configure --enable-fricas --with-python=/bin/python3 >>> >>> Would you please verify if you have 'distutils.core' on your system and >>> did the make complete successfully? >>> >>> Regards, >>> >>> phiho >>> >>> >>> >>> On Sun, Apr 10, 2022 at 4:04 PM 'Nasser M. Abbasi' via sage-devel < >>> sage-...@googlegroups.com> wrote: >>> Finally, this made it use install python sudo apt-get install libpython3.10-dev ./configure --enable-fricas --with-python=/bin/python3 gives Checking whether SageMath should install SPKG python3... checking whether any of bzip2 liblzma libffi is installed as or will be installed as SPKG... no checking for python3 >= 3.7.0, < 3.11.0 with modules sqlite3, ctypes, math, hashlib, crypt, socket, zlib, distutils.core, ssl... checking for /bin/python3... /bin/python3 checking ... whether /bin/python3 is good... :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives yes checking for python3 >= 3.7.0, < 3.11.0 with modules sqlite3, ctypes, math, hashlib, crypt, socket, zlib, distutils.core, ssl... /bin/python3 configure: will use system package and not install SPKG python3 checking whether /bin/python3 is configured to build multiarch extensions... no checking whether "-march=native" works with the C/C++ compilers configured for building extensions for /bin/python3... yes checking whether OpenMP works with the C/C++ compilers configured for building extensions for /bin/python3... yes On Saturday, April 9, 2022 at 11:59:07 PM UTC-5 Nasser M. Abbasi wrote: > This might be useful: > > " You can also use --with-python=/path/to/python3_binary to tell Sage > to use /path/to/python3_binary to set up the venv. > > Note that setting up venv requires a number of Python modules to be >
Re: [sage-devel] question on Python version when installing 9.6 beta 7
Hi, > How to check for this 'distutils.core' ? $ python Python 3.10.4 (main, Mar 24 2022, 16:12:56) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import distutils.core :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives >>> Regards, phiho On Sun, Apr 10, 2022 at 6:22 PM 'Nasser M. Abbasi' via sage-devel < sage-devel@googlegroups.com> wrote: > How to check for this 'distutils.core' ? > > YES. the build completed successfully. UsingRC0 just released. > > > > [sagetex-3.5] Successfully installed sagetex-3.5 > [sagetex-3.5] Deleting temporary build directory > [sagetex-3.5] > /home/me/sagemath/sage-9.6.rc0/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/sagetex-3.5 > [sagetex-3.5] Finished installing sagetex-3.5 > make[2]: Leaving directory '/home/me/sagemath/sage-9.6.rc0/build/make' > > real116m35.126s > user109m40.552s > sys 6m39.450s > Sage build/upgrade complete! > make[1]: Leaving directory '/home/me/sagemath/sage-9.6.rc0' > > > > >ls -lrt config.log > -rw-r--r-- 1 me me 334247 Apr 10 15:12 config.log > >which sage > /home/me/sagemath/sage-9.6.rc0/sage > >sage > ┌┐ > │ SageMath version 9.6.rc0, Release Date: 2022-04-10 │ > │ Using Python 3.10.4. Type "help()" for help. │ > └┘ > ┏┓ > ┃ Warning: this is a prerelease version, and it may be unstable. ┃ > ┗┛ > sage: > === > > Here is my config.log file you can look to see if you find what you want. > > https://12000.org/tmp/sagemath_rc0/config.log > > --Nasser > > On Sunday, April 10, 2022 at 3:33:41 PM UTC-5 hohoa...@gmail.com wrote: > >> Hi, >> >> > sudo apt-get install libpython3.10-dev >> > ./configure --enable-fricas --with-python=/bin/python3 >> >> Would you please verify if you have 'distutils.core' on your system and >> did the make complete successfully? >> >> Regards, >> >> phiho >> >> >> >> On Sun, Apr 10, 2022 at 4:04 PM 'Nasser M. Abbasi' via sage-devel < >> sage-...@googlegroups.com> wrote: >> >>> >>> Finally, this made it use install python >>> >>> sudo apt-get install libpython3.10-dev >>> ./configure --enable-fricas --with-python=/bin/python3 >>> >>> gives >>> Checking whether SageMath should install SPKG python3... >>> checking whether any of bzip2 liblzma libffi is installed as or will be >>> installed as SPKG... no >>> checking for python3 >= 3.7.0, < 3.11.0 with modules sqlite3, ctypes, >>> math, hashlib, crypt, socket, zlib, distutils.core, ssl... >>> checking for /bin/python3... /bin/python3 >>> checking ... whether /bin/python3 is good... :1: >>> DeprecationWarning: The distutils package is deprecated and slated for >>> removal in Python 3.12. Use setuptools or check PEP 632 for potential >>> alternatives >>> yes >>> checking for python3 >= 3.7.0, < 3.11.0 with modules sqlite3, ctypes, >>> math, hashlib, crypt, socket, zlib, distutils.core, ssl... /bin/python3 >>> configure: will use system package and not install SPKG python3 >>> checking whether /bin/python3 is configured to build multiarch >>> extensions... no >>> checking whether "-march=native" works with the C/C++ compilers >>> configured for building extensions for /bin/python3... yes >>> checking whether OpenMP works with the C/C++ compilers configured for >>> building extensions for /bin/python3... yes >>> >>> >>> >>> On Saturday, April 9, 2022 at 11:59:07 PM UTC-5 Nasser M. Abbasi wrote: >>> This might be useful: " You can also use --with-python=/path/to/python3_binary to tell Sage to use /path/to/python3_binary to set up the venv. Note that setting up venv requires a number of Python modules to be available within the Python in question. Currently, for Sage 9.2, these modules are as follows: sqlite3, ctypes, math, hashlib, crypt, readline, socket, zlib, distutils.core - they will be checked for by configure." From https://doc.sagemath.org/pdf/en/installation/installation.pdf on page 15. I will try the above when Beta 8 is out and see. On Saturday, April 9, 2022 at 2:22:13 PM UTC-5 hohoa...@gmail.com wrote: > > configure informs you about the system packages that should be > installed. > > It's on the last screen of the configure output. > > Would it be too late to fix the issues related to python3-1.0.4 after > 'configure' was run? > > Any way, this is the last screen of configure output: > > config.status: creating convenience symlink venv -> > local/var/lib/sage/venv-python3.10 > configure: >
Re: [sage-devel] question on Python version when installing 9.6 beta 7
How to check for this 'distutils.core' ? YES. the build completed successfully. UsingRC0 just released. [sagetex-3.5] Successfully installed sagetex-3.5 [sagetex-3.5] Deleting temporary build directory [sagetex-3.5] /home/me/sagemath/sage-9.6.rc0/local/var/lib/sage/venv-python3.10/var/tmp/sage/build/sagetex-3.5 [sagetex-3.5] Finished installing sagetex-3.5 make[2]: Leaving directory '/home/me/sagemath/sage-9.6.rc0/build/make' real116m35.126s user109m40.552s sys 6m39.450s Sage build/upgrade complete! make[1]: Leaving directory '/home/me/sagemath/sage-9.6.rc0' > >ls -lrt config.log -rw-r--r-- 1 me me 334247 Apr 10 15:12 config.log >which sage /home/me/sagemath/sage-9.6.rc0/sage >sage ┌┐ │ SageMath version 9.6.rc0, Release Date: 2022-04-10 │ │ Using Python 3.10.4. Type "help()" for help. │ └┘ ┏┓ ┃ Warning: this is a prerelease version, and it may be unstable. ┃ ┗┛ sage: === Here is my config.log file you can look to see if you find what you want. https://12000.org/tmp/sagemath_rc0/config.log --Nasser On Sunday, April 10, 2022 at 3:33:41 PM UTC-5 hohoa...@gmail.com wrote: > Hi, > > > sudo apt-get install libpython3.10-dev > > ./configure --enable-fricas --with-python=/bin/python3 > > Would you please verify if you have 'distutils.core' on your system and > did the make complete successfully? > > Regards, > > phiho > > > > On Sun, Apr 10, 2022 at 4:04 PM 'Nasser M. Abbasi' via sage-devel < > sage-...@googlegroups.com> wrote: > >> >> Finally, this made it use install python >> >> sudo apt-get install libpython3.10-dev >> ./configure --enable-fricas --with-python=/bin/python3 >> >> gives >> Checking whether SageMath should install SPKG python3... >> checking whether any of bzip2 liblzma libffi is installed as or will be >> installed as SPKG... no >> checking for python3 >= 3.7.0, < 3.11.0 with modules sqlite3, ctypes, >> math, hashlib, crypt, socket, zlib, distutils.core, ssl... >> checking for /bin/python3... /bin/python3 >> checking ... whether /bin/python3 is good... :1: >> DeprecationWarning: The distutils package is deprecated and slated for >> removal in Python 3.12. Use setuptools or check PEP 632 for potential >> alternatives >> yes >> checking for python3 >= 3.7.0, < 3.11.0 with modules sqlite3, ctypes, >> math, hashlib, crypt, socket, zlib, distutils.core, ssl... /bin/python3 >> configure: will use system package and not install SPKG python3 >> checking whether /bin/python3 is configured to build multiarch >> extensions... no >> checking whether "-march=native" works with the C/C++ compilers >> configured for building extensions for /bin/python3... yes >> checking whether OpenMP works with the C/C++ compilers configured for >> building extensions for /bin/python3... yes >> >> >> >> On Saturday, April 9, 2022 at 11:59:07 PM UTC-5 Nasser M. Abbasi wrote: >> >>> This might be useful: >>> >>> " You can also use --with-python=/path/to/python3_binary to tell Sage to >>> use /path/to/python3_binary to set up the venv. >>> >>> Note that setting up venv requires a number of Python modules to be >>> available within the Python in question. Currently, for Sage 9.2, these >>> modules are as follows: sqlite3, ctypes, math, hashlib, crypt, readline, >>> socket, zlib, distutils.core - they will be checked for by configure." >>> >>> From https://doc.sagemath.org/pdf/en/installation/installation.pdf on >>> page 15. >>> >>> I will try the above when Beta 8 is out and see. >>> >>> >>> On Saturday, April 9, 2022 at 2:22:13 PM UTC-5 hohoa...@gmail.com wrote: >>> > configure informs you about the system packages that should be installed. > It's on the last screen of the configure output. Would it be too late to fix the issues related to python3-1.0.4 after 'configure' was run? Any way, this is the last screen of configure output: config.status: creating convenience symlink venv -> local/var/lib/sage/venv-python3.10 configure: notice: the following SPKGs did not find equivalent system packages: arb cddlib ecl eclib flint fplll gc giac lcalc libhomfly linbox lrcalc pari pari_galdata pari_seadata_small primecount primesieve qhull singular 4ti2 _recommended coxeter3 gp2c igraph libsemigroups lrslib pari_elldata pari_galpol pari_nftables pari_seadata polymake checking for the package system in use... (ignoring conda because no environment is active) debian configure: hint: installing the following system packages, if not already present, is recommended and may avoid having
Re: [sage-devel] Trouble with SSH access
I can’t help but notice that part of the message: “Warning: Identity file /Users/yueqili/.ssh/ssh_key-sage-trac-2 not accessible: No such file or directory.” Are you sure that it is the right file name? François > On 11/04/2022, at 07:23, L Nicole wrote: > > Hi, > > I have the same issue too. I'm not able to use git trac push, it shows that > Permission is denied (publickey). > > Sincerely, > Nicole > > > > On Thursday, April 7, 2022 at 11:39:11 AM UTC-4 antoine@gmail.com wrote: > Hi, > > I created a pair of ec25519 SSH keys to access Trac through SSH (see > https://doc.sagemath.org/html/en/developer/trac.html#trac-authentication-through-ssh). > The key identity file is ~/.ssh/ssh_key-sage-trac-2. I am using Ubuntu 21.10 > However, my config does not seem to work: > > $ ssh -i ~/.ssh/ssh_key-sage-trac-2 g...@trac.sagemath.org info > g...@trac.sagemath.org: Permission denied (publickey). > > I can share a more verbose log (with confidential information deleted) if > necessary. > > I read that this could be related to the comment in the key, but I tried > several possibilities (no spaces, no comment, with spaces, etc). > > I looked through many discussions in this group about this problem (e.g. > https://groups.google.com/g/sage-devel/c/RArcnGt0i6E/m/JNo4__dmBAAJ), but I > could not find any solution. Does anybody have any idea? > > Thanks, > Antoine > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/65a1f3fa-9a8b-4c63-a8e7-195c21152ccdn%40googlegroups.com. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/5AF700E8-2281-4AF0-9A08-14F2636F42DD%40gmail.com.
Re: [sage-devel] question on Python version when installing 9.6 beta 7
Hi, > sudo apt-get install libpython3.10-dev > ./configure --enable-fricas --with-python=/bin/python3 Would you please verify if you have 'distutils.core' on your system and did the make complete successfully? Regards, phiho On Sun, Apr 10, 2022 at 4:04 PM 'Nasser M. Abbasi' via sage-devel < sage-devel@googlegroups.com> wrote: > > Finally, this made it use install python > > sudo apt-get install libpython3.10-dev > ./configure --enable-fricas --with-python=/bin/python3 > > gives > Checking whether SageMath should install SPKG python3... > checking whether any of bzip2 liblzma libffi is installed as or will be > installed as SPKG... no > checking for python3 >= 3.7.0, < 3.11.0 with modules sqlite3, ctypes, > math, hashlib, crypt, socket, zlib, distutils.core, ssl... > checking for /bin/python3... /bin/python3 > checking ... whether /bin/python3 is good... :1: > DeprecationWarning: The distutils package is deprecated and slated for > removal in Python 3.12. Use setuptools or check PEP 632 for potential > alternatives > yes > checking for python3 >= 3.7.0, < 3.11.0 with modules sqlite3, ctypes, > math, hashlib, crypt, socket, zlib, distutils.core, ssl... /bin/python3 > configure: will use system package and not install SPKG python3 > checking whether /bin/python3 is configured to build multiarch > extensions... no > checking whether "-march=native" works with the C/C++ compilers configured > for building extensions for /bin/python3... yes > checking whether OpenMP works with the C/C++ compilers configured for > building extensions for /bin/python3... yes > > > > On Saturday, April 9, 2022 at 11:59:07 PM UTC-5 Nasser M. Abbasi wrote: > >> This might be useful: >> >> " You can also use --with-python=/path/to/python3_binary to tell Sage to >> use /path/to/python3_binary to set up the venv. >> >> Note that setting up venv requires a number of Python modules to be >> available within the Python in question. Currently, for Sage 9.2, these >> modules are as follows: sqlite3, ctypes, math, hashlib, crypt, readline, >> socket, zlib, distutils.core - they will be checked for by configure." >> >> From https://doc.sagemath.org/pdf/en/installation/installation.pdf on >> page 15. >> >> I will try the above when Beta 8 is out and see. >> >> >> On Saturday, April 9, 2022 at 2:22:13 PM UTC-5 hohoa...@gmail.com wrote: >> >>> > configure informs you about the system packages that should be >>> installed. >>> > It's on the last screen of the configure output. >>> >>> Would it be too late to fix the issues related to python3-1.0.4 after >>> 'configure' was run? >>> >>> Any way, this is the last screen of configure output: >>> >>> config.status: creating convenience symlink venv -> >>> local/var/lib/sage/venv-python3.10 >>> configure: >>> >>> notice: the following SPKGs did not find equivalent system packages: >>> >>> arb cddlib ecl eclib flint fplll gc giac lcalc libhomfly linbox >>> lrcalc pari pari_galdata pari_seadata_small primecount primesieve qhull >>> singular 4ti2 _recommended coxeter3 gp2c igraph libsemigroups lrslib >>> pari_elldata pari_galpol pari_nftables pari_seadata polymake >>> >>> checking for the package system in use... (ignoring conda because no >>> environment is active) debian >>> configure: >>> >>> hint: installing the following system packages, if not >>> already present, is recommended and may avoid having to >>> build them (though some may have to be built anyway): >>> >>> $ sudo apt-get update >>> $ sudo apt-get install libflint-arb-dev libcdd-dev libcdd-tools >>> ecl libec-dev eclib-tools libflint-dev libfplll-dev libgc-dev libgiac-dev >>> xcas lcalc liblfunction-dev libhomfly-dev liblinbox-dev liblrcalc-dev >>> pari-gp2c libpari-dev pari-doc pari-elldata pari-galdata pari-galpol >>> pari-seadata libprimesieve-dev libqhull-dev singular singular-doc >>> libsingular4-dev >>> >>> configure: >>> >>> hint: installing the following system packages, if not >>> already present, may provide additional optional features: >>> >>> $ sudo apt-get update >>> $ sudo apt-get install 4ti2 default-jdk libavdevice-dev pari-gp2c >>> libigraph-dev lrslib polymake libpolymake-dev >>> >>> configure: >>> >>> hint: After installation, re-run configure using: >>> >>> $ ./config.status --recheck && ./config.status >>> >>> >>> On Sat, Apr 9, 2022 at 12:51 PM Matthias Koeppe >>> wrote: >>> configure informs you about the system packages that should be installed. It's on the last screen of the configure output. On Saturday, April 9, 2022 at 8:50:01 AM UTC-7 hohoa...@gmail.com wrote: > $ python > Python 3.10.4 (main, Mar 24 2022, 16:12:56) [GCC 9.4.0] on linux > Type "help", "copyright", "credits" or "license" for more information. > > >>> import sqlite3, ctypes, math, hashlib, crypt, socket, zlib, > distutils.core, ssl > :1: DeprecationWarning: The distutils package is deprecated
Re: [sage-devel] question on Python version when installing 9.6 beta 7
Finally, this made it use install python sudo apt-get install libpython3.10-dev ./configure --enable-fricas --with-python=/bin/python3 gives Checking whether SageMath should install SPKG python3... checking whether any of bzip2 liblzma libffi is installed as or will be installed as SPKG... no checking for python3 >= 3.7.0, < 3.11.0 with modules sqlite3, ctypes, math, hashlib, crypt, socket, zlib, distutils.core, ssl... checking for /bin/python3... /bin/python3 checking ... whether /bin/python3 is good... :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives yes checking for python3 >= 3.7.0, < 3.11.0 with modules sqlite3, ctypes, math, hashlib, crypt, socket, zlib, distutils.core, ssl... /bin/python3 configure: will use system package and not install SPKG python3 checking whether /bin/python3 is configured to build multiarch extensions... no checking whether "-march=native" works with the C/C++ compilers configured for building extensions for /bin/python3... yes checking whether OpenMP works with the C/C++ compilers configured for building extensions for /bin/python3... yes On Saturday, April 9, 2022 at 11:59:07 PM UTC-5 Nasser M. Abbasi wrote: > This might be useful: > > " You can also use --with-python=/path/to/python3_binary to tell Sage to > use /path/to/python3_binary to set up the venv. > > Note that setting up venv requires a number of Python modules to be > available within the Python in question. Currently, for Sage 9.2, these > modules are as follows: sqlite3, ctypes, math, hashlib, crypt, readline, > socket, zlib, distutils.core - they will be checked for by configure." > > From https://doc.sagemath.org/pdf/en/installation/installation.pdf on > page 15. > > I will try the above when Beta 8 is out and see. > > > On Saturday, April 9, 2022 at 2:22:13 PM UTC-5 hohoa...@gmail.com wrote: > >> > configure informs you about the system packages that should be >> installed. >> > It's on the last screen of the configure output. >> >> Would it be too late to fix the issues related to python3-1.0.4 after >> 'configure' was run? >> >> Any way, this is the last screen of configure output: >> >> config.status: creating convenience symlink venv -> >> local/var/lib/sage/venv-python3.10 >> configure: >> >> notice: the following SPKGs did not find equivalent system packages: >> >> arb cddlib ecl eclib flint fplll gc giac lcalc libhomfly linbox >> lrcalc pari pari_galdata pari_seadata_small primecount primesieve qhull >> singular 4ti2 _recommended coxeter3 gp2c igraph libsemigroups lrslib >> pari_elldata pari_galpol pari_nftables pari_seadata polymake >> >> checking for the package system in use... (ignoring conda because no >> environment is active) debian >> configure: >> >> hint: installing the following system packages, if not >> already present, is recommended and may avoid having to >> build them (though some may have to be built anyway): >> >> $ sudo apt-get update >> $ sudo apt-get install libflint-arb-dev libcdd-dev libcdd-tools >> ecl libec-dev eclib-tools libflint-dev libfplll-dev libgc-dev libgiac-dev >> xcas lcalc liblfunction-dev libhomfly-dev liblinbox-dev liblrcalc-dev >> pari-gp2c libpari-dev pari-doc pari-elldata pari-galdata pari-galpol >> pari-seadata libprimesieve-dev libqhull-dev singular singular-doc >> libsingular4-dev >> >> configure: >> >> hint: installing the following system packages, if not >> already present, may provide additional optional features: >> >> $ sudo apt-get update >> $ sudo apt-get install 4ti2 default-jdk libavdevice-dev pari-gp2c >> libigraph-dev lrslib polymake libpolymake-dev >> >> configure: >> >> hint: After installation, re-run configure using: >> >> $ ./config.status --recheck && ./config.status >> >> >> On Sat, Apr 9, 2022 at 12:51 PM Matthias Koeppe >> wrote: >> >>> configure informs you about the system packages that should be >>> installed. >>> It's on the last screen of the configure output. >>> >>> >>> >>> On Saturday, April 9, 2022 at 8:50:01 AM UTC-7 hohoa...@gmail.com wrote: >>> $ python Python 3.10.4 (main, Mar 24 2022, 16:12:56) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import sqlite3, ctypes, math, hashlib, crypt, socket, zlib, distutils.core, ssl :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'distutils.core' >>> It looks like 'distutils.core' has been deprecated (and removed from python3.10-dev?) > Use setuptools or check PEP 632 for potential alternatives Should 'setuptools' be in
[sage-devel] sage tests
Dear All, Please advise if there are any documentation on the tests performed in the Makefile: TESTALL = ./sage -t --all PTESTALL = ./sage -t -p --all # Flags for ./sage -t --all. # When the documentation is installed, "optional" also includes all tests marked 'sagemath_doc_html', # see https://trac.sagemath.org/ticket/25345, https://trac.sagemath.org/ticket/26110, and # https://trac.sagemath.org/ticket/32759 TESTALL_FLAGS = --optional=sage,optional,external test: all $(TESTALL) --logfile=logs/test.log check: test testall: all $(TESTALL) $(TESTALL_FLAGS) --logfile=logs/testall.log testlong: all $(TESTALL) --long --logfile=logs/testlong.log testalllong: all $(TESTALL) --long $(TESTALL_FLAGS) --logfile=logs/testalllong.log ptest: all $(PTESTALL) --logfile=logs/ptest.log A simple 'make test' ended with: -- sage -t --random-seed=155907586838286474500183055218837555767 src/sage/matrix/matrix_mod2_dense.pyx # Timed out sage -t --random-seed=155907586838286474500183055218837555767 src/sage/tests/cmdline.py # Timed out sage -t --random-seed=155907586838286474500183055218837555767 src/sage/tests/books/computational-mathematics-with-sagemath/linsolve_doctest.py # Killed due to kill signal -- Total time for all tests: 28572.2 seconds cpu time: 17566.7 seconds cumulative wall time: 21777.8 seconds Features detected for doctesting: 4ti2,dvipng,graphviz,imagemagick,lrslib,nauty,palp,pandoc,pdf2svg,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic,sagemath_doc_html,sphinx Pytest is not installed, skip checking tests that rely on it. make: *** [Makefile:235: test] Error 20 :~/sage-9.6/sage$ There was also this message, "cysignals fork: Cannot allocate memory" in the test.log: python3(_PyRun_SimpleFileObject+0x326)[0x47481a] python3(_PyRun_AnyFileObject+0x86)[0x4744d3] python3[0x4221e0] python3(Py_BytesMain+0x2d)[0x60360d] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f31daf540b3] python3(_start+0x2e)[0x60351e] cysignals fork: Cannot allocate memory ** sage -t --random-seed=155907586838286474500183055218837555767 src/sage/matrix/matrix_modn_dense_double.pxd [0 tests, 0.00 s] What does that "cysignals fork: Cannot allocate memory" mean? Is there anything else besides 'pytest' that need be installed to run all these tests? Would these two cover all test cases: testalllong: all $(TESTALL) --long $(TESTALL_FLAGS) --logfile=logs/testalllong.log ptest: all $(PTESTALL) --logfile=logs/ptest.log Thank you for your help. Regards, phiho -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/f77b9d15-5707-4b9a-bc24-b89ca62165bfn%40googlegroups.com.