Remove usage of .whl file as Source of python packages #562

Closed
opened 2025-12-29 01:24:24 +01:00 by mcepl · 0 comments
Owner

We’ve detected some packages in Factory that are using the .whl file as source so there’s nothing in the %build phase and the package is not being built in the OBS infrastructure.

We need to fix those packages (when possible), and do not have any package that is not building. We should use the .tar.gz from pypi and if the source dist is not provided there we should go for the upstream source.


Checklist: Potential wrong packages

Trello Comments

Daniel García Moreno (2024-05-13):

Looks like it’s a common pattern in jupyter packages because of javascript and hard to rebuild python packages without internet connection to download the js dependencies.

For some of these packages I’ve used the https://github.com/openSUSE/obs-service-node_modules , but it’s not that simple for others.

We’ve detected some packages in Factory that are using the `.whl` file as source so there’s nothing in the `%build` phase and the package is not being built in the OBS infrastructure. We need to fix those packages (when possible), and do not have any package that is not building. We should use the `.tar.gz` from pypi and if the source dist is not provided there we should go for the upstream source. --- ### Checklist: Potential wrong packages - [x] python-PsyLab (delete-request https://build.opensuse.org/request/show/1172737) - [x] python-sidecar https://build.opensuse.org/request/show/1172757 - [x] python-pyviz-comms https://build.opensuse.org/request/show/1172347 - [x] python-sox https://build.opensuse.org/request/show/1173977 - [x] python-jaraco.packaging (sample for tests) - [x] python-ipyscales https://build.opensuse.org/request/show/1177756 - [x] python-pip-run (needed for tests) - [x] python-panel https://build.opensuse.org/request/show/1172393 - [x] python-pythreejs (deleted) https://build.opensuse.org/request/show/1189362 - [x] python-nbclassic https://build.opensuse.org/request/show/1189394 - [x] python-nose2 (needed for tests) - [x] python-plaster https://build.opensuse.org/request/show/1173987 - [x] python-ipympl https://build.opensuse.org/request/show/1177588 - [x] python-jupyterlab-templates https://build.opensuse.org/request/show/1172850 - [x] python-jupyter-server-mathjax https://build.opensuse.org/request/show/1172851 - [x] python-jupyterlab https://build.opensuse.org/request/show/1172763 - [x] python-hupper https://build.opensuse.org/request/show/1177531 - [x] python-jupyterlab-pygments https://build.opensuse.org/request/show/1172853 - [ ] python-ipyevents (hard to port to use obs node_modules) - [ ] python-ipydatawidgets (hard to port to use obs node_modules) - [x] python-build (needed for tests) - [x] jupyter-jupyterlab-latex https://build.opensuse.org/request/show/1172868 ### Trello Comments **Daniel García Moreno** (2024-05-13): > Looks like it’s a common pattern in jupyter packages because of javascript and hard to rebuild python packages without internet connection to download the js dependencies. ‌ For some of these packages I’ve used the [https://github.com/openSUSE/obs-service-node_modules](https://github.com/openSUSE/obs-service-node_modules "smartCard-inline") , but it’s not that simple for others.
mcepl closed this issue 2025-12-29 01:24:24 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: python/_ObsPrj#562