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)

main.log (41.2 KB) - added by dershow 9 months ago.

Download all attachments as: .zip

Change History (12)

Changed 9 months ago by dershow

Attachment: main.log added

comment:1 Changed 9 months ago by nilason (Nicklas Larsson)

#69415 is the underlying issue.

comment:2 Changed 9 months ago by nilason (Nicklas Larsson)

Cc: nilason added

comment:3 in reply to:  1 ; 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 in reply to:  3 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.

Last edited 9 months ago by jjstickel (Jonathan Stickel) (previous) (diff)

comment:7 Changed 9 months ago by reneeotten (Renee Otten)

Cc: cimadure added

has duplicate 69427

comment:8 Changed 8 months ago by reneeotten (Renee Otten)

Cc: jmon12 added

has duplicate 69434

comment:9 Changed 8 months ago by nilason (Nicklas Larsson)

In 1451499852e666d1baf286aa553e1978003fc081/macports-ports (master):

qgis3, qgis3-ltr: temporarily disable non-crucial broken port py-plotly

See #69415
See #69416

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: newclosed

In 88cfb11be16551127bcf4121f0c53d9386925e4d/macports-ports (master):

py-plotly: fix jupyterlab version

  • skip dependency check to allow jupyterlab version >3

Closes:

#69416

Note: See TracTickets for help on using tickets.