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

pythonPackages.imread: 0.6 -> 0.7.0 #61033

Merged
merged 1 commit into from May 7, 2019
Merged

Conversation

luispedro
Copy link
Contributor

Mostly trivial update of version and hashes, but also explicitly use the
right dependencies

Motivation for this change

Updates imread to latest version.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    - [x] other Linux distributions

Mostly trivial update of version and hashes, but also explicitly use the
right dependencies
@knedlsepp
Copy link
Member

Is the change from nixpkgs.pkgconfig to nixpkgs.python27Packages.pkgconfig intentional?

@luispedro
Copy link
Contributor Author

No, I didn't even realize that it was happening. That's because python*Packages includes a pkgconfig package?

@knedlsepp
Copy link
Member

@luispedro: exactly

@Mic92
Copy link
Member

Mic92 commented May 7, 2019

Python packages so far rarely shadowed native dependencies, so this should be fine imho and is commonly used. It also makes overriding dependencies easier.

@Mic92 Mic92 merged commit 6bcc5e2 into NixOS:master May 7, 2019
@knedlsepp
Copy link
Member

knedlsepp commented May 7, 2019

@Mic92 python-packages.nix is full of "inherit (pkgs) pkgconfig;" https://github.com/NixOS/nixpkgs/search?utf8=✓&q=python-modules+pkgconfig&type= As I understood this was exactly for that reason.

@Mic92
Copy link
Member

Mic92 commented May 7, 2019

[detached HEAD a3f8a25] python.pkgs.imread: inherit native libs on callsite
Date: Tue May 7 07:32:41 2019 +0100
1 file changed, 3 insertions(+), 1 deletion(-)

Mic92 added a commit that referenced this pull request May 7, 2019
this avoids potential namespace collisions between python libs
and packages from all-packags.nix:

#61033 (comment)
@luispedro luispedro deleted the imread_0_7_0 branch July 10, 2019 09:44
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.

None yet

3 participants