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

python38Packages.mahotas: 1.4.7 -> 1.4.9 #74579

Merged
merged 1 commit into from Feb 5, 2020

Conversation

r-ryantm
Copy link
Contributor

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.8-mahotas/versions.

meta.description for python38Packages.mahotas is: '"Computer vision package based on numpy"'.

meta.homepage for python38Packages.mahotas is: '"https://mahotas.readthedocs.io/"

Compare changes on GitHub

Checks done (click to expand)
Rebuild report (if merged into master) (click to expand)

9 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
3 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python27Packages.mahotas
python37Packages.mahotas
python38Packages.mahotas

Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/jci7hf9c79vn3mpa0b31sshq36gvvyvs-python3.8-mahotas-1.4.9 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)

Or, build yourself:

nix-build -A python38Packages.mahotas https://github.com/r-ryantm/nixpkgs/archive/3ea7f402c423f73f679d8ac4dba5e81c7540daf4.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/jci7hf9c79vn3mpa0b31sshq36gvvyvs-python3.8-mahotas-1.4.9
ls -la /nix/store/jci7hf9c79vn3mpa0b31sshq36gvvyvs-python3.8-mahotas-1.4.9/bin

cc @luispedro for testing.

Copy link
Contributor

@luispedro luispedro left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

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

regression:

[nix-shell:/home/jon/.cache/nix-review/pr-74579]$ ./results/python37Packages.mahotas/bin/mahotas-features --help
Could not import submodules (exact error was: cannot import name '_bbox' from 'mahotas' (/nix/store/jci7hf9c79vn3mpa0b31sshq36gvvyvs-python3.8-mahotas-1.4.9/lib/python3.8/site-packages/mahotas/__init__.py)).

There are many reasons for this error the most common one is that you have
either not built the packages or have built (using `python setup.py build`) or
installed them (using `python setup.py install`) and then proceeded to test
mahotas **without changing the current directory**.

Try installing and then changing to another directory before importing mahotas.
Traceback (most recent call last):
  File "/nix/store/giikzyrdk1hhm7lhxgrm7jxdz2nz0dr6-python3.8-numpy-1.17.4/lib/python3.8/site-packages/numpy/core/__init__.py", line 17, in <module>
    from . import multiarray
  File "/nix/store/giikzyrdk1hhm7lhxgrm7jxdz2nz0dr6-python3.8-numpy-1.17.4/lib/python3.8/site-packages/numpy/core/multiarray.py", line 14, in <module>
    from . import overrides

works fine on master

@luispedro
Copy link
Contributor

Can you tell me what you ran to get that error message? Locally, it seemed to work for me.

@jonringer
Copy link
Contributor

jonringer commented Dec 1, 2019

that was probably an issue with nix-shell and python shell hooks

although, arch looks broken, do you mind just limiting it to the x86_64 platforms?

mahotas.tests.test_texture.test_negative_values_haralick ... double free or corruption (out)
/nix/store/ajl8y9l58rh0jl9aavd6zwbjzkc6a2k7-stdenv-linux/setup: line 1299:   489 Aborted                 (core dumped) python setup.py test
builder for '/nix/store/y4in33c7gykjdfwkxjpp6pkfihka7fyj-python3.8-mahotas-1.4.9.drv' failed with exit code 134
error: build of '/nix/store/y4in33c7gykjdfwkxjpp6pkfihka7fyj-python3.8-mahotas-1.4.9.drv' failed

@FRidh FRidh merged commit 348025b into NixOS:master Feb 5, 2020
@r-ryantm r-ryantm deleted the auto-update/python3.8-mahotas branch February 6, 2020 00:01
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

4 participants