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 runtime version to Python 3.10 #2

Open
matthewfeickert opened this issue Feb 13, 2023 · 0 comments
Open

Update Python runtime version to Python 3.10 #2

matthewfeickert opened this issue Feb 13, 2023 · 0 comments

Comments

@matthewfeickert
Copy link
Member

At the moment the Python runtime version used for the cento7 "base" images is Python 3.8

RUN micromamba install -c conda-forge -y python=3.8 \

as the images are using micromamba (great!) can these be updated to use Python 3.10? It would be great to have a more modern CPython runtime that is going to be more robust to things like NEP 29. While the experiment ecosystems lag considerably behind even Python's EOL schedule because of lock in to CentOS 7 support

$ python -m pip install --upgrade norwegianblue
$ eol python
┌───────┬────────────┬─────────┬────────────────┬────────────┐
│ cycle │  release   │ latest  │ latest release │    eol     │
├───────┼────────────┼─────────┼────────────────┼────────────┤
│ 3.11  │ 2022-10-24 │ 3.11.2  │   2023-02-07   │ 2027-10-24 │
│ 3.10  │ 2021-10-04 │ 3.10.10 │   2023-02-07   │ 2026-10-04 │
│ 3.9   │ 2020-10-05 │ 3.9.16  │   2022-12-06   │ 2025-10-05 │
│ 3.8   │ 2019-10-14 │ 3.8.16  │   2022-12-06   │ 2024-10-14 │
│ 3.7   │ 2018-06-26 │ 3.7.16  │   2022-12-06   │ 2023-06-27 │
│ 3.6   │ 2016-12-22 │ 3.6.15  │   2021-09-03   │ 2021-12-23 │
│ 3.5   │ 2015-09-12 │ 3.5.10  │   2020-09-05   │ 2020-09-13 │
│ 3.4   │ 2014-03-15 │ 3.4.10  │   2019-03-18   │ 2019-03-18 │
│ 3.3   │ 2012-09-29 │ 3.3.7   │   2017-09-19   │ 2017-09-29 │
│ 2.7   │ 2010-07-03 │ 2.7.18  │   2020-04-19   │ 2020-01-01 │
│ 2.6   │ 2008-10-01 │ 2.6.9   │   2013-10-29   │ 2013-10-29 │
└───────┴────────────┴─────────┴────────────────┴────────────┘

NEP 29 is taken seriously in the Scientific Python community (c.f. SPEC 0) and given ongoing efforts to have better integration, support, and interaction between Scientific Python and Scikit-HEP it should be assumed that Awkward and boost-histogram (at least) will probably be following SPEC 0.

Unless there is a known bug that keeps software from working on Python 3.10 I would highly recommend having it be the default (here I'm currently not advocating for bumping to Python 3.11 (for the time being) as TensorFlow v2.11.0 still doesn't support it).

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

No branches or pull requests

1 participant