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

python3Packages.scikit-network: init at 0.33.0 #336136

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SimShady
Copy link

@SimShady SimShady commented Aug 20, 2024

Description of changes

Added python package scikit-network

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • 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/)
  • 24.11 Release Notes (or backporting 23.11 and 24.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.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 6.topic: python 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` labels Aug 20, 2024
@NixOSInfra NixOSInfra added the 12. first-time contribution This PR is the author's first one; please be gentle! label Aug 20, 2024
@christoph-heiss christoph-heiss self-requested a review August 20, 2024 19:19
Copy link
Contributor

@christoph-heiss christoph-heiss left a comment

Choose a reason for hiding this comment

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

  • the three commits 7988c47faf346d440d74f73c440d20624c812f3b, 706dc4f8e4542bac75f9de94ce7be6a16595adb0 and afd3fc24dc071af6586aa82f3d7a3c19a160b90f should be squashed together
  • package needs an entry in pkgs/top-level/python-packages.nix
  • the title of the commit introducing the package should be python3Packages.scikit-network: init at 0.33.0

@mweinelt
Copy link
Member

@ofborg eval

@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux labels Aug 20, 2024
@SimShady SimShady force-pushed the add-python-package-scikit-network branch from afd3fc2 to 73f9752 Compare August 21, 2024 07:00
@SimShady SimShady requested a review from natsukium as a code owner August 21, 2024 07:00
@SimShady SimShady force-pushed the add-python-package-scikit-network branch 2 times, most recently from e909864 to 706e860 Compare August 21, 2024 07:22
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux labels Aug 21, 2024
Copy link
Contributor

@christoph-heiss christoph-heiss left a comment

Choose a reason for hiding this comment

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

Also, while building the package is fine, afterwards trying to import it I get an error:

``` >>> import sknetwork Traceback (most recent call last): File "", line 1, in File "/nix/store/fwf4hxkg3nwmdk2n49z6i9cixl7njigc-python3.12-scikit-network-0.33.0/lib/python3.12/site-packages/sknetwork/__init__.py", line 9, in import sknetwork.topology File "/nix/store/fwf4hxkg3nwmdk2n49z6i9cixl7njigc-python3.12-scikit-network-0.33.0/lib/python3.12/site-packages/sknetwork/topology/__init__.py", line 2, in from sknetwork.topology.cliques import count_cliques ModuleNotFoundError: No module named 'sknetwork.topology.cliques' ```

Edit 27-09-2024: This was a fsck-up from my site; apparently python3.11 inside the nixpkgs-review sets the search path wrong for the modules. Now verified the import with both 3.11 and 3.12, both work totally fine!

Thus: LGTM!

@drupol drupol changed the title Add python package scikit network python3Packages.scikit-network: init at 0.33.0 Aug 21, 2024
@SimShady SimShady force-pushed the add-python-package-scikit-network branch from 706e860 to 4ddaa30 Compare August 22, 2024 15:26
@SimShady SimShady force-pushed the add-python-package-scikit-network branch from 4ddaa30 to df2e781 Compare August 22, 2024 15:31
@wegank wegank added the 2.status: merge conflict This PR has merge conflicts with the target branch label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: merge conflict This PR has merge conflicts with the target branch 6.topic: python 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes 12. first-time contribution This PR is the author's first one; please be gentle!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants