pip-upgrade icon indicating copy to clipboard operation
pip-upgrade copied to clipboard

for information: current false positive with bokeh versus panel

Open peutch opened this issue 7 months ago • 4 comments

Hi, pip-upgrade command shows bokeh as possible upgrade candidate but doing this breaks the panel package. Thanks!

$ pip-upgrade 
Checking outdated packages...
Skipping nmslib, warning: Name mismatch. This will be improved. Manually upgrade if needed
Skipping extract-msg, warning: Name mismatch. This will be improved. Manually upgrade if needed
These packages will be upgraded:  ['bokeh', 'fastcore', 'gcsfs', 'hypothesis', 'pynvml', 'pypdf', 's3fs', 'tensorflow', 'validators', 'whatthepatch', 'zstandard']
Continue? (y/n or -e/-r/--help): n
All packages are up to date! 🎉

$ pip install -U bokeh
Requirement already satisfied: bokeh in /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages (3.4.2)
Collecting bokeh
  Using cached bokeh-3.5.0-py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: Jinja2>=2.9 in /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages (from bokeh) (3.1.4)
Requirement already satisfied: contourpy>=1.2 in /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages (from bokeh) (1.2.1)
Requirement already satisfied: numpy>=1.16 in /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages (from bokeh) (1.26.4)
Requirement already satisfied: packaging>=16.8 in /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages (from bokeh) (23.2)
Requirement already satisfied: pandas>=1.2 in /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages (from bokeh) (2.2.2)
Requirement already satisfied: pillow>=7.1.0 in /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages (from bokeh) (10.4.0)
Requirement already satisfied: PyYAML>=3.10 in /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages (from bokeh) (6.0.1)
Requirement already satisfied: tornado>=6.2 in /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages (from bokeh) (6.4.1)
Requirement already satisfied: xyzservices>=2021.09.1 in /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages (from bokeh) (2024.6.0)
Requirement already satisfied: MarkupSafe>=2.0 in /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages (from Jinja2>=2.9->bokeh) (2.1.5)
Requirement already satisfied: python-dateutil>=2.8.2 in /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages (from pandas>=1.2->bokeh) (2.9.0.post0)
Requirement already satisfied: pytz>=2020.1 in /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages (from pandas>=1.2->bokeh) (2024.1)
Requirement already satisfied: tzdata>=2022.7 in /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages (from pandas>=1.2->bokeh) (2024.1)
Requirement already satisfied: six>=1.5 in /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages (from python-dateutil>=2.8.2->pandas>=1.2->bokeh) (1.16.0)
Using cached bokeh-3.5.0-py3-none-any.whl (6.8 MB)
Installing collected packages: bokeh
  Attempting uninstall: bokeh
    Found existing installation: bokeh 3.4.2
    Uninstalling bokeh-3.4.2:
      Successfully uninstalled bokeh-3.4.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
panel 1.4.4 requires bokeh<3.5.0,>=3.4.0, but you have bokeh 3.5.0 which is incompatible.
Successfully installed bokeh-3.5.0

$ pip show panel
Name: panel
Version: 1.4.4
Summary: The powerful data exploration & web app framework for Python.
Home-page: http://panel.holoviz.org
Author: HoloViz
Author-email: [email protected]
License: BSD
Location: /srv/backup/local/python3.11_venv/jupyterlab/lib/python3.11/site-packages
Requires: bleach, bokeh, linkify-it-py, markdown, markdown-it-py, mdit-py-plugins, pandas, param, pyviz-comms, requests, tqdm, typing-extensions, xyzservices
Required-by: holoviews

peutch avatar Jul 15 '24 09:07 peutch