Installation error with pip >= 24.1
ollyhensby opened this issue · comments
Bug description
Installing binderhub
fails when using pip >= 24.1.
How to reproduce
- Upgrade to latest pip (24.1.2)
pip install --upgrade pip
- Install binderhub
pip install binderhub
- See error
Collecting binderhub
Downloading binderhub-0.1.0-py3-none-any.whl.metadata (3.6 kB)
WARNING: Ignoring version 0.1.0 of binderhub since it has invalid metadata:
Requested binderhub from https://files.pythonhosted.org/packages/de/a2/b2c2477c29a7f8d4ce684b9dac366e6d67185b715042d445b209bae2d17d/binderhub-0.1.0-py3-none-any.whl has invalid metadata: .* suffix can only be used with `==` or `!=` operators
kubernetes (>=4.*)
~~~~^
Please use pip<24.1 if you need to use this version.
ERROR: Could not find a version that satisfies the requirement binderhub (from versions: 0.1.0)
ERROR: No matching distribution found for binderhub
Expected behaviour
Expect to install binderhub successfully.
Note that installation works fine with pip < 24.1
Actual behaviour
Does not install successfully and errors.
Your personal set up
- OS:
ubuntu 22.04 - Version(s):
Python 3.12.4
Full environment
# packages in environment at /home/jovyan/miniforge3/envs/test-binderhub:
#
# Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 2_gnu conda-forge
bzip2 1.0.8 h4bc722e_7 conda-forge
ca-certificates 2024.7.4 hbcca054_0 conda-forge
ld_impl_linux-64 2.40 hf3520f5_7 conda-forge
libexpat 2.6.2 h59595ed_0 conda-forge
libffi 3.4.2 h7f98852_5 conda-forge
libgcc-ng 14.1.0 h77fa898_0 conda-forge
libgomp 14.1.0 h77fa898_0 conda-forge
libnsl 2.0.1 hd590300_0 conda-forge
libsqlite 3.46.0 hde9e2c9_0 conda-forge
libuuid 2.38.1 h0b41bf4_0 conda-forge
libxcrypt 4.4.36 hd590300_1 conda-forge
libzlib 1.3.1 h4ab18f5_1 conda-forge
ncurses 6.5 h59595ed_0 conda-forge
openssl 3.3.1 h4bc722e_2 conda-forge
pip 24.1.2 pypi_0 pypi
python 3.12.4 h194c7f8_0_cpython conda-forge
readline 8.2 h8228510_1 conda-forge
setuptools 70.3.0 pyhd8ed1ab_0 conda-forge
tk 8.6.13 noxft_h4845f30_101 conda-forge
tzdata 2024a h0c530f3_0 conda-forge
wheel 0.43.0 pyhd8ed1ab_1 conda-forge
xz 5.2.6 h166bdaf_0 conda-forge
Configuration
# jupyterhub_config.py
Logs
BinderHub is using a continously deployable setup, where every merged PR is deployed to mybinder.org
https://github.com/jupyterhub/binderhub?tab=readme-ov-file#installation
The pypi package isn't up to date. If you've found somewhere that says to install from PyPI can you let us know so we can update it?
The installation using PyPI is happening in our own repository, not in any jupyterhub repositories. We will update to install as suggested here: https://github.com/jupyterhub/binderhub?tab=readme-ov-file#installation and hopefully that resolves the issue for us. Cheers!