#31318 closed enhancement (fixed)

python3 spkg-configure.m4: Add deprecation warning regarding system python 3.6

Reported by: Matthias Köppe Owned by:
Priority: major Milestone: sage-9.3
Component: build: configure Keywords:
Cc: Tobias Diez, Dima Pasechnik, Samuel Lelièvre, John Palmieri Merged in:
Authors: Matthias Koeppe Reviewers: John Palmieri
Report Upstream: N/A Work issues:
Branch: 0fb8646 (Commits, GitHub, GitLab) Commit: 0fb8646f66eb6726270d32f1d63c4bbe9bf13a95
Dependencies: #31227, #31192 Stopgaps:

Status badges

Description (last modified by Matthias Köppe)

In preparation for dropping support for Python 3.6 in Sage 9.4 (#30551), we issue a deprecation warning when configure accepts a system python 3.6. For example, on ubuntu-bionic Python 3.6 is the default, but Python 3.7 is also available, and users will want to consider using that by the configure option --with-python=....

To test: tox -e docker-ubuntu-bionic-standard -- config.status.

Change History (11)

comment:1 Changed 23 months ago by Samuel Lelièvre

Cc: Samuel Lelièvre added
Summary: pyrhon3 spkg-configure.m4: Add deprecation warning regarding system python 3.6python3 spkg-configure.m4: Add deprecation warning regarding system python 3.6

comment:2 Changed 23 months ago by Matthias Köppe

Dependencies: #31227

comment:3 Changed 23 months ago by Matthias Köppe

Dependencies: #31227#31227, #31192

comment:4 Changed 23 months ago by Matthias Köppe

Branch: u/mkoeppe/python3_spkg_configure_m4__add_deprecation_warning_regarding_system_python_3_6

comment:5 Changed 23 months ago by Matthias Köppe

Authors: Matthias Koeppe
Commit: 0fb8646f66eb6726270d32f1d63c4bbe9bf13a95
Status: newneeds_review

Last 10 new commits:

df17ad4tox.ini: Add configuration factors for specific homebrew python3.x
914ea58build/pkgs/python3/spkg-configure.m4: Get rid of stray AC_SUBST
986739bm4/sage_check_python_for_venv.m4: Fix reason
0b3e70dbuild/pkgs/python3/spkg-configure.m4: If PYTHON_FOR_VENV is configured to build multiarch extensions, set SAGE_ARCHFLAGS to disable it
372adcb.github/workflows/tox.yml: Update xcode versions
fc8b676SAGE_CHECK_PYTHON_FOR_VENV: Rework with less nesting
6ef52d6build/pkgs/python3/spkg-configure.m4: Issue a deprecation warning for system python 3.6
4265656src/doc/en/installation/source.rst: Fix documentation of python prerequisite (sage-bootstrap-python)
cf55561Merge branch 't/31192/installation_manual__fix_documentation_of_python_prerequisite__sage_bootstrap_python_' into t/31318/python3_spkg_configure_m4__add_deprecation_warning_regarding_system_python_3_6
0fb8646README.md, src/doc/en/installation/source.rst: Mention/update version range for python3

comment:6 Changed 22 months ago by Matthias Köppe

Cc: John Palmieri added

comment:7 Changed 22 months ago by John Palmieri

This seems okay, but I am not going to be able to test it very effectively: I don't have easy access to a system which has Python 3.6 as its latest version, and I don't want to set one up.

comment:8 Changed 22 months ago by Matthias Köppe

Description: modified (diff)

comment:9 Changed 22 months ago by John Palmieri

Reviewers: John Palmieri
Status: needs_reviewpositive_review

Okay, looks like it works the way it's supposed to.

comment:10 Changed 22 months ago by Matthias Köppe

Thank you!

comment:11 Changed 21 months ago by Volker Braun

Branch: u/mkoeppe/python3_spkg_configure_m4__add_deprecation_warning_regarding_system_python_3_60fb8646f66eb6726270d32f1d63c4bbe9bf13a95
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.