conda-forge / zipp-feedstock Goto Github PK
View Code? Open in Web Editor NEWA conda-smithy repository for zipp.
License: BSD 3-Clause "New" or "Revised" License
A conda-smithy repository for zipp.
License: BSD 3-Clause "New" or "Revised" License
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.
# 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
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
Issue:
After upgrading to zipp 2.0.0, I'm getting a PluginValidationError
when running pytest
command (traceback below).
I suspect the problem is that conda build found the version number to be 0.0.0 while building the package. That creates a folder zip-0.0.0.dist-info
inside the package which leads to a failure in version check made by pluggy
: Plugin 'nbval' could not be loaded: (zipp 0.0.0 (/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages), Requirement.parse('zipp>=0.5')
I couldn't find out why conda build got version 0.0.0
.
Traceback (most recent call last):
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/pluggy/manager.py", line 274, in load_setuptools_entrypoints
plugin = ep.load()
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2443, in load
self.require(*args, **kwargs)
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2466, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/pkg_resources/__init__.py", line 792, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (zipp 0.0.0 (/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages), Requirement.parse('zipp>=0.5'), {'importlib-metadata'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/igor/w/rfdap/envs/zipp-prob/bin/pytest", line 11, in <module>
sys.exit(main())
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/_pytest/config/__init__.py", line 60, in main
config = _prepareconfig(args, plugins)
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/_pytest/config/__init__.py", line 204, in _prepareconfig
pluginmanager=pluginmanager, args=args
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/pluggy/hooks.py", line 289, in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/pluggy/manager.py", line 68, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/pluggy/manager.py", line 62, in <lambda>
firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/pluggy/callers.py", line 203, in _multicall
gen.send(outcome)
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/_pytest/helpconfig.py", line 93, in pytest_cmdline_parse
config = outcome.get_result()
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result
raise ex[1].with_traceback(ex[2])
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall
res = hook_impl.function(*args)
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/_pytest/config/__init__.py", line 684, in pytest_cmdline_parse
self.parse(args)
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/_pytest/config/__init__.py", line 901, in parse
self._preparse(args, addopts=addopts)
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/_pytest/config/__init__.py", line 846, in _preparse
self.pluginmanager.load_setuptools_entrypoints("pytest11")
File "/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages/pluggy/manager.py", line 280, in load_setuptools_entrypoints
message="Plugin %r could not be loaded: %s!" % (ep.name, e),
pluggy.manager.PluginValidationError: Plugin 'nbval' could not be loaded: (zipp 0.0.0 (/home/igor/w/rfdap/envs/zipp-prob/lib/python3.6/site-packages), Requirement.parse('zipp>=0.5'), {'importlib-metadata'})!
conda list
):
$ conda list
# packages in environment at /home/igor/w/rfdap/envs/zipp-prob:
#
# Name Version Build Channel
apipkg 1.5 py_0 mirror-conda-forge
asn1crypto 1.3.0 py36_0 mirror-conda-forge
atomicwrites 1.3.0 py_0 mirror-conda-forge
attrs 19.3.0 py_0 mirror-conda-forge
backcall 0.1.0 py_0 mirror-conda-forge
bleach 3.1.0 pypi_0 pypi
ca-certificates 2019.11.28 hecc5488_0 mirror-conda-forge
certifi 2019.11.28 py36_0 mirror-conda-forge
cffi 1.13.2 py36h8022711_0 mirror-conda-forge
cov-core 1.15.0 py_1 mirror-conda-forge
coverage 4.5.4 py36h516909a_0 mirror-conda-forge
cryptography 2.8 py36h72c5cf5_1 mirror-conda-forge
decorator 4.4.1 py_0 mirror-conda-forge
entrypoints 0.3 py36_1000 mirror-conda-forge
execnet 1.5.0 py_0 mirror-conda-forge
icu 64.2 he1b5a44_1 mirror-conda-forge
idna 2.8 py36_1000 mirror-conda-forge
importlib_metadata 1.4.0 py36_0 mirror-conda-forge
ipykernel 4.8.2 py36_0 mirror-conda-forge
ipython 6.4.0 py36_0 mirror-conda-forge
ipython_genutils 0.2.0 py_1 mirror-conda-forge
ipywidgets 7.2.1 py36_1 mirror-conda-forge
jedi 0.15.2 py36_0 mirror-conda-forge
jinja2 2.10.3 py_0 mirror-conda-forge
jsonschema 3.2.0 py36_0 mirror-conda-forge
jupyter_client 5.3.3 py36_1 mirror-conda-forge
jupyter_contrib_core 0.3.3 py_2 mirror-conda-forge
jupyter_contrib_nbextensions 0.5.0 py36_1000 mirror-conda-forge
jupyter_core 4.4.0 py_0 mirror-conda-forge
jupyter_highlight_selected_word 0.2.0 py36_1000 mirror-conda-forge
jupyter_latex_envs 1.4.4 py36_1000 mirror-conda-forge
jupyter_nbextensions_configurator 0.4.1 py36_0 mirror-conda-forge
jupytext 1.1.1 0 mirror-conda-forge
libffi 3.2.1 h4deb6c0_3 mirror-main
libgcc-ng 9.1.0 hdf63c60_0 mirror-main
libiconv 1.15 h516909a_1005 mirror-conda-forge
libsodium 1.0.17 h516909a_0 mirror-conda-forge
libstdcxx-ng 9.1.0 hdf63c60_0 mirror-main
libxml2 2.9.10 hee79883_0 mirror-conda-forge
libxslt 1.1.33 h31b3aaa_0 mirror-conda-forge
lxml 4.4.2 py36h7ec2d77_0 mirror-conda-forge
markupsafe 1.1.1 py36h516909a_0 mirror-conda-forge
mistune 0.8.4 py36h516909a_1000 mirror-conda-forge
mock 1.0.1 py36hef2abea_0 esss
more-itertools 4.3.0 py36_1000 mirror-conda-forge
nb_conda 2.2.1 py36_2 mirror-conda-forge
nb_conda_kernels 2.2.2 py36_0 mirror-conda-forge
nbconvert 5.3.0 py36_0 mirror-conda-forge
nbformat 5.0.3 py_0 mirror-conda-forge
nbval 0.9.3 py_0 mirror-conda-forge
ncurses 6.1 hf484d3e_1002 mirror-conda-forge
notebook 6.0.1 py36_0 mirror-conda-forge
openssl 1.1.1d h516909a_0 mirror-conda-forge
pandoc 2.8.0.1 0 mirror-conda-forge
pandocfilters 1.4.2 py_1 mirror-conda-forge
parso 0.5.2 py_0 mirror-conda-forge
pexpect 4.7.0 py36_0 mirror-conda-forge
pickleshare 0.7.5 py36_1000 mirror-conda-forge
pip 19.3.1 py36_0 mirror-conda-forge
pluggy 0.11.0 py_0 mirror-conda-forge
prometheus_client 0.7.1 py_0 mirror-conda-forge
prompt_toolkit 1.0.15 py_1 mirror-conda-forge
ptyprocess 0.6.0 py_1001 mirror-conda-forge
py 1.7.0 py_0 mirror-conda-forge
pycparser 2.19 py36_1 mirror-conda-forge
pygments 2.5.2 py_0 mirror-conda-forge
pyopenssl 17.2.0 py36_0 mirror-conda-forge
pyrsistent 0.15.7 py36h516909a_0 mirror-conda-forge
pytest 4.5.0 py36_0 mirror-conda-forge
pytest-cov 2.6.1 py_0 mirror-conda-forge
pytest-cpp 1.1.0 py_0 mirror-conda-forge
pytest-datadir 1.3.0 py_0 mirror-conda-forge
pytest-forked 1.1.2 py_0 mirror-conda-forge
pytest-lazy-fixture 0.5.1 py_0 mirror-conda-forge
pytest-localserver 0.5.0 py_0 mirror-conda-forge
pytest-mock 1.10.0 py36_1000 mirror-conda-forge
pytest-regressions 1.0.5 py36_2 mirror-conda-forge
pytest-replay 0.2.2 0 mirror-conda-forge
pytest-rerunfailures 7.0 py_0 mirror-conda-forge
pytest-timeout 1.3.3 py_0 mirror-conda-forge
pytest-xdist 1.29.0 py_0 mirror-conda-forge
python 3.6.7 h381d211_1004 mirror-conda-forge
python-dateutil 2.8.1 py_0 mirror-conda-forge
pyyaml 5.3 py36h516909a_0 mirror-conda-forge
pyzmq 18.1.1 py36h1768529_0 mirror-conda-forge
readline 7.0 hf8c457e_1001 mirror-conda-forge
send2trash 1.5.0 py_0 mirror-conda-forge
setuptools 45.1.0 py36_0 mirror-conda-forge
simplegeneric 0.8.1 py_1 mirror-conda-forge
six 1.14.0 py36_0 mirror-conda-forge
sqlite 3.28.0 h8b20d00_0 mirror-conda-forge
terminado 0.8.3 py36_0 mirror-conda-forge
testfixtures 6.10.0 py_0 mirror-conda-forge
testpath 0.4.4 py_0 mirror-conda-forge
tk 8.6.10 hed695b0_0 mirror-conda-forge
tornado 5.1 py36h470a237_1 mirror-conda-forge
traitlets 4.3.3 py36_0 mirror-conda-forge
wcwidth 0.1.8 py_0 mirror-conda-forge
webencodings 0.5.1 py_1 mirror-conda-forge
werkzeug 0.14.1 py_0 mirror-conda-forge
wheel 0.33.6 py36_0 mirror-conda-forge
widgetsnbextension 3.2.1 py36_1 mirror-conda-forge
xz 5.2.4 h14c3975_1001 mirror-conda-forge
yaml 0.2.2 h516909a_1 mirror-conda-forge
zeromq 4.3.2 he1b5a44_2 mirror-conda-forge
zipp 2.0.0 py_0 mirror-conda-forge
zlib 1.2.11 h516909a_1006 mirror-conda-forge
conda
and system ( conda info
):
$ conda info
active environment : zipp-prob
active env location : /home/igor/w/rfdap/envs/zipp-prob
shell level : 1
user config file : /home/igor/.condarc
populated config files : /home/igor/Work/miniconda/.condarc
/home/igor/w/rfdap/.condarc
conda version : 4.6.2
conda-build version : 3.17.8
python version : 3.6.7.final.0
base environment : /home/igor/Work/miniconda (writable)
channel URLs : https://esss:[email protected]/conda-channel/esss/linux-64
https://esss:[email protected]/conda-channel/esss/noarch
https://esss:[email protected]/conda-channel/mirror-main/linux-64
https://esss:[email protected]/conda-channel/mirror-main/noarch
https://esss:[email protected]/conda-channel/mirror-conda-forge/linux-64
https://esss:[email protected]/conda-channel/mirror-conda-forge/noarch
package cache : /home/igor/Work/miniconda/pkgs
/home/igor/.conda/pkgs
envs directories : /home/igor/w/rfdap/envs
/home/igor/Work/miniconda/envs
/home/igor/.conda/envs
platform : linux-64
user-agent : conda/4.6.2 requests/2.22.0 CPython/3.6.7 Linux/4.15.0-74-generic ubuntu/18.04.3 glibc/2.27
UID:GID : 1000:1000
netrc file : None
offline mode : False
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.