Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update python3 to 3.10.5 #34090

Closed
mkoeppe opened this issue Jun 26, 2022 · 9 comments
Closed

Update python3 to 3.10.5 #34090

mkoeppe opened this issue Jun 26, 2022 · 9 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Jun 26, 2022

https://docs.python.org/3/whatsnew/changelog.html#python-3-10-5-final

This might fix the build of python3 on conda-forge-minimal (https://groups.google.com/g/sage-devel/c/qUZfYORZp4U/m/7iNSJ_uiBwAJ) because this release includes https://bugs.python.org/issue?@action=redirect&bpo=46968

CC: @isuruf @dimpase

Component: packages: standard

Author: Matthias Koeppe

Branch/Commit: 5d220a5

Reviewer: Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/34090

@mkoeppe mkoeppe added this to the sage-9.7 milestone Jun 26, 2022
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 26, 2022

Branch: u/mkoeppe/update_python3_to_3_10_5

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 26, 2022

Commit: 5d220a5

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 26, 2022

comment:2

tox -e docker-conda-forge-minimal -- python3 now goes a bit farther but:

  [python3-3.10.5]   Could not build the ssl module!
  [python3-3.10.5]   Python requires a OpenSSL 1.1.1 or newer
  [python3-3.10.5]   Custom linker flags may require --with-openssl-rpath=auto

New commits:

5d220a5build/pkgs/python3: Update to 3.10.5

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 30, 2022

comment:4

Build on cygwin fails (not new from this upgrade) -https://github.com/mkoeppe/sage/runs/7121373085:


Python build finished successfully!
The necessary bits to build these optional modules were not found:
_gdbm                 _tkinter              nis                
ossaudiodev           spwd                                     
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
The following modules found by detect_modules() in setup.py, have been
built by the Makefile instead, as configured by the Setup files:
_abc                  pwd                   time               
Failed to build these modules:
_xxsubinterpreters                                             
running build_scripts
creating build/scripts-3.10
copying and adjusting /opt/sage-f28338b42fc642b174ba1f3972b19ed8f6ccbe20/var/tmp/sage/build/python3-3.10.5/src/Tools/scripts/pydoc3 -> build/scripts-3.10
copying and adjusting /opt/sage-f28338b42fc642b174ba1f3972b19ed8f6ccbe20/var/tmp/sage/build/python3-3.10.5/src/Tools/scripts/idle3 -> build/scripts-3.10
copying and adjusting /opt/sage-f28338b42fc642b174ba1f3972b19ed8f6ccbe20/var/tmp/sage/build/python3-3.10.5/src/Tools/scripts/2to3 -> build/scripts-3.10
changing mode of build/scripts-3.10/pydoc3 from 644 to 755
changing mode of build/scripts-3.10/idle3 from 644 to 755
changing mode of build/scripts-3.10/2to3 from 644 to 755
renaming build/scripts-3.10/pydoc3 to build/scripts-3.10/pydoc3.10
renaming build/scripts-3.10/idle3 to build/scripts-3.10/idle3.10
renaming build/scripts-3.10/2to3 to build/scripts-3.10/2to3-3.10
Testing importing of various modules...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/sage-f28338b42fc642b174ba1f3972b19ed8f6ccbe20/var/tmp/sage/build/python3-3.10.5/src/Lib/ctypes/__init__.py", line 8, in <module>
    from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
ctypes module failed to import
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'math'
math module failed to import
ERROR:root:code for hash md5 was not found.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 30, 2022

@dimpase
Copy link
Member

dimpase commented Jul 8, 2022

comment:6

lgtm

@dimpase
Copy link
Member

dimpase commented Jul 8, 2022

Changed reviewer from https://github.com/mkoeppe/sage/actions/runs/2586202083 to Dima Pasechnik

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jul 8, 2022

comment:7

Thanks!

@vbraun
Copy link
Member

vbraun commented Jul 9, 2022

Changed branch from u/mkoeppe/update_python3_to_3_10_5 to 5d220a5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants