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

Upgrade Ubuntu in CI (and pin oscrypto to an unreleased bugfix) #1139

Merged
merged 2 commits into from
Mar 7, 2025

Conversation

nolar
Copy link
Owner

@nolar nolar commented Nov 19, 2024

Ubuntu 24.04 is blocked by wbond/oscrypto#78:

____________ ERROR collecting tests/admission/test_certificates.py _____________
tests/admission/test_certificates.py:1: in <module>
    import certvalidator
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/site-packages/certvalidator/__init__.py:9: in <module>
    from .validate import validate_path, validate_tls_hostname, validate_usage
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/site-packages/certvalidator/validate.py:5: in <module>
    from oscrypto import asymmetric
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/site-packages/oscrypto/asymmetric.py:19: in <module>
    from ._asymmetric import _unwrap_private_key_info
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/site-packages/oscrypto/_asymmetric.py:[27](https://github.com/nolar/kopf/actions/runs/11899842142/job/33159360248#step:6:28): in <module>
    from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/site-packages/oscrypto/kdf.py:9: in <module>
    from .util import rand_bytes
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/site-packages/oscrypto/util.py:14: in <module>
    from ._openssl.util import rand_bytes
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/site-packages/oscrypto/_openssl/util.py:6: in <module>
    from ._libcrypto import libcrypto, libcrypto_version_info, handle_openssl_error
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/site-packages/oscrypto/_openssl/_libcrypto.py:15: in <module>
    from ._libcrypto_ctypes import (
/opt/hostedtoolcache/Python/3.13.0/x64/lib/python3.13/site-packages/oscrypto/_openssl/_libcrypto_ctypes.py:47: in <module>
    raise LibraryNotFoundError('Error detecting the version of libcrypto')
E   oscrypto.errors.LibraryNotFoundError: Error detecting the version of libcrypto

Signed-off-by: Sergey Vasilyev <[email protected]>
@nolar nolar changed the title Upgrade Ubuntu in CI Upgrade Ubuntu in CI (and pin oscrypto to an unreleased bugfix) Mar 7, 2025
@nolar nolar marked this pull request as ready for review March 7, 2025 19:00
@nolar nolar merged commit af6e882 into main Mar 7, 2025
30 checks passed
@nolar nolar deleted the upgrade-ubuntu branch March 7, 2025 19:23
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

Successfully merging this pull request may close these issues.

1 participant