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

cadquery_ocp Python Wheel requires glibc 2.35+ #41

Open
alexanderilyin opened this issue Dec 13, 2024 · 4 comments
Open

cadquery_ocp Python Wheel requires glibc 2.35+ #41

alexanderilyin opened this issue Dec 13, 2024 · 4 comments

Comments

@alexanderilyin
Copy link

poetry install ... results in this on Debian 11 Bullseye:

Skipping wheel cadquery_ocp-7.7.2-cp310-cp310-manylinux_2_35_x86_64.whl as this is not supported by the current environment

Since Bullseye long-term support ends 31 August 2026 I wonder if it's possible to support earlier version of glibc which is shipped with Debian 11?

@adam-urbanczyk adam-urbanczyk transferred this issue from CadQuery/OCP Dec 13, 2024
@jmwright
Copy link
Member

Tagging @bernhard-42 and @jdegenstein on this to see if this is taken into account in the new wheel builds.

@jmwright
Copy link
Member

@alexanderilyin Can you test this beta release out?

pip install --pre cadquery_ocp==7.7.2.2b2

@alexanderilyin
Copy link
Author

alexanderilyin commented Jan 9, 2025

@jmwright unfortunately installation still fails:

$ ldd --version
ldd (Debian GLIBC 2.31-13+deb11u11) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
$ lsb_release -d
Description:    Debian GNU/Linux 11 (bullseye)
$ devcontainer-info 

Development container image information

- Image version: 1.2.1
- Definition ID: python
- Variant: 3.12-bullseye
- Source code repository: https://github.com/devcontainers/images
- Source code release/branch: v0.4.10
- Timestamp: Thu, 12 Dec 2024 21:43:17 GMT

More info: https://github.com/devcontainers/images/tree/main/src/python/history/1.2.1.md

@alexanderilyin
Copy link
Author

alexanderilyin commented Jan 9, 2025

I switch to Bookworm and it works just fine:

$ ldd --version
ldd (Debian GLIBC 2.36-9+deb12u9) 2.36
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
$ lsb_release -d
No LSB modules are available.
Description:    Debian GNU/Linux 12 (bookworm)
$ devcontainer-info 

Development container image information

- Image version: 1.2.1
- Definition ID: python
- Variant: 3.12-bookworm
- Source code repository: https://github.com/devcontainers/images
- Source code release/branch: v0.4.10
- Timestamp: Thu, 12 Dec 2024 21:37:55 GMT

More info: https://github.com/devcontainers/images/tree/main/src/python/history/1.2.1.md
$ pip install cadquery-ocp>=7.7.0
$ pip freeze | grep cadquery
cadquery-ocp==7.7.2

P. S. I tried to build newer glibc from sources on Bullseye and make Poetry to use it instead, but have not succeed yet.

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

2 participants