Commit Graph

3420 Commits

Author SHA1 Message Date
xeji
837dd2e371 python27Packages.rootpy: fix build (tests)
run tests properly, skip problematic tests
2018-04-05 00:15:49 +02:00
Jörg Thalheim
814288c571
Merge pull request #36359 from alunduil/bump-behave-version
behave: 1.2.5 -> 1.2.6
2018-04-04 19:17:25 +01:00
Ben Gamari
b9484875bc pythonPackages.Rtree: init at 0.8.3
This is a commonly-used package for spatial indexing.

Strangely enough, the tests are broken due to memory unsafety that I was unable
to reproduce under Debian. For instance, when run with Python 3.6 valgrind
reports,

==10453== Invalid read of size 4
==10453==    at 0x4EF1DFA: _PyObject_Free (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4FE7D96: _PyFaulthandler_Fini (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F8438D: Py_FinalizeEx (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F9F398: Py_Main (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x400BDF: main (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/bin/python3.6)
==10453==  Address 0x67b1020 is 352 bytes inside a block of size 640 free'd
==10453==    at 0x4C2DD6B: free (in /nix/store/6z028lfnxyhh8dlngpm6zrkwqxmbglj4-valgrind-3.13.0/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==10453==    by 0x4EDDC4A: free_keys_object (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4EDEE63: dict_dealloc (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4EECF59: module_clear (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4FA062B: collect (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4FA13A0: _PyGC_CollectNoFail (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F79CED: PyImport_Cleanup (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F8436F: Py_FinalizeEx (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F9F398: Py_Main (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x400BDF: main (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/bin/python3.6)
==10453==
==10453== Conditional jump or move depends on uninitialised value(s)
==10453==    at 0x4EF1E03: _PyObject_Free (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4EFEF2D: type_dealloc (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4EFD009: subtype_dealloc (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4FA063E: collect (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4FA13A0: _PyGC_CollectNoFail (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F79DF8: PyImport_Cleanup (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F8436F: Py_FinalizeEx (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x4F9F398: Py_Main (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/lib/libpython3.6m.so.1.0)
==10453==    by 0x400BDF: main (in /nix/store/azw9ys2m2fpfzf730xjcxja890gpyp58-python3-3.6.4/bin/python3.6)
==10453==
...
2018-04-04 18:39:01 +02:00
Jan Tojnar
c490b05507
Merge pull request #38149 from bkchr/gst_1_14_0
Updates gstreamer and plugins to 1.14.0
2018-04-04 18:34:40 +02:00
Robert Schütz
1ddff47184
Merge pull request #38361 from Ma27/update-face-recognition
Update face recognition
2018-04-04 17:42:29 +02:00
Jan Tojnar
be5bff0214 pythonPackages.gst-python: 1.12.3 → 1.14.0 2018-04-04 17:25:39 +02:00
Robert Schütz
775fce10fd pythonPackages.vxi11: fix tests by fetching from GitHub 2018-04-04 09:44:52 +02:00
Ben Gamari
ef3c42b9c4 pythonPackages.vxi11: init at 0.9 2018-04-03 16:39:17 +02:00
Maximilian Bosch
6df74adb14
pythonPackages.face_recognition: 1.2.1 -> 1.2.2
The following fixes have been applied according to the changelog (https://github.com/ageitgey/face_recognition/releases)

- Added the face_detection CLI command
- Removed dependencies on scipy to make installation easier
- Cleaned up KNN example and fixed a bug with drawing fonts to label detected faces in the demo

Furthermore the maintainer switched to actual GIT tags for PyPI releases
as discussed in ageitgey/face_recognition#417 and #37566
2018-04-03 14:45:53 +02:00
Robert Schütz
00fc66dc7d pythonPackages.mock-open: init at 1.3.1 2018-04-02 23:29:50 +02:00
xeji
b838881f11 pythonPackages.python-gnupg: 0.4.1 -> 0.4.2 2018-04-02 03:53:32 -05:00
Franz Pletz
850f5aee79
Merge pull request #38142 from xeji/p/root_numpy
pythonPackages.root_numpy: fix build
2018-04-01 22:32:10 +00:00
Franz Pletz
de1e189ab6
Merge pull request #38151 from xeji/p/smart_open
pythonPackages.smart_open: fix build, 1.5.6 -> 1.5.7
2018-04-01 22:29:39 +00:00
Robert Schütz
dd7900a043
Merge pull request #38245 from xeji/p/imbalanced-learn
pythonPackages.imbalanced-learn: 0.3.2 -> 0.3.3, fix build
2018-04-01 11:11:11 +02:00
xeji
6b2bc4b5d1 pythonPackages.imbalanced-learn: 0.3.2 -> 0.3.3, fix build
minor bump, fix tests, move to development/python-modules
2018-04-01 01:58:22 +02:00
Robert Schütz
10e029514b
Merge pull request #37952 from Ma27/fix-nipype
pythonPackage.nipype: fix build
2018-03-31 21:08:41 +02:00
Robert Schütz
ee1896d63d pythonPackages.nipype: enable tests 2018-03-31 20:43:32 +02:00
Bjørn Forsman
6ba7677665 pythonPackages.autopep8: 1.3.4 -> 1.3.5 2018-03-31 20:35:00 +02:00
Robert Schütz
f5755a2686
Merge pull request #38028 from Ma27/cleanup-frescobaldi
frescobaldi: 2.0.16 -> 3.0.0; fix build
2018-03-31 17:25:03 +02:00
Maximilian Bosch
8446cd9c32
pythonPackages.poppler-qt5: init at 0.24.2
related to #32883
2018-03-31 17:02:32 +02:00
Maximilian Bosch
d50943ad46
pythonPackages.python-ly: init at 0.9.5 2018-03-31 17:01:39 +02:00
Robert Schütz
d3b9cabd6e
Merge pull request #37950 from Ma27/fix-mrbob
pythonPackages.mrbob: fix build
2018-03-31 16:57:06 +02:00
Frederik Rietdijk
113f0ff3b1
Merge pull request #37971 from jluttine/upgrade-pytest-flake8
pythonPackages.pytest-flake8: 0.9.1 -> 1.0.0
2018-03-31 13:07:11 +02:00
Jaakko Luttinen
aef1900923
pythonPackages.pytest-flake8: 0.9.1 -> 1.0.0 2018-03-31 11:40:23 +03:00
xeji
3ea8574f17 pythonPackages.smart_open: fix build, 1.5.6 -> 1.5.7 2018-03-30 23:02:01 +02:00
xeji
ebd4d38651 pythonPackages.root_numpy: fix build
checkPhase must use nosetest
2018-03-30 20:26:26 +02:00
Maximilian Bosch
db0fa06fce
pythonPackage.nipype: fix build
`pythonPackages.prov` has been bumped to `1.5.2`, however `nipype`
pinned `prov` to `1.5.0`. Patching `nipype/info.py` fixes this issue by
bumping to the current `prov` version in nixpkgs.

See https://hydra.nixos.org/build/71817962/log
See ticket #36453
2018-03-30 18:45:04 +02:00
Maximilian Bosch
9215e03e17
pythonPackages.mrbob: fix build
Tests broke on Hydra as the `checkPhase` wasn't configured properly. By
explicitly relying on `nosetests` and injecting `LC_ALL` into the
`checkPhase` the tests work again.

The license (bsd3) according to `LICENSE` distributed with the upstream
package wasn't specified in the meta section which could've caused legal
issues.

The expression has been moved into its own file to reduce the length and
complexity of `pkgs/top-level/python-packages.nix`.

See https://hydra.nixos.org/build/70689499/log
See #36453
2018-03-30 18:42:40 +02:00
adisbladis
78206eb3ec
pythonPackages.linode-api: Enable tests 2018-03-30 12:55:58 +08:00
adisbladis
0fc0f28d39
pythonPackages.linode-api: 4.1.6b0 -> 4.1.8b1 2018-03-30 12:55:49 +08:00
Glenn Searby
2cf5f3cc60
linode-api: 4.1.2b0 -> 4.1.6b0
Needed because the underlying HTTP endpoint has also changed.
2018-03-30 12:39:39 +08:00
Alex Brandt
6d78bde7ad Merge branch 'master' into bump-behave-version 2018-03-29 10:43:36 -05:00
Daiderd Jordan
d33a26b370
python-celery: fix darwin build 2018-03-28 20:55:39 +02:00
Jörg Thalheim
8c2dafbccd
Merge pull request #30429 from teto/alot
[RDY] init gpg python bindings +  Alot: 0.5.1 -> 0.7.0
2018-03-28 01:03:24 +01:00
Michael Weiss
fb1f35424e pythonPackages.scapy: 2.3.3 -> 2.4.0 2018-03-27 18:27:55 +02:00
Jörg Thalheim
45e4dc0d5d python.pkgs.gpg: rename to gpgme
Let's be honest with what we expose.
2018-03-26 19:25:55 +01:00
James Kay
2e02bcaedc toml: init at 0.9.4 2018-03-25 01:45:51 -05:00
Matthew Justin Bauer
8f3091939b
Merge pull request #37752 from ryantm/fix-urls
treewide: use more HTTPS URLs
2018-03-25 00:40:17 -05:00
Ryan Mulligan
b189247ba0 treewide: use more HTTPS URLs
Uses the HTTPS url for cases where the existing URL has a permanent
redirect. For each domain, at least one fixed derivation URL was
downloaded to test the domain is properly serving downloads.

Also fixes jbake source URL, which was broken.
2018-03-24 22:04:25 -07:00
Robin Gloster
c71bcb2744
grpcio: use protobuf3_5 2018-03-24 19:37:03 +01:00
Robert Schütz
46419cab7e pythonPackages.fonttools: 3.24.0 -> 3.24.1 2018-03-24 19:25:18 +01:00
Robin Gloster
2e6aacb056
python.pkgs.logster: 7475c53822 -> 1.0.1 2018-03-24 10:35:37 +01:00
Robin Gloster
6a286fcba7
python.pkgs.pygtail: init at 0.8.0 2018-03-24 10:34:57 +01:00
Robert Schütz
1aedde9e34
Merge pull request #37566 from Ma27/init-face-recognition
pythonPackages.face_recognition: init at 1.2.1
2018-03-23 09:55:04 +01:00
Vaibhav Sagar
cafd433e8c python2Packages.notebook: fix tests
These were accidentally broken by #37615.
2018-03-22 20:48:09 +08:00
Vaibhav Sagar
01f29bb0c0 pythonPackages.notebook: cleanup
As discussed in https://github.com/NixOS/nixpkgs/pull/37607#issuecomment-375226186.
2018-03-22 17:44:55 +08:00
Vaibhav Sagar
765211451d pythonPackages.notebook: 5.4.0 -> 5.4.1 2018-03-22 11:40:54 +08:00
rardiol
f83cbf2029 Renpy and pygame_sdl2 update - 6.99.14 (#33943)
* pygame_sdl2: 6.99.10.1227 -> 2.1.0-6.99.14

* renpy: 6.99.12.4 -> 6.99.14
2018-03-21 21:26:29 -05:00
Maximilian Bosch
c26864122d
pythonPackages.face_recognition: init at 1.2.1
Adds the python package `face_recognition` and its dependency
`face_recognition_models`.

This package is a wrapper for `dlib` which is able to detect faces in a
given image. I checked the package with the following expression:

```
with import ./. { };

stdenv.mkDerivation {
  name = "facetest";
  src = null;
  buildInputs = with pythonPackages; [ face_recognition ];
}
```

The package works perfectly fine in a `nix-shell`:

```
$ nix-shell
[nix-shell:~]$ python
Python 2.7.14 (default, Sep 16 2017, 17:49:51)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import face_recognition
>>> img = face_recognition.load_image_file("/home/ma27/me.jpg")
>>> print(face_recognition.face_locations(img))
```
2018-03-21 23:22:45 +01:00
Nikolay Amiantov
b1b4c6c4eb pyqt5: propagate Qt dependencies
This is so that Qt user environment packages are also propagated. Fixes
Electrum environment installations when no other Qt applications are installed.

Added `dev` output so that closure size won't explode.
2018-03-21 23:36:18 +03:00