Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Missing (?) deps for python3-jupyter_events
@ 2025-04-20  0:16 tornaria
  2025-04-20  0:29 ` tornaria
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: tornaria @ 2025-04-20  0:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]

New issue by tornaria on void-packages repository

https://github.com/void-linux/void-packages/issues/55132

Description:
### Is this a new report?

Yes

### System Info

x86_64

### Package(s) Affected

python3-jupyter_events-0.10.0_2, python3-jsonschema-4.23.0_3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

No missing deps

### Actual behaviour

The python package `jupyter-events` depends on `jsonschema[format-nongpl]>=4.18.0`, but we only provide `jsonschema`. In order to provide `jsonschema[format-nongpl]` we are missing `fqn`, `isoduration`, `uri-template`, `webcolors`.

### Steps to reproduce

```
$ python -c 'from build._util import check_dependency;print(*check_dependency("jupyter-events"),sep="\n")'
('jupyter-events', 'jsonschema[format-nongpl]>=4.18.0', 'fqdn; extra == "format-nongpl"')
('jupyter-events', 'jsonschema[format-nongpl]>=4.18.0', 'isoduration; extra == "format-nongpl"')
('jupyter-events', 'jsonschema[format-nongpl]>=4.18.0', 'jsonpointer>1.13; extra == "format-nongpl"')
('jupyter-events', 'jsonschema[format-nongpl]>=4.18.0', 'uri-template; extra == "format-nongpl"')
('jupyter-events', 'jsonschema[format-nongpl]>=4.18.0', 'webcolors>=24.6.0; extra == "format-nongpl"')
```

Note: installing `python3-jsonpointer` fixes that one, but the other four are not packaged.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Missing (?) deps for python3-jupyter_events
  2025-04-20  0:16 [ISSUE] Missing (?) deps for python3-jupyter_events tornaria
@ 2025-04-20  0:29 ` tornaria
  2025-04-20  0:52 ` classabbyamp
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: tornaria @ 2025-04-20  0:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1086 bytes --]

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/issues/55132#issuecomment-2816921630

Comment:
I see two ways out:
- package the four missing dependencies and add those five dependencies to `python3-jupyter_events`.
- patch `python3-jupyter_events` to depend on `jsonschema` instead of `jsonschema[format-nongpl]`.

This is relevant when building a package that (directly or indirectly) requires `jupyter_events` at build time (this is forcing us sometimes to patch out dependencies or use `--skip-dependency-check`, which are non-optimal workarounds).

Related issue: how to catch this type of missing dependencies. The way the pre-hook `pre-pkg/06-verify-python-deps.sh` checks dependencies is not taking this "extra" argument to dependencies. Ideally, it would complain when packaging `jupyter_events` that its dependencies are missing, but this doesn't seem easy.

Maybe one option is to install the wheel into a venv (as we do for testing) and use `build._util.check_dependency()` as above.

Any thoughts about this @classabbyamp ?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Missing (?) deps for python3-jupyter_events
  2025-04-20  0:16 [ISSUE] Missing (?) deps for python3-jupyter_events tornaria
  2025-04-20  0:29 ` tornaria
@ 2025-04-20  0:52 ` classabbyamp
  2025-05-01 23:34 ` tornaria
  2025-05-01 23:34 ` [ISSUE] [CLOSED] " tornaria
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2025-04-20  0:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 292 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/55132#issuecomment-2816928513

Comment:
> package the four missing dependencies and add those five dependencies to `python3-jupyter_events`

they're dependencies, they should be added

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ISSUE] [CLOSED] Missing (?) deps for python3-jupyter_events
  2025-04-20  0:16 [ISSUE] Missing (?) deps for python3-jupyter_events tornaria
                   ` (2 preceding siblings ...)
  2025-05-01 23:34 ` tornaria
@ 2025-05-01 23:34 ` tornaria
  3 siblings, 0 replies; 5+ messages in thread
From: tornaria @ 2025-05-01 23:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1398 bytes --]

Closed issue by tornaria on void-packages repository

https://github.com/void-linux/void-packages/issues/55132

Description:
### Is this a new report?

Yes

### System Info

x86_64

### Package(s) Affected

python3-jupyter_events-0.10.0_2, python3-jsonschema-4.23.0_3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

No missing deps

### Actual behaviour

The python package `jupyter-events` depends on `jsonschema[format-nongpl]>=4.18.0`, but we only provide `jsonschema`. In order to provide `jsonschema[format-nongpl]` we are missing `fqn`, `isoduration`, `uri-template`, `webcolors`.

### Steps to reproduce

```
$ python -c 'from build._util import check_dependency;print(*check_dependency("jupyter-events"),sep="\n")'
('jupyter-events', 'jsonschema[format-nongpl]>=4.18.0', 'fqdn; extra == "format-nongpl"')
('jupyter-events', 'jsonschema[format-nongpl]>=4.18.0', 'isoduration; extra == "format-nongpl"')
('jupyter-events', 'jsonschema[format-nongpl]>=4.18.0', 'jsonpointer>1.13; extra == "format-nongpl"')
('jupyter-events', 'jsonschema[format-nongpl]>=4.18.0', 'uri-template; extra == "format-nongpl"')
('jupyter-events', 'jsonschema[format-nongpl]>=4.18.0', 'webcolors>=24.6.0; extra == "format-nongpl"')
```

Note: installing `python3-jsonpointer` fixes that one, but the other four are not packaged.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Missing (?) deps for python3-jupyter_events
  2025-04-20  0:16 [ISSUE] Missing (?) deps for python3-jupyter_events tornaria
  2025-04-20  0:29 ` tornaria
  2025-04-20  0:52 ` classabbyamp
@ 2025-05-01 23:34 ` tornaria
  2025-05-01 23:34 ` [ISSUE] [CLOSED] " tornaria
  3 siblings, 0 replies; 5+ messages in thread
From: tornaria @ 2025-05-01 23:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/issues/55132#issuecomment-2845996430

Comment:
Solved as part of #54631

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-05-01 23:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-20  0:16 [ISSUE] Missing (?) deps for python3-jupyter_events tornaria
2025-04-20  0:29 ` tornaria
2025-04-20  0:52 ` classabbyamp
2025-05-01 23:34 ` tornaria
2025-05-01 23:34 ` [ISSUE] [CLOSED] " tornaria

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).