Opened 9 months ago
Closed 8 months ago
#69416 closed defect (fixed)
py-plotly upgrade fails
Reported by: | dershow | Owned by: | jjstickel (Jonathan Stickel) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | joefowler (Joe Fowler), nilason (Nicklas Larsson), jjstickel (Jonathan Stickel), cimadure (Ronan), jmon12, scrallen | |
Port: | py-plotly |
Description
py-plotly and subports such as py312-plotly are failing to upgrade.
sudo port upgrade py-plotly ---> Computing dependencies for py312-plotly ---> Fetching archive for py312-plotly ---> Attempting to fetch py312-plotly-5.19.0_0.darwin_any.noarch.tbz2 from https://packages.macports.org/py312-plotly ---> Attempting to fetch py312-plotly-5.19.0_0.darwin_any.noarch.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/py312-plotly ---> Attempting to fetch py312-plotly-5.19.0_0.darwin_any.noarch.tbz2 from http://mirror.fcix.net/macports/packages/py312-plotly ---> Building py312-plotly Error: Failed to build py312-plotly: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-plotly/py312-plotly/main.log for details. Error: Problem while installing py312-plotly
In the log file I see an error about jupyterlab, but that is installed.
:info:build ERROR Missing dependencies: :info:build jupyterlab~=3.0; python_version >= "3.6" :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-plotly/py312-plotly/work/plotly-5.19.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-plotly/py312-plotly/work :info:build Exit code: 1
Log file is attached.
Attachments (1)
Change History (12)
Changed 9 months ago by dershow
comment:1 follow-up: 3 Changed 9 months ago by nilason (Nicklas Larsson)
comment:2 Changed 9 months ago by nilason (Nicklas Larsson)
Cc: | nilason added |
---|
comment:3 follow-up: 4 Changed 9 months ago by jjstickel (Jonathan Stickel)
Replying to nilason:
#69415 is the underlying issue.
Not really. They are separate issues. The new version of py-jupyterlab is missing the dependency hatch-jupyter-builder, but that is easy to work around by installing hatch-jupyter-builder. This issue with plotly requiring an old version of jupyterlab is not so easy to fix. It requires plotly upstream to release a version that is compatible with the new jupyterlab.
comment:4 Changed 9 months ago by nilason (Nicklas Larsson)
Replying to jjstickel:
Replying to nilason:
#69415 is the underlying issue.
Not really. They are separate issues. The new version of py-jupyterlab is missing the dependency hatch-jupyter-builder, but that is easy to work around by installing hatch-jupyter-builder. This issue with plotly requiring an old version of jupyterlab is not so easy to fix. It requires plotly upstream to release a version that is compatible with the new jupyterlab.
You're right, they are separate issues. See following discussion regarding plotly working with Jupyterlab 4.
comment:5 Changed 9 months ago by jjstickel (Jonathan Stickel)
Cc: | jjstickel added |
---|
comment:6 Changed 9 months ago by jjstickel (Jonathan Stickel)
I provide a workaround in https://github.com/macports/macports-ports/pull/22861, allowing jupyterlab>3. Basic usage works for me.
comment:9 Changed 8 months ago by nilason (Nicklas Larsson)
comment:10 Changed 8 months ago by scrallen
Cc: | scrallen added |
---|
comment:11 Changed 8 months ago by jjstickel (Jonathan Stickel)
Owner: | set to jjstickel |
---|---|
Resolution: | → fixed |
Status: | new → closed |
#69415 is the underlying issue.