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

pyoxisizer: init at 0.10.3 #107175

Closed
wants to merge 1 commit into from

Conversation

matthiasbeyer
Copy link
Contributor

Motivation for this change

Closes #104218

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • 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.

CC @layday for testing

Metadata for this package is missing as I don't know what platforms it works on and also because I don't want to take maintainership. Maybe @layday would like to be maintainer for this?

Copy link
Member

@Emantor Emantor left a comment

Choose a reason for hiding this comment

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

  • builds
1 package built:
pyoxidizer
  • binary works in so far that the help text is output
  • license is correct (in suggested meta tag)
  • bin includes a binary named release, what does this do?

pkgs/development/tools/pyoxidizer/default.nix Show resolved Hide resolved
@layday
Copy link

layday commented Dec 29, 2020 via email

@matthiasbeyer
Copy link
Contributor Author

. I don’t think pyoxidizer build will work on Darwin without pulling in the SDK - the runtime depends on several of Apple’s frameworks.

Feel free to send me patches for this, I don't have the infrastructure to test on Apple.

@matthiasbeyer
Copy link
Contributor Author

@layday feel also free to send me a patch taking maintainership for this. I don't want to be maintainer, I just wanted to help to close #104218

@layday
Copy link

layday commented Dec 29, 2020 via email

@@ -0,0 +1,30 @@
{ stdenv
, pkgconfig
, python38
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to pin python38 here?

Copy link
Member

Choose a reason for hiding this comment

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

Please rather use python3.

pkgs/development/tools/pyoxidizer/default.nix Show resolved Hide resolved
pkgs/development/tools/pyoxidizer/default.nix Outdated Show resolved Hide resolved
pkgs/development/tools/pyoxidizer/default.nix Outdated Show resolved Hide resolved
pkgs/development/tools/pyoxidizer/default.nix Outdated Show resolved Hide resolved
pkgs/development/tools/pyoxidizer/default.nix Outdated Show resolved Hide resolved

cargoSha256 = "14k81n56w29fdwm1bwbsmb3p7nawjbvfrqg2p74a0bz33hq5iby3";
depsBuildBuild = [ openssl pkg-config python38 ];
doCheck = false;
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 a comment why you disabled tests.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
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.

PyOxidizer
4 participants