rigetti / rpcq

The RPC framework and message specification for @rigetti Quantum Cloud Services.
Apache License 2.0
75 stars 29 forks source link

Release a new version with looser msgpack requirement #160

Closed basnijholt closed 9 months ago

basnijholt commented 9 months ago

After https://github.com/rigetti/rpcq/pull/156 has been merged, now we can rely on msgpack >1.

Currently, installing cirq on Conda on MacOS ARM64 will result in:

❯ micromamba install cirq
conda-forge/osx-arm64                                       Using cache
conda-forge/noarch                                          Using cache

Pinned packages:
  - python 3.11.*

error    libmamba Could not solve for environment specs
    The following packages are incompatible
    └─ cirq is not installable because there are no viable options
       ├─ cirq [0.12.0|0.13.1|0.14.0|0.15.0] would require
       │  └─ cirq-rigetti [0.12.0 |0.13.1 |0.14.0 |0.15.0 ], which requires
       │     └─ httpcore [>=0.11.1,=0.11 |~=0.11.1 ], which requires
       │        └─ h2 3.* , which does not exist (perhaps a missing channel);
       └─ cirq [1.0.0|1.1.0] would require
          └─ cirq-rigetti [1.0.0 |1.1.0 ], which requires
             └─ pyquil [>=3.0.0 |>=3.2.0 ], which requires
                └─ rpcq [>=3.10.0,<4.0.0 |>=3.6.0,<4.0.0 ], which requires
                   └─ msgpack-python >=0.6,<1.0 , which does not exist (perhaps a missing channel).

This is because old msgpack-python versions aren't build for ARM64.

If you could release a new version, installing of cirq will become possible on Apple Silicon ARM64.

Also, please consider looser requirements in general.

This also prevents the Cirq feedstock from being released on conda-forge: https://github.com/conda-forge/cirq-feedstock/pull/13.

If this cannot get fixed, the cirq-rigetti submodule will not be included when installing cirq from conda for the time being.

basnijholt commented 9 months ago

OK it turns out @kalzoo and @jamesclark-Zapata that https://github.com/rigetti/rpcq/commit/801e7a70c69d17ba26a63b4cef32aa78510c8740 was already included in the 3.11.0 release, however, it hasn't been tagged as reported in https://github.com/rigetti/rpcq/issues/157 by @fabaff.

Please push the tags which might save some other folks some time in the future :)