Skip to content

Build failure: python3Packages.certbot-dns-{cloudflare,ovh,rfc2136,route53} #354054

@ShamrockLee

Description

@ShamrockLee

Steps To Reproduce

Steps to reproduce the behavior:

  1. build python3Packages.certbot-dns-{cloudflare,ovh,rfc2136,route53}

Build log

TL;DR: DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use ...

python3.12-certbot-dns-route53> _ ERROR collecting certbot-dns-route53/certbot_dns_route53/_internal/tests/dns_route53_test.py _
python3.12-certbot-dns-route53> certbot_dns_route53/_internal/tests/dns_route53_test.py:13: in <module>
python3.12-certbot-dns-route53>     from certbot.plugins import dns_test_common
python3.12-certbot-dns-route53> /nix/store/9vkwzicw70dgldwchy7qgbshr9z0g16d-python3.12-certbot-2.11.0/lib/python3.12/site-packages/certbot/plugins/dns_test_common.py:8: in <module>
python3.12-certbot-dns-route53>     import josepy as jose
python3.12-certbot-dns-route53> /nix/store/frjckyi33r8iba2lvdkbm3mk3iypp8d5-python3.12-josepy-1.14.0/lib/python3.12/site-packages/josepy/__init__.py:40: in <module>
python3.12-certbot-dns-route53>     from josepy.json_util import (
python3.12-certbot-dns-route53> /nix/store/frjckyi33r8iba2lvdkbm3mk3iypp8d5-python3.12-josepy-1.14.0/lib/python3.12/site-packages/josepy/json_util.py:26: in <module>
python3.12-certbot-dns-route53>     from josepy import b64, errors, interfaces, util
python3.12-certbot-dns-route53> /nix/store/frjckyi33r8iba2lvdkbm3mk3iypp8d5-python3.12-josepy-1.14.0/lib/python3.12/site-packages/josepy/util.py:18: in <module>
python3.12-certbot-dns-route53>     class ComparableX509:
python3.12-certbot-dns-route53> /nix/store/frjckyi33r8iba2lvdkbm3mk3iypp8d5-python3.12-josepy-1.14.0/lib/python3.12/site-packages/josepy/util.py:26: in ComparableX509
python3.12-certbot-dns-route53>     def __init__(self, wrapped: Union[crypto.X509, crypto.X509Req]) -> None:
python3.12-certbot-dns-route53> /nix/store/k78wn48njw17avlsviyi83z5facg9fxp-python3.12-cryptography-43.0.1/lib/python3.12/site-packages/cryptography/utils.py:70: in __getattr__
python3.12-certbot-dns-route53>     warnings.warn(obj.message, obj.warning_class, stacklevel=2)
python3.12-certbot-dns-route53> E   DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use the APIs in cryptography.
python3.12-certbot-dns-route53> =========================== short test summary info ============================
python3.12-certbot-dns-route53> ERROR certbot_dns_route53/_internal/tests/dns_route53_test.py - DeprecationWarning: CSR support in pyOpenSSL is deprecated. You should use ...
python3.12-certbot-dns-route53> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
python3.12-certbot-dns-route53> =============================== 1 error in 0.27s ===============================

Additional context

Add any other context about the problem here.

Notify maintainers

@domenkozar

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.6.37, NixOS, 24.05 (Uakari), 24.05.20240707.1948467
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.18.4
  • nixpkgs: /nix/store/k251vbbhlk91xwjkxnma7g545i5avhah-source

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failureA package fails to build6.topic: pythonPython is a high-level, general-purpose programming language.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions