Bug 280752 - devel/py-ipyparallel fails to build with poudriere missing dependencies jupyterlab on amd64 stable-14.1
Summary: devel/py-ipyparallel fails to build with poudriere missing dependencies jupyt...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-11 14:01 UTC by Robert Cina
Modified: 2024-08-23 19:52 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (python)


Attachments
devel/py311-ipyparallel build log failing with missing dependencies (37.25 KB, text/plain)
2024-08-11 14:01 UTC, Robert Cina
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Cina 2024-08-11 14:01:37 UTC
Created attachment 252685 [details]
devel/py311-ipyparallel build log failing with missing dependencies

devel/py-ipyparallel fails to build for me using poudriere with missing dependency issues with respect to jupyterlab. 

14.1-STABLE FreeBSD 14.1-STABLE stable/14-f7425802933 GENERIC amd64

The build log error is below and I have attached the build log as well:

=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for py311-ipyparallel-8.8.0_2
* Getting build dependencies for wheel...

ERROR Missing dependencies:
	jupyterlab==4.*
	jupyterlab-server<3,>=2.27.1 -> jupyter-server<3,>=1.21 -> jupyter-events>=0.9.0 -> jsonschema[format-nongpl]>=4.18.0 -> webcolors>=24.6.0
	jupyterlab==4.*
	jupyter-server<3,>=2.4.0 -> jupyter-events>=0.9.0 -> jsonschema[format-nongpl]>=4.18.0 -> webcolors>=24.6.0
	jupyterlab==4.*
	jupyter-lsp>=2.0.0 -> jupyter-server>=1.1.2 -> jupyter-events>=0.9.0 -> jsonschema[format-nongpl]>=4.18.0 -> webcolors>=24.6.0
	jupyterlab==4.*
	notebook-shim>=0.2 -> jupyter-server<3,>=1.8 -> jupyter-events>=0.9.0 -> jsonschema[format-nongpl]>=4.18.0 -> webcolors>=24.6.0
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-ipyparallel
=>> Cleaning up wrkdir
===>  Cleaning for py311-ipyparallel-8.8.0_2
build of devel/py-ipyparallel@py311 | py311-ipyparallel-8.8.0_2 ended at Sun Aug 11 09:51:27 EDT 2024
build time: 00:00:14
!!! build failure encountered !!!
Comment 1 John Hein 2024-08-23 15:21:33 UTC
Another way to get this error (missing dependency webcolors>=24.6.0) is to 'make build' in devel/py-jupyterlab-widgets:

ERROR Missing dependencies:
        jupyterlab~=4.0
        jupyter-server<3,>=2.4.0 -> jupyter-events>=0.9.0 -> jsonschema[format-nongpl]>=4.18.0 -> webcolors>=24.6.0
        jupyterlab~=4.0
        jupyter-lsp>=2.0.0 -> jupyter-server>=1.1.2 -> jupyter-events>=0.9.0 -> jsonschema[format-nongpl]>=4.18.0 -> webcolors>=24.6.0
        jupyterlab~=4.0
        notebook-shim>=0.2 -> jupyter-server<3,>=1.8 -> jupyter-events>=0.9.0 -> jsonschema[format-nongpl]>=4.18.0 -> webcolors>=24.6.0
        jupyterlab~=4.0
        jupyterlab-server<3,>=2.27.1 -> jupyter-server<3,>=1.21 -> jupyter-events>=0.9.0 -> jsonschema[format-nongpl]>=4.18.0 -> webcolors>=24.6.0
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/py-jupyterlab-widgets


It seems like we need an update to graphics/py-webcolors.


diff --git a/graphics/py-webcolors/Makefile b/graphics/py-webcolors/Makefile
index 32871dce6b89..fda758b9fed0 100644
--- a/graphics/py-webcolors/Makefile
+++ b/graphics/py-webcolors/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=      webcolors
-PORTVERSION=   1.13
+PORTVERSION=   24.8.0
 CATEGORIES=    graphics python
 MASTER_SITES=  PYPI
 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/graphics/py-webcolors/distinfo b/graphics/py-webcolors/distinfo
index bc9573fbe3a1..1bc7a966504e 100644
--- a/graphics/py-webcolors/distinfo
+++ b/graphics/py-webcolors/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1681779281
-SHA256 (webcolors-1.13.tar.gz) = c225b674c83fa923be93d235330ce0300373d02885cef23238813b0d5668304a
-SIZE (webcolors-1.13.tar.gz) = 41152
+TIMESTAMP = 1724426467
+SHA256 (webcolors-24.8.0.tar.gz) = 08b07af286a01bcd30d583a7acadf629583d1f79bfef27dd2c2c5c263817277d
+SIZE (webcolors-24.8.0.tar.gz) = 42392
Comment 2 John Hein 2024-08-23 15:34:00 UTC
Here is where the new webcolors version requirement comes from:

/wrkdirs/usr/ports/devel/py-jsonschema/work-py311/jsonschema-4.23.0/pyproject.toml:  "webcolors>=24.6.0",


webcolors was updated on Aug 21:

https://cgit.freebsd.org/ports/commit/?id=f2e98a83d4b9982a225f83564855c6d65d7667dd
Comment 3 John Hein 2024-08-23 15:44:26 UTC
(In reply to John Hein from comment #2)
webcolors could perhaps have been updated with the py-jsonschema update (Jul 27), but webcolors is listed as an optional dependency in py-jsonschema's pyproject.toml, so it would not be too surprising if that dependency change wasn't noticed.

https://cgit.freebsd.org/ports/commit/devel/py-jsonschema?id=ab94ca54b9027781377dac545b75bad2a3ee1018

In any case, Robert, try updating your ports tree and close this bug if that resolves your failure.
Comment 4 Robert Cina 2024-08-23 16:40:05 UTC
Yes that did indeed seem to fix the failure for me. Thanks. I think this bug can be closed.
Comment 5 John Hein 2024-08-23 19:40:54 UTC
(In reply to Robert Cina from comment #4)
You can close it yourself - change "Status" to "Closed" and "FIXED" or "Overcome by events" probably as the reason for closing - maybe accompanied with a good description.
Comment 6 Robert Cina 2024-08-23 19:52:39 UTC
This port compiles successfully for me on stable 14.1 amd64 after the update to latest ports. It seems webcolors was the issue on August 21. Thanks to John Hein for the info about webcolors in comment1, comment2 and comment2.