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
pythonnet: 2.4.0 -> 2.5.2 #122943
pythonnet: 2.4.0 -> 2.5.2 #122943
Conversation
Result of 2 packages failed to build:1 suggestion:
Note that build failures may predate this PR, and could be nondeterministic or hardware dependent. Result of 2 packages built successfully:
1 suggestion:
|
415f0de
to
8fe631d
Compare
Fixed suggestions and added aarch64 to |
8fe631d
to
f9bac6a
Compare
Applied @jonringer suggestions. |
meta = with lib; { | ||
description = ".Net and Mono integration for Python"; | ||
homepage = "https://pythonnet.github.io"; | ||
license = licenses.mit; | ||
platforms = platforms.all; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
platforms = platforms.all; |
buildPythonPackage defaults to a smaller subset.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Build fails for me on macos 10.15
|
- No longer broken. - Updated mono dependency to mono5. - Fix / improve packaging.
f9bac6a
to
9311ac5
Compare
Applied @SuperSandro2000 's recommendations. |
@risicle : I am sorry, I do not have any macos context to reproduce the issue you mention. Has this ever worked on darwin? Would you like to help me find what's wrong because it is a bit guess work here. Could it be adding |
darwin support will have to be added by someone with darwin. there may be other items which need to be patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Result of nixpkgs-review pr 122943 run on x86_64-linux 1
3 packages built:
- python38Packages.pythonnet
- python39Packages.pythonnet
- tests.trivial
Motivation for this change
#122759 (review)
Noticed package was marked broken as that it was using really old mono.
Also as part of:
#122042
Things done
Tested using sandboxing (nix.useSandbox on NixOS, or option
sandbox
innix.conf
on non-NixOS linux)Built on platform(s)
Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
Tested compilation of all pkgs that depend on this change using
nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
Tested execution of all binary files (usually in
./result/bin/
)Determined the impact on package closure size (by running
nix path-info -S
before and after)Ensured that relevant documentation is up to date
Fits CONTRIBUTING.md.
Upstream package tests now passing.
Tested basic usage from ipython via
nix-shell -I nixpkgs=. -p 'python3.withPackages (pp: with pp; [pythonnet ipython])'
. Seems to work fine, can use dotnet types from python.