Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zipp 3.16.0 no longer compatible with python 3.7 #42

Closed
1 task done
rly opened this issue Jul 10, 2023 · 1 comment
Closed
1 task done

zipp 3.16.0 no longer compatible with python 3.7 #42

rly opened this issue Jul 10, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@rly
Copy link

rly commented Jul 10, 2023

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

From this commit, zipp 3.16.0 is no longer compatible with Python 3.7. It looks like setup.cfg was updated to say that the package requires Python 3.8 or later, but the conda-forge feedstock recipe/meta.yaml has not yet been updated to say that.

As a result, zipp and any other conda-forge packages that depend on zipp (such as tox > pluggy > importlib_metadata) that are installed in a python 3.7 conda environment will pull the latest zipp 3.16.0 and error out on import. Here is a test example: https://github.com/rly/actions-scratch/actions/runs/5503313260/jobs/10028390057

I think, in recipe/meta.yaml, the lower bound of python should be changed from 3.7 to 3.8.

Installed packages

# packages in environment at /usr/share/miniconda/envs/test:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
ca-certificates           2023.5.7             hbcca054_0    conda-forge
ld_impl_linux-64          2.40                 h41732ed_0    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 13.1.0               he5830b7_0    conda-forge
libgomp                   13.1.0               he5830b7_0    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libsqlite                 3.42.0               h2797004_0    conda-forge
libstdcxx-ng              13.1.0               hfd8a6a1_0    conda-forge
libzlib                   1.2.13               hd590300_5    conda-forge
ncurses                   6.4                  hcb278e6_0    conda-forge
openssl                   3.1.1                hd590300_1    conda-forge
pip                       23.1.2             pyhd8ed1ab_0    conda-forge
python                    3.7.12          hf930737_100_cpython    conda-forge
readline                  8.2                  h8228510_1    conda-forge
setuptools                68.0.0             pyhd8ed1ab_0    conda-forge
sqlite                    3.42.0               h2c6b66d_0    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
wheel                     0.40.0             pyhd8ed1ab_0    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
zipp                      3.16.0             pyhd8ed1ab_0    conda-forge

Environment info

active environment : test
    active env location : /usr/share/miniconda/envs/test
            shell level : 2
       user config file : /home/runner/.condarc
 populated config files : /home/runner/.condarc
          conda version : 23.3.1
    conda-build version : not installed
         python version : 3.10.10.final.0
       virtual packages : __archspec=1=x86_64
                          __glibc=2.35=0
                          __linux=5.15.0=0
                          __unix=0=0
       base environment : /usr/share/miniconda  (writable)
      conda av data dir : /usr/share/miniconda/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/runner/conda_pkgs_dir
       envs directories : /usr/share/miniconda/envs
                          /home/runner/.conda/envs
               platform : linux-64
             user-agent : conda/23.3.1 requests/2.28.1 CPython/3.10.10 Linux/5.15.0-1041-azure ubuntu/22.04.2 glibc/2.35
                UID:GID : 1001:123
             netrc file : None
           offline mode : False
@jdblischak
Copy link
Member

This can be closed now that #43 and conda-forge/conda-forge-repodata-patches-feedstock#478 have been merged

@rly rly closed this as completed Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants