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

Build failure: python3.12Packages.paramiko #348995

Closed
cterence opened this issue Oct 16, 2024 · 2 comments
Closed

Build failure: python3.12Packages.paramiko #348995

cterence opened this issue Oct 16, 2024 · 2 comments
Assignees
Labels
0.kind: build failure A package fails to build 2.status: fix-in-staging This issue has been fixed in staging but is not yet in the channels or master 6.topic: python

Comments

@cterence
Copy link
Contributor

Steps To Reproduce

Steps to reproduce the behavior:

  1. build azure-cli

Build log

       > /nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/lib/python3.12/importlib/__init__.py:90: in import_module
       >     return _bootstrap._gcd_import(name[level:], package, level)
       > azure/cli/core/tests/test_keys.py:9: in <module>
       >     import paramiko
       > /nix/store/hdsahpv8zxkcgl16gmkkxnks1f0dv8xw-python3.12-paramiko-3.5.0/lib/python3.12/site-packages/paramiko/__init__.py:22: in <module>
       >     from paramiko.transport import (
       > /nix/store/hdsahpv8zxkcgl16gmkkxnks1f0dv8xw-python3.12-paramiko-3.5.0/lib/python3.12/site-packages/paramiko/transport.py:99: in <module>
       >     from paramiko.ed25519key import Ed25519Key
       > /nix/store/hdsahpv8zxkcgl16gmkkxnks1f0dv8xw-python3.12-paramiko-3.5.0/lib/python3.12/site-packages/paramiko/ed25519key.py:22: in <module>
       >     import nacl.signing
       > E   ModuleNotFoundError: No module named 'nacl'
       > =============================== warnings summary ===============================
       > azure/cli/core/tests/test_breaking_change.py:14
       >   /build/azure-cli-2.64.0-src/src/azure-cli-core/azure/cli/core/tests/test_breaking_change.py:14: PytestCollectionWarning: cannot collect test class 'TestCommandsLoader' because it has a __init__ constructor (from: azure/cli/core/tests/test_breaking_change.py)
       >     class TestCommandsLoader(AzCommandsLoader):
       >
       > azure/cli/core/tests/test_help_loaders.py:13
       >   /build/azure-cli-2.64.0-src/src/azure-cli-core/azure/cli/core/tests/test_help_loaders.py:13: PytestCollectionWarning: cannot collect test class 'TestCommandLoader' because it has a __init__ constructor (from: azure/cli/core/tests/test_help_loaders.py)
       >     class TestCommandLoader(AzCommandsLoader):
       >
       > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
       > =========================== short test summary info ============================
       > ERROR azure/cli/core/tests/test_keys.py
       > !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
       > ================== 2 deselected, 2 warnings, 1 error in 3.55s ==================

Additional context

N/A

Notify maintainers

@katexochen @ulrikstrid

Metadata

I ran into this issue while building my the package in my CI system : https://github.com/cterence/nixos-config/actions/runs/11358813907/job/31604868207?pr=7. I haven't updated the flake on my device to avoid the build error.


Add a 👍 reaction to issues you find important.

@cterence cterence added the 0.kind: build failure A package fails to build label Oct 16, 2024
@katexochen katexochen changed the title Build failure: azure-cli Build failure: python3.12Packages.paramiko Oct 16, 2024
@katexochen
Copy link
Contributor

Fixed by #345326, which is currently in staging-next

@katexochen katexochen self-assigned this Oct 16, 2024
@dotlambda dotlambda added 6.topic: python 2.status: fix-in-staging This issue has been fixed in staging but is not yet in the channels or master labels Oct 21, 2024
liamawhite added a commit to liamawhite/os that referenced this issue Oct 31, 2024
@katexochen
Copy link
Contributor

Fix is now in unstable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build 2.status: fix-in-staging This issue has been fixed in staging but is not yet in the channels or master 6.topic: python
Projects
None yet
Development

No branches or pull requests

3 participants