Skip to content

Installation failure for chia-blockchain 2.5.0 using python 3.14 #19077

@clin1234

Description

@clin1234
(venv) cc@pretty:~$ pip install --extra-index-url https://pypi.chia.net/simple chia-blockchain miniupnpc
Looking in indexes: https://pypi.org/simple, https://pypi.chia.net/simple
Collecting chia-blockchain
  Using cached chia_blockchain-2.4.2.tar.gz (3.7 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting miniupnpc
  Downloading miniupnpc-2.2.8.tar.gz (70 kB)
  Preparing metadata (setup.py) ... done
Collecting aiofiles==23.2.1 (from chia-blockchain)
  Using cached aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB)
Collecting anyio==4.3.0 (from chia-blockchain)
  Using cached anyio-4.3.0-py3-none-any.whl.metadata (4.6 kB)
Collecting boto3==1.34.114 (from chia-blockchain)
  Using cached boto3-1.34.114-py3-none-any.whl.metadata (6.6 kB)
Collecting chiavdf==1.1.4 (from chia-blockchain)
  Using cached chiavdf-1.1.4.tar.gz (747 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting chiabip158==1.5.1 (from chia-blockchain)
  Using cached chiabip158-1.5.1.tar.gz (125 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting chiapos==2.0.4 (from chia-blockchain)
  Using cached chiapos-2.0.4.tar.gz (1.1 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting clvm==0.9.10 (from chia-blockchain)
  Using cached clvm-0.9.10-py3-none-any.whl.metadata (1.6 kB)
Collecting clvm_tools==0.4.9 (from chia-blockchain)
  Using cached clvm_tools-0.4.9-py3-none-any.whl.metadata (6.3 kB)
Collecting chia_rs==0.9.0 (from chia-blockchain)
  Using cached chia_rs-0.9.0.tar.gz (223 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      💥 maturin failed
        Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
        Caused by: `cargo metadata` exited with an error: error: failed to parse manifest at `/tmp/pip-install-x5pd_6h1/chia-rs_a080ef134f5147ec92f554943ff35738/Cargo.toml`
      
      Caused by:
        no targets specified in the manifest
        either src/lib.rs, src/main.rs, a [lib] section, or [[bin]] section must be present
      Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-xgli4p9g', '--interpreter', '/home/cc/venv/bin/python3.14t']' returned non-zero exit status 1.
      Checking for Rust toolchain....
      Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-xgli4p9g --interpreter /home/cc/venv/bin/python3.14t`
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    stale-issueflagged as stale and will be closed in 7 days if not updated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions