conda / conda-libmamba-solver

The libmamba based solver for conda.
https://conda.github.io/conda-libmamba-solver/
Other
204 stars 25 forks source link

unable to install grpcio on python-freethreading #550

Closed arindamchoudhury closed 4 weeks ago

arindamchoudhury commented 1 month ago

Hi, I am using conda version : 24.9.2

I have created evironment with:

$ conda create -n nogil python-freethreading

But I can not install grpcio:

(nogil) $ conda install grpcio
Channels:
 - defaults
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: \ warning  libmamba Added empty dependency for problem type SOLVER_RULE_UPDATE
failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - nothing provides _python_rc needed by python-3.12.0rc3-rc3_hab00c5b_1_cpython

Could not solve for environment specs
The following packages are incompatible
├─ grpcio is installable with the potential options
│  ├─ grpcio 1.67.0 would require
│  │  ├─ python >=3.13,<3.14.0a0 , which can be installed;
│  │  └─ python_abi 3.13.* *_cp313 but there are no viable options
│  │     ├─ python_abi 3.13 would require
│  │     │  └─ python 3.13.* *_cpython, which conflicts with any installable versions previously reported;
│  │     └─ python_abi 3.13 would require
│  │        └─ python 3.13.* *_cp313, which conflicts with any installable versions previously reported;
│  ├─ grpcio [1.10.0|1.11.0|...|1.27.2] would require
│  │  └─ python >=2.7,<2.8.0a0 , which can be installed;
│  ├─ grpcio [1.10.0|1.11.0|1.12.0|1.12.1|1.14.1] would require
│  │  └─ python >=3.5,<3.6.0a0 , which can be installed;
│  ├─ grpcio [1.10.0|1.11.0|...|1.38.1] would require
│  │  └─ python >=3.6,<3.7.0a0 , which can be installed;
│  ├─ grpcio [1.12.1|1.14.1|...|1.48.1] would require
│  │  └─ python >=3.7,<3.8.0a0 , which can be installed;
│  ├─ grpcio [1.16.1|1.23.0|...|1.62.2] would require
│  │  └─ python >=3.8,<3.9.0a0 , which can be installed;
│  ├─ grpcio [1.35.0|1.41.1|...|1.67.0] would require
│  │  └─ python >=3.10,<3.11.0a0 , which can be installed;
│  ├─ grpcio [1.33.2|1.34.0|...|1.67.0] would require
│  │  └─ python >=3.9,<3.10.0a0 , which can be installed;
│  ├─ grpcio [1.42.0|1.46.4|...|1.67.0] would require
│  │  └─ python >=3.11,<3.12.0a0 , which can be installed;
│  ├─ grpcio [1.48.2|1.57.0|...|1.67.0] would require
│  │  └─ python >=3.12,<3.13.0a0 , which can be installed;
│  └─ grpcio [1.57.0|1.58.1] would require
│     └─ python >=3.12.0rc3,<3.13.0a0  with the potential options
│        ├─ python [3.12.0|3.12.1|...|3.12.7], which can be installed;
│        └─ python 3.12.0rc3 would require
│           └─ _python_rc, which does not exist (perhaps a missing channel);
├─ pin-1 is not installable because it requires
│  └─ python 3.13.* , which conflicts with any installable versions previously reported;
└─ python-freethreading is not installable because it requires
   └─ python_abi * *_cp313t but there are no viable options
      ├─ python_abi 3.13 would require
      │  └─ python 3.13.* *_cp313t, which conflicts with any installable versions previously reported;
      └─ python_abi 3.13, which cannot be installed (as previously explained).
jaimergp commented 4 weeks ago

This is expected til grpcio is compiled for the freethreading version of Python, I think. Check progress in https://conda-forge.org/status/migration/?name=python313t. You can ask for more details in https://github.com/conda-forge/grpc-cpp-feedstock.