-
Notifications
You must be signed in to change notification settings - Fork 278
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
Make python 3.13 version of virtual packages the default. - batch 01 #36428
Conversation
35fa64d
to
f55251f
Compare
Signed-off-by: Scott Moser <[email protected]>
Signed-off-by: Scott Moser <[email protected]>
Gen AI suggestions to solve the build error: • Detected Error: "solving 'so:libicuuc.so.75' constraint: icu-libs-75.1-r1.apk disqualified because '75.1-r1' does not satisfy 'icu-libs=76.1-r0'" • Error Category: Dependency • Failure Point: Package dependency resolution during build environment setup • Root Cause Analysis: There's a version mismatch between re2 package requirements (needs ICU 75.x) and the system ICU library (76.1). The re2 package is compiled against an older version of ICU than what's currently installed in the build environment. • Suggested Fix:
environment:
contents:
packages:
- icu-dev=75.1-r3
- icu-libs=75.1-r3
# ... other packages ...
• Explanation: The error occurs because re2 was built against ICU 75.x but the system has ICU 76.1. By either pinning ICU to the compatible version or rebuilding re2 against the newer ICU, we can resolve the version mismatch. • Additional Notes:
• References:
|
Gen AI suggestions to solve the build error: • Detected Error: "solving 'so:libicuuc.so.75' constraint: icu-75.1-r0.apk disqualified because '75.1-r0' does not satisfy 'icu=76.1-r0'" • Error Category: Dependency • Failure Point: Package dependency resolution during build environment setup • Root Cause Analysis: There's a version mismatch between the required ICU library version (75.x) needed by re2 and the installed ICU version (76.1). The re2 package is looking for libicuuc.so.75, but the system has ICU 76.1 installed. • Suggested Fix:
environment:
contents:
packages:
- re2=2023.07.01-r1 # Use older version compatible with ICU 76.1
- re2-dev=2023.07.01-r1 Or alternatively:
environment:
contents:
packages:
- icu=75.1-r3
- icu-dev=75.1-r3 • Explanation: The build is failing because of an ABI incompatibility between re2 and ICU libraries. Re2 2024.02.01 was built against ICU 75.x, but the system has ICU 76.1. Either downgrading re2 to a version built against ICU 76.1 or pinning ICU to version 75.x will resolve the dependency conflict. • Additional Notes:
• References:
|
Pull request was converted to draft
I think I got all of them let me know if I missed any. |
Make python-3.13 version of PYPI_PKG provide virtual py3-PYPI_PKG
This just makes the python v3.13 version of a package the highest
version. So now, if you do
apk add py3-appnope
, you'll getpy3.13-appnope
where before you would get py3.12-appnope.The 'set-313.sh' script used to do this looks like: