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.

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants