-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
python3Packages.imageio: 2.4.1 -> 2.5.0 #56135
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
Conversation
2a738f7
to
0ef547a
Compare
0ef547a
to
96c2be4
Compare
@dotlambda I corrected all the things you noticed (thanks for the thorough review btw!), but noticed that imageio has an incompatibility with Python 2.7 anymore, see imageio/imageio#436 - so we'll have to wait for a word from the author. |
checkInputs = [ pytest psutil ]; | ||
checkInputs = [ pytest psutil ] ++ stdenv.lib.optionals isPy3k [ | ||
imageio-ffmpeg ffmpeg | ||
]; | ||
propagatedBuildInputs = [ numpy pillow ] ++ stdenv.lib.optionals (!isPy3k) [ | ||
futures | ||
enum34 |
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.
I suspect this is where you could add pathlib
(for imageio/imageio#436)
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.
@almarklein Thanks, that's exactly where I put them.
, pytest | ||
, numpy | ||
, isPy3k | ||
, ffmpeg |
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.
Are you sure that ffmpeg (and imageio-ffmpeg) should be hard-dependencies here? They are optional dependencies from imageio's point of view, mainly because ffmpeg is quite heavy.
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.
@almarklein I see your concern, but declaring it as a function parameter in the place you mention isn't really "depending" on it at runtime. It's just used as part of checkInputs
, to execute the tests.
96c2be4
to
7f53673
Compare
@GrahamcOfBorg build python2.pkgs.imageio python3.pkgs.imageio |
7f53673
to
47519a1
Compare
@dotlambda Fixed. |
@GrahamcOfBorg build python2.pkgs.imageio python3.pkgs.imageio |
Motivation for this change
imageio now optionally needs imageio-ffmpeg, which I also put into this PR.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)