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 Python to 3.10.x #30767

Closed
slel opened this issue Oct 13, 2020 · 94 comments
Closed

Update Python to 3.10.x #30767

slel opened this issue Oct 13, 2020 · 94 comments

Comments

@slel
Copy link
Member

slel commented Oct 13, 2020

Python 3.10 was released 2021-10-04, the current version is 3.10.2, released 2022-01-14.

Upstream PR:

To test, use:

./configure --without-system-python3 --enable-download-from-upstream-url

Necessary changes to the library should go on #30766 (Support Python 3.10)

Related:

Depends on #33055

CC: @mkoeppe @slel @embray @dimpase @kiwifb @antonio-rojas @isuruf

Component: packages: standard

Keywords: upgrade, python

Author: Matthias Koeppe

Branch/Commit: 95e3784

Reviewer: François Bissey

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

@slel slel added this to the sage-9.2 milestone Oct 13, 2020
@slel
Copy link
Member Author

slel commented Oct 13, 2020

comment:1

Python 3.10.0a1 was released on 2020-10-05.

@slel

This comment has been minimized.

@slel
Copy link
Member Author

slel commented Oct 13, 2020

Changed keywords from none to upgrade, python

@slel slel removed this from the sage-9.2 milestone Oct 13, 2020
@slel
Copy link
Member Author

slel commented Oct 15, 2020

Dependencies: #30768

@slel
Copy link
Member Author

slel commented Apr 6, 2021

comment:3

Python 3.10.0a7 was released on 2021-04-05.

The next pre-release of Python 3.10 will be 3.10.0b1
(the first beta release and feature freeze),
currently scheduled for Monday, 2021-05-03.

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe added this to the sage-9.4 milestone May 12, 2021
@mkoeppe
Copy link
Contributor

mkoeppe commented May 12, 2021

Changed dependencies from #30768 to #30768, #31815

@mkoeppe
Copy link
Contributor

mkoeppe commented May 12, 2021

@mkoeppe
Copy link
Contributor

mkoeppe commented May 12, 2021

Changed dependencies from #30768, #31815 to #30768, #31815; do not merge

@mkoeppe
Copy link
Contributor

mkoeppe commented May 12, 2021

Commit: 86a9807

@mkoeppe
Copy link
Contributor

mkoeppe commented May 12, 2021

New commits:

0ea116fbuild/pkgs/python3: Update to 3.9.5
8530a12Merge #31815
86a9807build/pkgs/python3: Update to 3.10.0b1

@mkoeppe
Copy link
Contributor

mkoeppe commented May 12, 2021

comment:8

cygwin-readline.patch no longer applies

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 24, 2021

Changed commit from 86a9807 to e01dfc4

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 24, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

ced64adbuild/pkgs/python3/patches/cygwin-readline.patch: Remove
c1024debuild/pkgs/gfortran/spkg-configure.m4: Accept system gfortran 11.x
e01dfc4Merge #31838

@mkoeppe
Copy link
Contributor

mkoeppe commented May 24, 2021

Changed dependencies from #30768, #31815; do not merge to #31838, #30768, #31815; do not merge

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 25, 2021

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

c451b31src/setup.cfg.m4 (install_requires): Add sage_conf
6700223Merge tag '9.3.rc0' into t/30913/sagelib__add_setup_cfg__install_requires_
04da2c6build/pkgs/ipywidgets: Patch out declaring install-requires of nbformat and jupyterlab-widgets
815c944Merge #30913
b06731cRemove Python 3.6 support from metadata and documentation
57338c1Update numpy to 1.20.2, scipy to 1.6.2, networkx to 2.5.1
ac49be0build/pkgs/numpy: Update to 1.20.3
02f6848build/pkgs/scipy: Update to 1.6.3
a661b6aMerge #31008
7cc792aMerge #30766

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 25, 2021

Changed commit from e01dfc4 to 7cc792a

