rigetti / rigetti/qcs-sdk-rust

Cannot install with Poetry due to requirements file hash mismatch

Open
#527 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
15
Forks
4
Avg merge
1h 9m
Merged PRs (30d)
1

Description

Multiple people have seen an issue that looks like this:

❯ poetry update qcs-sdk-python
Updating dependencies
Resolving dependencies... (0.7s)
Setting `experimental.new-installer` to false is deprecated and slated for removal in an upcoming minor release.
(Despite of the setting's name the new installer is not experimental!)
Package operations: 0 installs, 11 updates, 0 removals

  - Updating anyio (4.7.0 -> 4.8.0)
  - Updating grpcio (1.68.1 -> 1.69.0)
  - Updating mkdocs-autorefs (1.2.0 -> 1.3.0)
  - Updating pymdown-extensions (10.13 -> 10.14)
  - Updating caio (0.9.17 -> 0.9.21)
  - Updating ruamel-yaml (0.18.7 -> 0.18.10)
  - Updating wrapt (1.17.0 -> 1.17.2)
  - Updating azure-storage-blob (12.20.0 -> 12.24.0)
  - Updating pygments (2.18.0 -> 2.19.1)
  - Updating qcs-sdk-python (0.20.1 -> 0.21.6)

Command ['/Users/kstrand/workspace/pyquil-for-azure-quantum/.venv/bin/python', '/Users/kstrand/Library/Application Support/pypoetry/venv/lib/python3.9/site-packages/virtualenv/seed/wheels/embed/pip-23.1-py3-none-any.whl/pip', 'install', '--no-deps', '--no-input', '-U', '-r', '/var/folders/p5/r6b6hyz97bj53sddy2cn4fd80000gq/T/qcs-sdk-python-0.21.6qbdn53okreqs.txt'] errored with the following return code 1

Output:
Collecting qcs-sdk-python==0.21.6 (from -r /var/folders/p5/r6b6hyz97bj53sddy2cn4fd80000gq/T/qcs-sdk-python-0.21.6qbdn53okreqs.txt (line 1))
  Downloading qcs_sdk_python-0.21.6-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (11.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 17.1 MB/s eta 0:00:00
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    qcs-sdk-python==0.21.6 from https://files.pythonhosted.org/packages/62/3c/775c4cbfd0b061112b18d66beeded832e418b7d1a24dd051d9b739881003/qcs_sdk_python-0.21.6-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (from -r /var/folders/p5/r6b6hyz97bj53sddy2cn4fd80000gq/T/qcs-sdk-python-0.21.6qbdn53okreqs.txt (line 1)):
        Expected sha256 6ab2d00fbb0f089be19eb7de1bdc456e3c6dbca9f08c7c5fe5a2e7ce802eb035
        Expected     or 8579293ba158de9adc8f53185f691e08ab624ce17cc62a1d4faf2218caef6e3c
        Expected     or 8e26487e87f3ffddb2682ed5d99f3a97dda9db66505b23fc480776a4730e8235
        Expected     or a5bf2cc7ad4740ff1c44130a8cb323302a385f8a90fb56b8744871bb10fab832
        Expected     or e2c7efd89fb233e17430c31dd76f34067e2381f6fafde46893e6b0ff56677b34
        Expected     or e2fe0226adfac753cb79459ad1503e687114d296a57a8f067b9ffa42447e81ec
        Expected     or f20c30c3864c0a7fd40e61425df99abd44f72f6d9ea0969f40bcac64eb1b9a0b
             Got        9705ffc7bb755971b21db7359847bd9516626fb4c24b8c521ba8c5f519f2641b

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing poetry update qcs-sdk-python and inspect the generated temporary requirements file, its hashes, and the downloaded qcs-sdk-python wheel. Done means identifying why the wheel hash differs from the listed values and making the dependency update complete successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.