Closed david-waterworth closed 4 weeks ago
Presumably duplicate #8194
Additionally: if you want to know why poetry finds (eg) bokeh 3.5.0 and panel 1.4.4 incompatible: just add both requirements and let it tell you
Ahh right that's a useful tip:
Because XXX depends on panel (1.4.4) which depends on bokeh (>=3.4.0,<3.5.0), bokeh is required.
So, because XXX depends on bokeh (3.5.0), version solving failed.
Although the fact that I can safely downgrade either panel or bokeh seems odd - I don't think there's anything else requiring bokeh 3.5.0 so I think the solver should have preferred panel==1.4.4
and bokeh==3.4.2
over panel==1.5.0b1
and bokeh==3.5.0
.
I think you're right though, it looks like a duplicate - I don't see any resolution to that issue though on first read?
I don't see any resolution to that issue ....
That's why it's still open!
Please close this duplicate.
Description
Adding/updating packages that rely on panel results in 1.5.0b1 rather than 1.44 being installed.
Panel's pre-release version appears to comply with PEP-0440 (1.5.0b1 matches
^([1-9][0-9]*!)?(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*((a|b|rc)(0|[1-9][0-9]*))?(\.post(0|[1-9][0-9]*))?(\.dev(0|[1-9][0-9]*))?$
) andpip install panel
results in 1.4.4 being installed.I've attached the output of
poetry show --tree
and cannot identify anything that's requesting a per-release version.Workarounds
explicitly install
poetry add panel==1.4.4
Note: this downgrades bokeh from 3.5.0 to 3.4.2 - so I guess bokeh 3.5.0 or it's dependencies are the cause but I don't see why.
Poetry Installation Method
pipx
Operating System
Ubuntu 22.04
Poetry Version
1.8.3
Poetry Configuration
Python Sysconfig
No response
Example pyproject.toml
Poetry Runtime Logs