@mkoeppe

This comment has been minimized.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 26, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

13121d7Merge #31856
e182cbdMerge #30766
41f54ffbuild/pkgs/python3: Use 3.10.0b4
4ca3687Merge tag '9.4.beta6' into t/30767/test_ticket__python_3_10_development_releases

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 26, 2021

Changed commit from 7cc792a to 4ca3687

@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Aug 9, 2021
@mkoeppe
Copy link
Contributor

mkoeppe commented Aug 12, 2021

Changed dependencies from #31838, #30768, #31815; do not merge to #30766; do not merge

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 15, 2022

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

ee40a4cbuild/pkgs/python3: Update to 3.10.1
50851edbuild/pkgs/python3/patches/cygwin-readline.patch: Remove
3db6ad2build/pkgs/python3: Add https://github.com/python/cpython/pull/30005
64dbefdbuild/pkgs/python3: Update ro 3.10.2
f34ae90build/pkgs/python3/patches/30005.patch: Remove
18668fabuild/pkgs/python3/spkg-configure.m4: No longer flag system python 3.10 as experimental

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 15, 2022

Changed commit from d6dd54f to 18668fa

@mkoeppe
Copy link
Contributor

mkoeppe commented Mar 3, 2022

comment:61
[python3-3.10.2]   Applying ../patches/0001-bpo-22699-Allow-compiling-on-debian-ubuntu-with-a-di.patch
  [python3-3.10.2]   patching file setup.py
  [python3-3.10.2]   Hunk #1 FAILED at 663.
  [python3-3.10.2]   1 out of 1 hunk FAILED -- saving rejects to file setup.py.rej
  [python3-3.10.2]   patching file setup.py
  [python3-3.10.2]   Hunk #1 succeeded at 798 (offset 60 lines).
  [python3-3.10.2]   Error applying '../patches/0001-bpo-22699-Allow-compiling-on-debian-ubuntu-with-a-di.patch'

@mkoeppe
Copy link
Contributor

mkoeppe commented Mar 3, 2022

comment:62

That's from testing on top of #33055

@isuruf - do you have a version of this patch for Python 3.10?

@mkoeppe
Copy link
Contributor

mkoeppe commented Mar 3, 2022

Dependencies: #33055

@isuruf
Copy link
Member

isuruf commented Mar 3, 2022

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 3, 2022

Branch pushed to git repo; I updated commit sha1. New commits:

a116c59Need rpath too when building python and override CONFIGURE_LDFLAGS only
db32a42allow building with different compilers on debian/ubuntu
3bcfde1update compiling on debian patch
9b9bfefMerge #33055
95e3784build/pkgs/python3/patches/0001-bpo-22699-Allow-compiling-on-debian-ubuntu-with-a-di.patch: Update from https://github.com/conda-forge/python-feedstock/blob/master/recipe/patches/0008-bpo-22699-Allow-compiling-on-debian-ubuntu-with-a-di.patch

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 3, 2022

Changed commit from 18668fa to 95e3784

@mkoeppe
Copy link
Contributor

mkoeppe commented Mar 3, 2022

comment:65

Thanks!

@mkoeppe
Copy link
Contributor

mkoeppe commented Mar 6, 2022

comment:68

tests look ok

@mkoeppe
Copy link
Contributor

mkoeppe commented Mar 7, 2022

comment:69

Let's please get this in.

@kiwifb
Copy link
Member

kiwifb commented Mar 7, 2022

@kiwifb
Copy link
Member

kiwifb commented Mar 7, 2022

comment:70

Been using and testing on 3.10 for a while - the only thing unknown to me is the debian/ubuntu patch. But I trust Isuru's work. So, let's move on.

@mkoeppe
Copy link
Contributor

mkoeppe commented Mar 7, 2022

comment:71

Thanks!

@vbraun
Copy link
Member

vbraun commented Mar 9, 2022

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

6 participants