Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-python/jupyterlab_widgets: add new package #36723

Closed
wants to merge 2 commits into from

Conversation

efferre79
Copy link
Contributor

This would solve

https://bugs.gentoo.org/show_bug.cgi?id=932031
https://bugs.gentoo.org/show_bug.cgi?id=932075.


Please check all the boxes that apply:

  • I can submit this contribution in agreement with the Copyright Policy.
  • I have certified the above via adding a Signed-off-by line to every commit in the pull request.
  • This contribution has not been created with the assistance of Natural Language Processing artificial intelligence tools, in accordance with the AI policy.
  • I have run pkgcheck scan --commits --net to check for issues with my commits.

Please note that all boxes must be checked for the pull request to be merged.

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @efferre79
Areas affected: ebuilds
Packages affected: dev-python/ipywidgets, dev-python/jupyterlab_widgets

dev-python/ipywidgets: @gentoo/sci, @gentoo/python
dev-python/jupyterlab_widgets: @gentoo/proxy-maint (new package)

Linked bugs

Bugs linked: 932075, 932031

Missing GCO sign-off

Please read the terms of Gentoo Certificate of Origin and acknowledge them by adding a sign-off to all your commits.


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added new package The PR is adding a new package. assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. no signoff One or more commits do not indicate GCO sign-off. labels May 17, 2024
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2024-05-17 16:40 UTC
Newest commit scanned: f4849ab
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/7c7019651c/output.html

Copy link
Member

@AndrewAmmerlaan AndrewAmmerlaan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, can you rework this so we have one commit per package. And please add a signed-off-by line as indicated by the bot above.

>=dev-python/ipython_genutils-0.2.0[${PYTHON_USEDEP}]
>=dev-python/traitlets-4.3.1[${PYTHON_USEDEP}]
>=dev-python/widgetsnbextension-4.0.10[${PYTHON_USEDEP}]
>=dev-python/jupyterlab_widgets-3.0.10[${PYTHON_USEDEP}]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be an optional dependency?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean that on dev-python/jupyterlab_widgets? It is the same as for dev-python/widgetsnbextension which is the legacy way, latest jupyter requires dev-python/jupyterlab_widgets, see the docs. Right now ipywidgets disables jupyterlab_widgets because the package is not in portage, the result is that the widgets are not available in the browser

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, then we'll indeed have to revbump and add it as required.


LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add only keywords that you have tested the package on (and only unstable keywords)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll have to drop these keywords in ipywidgets.ebuild as well.

PYTHON_COMPAT=( pypy3 python3_{10..12} )
PYTHON_REQ_USE="threads(+)"

inherit distutils-r1 pypi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about using the github tarballs instead, they have tests. Would this work?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have copied and adapted the ebuild from widgetsnbextension

@efferre79
Copy link
Contributor Author

@AndrewAmmerlaan I have created now two atomic commits with a signed-off-by line, one for jupyterlab_widgets and the other for a new ebuild release of ipywidgets.

KEYWORDS="~amd64 ~x86"

BDEPEND="
dev-python/jupyter-packaging[${PYTHON_USEDEP}]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should also depend on jupyterlab according to pyproject.toml

@AndrewAmmerlaan
Copy link
Member

@AndrewAmmerlaan I have created now two atomic commits with a signed-off-by line, one for jupyterlab_widgets and the other for a new ebuild release of ipywidgets.

Thanks, could you squash the older commits into the new commits so we have only the two commits we need here?

efferre79 and others added 2 commits May 20, 2024 17:46
jupyerlab_widgets is needed for latest notebook version

Bug: https://bugs.gentoo.org/932075
Signed-off-by: Fabio Rossi <fabio.rossi@elettra.eu>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2024-05-20 16:45 UTC
Newest commit scanned: 61e7653
Status: ❌ broken

New issues caused by PR:
https://qa-reports.gentoo.org/output/gentoo-ci/79f878524b/output.html#dev-python/jupyterlab_widgets

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/79f878524b/output.html

@AndrewAmmerlaan
Copy link
Member

Thanks, I resolved the QA complaint, the new package needed masking on amd64 - x32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. new package The PR is adding a new package. no signoff One or more commits do not indicate GCO sign-off.
Projects
None yet
4 participants