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

Problem building using OpenBSD 7.3 #22

Open
quistian opened this issue May 3, 2023 · 0 comments
Open

Problem building using OpenBSD 7.3 #22

quistian opened this issue May 3, 2023 · 0 comments

Comments

@quistian
Copy link

quistian commented May 3, 2023

Expected Behavior

Actual Behavior

When executing:

pip install napalm-arubaoss-switch

in a python3 virtual environment, there are errors when trying to build cryptography-4.0

    =============================DEBUG ASSISTANCE=============================
      If you are seeing a compilation error please try the following steps to
      successfully install cryptography:
      1) Upgrade to the latest pip and try again. This will fix errors for most
         users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
      2) Read https://cryptography.io/en/latest/installation/ for specific
         instructions for your platform.
      3) Check our frequently asked questions for more information:
         https://cryptography.io/en/latest/faq/
      4) Ensure you have a recent Rust toolchain installed:
         https://cryptography.io/en/latest/installation/#rust

      Python: 3.10.11
      platform: OpenBSD-7.3-amd64-64bit-ELF
      pip: n/a
      setuptools: 67.7.2
      setuptools_rust: 1.6.0
      rustc: 1.68.0 (2c8cc3432 2023-03-06) (built from a source tarball)
      =============================DEBUG ASSISTANCE=============================

  error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features 'pyo3/extension-module pyo3/abi3-py36' --crate-type cdylib --` failed with code 101
  [end of output]

...
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cryptography
Building wheel for MarkupSafe (pyproject.toml) ... done
Created wheel for MarkupSafe: filename=MarkupSafe-2.1.2-cp310-cp310-openbsd_7_3_amd64.whl size=21289 sha256=efac044a7718171b686aa522803b17f034532b052440638154c7b60752367c9b
Stored in directory: /home/russ/.cache/pip/wheels/54/8e/98/3c8a462676f35ac84e7e2a886d2e90c50c796b73f4cd1f351f
Building wheel for pynacl (pyproject.toml) ... done
Created wheel for pynacl: filename=PyNaCl-1.5.0-cp310-cp310-openbsd_7_3_amd64.whl size=197885 sha256=1204e8174fe6ee5095efad10976852af9841a024c55c6b6542334113f15ada90
Stored in directory: /home/russ/.cache/pip/wheels/d6/b6/aa/ee9c8cff9b446cde8825a5c7d5be57a8312c7ef3eed7c47843
Building wheel for yamlordereddictloader (pyproject.toml) ... done
Created wheel for yamlordereddictloader: filename=yamlordereddictloader-0.4.0-py3-none-any.whl size=4053 sha256=4247f2b6fcef198da03a3ae28414473fc9cccfa0945f57edb95ee75d50378b2a
Stored in directory: /home/russ/.cache/pip/wheels/36/ab/cc/b583bb9d8c269b27a6b7bdc6e766588db00f79d8754774fe0d
Successfully built napalm-arubaos-switch cffi ncclient lxml pyeapi pyYAML bcrypt MarkupSafe pynacl yamlordereddictloader
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects

Steps to Reproduce the Problem

Specifications

  • Version: Python 3.10.11
  • Platform: OpenBSD 7.3
  • Subsystem:
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

1 participant