-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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.imgaug: 0.3.0-patch #67494
Conversation
package has been updated as per inputs from |
Note that in the master branch of imgaug, the author has changed to This means for this release 0.2.9, it should work, but the next release may require a change to the substitute 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.
Approved, looks good. Mark it ready for review.
@GrahamcOfBorg build python37Packages.imgaug |
Looks like resulting derivation is empty?
|
This is blocked on aleju/imgaug#414 |
do you mind rebasing on top of master? apparently there's some merge conflicts:
|
Sure, I will. |
Given that imgaug is functioning on waiting on upstream for a fix, perhaps we should merge & fix broken package? |
e407d67
to
56740bc
Compare
|
When attempting to install the latest changes using
The build just stops there, the |
@CMCDragonkai |
I have updated the error details and other findings on aleju/imgaug#414 |
3470632
to
5b52dd5
Compare
This PR is ready for merge. All the tests are now passing. |
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.
diff LGTM
commit LGTM
tests pass 👍
[3 built, 0.0 MiB DL]
https://github.com/NixOS/nixpkgs/pull/67494
1 package were built:
python37Packages.imgaug
@GrahamcOfBorg build python37Packages.imgaug |
I believe those Darwin problems are the same as NixOS problems until imgaug maintainers disabled those tests on NixOS platform. But not on Mac.
…On 20 December 2019 06:08:30 GMT+11:00, Jon ***@***.***> wrote:
jonringer commented on this pull request.
>
meta = with stdenv.lib; {
homepage = https://github.com/aleju/imgaug;
description = "Image augmentation for machine learning experiments";
license = licenses.mit;
- maintainers = with maintainers; [ cmcdragonkai ];
- broken = true; # opencv-python bindings aren't available yet, and
look non-trivial
+ maintainers = with maintainers; [ cmcdragonkai rakesh4g ];
```suggestion
maintainers = with maintainers; [ cmcdragonkai rakesh4g ];
platforms = platforms.linux;
```
looks like darwin has odd behavior:
```
Current thread 0x0000700003d9d000 (most recent call first):
File
"/private/tmp/nix-build-python3.7-imgaug-0.3.0.drv-0/imgaug-c3d99a420efc45652a1264920dc20378a54b1325/imgaug/augmenters/blur.py",
line 262 in blur_gaussian_
File
"/private/tmp/nix-build-python3.7-imgaug-0.3.0.drv-0/imgaug-c3d99a420efc45652a1264920dc20378a54b1325/imgaug/augmenters/blur.py",
line 466 in _augment_batch
File
"/private/tmp/nix-build-python3.7-imgaug-0.3.0.drv-0/imgaug-c3d99a420efc45652a1264920dc20378a54b1325/imgaug/augmenters/meta.py",
line 606 in augment_batch
File
"/private/tmp/nix-build-python3.7-imgaug-0.3.0.drv-0/imgaug-c3d99a420efc45652a1264920dc20378a54b1325/imgaug/multicore.py",
line 506 in _Pool_worker
File
"/private/tmp/nix-build-python3.7-imgaug-0.3.0.drv-0/imgaug-c3d99Fatal
Python error: Segmentation fault
```
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#67494 (review)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
We don't have Mac platforms to test this. So we could forward on the details to imgaug maintainer. While also just only enabling this for Linux? |
Another idea is a patch in Nix package level that disables those specific tests. |
personally, I would either do |
5b52dd5
to
a9336e4
Compare
I have updated the requested changes. Thanks. |
@GrahamcOfBorg build python37Packages.imgaug |
I cherry-picked this patch and has been working for me! would love to see merged |
Added patch to bypass opencv-python dependency from imgaug
@CMCDragonkai
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @CMCDragonkai @FRidh