conda-forge / pythran-feedstock

A conda-smithy repository for pythran.
BSD 3-Clause "New" or "Revised" License
1 stars 11 forks source link

Package pythran-*version* requires *package-version* but none of the providers can be installed #62

Closed martibosch closed 2 years ago

martibosch commented 2 years ago

Issue: Package pythran-version requires package-version but none of the providers can be installed


Environment (conda list):

``` $ conda list su-exec 0.2 h516909a_1002 conda-forge tini 0.18.0 h14c3975_1001 conda-forge tk 8.6.11 h27826a3_1 conda-forge tqdm 4.62.3 pyhd8ed1ab_0 conda-forge traitlets 5.1.1 pyhd8ed1ab_0 conda-forge typing_extensions 3.10.0.2 pyha770c72_0 conda-forge tzdata 2021e he74cb21_0 conda-forge urllib3 1.26.7 pyhd8ed1ab_0 conda-forge watchgod 0.7 pyhd8ed1ab_0 conda-forge wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge wheel 0.37.0 pyhd8ed1ab_1 conda-forge xz 5.2.5 h516909a_1 conda-forge yaml 0.2.5 h516909a_0 conda-forge zipp 3.6.0 pyhd8ed1ab_0 conda-forge zlib 1.2.11 h36c2ea0_1013 conda-forge zstd 1.5.0 ha95c52a_0 conda-forge ```


Details about conda and system ( conda info ):

``` $ conda info active environment : base active env location : /opt/conda shell level : 1 user config file : /home/conda/.condarc populated config files : /opt/conda/.condarc /home/conda/.condarc conda version : 4.10.3 conda-build version : 3.21.6 python version : 3.8.12.final.0 virtual packages : __linux=5.11.0=0 __glibc=2.12=0 __unix=0=0 __archspec=1=x86_64 base environment : /opt/conda (writable) conda av data dir : /opt/conda/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch package cache : /opt/conda/pkgs /home/conda/.conda/pkgs envs directories : /opt/conda/envs /home/conda/.conda/envs platform : linux-64 user-agent : conda/4.10.3 requests/2.26.0 CPython/3.8.12 Linux/5.11.0-1020-azure centos/6.10 glibc/2.12 UID:GID : 1001:1001 netrc file : None offline mode : False ```

The latests builds of the conda recipe for pylandstats are failing for Python 3.9. More precisely, the following error is encountered in linux:

The reported errors are:
- Encountered problems while solving:
-   - package pythran-0.9.3.post1-py27hc9558a2_0 requires gast 0.2.2.*, but none of the providers can be installed

whereas osx shows the same error but with different versions:

The reported errors are:
- Encountered problems while solving:
-   - package pythran-0.8.5-py27_blas_openblash0eace8b_0 requires python >=2.7,<2.8.0a0, but none of the providers can be installed

The full logs are available at https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=411094&view=results

Note that there have been 4 attempts for the same job, all failing for Python 3.9 with some variations in the pythran requirement version.

Is this error supposed to disappear by itself as the repositories are updated? Or should I pin pythran (or other packages, e.g., gast, transonic, numpy, ...) to a specific version?

Thank you in advance. Best, Martí

h-vetinari commented 2 years ago

I answered with the most likely cause in https://github.com/conda-forge/pylandstats-feedstock/pull/23

martibosch commented 2 years ago

Indeed the cause was having gast pinned at 0.3.3. My mistake. Closing this, thank you @h-vetinari!