This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Support --runstatedir in configure
Type: Stage: resolved
Components: Build Versions: Python 3.9
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: BTaskaya, benjamin.peterson, vstinner
Priority: normal Keywords: patch

Created on 2020-04-07 15:24 by BTaskaya, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 19411 closed BTaskaya, 2020-04-07 15:28
Messages (3)
msg365909 - (view) Author: Batuhan Taskaya (BTaskaya) * (Python committer) Date: 2020-04-07 15:24
AC allows to set runstatedir but looks like python's configure is a bit outdated, it requires to be regenerated.
msg366006 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2020-04-08 20:55
Upstream autoconf has not had a release in many years. Ubuntu packages a unreleased upstream version that adds runstatedir. Absent a more rigorous process for the regeneration of configure, this change is not useful; it will just get overwritten the next time someone with an older autoconf regenerates it.
msg366020 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-04-08 22:03
When a core developer updates configure.ac, they use their local version of autoconf. It may or may not generate --runstatedir. It doesn't seem common to co-install multiple versions of autoconf, and so we cannot require all core developers to have one specific autoconf version, or a minimum version.

I close the issue. Reopen it or open a new issue if you would like to experiment a different approach.

Fedora always regenerates the configure script from configure.ac. Maybe other Linux distributions do something similar.

The configure script is tracked by Git since it's more convenient for core developers. It's uncommon to update configure.ac, and it avoids a dependency on autoconf to quickly hack CPython.
History
Date User Action Args
2022-04-11 14:59:29adminsetgithub: 84397
2020-04-08 22:03:07vstinnersetstatus: open -> closed

nosy: + vstinner
messages: + msg366020

resolution: wont fix
stage: patch review -> resolved
2020-04-08 20:55:41benjamin.petersonsetnosy: + benjamin.peterson
messages: + msg366006
2020-04-07 15:28:13BTaskayasetkeywords: + patch
stage: patch review
pull_requests: + pull_request18771
2020-04-07 15:24:36BTaskayacreate