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

Provide make target to regenerate autoconf files with container #91129

Closed
tiran opened this issue Mar 10, 2022 · 3 comments
Closed

Provide make target to regenerate autoconf files with container #91129

tiran opened this issue Mar 10, 2022 · 3 comments
Assignees
Labels
3.9 only security fixes 3.10 only security fixes 3.11 only security fixes build The build process and cross-build type-feature A feature request or enhancement

Comments

@tiran
Copy link
Member

tiran commented Mar 10, 2022

BPO 46973
Nosy @brettcannon, @gpshead, @tiran
PRs
  • bpo-46973: Add regen-configure make target (GH-31792) #31792
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/tiran'
    closed_at = None
    created_at = <Date 2022-03-10.13:29:14.055>
    labels = ['3.10', 'type-feature', '3.9', 'build', '3.11']
    title = 'Provide make target to regenerate autoconf files with container'
    updated_at = <Date 2022-03-10.17:03:38.081>
    user = 'https://github.com/tiran'

    bugs.python.org fields:

    activity = <Date 2022-03-10.17:03:38.081>
    actor = 'christian.heimes'
    assignee = 'christian.heimes'
    closed = False
    closed_date = None
    closer = None
    components = ['Build']
    creation = <Date 2022-03-10.13:29:14.055>
    creator = 'christian.heimes'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46973
    keywords = ['patch']
    message_count = 2.0
    messages = ['414846', '414868']
    nosy_count = 3.0
    nosy_names = ['brett.cannon', 'gregory.p.smith', 'christian.heimes']
    pr_nums = ['31792']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue46973'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    @tiran
    Copy link
    Member Author

    tiran commented Mar 10, 2022

    CPython stores auto-generated autoconf files (configure, aclocal.m4, pyconfig.h.in) in git. The files must be regenerated with very specific versions of autotools 2.69 + runtimestate patch, autoarchive, and pkg-config's m4 macros. I provide a container image based on Alpine 3.13 for automation and CI.

    Let's add a build target to make it easier for contributors to regenerate the files and utilize the container images. The command needs a container runtime (podman, docker), though.

    @tiran tiran added 3.9 only security fixes 3.10 only security fixes 3.11 only security fixes labels Mar 10, 2022
    @tiran tiran self-assigned this Mar 10, 2022
    @tiran tiran added build The build process and cross-build type-feature A feature request or enhancement 3.9 only security fixes 3.10 only security fixes 3.11 only security fixes labels Mar 10, 2022
    @tiran tiran self-assigned this Mar 10, 2022
    @tiran tiran added build The build process and cross-build type-feature A feature request or enhancement labels Mar 10, 2022
    @tiran
    Copy link
    Member Author

    tiran commented Mar 10, 2022

    New changeset 434ffb7 by Christian Heimes in branch 'main':
    bpo-46973: Add regen-configure make target (GH-31792)
    434ffb7

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @kumaraditya303
    Copy link
    Contributor

    Fixed by #31792

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.9 only security fixes 3.10 only security fixes 3.11 only security fixes build The build process and cross-build type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants