Skip to content

The devcontainer doesn't include the bits to build the _zstd module #134583

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

Closed
pablogsal opened this issue May 23, 2025 · 11 comments · Fixed by python/cpython-devcontainers#42
Closed
Labels
3.14 bugs and security fixes 3.15 new features, bugs and security fixes build The build process and cross-build extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error

Comments

@pablogsal
Copy link
Member

pablogsal commented May 23, 2025

Bug report

Bug description:

A direct build in the devcontainer:

...
Written build/lib.linux-aarch64-3.15/_sysconfigdata_d_linux_aarch64-linux-gnu.py
Written build/lib.linux-aarch64-3.15/_sysconfig_vars_d_linux_aarch64-linux-gnu.json
The necessary bits to build these optional modules were not found:
_zstd                                                          
To find the necessary bits, look in configure.ac and config.log.

Checked 114 modules (35 built-in, 77 shared, 1 n/a on linux-aarch64, 0 disabled, 1 missing, 0 failed on import)

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

@pablogsal pablogsal added the type-bug An unexpected behavior, bug, or error label May 23, 2025
@pablogsal
Copy link
Member Author

CC @brettcannon

@pablogsal
Copy link
Member Author

Seems this needs libzstd-devel

@picnixz picnixz added build The build process and cross-build 3.14 bugs and security fixes 3.15 new features, bugs and security fixes extension-modules C modules in the Modules dir and removed build The build process and cross-build labels May 23, 2025
@StanFromIreland
Copy link
Contributor

This issue be moved here.

@emmatyping
Copy link
Member

I opened python/cpython-devcontainers#42 to add this.

@kumaraditya303
Copy link
Contributor

I think this should be updated in https://github.com/python/cpython/blob/main/.devcontainer/devcontainer.json as well

@emmatyping
Copy link
Member

I believe a new release of the devcontainer needs to be cut first.

@brettcannon
Copy link
Member

I believe a new release of the devcontainer needs to be cut first.

That already happened: https://github.com/python/cpython-devcontainers/actions/runs/15232270922

@brettcannon
Copy link
Member

Someone just needs to update the container that's being pointed to.

@emmatyping
Copy link
Member

@brettcannon Here's a PR to do that: #134765

I thought a release hadn't been cut because of this page: https://github.com/orgs/python/packages, I guess it doesn't track all publishes?

Image

corona10 pushed a commit that referenced this issue May 27, 2025
@corona10
Copy link
Member

I published the new devconatiner 2 days ago: https://github.com/python/cpython-devcontainers/pkgs/container/devcontainer/423171898?tag=2025.05.25.15232270922

Please ping Brett or me if there is Dev container issue.

@brettcannon
Copy link
Member

I thought a release hadn't been cut because of this page: https://github.com/orgs/python/packages, I guess it doesn't track all publishes?

Nope, you have to click into the container page to see the details:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.14 bugs and security fixes 3.15 new features, bugs and security fixes build The build process and cross-build extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants