Skip to content

Relax or remove jupyterlab from some packages#250886

Merged
tjni merged 6 commits intoNixOS:staging-nextfrom
tjni:jupyerlab
Aug 24, 2023
Merged

Relax or remove jupyterlab from some packages#250886
tjni merged 6 commits intoNixOS:staging-nextfrom
tjni:jupyerlab

Conversation

@tjni
Copy link
Contributor

@tjni tjni commented Aug 23, 2023

Description of changes

Several packages declare in their pyproject.toml a dependency on jupyterlab v3. These builds now fail after #248866 due to stronger build dependency validation.

I'm pretty new to this ecosystem, so I did my best patching out the dependency when it seems unneeded and relaxing them when the build still seems to work.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Aug 23, 2023
@tjni
Copy link
Contributor Author

tjni commented Aug 23, 2023

@ofborg build python310Packages.anywidget python311Packages.anywidget
@ofborg build python310Packages.bqscales python311Packages.bqscales
@ofborg build python310Packages.ipyniivue python311Packages.ipyniivue
@ofborg build python310Packages.ipycanvas python311Packages.ipycanvas
@ofborg build python310Packages.ipyparallel python311Packages.ipyparallel
@ofborg build python310Packages.ipytablewidgets python311Packages.ipytablewidgets

@ofborg ofborg bot requested review from FRidh, bcdarwin and natsukium August 23, 2023 03:21
@ofborg ofborg bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Aug 23, 2023
Copy link
Member

@natsukium natsukium left a comment

Choose a reason for hiding this comment

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

LGTM

@tjni tjni marked this pull request as draft August 24, 2023 00:18
@tjni tjni changed the base branch from master to staging-next August 24, 2023 00:18
@tjni tjni marked this pull request as ready for review August 24, 2023 00:18
@tjni
Copy link
Contributor Author

tjni commented Aug 24, 2023

Merging into staging-next since contributors are already finding these errors, and I'd like to make their lives easier.

@tjni tjni merged commit bab5d91 into NixOS:staging-next Aug 24, 2023
@tjni tjni deleted the jupyerlab branch August 24, 2023 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants