Can't install Netbox 3.5.9 on Openbsd #8906

Closed
opened 2025-12-29 20:42:43 +01:00 by adam · 0 comments
Owner

Originally created by @mikygee on GitHub (Dec 3, 2023).

NetBox version

v3.5.9

Python version

3.10

Steps to Reproduce

Version: 3.5.9

Hello,
I was able to install netbox 3.4.10 on my openbsd server but I cannot intall 3.5.9

Collecting rpds-py>=0.7.1 (from jsonschema>=2.6.0->drf-spectacular==0.26.4->-r requirements.txt (line 18))
  Using cached rpds_py-0.13.2.tar.gz (17 kB)
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [58 lines of output]
      Collecting maturin<2.0,>=1.0
        Downloading maturin-1.4.0.tar.gz (177 kB)
           ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.0/178.0 kB 5.4 MB/s eta 0:00:00
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Collecting tomli>=1.1.0 (from maturin<2.0,>=1.0)
        Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
      Building wheels for collected packages: maturin
        Building wheel for maturin (pyproject.toml): started
        Building wheel for maturin (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error

        × Building wheel for maturin (pyproject.toml) did not run successfully.
        │ exit code: 1
        ╰─> [33 lines of output]
            /tmp/pip-build-env-7zvtpil0/overlay/lib/python3.10/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies)
              corresp(dist, value, root_dir)
            running bdist_wheel
            running build
            running build_py
            creating build
            creating build/lib.openbsd-7.4-amd64-cpython-310
            creating build/lib.openbsd-7.4-amd64-cpython-310/maturin
            copying maturin/__init__.py -> build/lib.openbsd-7.4-amd64-cpython-310/maturin
            copying maturin/__main__.py -> build/lib.openbsd-7.4-amd64-cpython-310/maturin
            copying maturin/import_hook.py -> build/lib.openbsd-7.4-amd64-cpython-310/maturin
            running egg_info
            creating maturin.egg-info
            writing maturin.egg-info/PKG-INFO
            writing dependency_links to maturin.egg-info/dependency_links.txt
            writing requirements to maturin.egg-info/requires.txt
            writing top-level names to maturin.egg-info/top_level.txt
            writing manifest file 'maturin.egg-info/SOURCES.txt'
            reading manifest file 'maturin.egg-info/SOURCES.txt'
            reading manifest template 'MANIFEST.in'
            warning: no files found matching '*.json' under directory 'src/python_interpreter'
            writing manifest file 'maturin.egg-info/SOURCES.txt'
            running build_ext
            running build_rust
                Updating crates.io index
             Downloading crates ...
            error: failed to wait on curl `Multi`

            Caused by:
              Unrecoverable error in select/poll
            error: `cargo metadata --manifest-path Cargo.toml --format-version 1 --locked` failed with code 101
            -- Output captured from stdout:

            [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for maturin
      Failed to build maturin
      ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

But I have maturin installed

# pkg_info | grep maturin
maturin-0.13.7p1    develop crates with pyo3, rust-cpython and cffi bindings

And wheel

# pkg_info | grep wheel-
py3-wheel-0.41.2    reference implementation for Python's "wheel" package format

And setuptools

# pkg_info | grep setuptools
py-setuptools-44.1.1p0v0 simplified packaging system for Python modules
py-setuptools-git-1.2p6 setuptools revision control system plugin for Git
py3-calver-2022.6.26 setuptools extensions for calendar-based versioning
py3-setuptools-68.0.0v0 simplified packaging system for Python modules
py3-setuptools-git-1.2p6 setuptools revision control system plugin for Git
py3-setuptools-rust-1.6.0 setuptools Rust extension plugin
py3-setuptools_scm-7.1.0 plugin to manage your versions by scm tags

Thank you

Expected Behavior

Installation

Observed Behavior

Can't install

Originally created by @mikygee on GitHub (Dec 3, 2023). ### NetBox version v3.5.9 ### Python version 3.10 ### Steps to Reproduce Version: 3.5.9 Hello, I was able to install netbox 3.4.10 on my openbsd server but I cannot intall 3.5.9 ``` Collecting rpds-py>=0.7.1 (from jsonschema>=2.6.0->drf-spectacular==0.26.4->-r requirements.txt (line 18)) Using cached rpds_py-0.13.2.tar.gz (17 kB) Installing build dependencies ... error error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [58 lines of output] Collecting maturin<2.0,>=1.0 Downloading maturin-1.4.0.tar.gz (177 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.0/178.0 kB 5.4 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting tomli>=1.1.0 (from maturin<2.0,>=1.0) Using cached tomli-2.0.1-py3-none-any.whl (12 kB) Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Building wheel for maturin (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [33 lines of output] /tmp/pip-build-env-7zvtpil0/overlay/lib/python3.10/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.openbsd-7.4-amd64-cpython-310 creating build/lib.openbsd-7.4-amd64-cpython-310/maturin copying maturin/__init__.py -> build/lib.openbsd-7.4-amd64-cpython-310/maturin copying maturin/__main__.py -> build/lib.openbsd-7.4-amd64-cpython-310/maturin copying maturin/import_hook.py -> build/lib.openbsd-7.4-amd64-cpython-310/maturin running egg_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' running build_ext running build_rust Updating crates.io index Downloading crates ... error: failed to wait on curl `Multi` Caused by: Unrecoverable error in select/poll error: `cargo metadata --manifest-path Cargo.toml --format-version 1 --locked` failed with code 101 -- Output captured from stdout: [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Could not build wheels for maturin, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ``` But I have maturin installed ``` # pkg_info | grep maturin maturin-0.13.7p1 develop crates with pyo3, rust-cpython and cffi bindings ``` And wheel ``` # pkg_info | grep wheel- py3-wheel-0.41.2 reference implementation for Python's "wheel" package format ``` And setuptools ``` # pkg_info | grep setuptools py-setuptools-44.1.1p0v0 simplified packaging system for Python modules py-setuptools-git-1.2p6 setuptools revision control system plugin for Git py3-calver-2022.6.26 setuptools extensions for calendar-based versioning py3-setuptools-68.0.0v0 simplified packaging system for Python modules py3-setuptools-git-1.2p6 setuptools revision control system plugin for Git py3-setuptools-rust-1.6.0 setuptools Rust extension plugin py3-setuptools_scm-7.1.0 plugin to manage your versions by scm tags ``` Thank you ### Expected Behavior Installation ### Observed Behavior Can't install
adam closed this issue 2025-12-29 20:42:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8906