Merge branch 'staging' into gcc-7
I'm betting Hydra resources on gcc-7 getting to master before current staging.
This commit is contained in:
commit
882062004b
@ -2,12 +2,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aenum";
|
||||
version = "2.0.9";
|
||||
version = "2.1.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d98bc55136d696fcf323760c3db0de489da9e41fd51283fa6f90205deb85bf6a";
|
||||
sha256 = "9eb1c8f48ae13c56d22a7227db0e4b1717131b284c6c0db6e4ccca6f5894df95";
|
||||
};
|
||||
|
||||
# For Python 3, locale has to be set to en_US.UTF-8 for
|
||||
|
@ -6,11 +6,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "alembic";
|
||||
version = "0.9.7";
|
||||
version = "0.9.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "46f4849c6dce69f54dd5001b3215b6a983dee6b17512efee10e237fa11f20cfa";
|
||||
sha256 = "13b8611788acf0d7b617775db5c2ae26554a6d4263c590ef628d448fd05aef56";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest pytestcov mock coverage ];
|
||||
|
@ -4,11 +4,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "argcomplete";
|
||||
version = "1.9.3";
|
||||
version = "1.9.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d97b7f3cfaa4e494ad59ed6d04c938fc5ed69b590bd8f53274e258fb1119bd1b";
|
||||
sha256 = "06c8a54ffaa6bfc9006314498742ec8843601206a3b94212f82657673662ecf1";
|
||||
};
|
||||
|
||||
doCheck = false; # bash-completion test fails with "compgen: command not found".
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asana";
|
||||
version = "0.6.7";
|
||||
version = "0.7.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
meta = {
|
||||
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d576601116764050c4cf63b417f1c24700b76cf6686f0e51e6b0b77d450e7973";
|
||||
sha256 = "a7ff4a78529257a5412e78cafd6b3025523364c0ab628d579f2771dd66b254bc";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
@ -1,12 +1,12 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, six }:
|
||||
buildPythonPackage rec {
|
||||
version = "2.1.1";
|
||||
version = "2.1.5";
|
||||
pname = "asgiref";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/a/asgiref/${name}.tar.gz";
|
||||
sha256 = "112828022d772925b47b22caf8108dadd3b26bb0af719eb01b2c3a807795429d";
|
||||
sha256 = "1a46196df28c67e046a54cc537ce5a8f6a59eb68649f54680d7e4fc3b113ab1b";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
@ -7,13 +7,13 @@
|
||||
buildPythonPackage rec {
|
||||
|
||||
pname = "astropy";
|
||||
version = "2.0.3";
|
||||
version = "3.0";
|
||||
|
||||
name = "${pname}-${version}";
|
||||
doCheck = false; #Some tests are failing. More importantly setup.py hangs on completion. Needs fixing with a proper shellhook.
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "fdfc0248f6250798ed6d1327be609cb901db89ae01fc768cfbc9e263bdf56f4f";
|
||||
sha256 = "9e0ad19b9d6d227bdf0932bbe64a8c5dd4a47d4ec078586cf24bf9f0c61d9ecf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pytest numpy ]; # yes it really has pytest in install_requires
|
||||
|
@ -7,11 +7,11 @@
|
||||
|
||||
if !(pythonOlder "3.3") then null else buildPythonPackage rec {
|
||||
pname = "backports.functools_lru_cache";
|
||||
version = "1.4";
|
||||
version = "1.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "31f235852f88edc1558d428d890663c49eb4514ffec9f3650e7f3c9e4a12e36f";
|
||||
sha256 = "9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools_scm ];
|
||||
|
@ -5,12 +5,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bibtexparser";
|
||||
version = "0.6.2";
|
||||
version = "1.0.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5888219ac5db1c63ae0ad4db52ec7ad87fe7a32bd60e62ee87bceedb8ebf73b8";
|
||||
sha256 = "cc41cdd8332c2bf44b97daf1f135f4f267c3b744c33976655cd270b66f964c0a";
|
||||
};
|
||||
|
||||
# No tests in archive
|
||||
|
@ -34,11 +34,11 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "bokeh";
|
||||
name = "${pname}${version}";
|
||||
version = "0.12.13";
|
||||
version = "0.12.14";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6e28cbfd88de0c459435278b75f9982591ec0aaa3d37a195052645e1c62e89e3";
|
||||
sha256 = "42abada2e484d2d5b290d14a943e1c3cd7adabd39933b5f074f57b6cf7920a87";
|
||||
};
|
||||
|
||||
disabled = isPyPy;
|
||||
|
@ -12,11 +12,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "botocore";
|
||||
version = "1.8.36";
|
||||
version = "1.8.45";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b2c9e0fd6d14910f759a33c19f8315dddedbb3c5569472b7be7ceed4f001a675";
|
||||
sha256 = "8f91b648a216dc945783d1539c013fc08a9e65ecc4fc5aae017bdd5961fd3468";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bpython";
|
||||
version = "0.17";
|
||||
version = "0.17.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1mbah208jhd7bsfaa17fwpi55f7fvif0ghjwgrjmpmx8w1vqab9l";
|
||||
sha256 = "8907c510bca3c4d9bc0a157279bdc5e3b739cc68c0f247167279b6fe4becb02f";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ curtsies greenlet pygments requests urwid ];
|
||||
|
@ -4,11 +4,11 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "channels";
|
||||
name = "${pname}-${version}";
|
||||
version = "2.0.0";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c365492b90bd936c763e06cd76bda96cd3e70e5a5d2a196c25754e0c1d8da85a";
|
||||
sha256 = "5d41e0f2aa40f9755f36c2c1dd83748b6793732190d577922e06294a3b37fd92";
|
||||
};
|
||||
|
||||
# Files are missing in the distribution
|
||||
|
@ -7,11 +7,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "CherryPy";
|
||||
version = "13.1.0";
|
||||
version = "14.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0pb9mfmhns33jq4nrd38mv88ha74fj3q0y2mm8qsjh7ywphvk9ap";
|
||||
sha256 = "5f5ee020d6547a8d452b3560775ca2374ffe2ff8c0aec1b272e93b6af80d850e";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cheroot portend routes six ];
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ConfigArgParse";
|
||||
version = "0.12.0";
|
||||
version = "0.13.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0fgkiqh6r3rbkdq3k8c48m85g52k96686rw3a6jg4lcncrkpvk98";
|
||||
sha256 = "e6441aa58e23d3d122055808e5e2220fd742dff6e1e51082d2a4e4ed145dd788";
|
||||
};
|
||||
|
||||
# no tests in tarball
|
||||
|
@ -7,12 +7,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "coverage";
|
||||
version = "4.4.2";
|
||||
version = "4.5.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "309d91bd7a35063ec7a0e4d75645488bfab3f0b66373e7722f23da7f5b0f34cc";
|
||||
sha256 = "56e448f051a201c5ebbaa86a5efd0ca90d327204d8b059ab25ad0f35fbfd79f1";
|
||||
};
|
||||
|
||||
# No tests in archive
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "curtsies";
|
||||
version = "0.2.11";
|
||||
version = "0.3.0";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1vljmw3sy6lrqahhpyg4gk13mzcx3mwhvg8s41698ms3cpgkjipc";
|
||||
sha256 = "89c802ec051d01dec6fc983e9856a3706e4ea8265d2940b1f6d504a9e26ed3a9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ blessings wcwidth pyte ];
|
||||
|
@ -4,11 +4,11 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "daphne";
|
||||
name = "${pname}-${version}";
|
||||
version = "2.0.0";
|
||||
version = "2.0.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ecd43a2dd889fb74e16bf8b7f67c076c4ec1b36229ce782272e46c50d56174dd";
|
||||
sha256 = "bb2075ce35ca00f2e5440cc034dfebd5c00d346de62ea45f099db089b868c31f";
|
||||
};
|
||||
|
||||
buildInputs = [ hypothesis ];
|
||||
|
@ -12,12 +12,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dask";
|
||||
version = "0.16.1";
|
||||
version = "0.17.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07a0609ce053c8c2675037e6d5242899f90ecfb5262e1d0b2d7264fe8814099c";
|
||||
sha256 = "4d2b0754d16ddc3f87026c1fc4fa3b589d7604a41d3f6510268f172abc1d0a5e";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-polymorphic";
|
||||
version = "2.0";
|
||||
version = "2.0.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "78f666149ea10cdda08ac6c25ddf4b4e582ee380be87e7968bfed008ef39dfa5";
|
||||
sha256 = "e1821d7b5874509a158a0f22bebf544330e0944c481c5a3e6da6cac8887e4e88";
|
||||
};
|
||||
|
||||
checkInputs = [ django ];
|
||||
|
@ -6,12 +6,12 @@
|
||||
, enum34, functools32,
|
||||
}:
|
||||
buildPythonApplication rec {
|
||||
version = "1.18.0";
|
||||
version = "1.19.0";
|
||||
pname = "docker-compose";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2930cbfe2685018fbb75377600ab6288861d9955717b3f14212f63950351d379";
|
||||
sha256 = "f227e0e4b7d88aaf8f892b03a2068942c56ea16bcf2a0fb9fe2a3a071c5fef0b";
|
||||
};
|
||||
|
||||
# lots of networking and other fails
|
||||
|
@ -3,12 +3,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Eve";
|
||||
version = "0.7.6";
|
||||
version = "0.7.8";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1ba84ab471bc2203a728fe4707a9279c44420224180b418601778125f51577ff";
|
||||
sha256 = "af373ab7b9611990d39b090eed372a0860d4e12a1c8a6ef49fdee29e4626053f";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -5,12 +5,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Fiona";
|
||||
version = "1.7.11";
|
||||
version = "1.7.11.post1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5e9c68ea71e9d79fcfb68c9a101c0b133301e233c9bcca7b7c65f33cc7636ef5";
|
||||
sha256 = "35df044fa805e6b420450f5d4281fc0edf96e1da0545c31032045cd3cfad3abf";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -3,10 +3,10 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "flake8-debugger";
|
||||
name = "${pname}-${version}";
|
||||
version = "3.0.0";
|
||||
version = "3.1.0";
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/f/flake8-debugger/${name}.tar.gz";
|
||||
sha256 = "e5c8ac980d819db2f3fbb89fe0e43a2fe6c127edd6ce4984a3f7e0bbdac3d2d4";
|
||||
sha256 = "be4fb88de3ee8f6dd5053a2d347e2c0a2b54bab6733a2280bb20ebd3c4ca1d97";
|
||||
};
|
||||
buildInputs = [ nose ];
|
||||
propagatedBuildInputs = [ flake8 ];
|
||||
|
@ -7,12 +7,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fonttools";
|
||||
version = "3.21.2";
|
||||
version = "3.22.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "96b636793c806206b1925e21224f4ab2ce5bea8ae0990ed181b8ac8d30848f47";
|
||||
sha256 = "01640dfbc0ba752181b21fe74240b8a7bbf7af75581737245836ada5565bd549";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
|
@ -10,11 +10,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "globus-sdk";
|
||||
version = "1.4.1";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1nwdhhn9ib5ln56q8h3g42dl93jl67xlxkgl1wqkh7pacg00r4vs";
|
||||
sha256 = "f3ee8294c11f0d1a4430ae7534236c6a6837312f1b4056adbb183a3af663d2be";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
|
@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-auth";
|
||||
version = "1.3.0";
|
||||
version = "1.4.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d119b5954393d81c4a986ab420cf2c8129fc95ff5c4c6bb8ab5c8f3e6446394f";
|
||||
sha256 = "9051802d3dae256036cca9e34633a32c0ed1427730d4ebc513dff91ec8b6dd45";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock oauth2client flask requests urllib3 pytest-localserver ];
|
||||
|
@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-speech";
|
||||
version = "0.31.0";
|
||||
version = "0.32.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b0f6a542165750e42b1c92e6c465e8dc35c38d138ae7f08174971ab9b0df2a71";
|
||||
sha256 = "2513725e693c3a2fdf22cb3065f3fcb39de2ab962a0cbc5de11a3889834189e1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ setuptools google_api_core google_gax google_cloud_core ];
|
||||
|
@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "grpcio";
|
||||
version = "1.9.0";
|
||||
version = "1.9.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b61d3a7c45aa08f15dfa735a6a8282b5097be91ff36ad347594d3945ffc12181";
|
||||
sha256 = "e7c43b5619deff48cc177c1b0618c4beeb2797f910f160e3c2035d5baf790a5d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six protobuf ]
|
||||
|
@ -3,12 +3,12 @@ nose, shouldbe, gss, krb5Full, which, darwin }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gssapi";
|
||||
version = "1.3.0";
|
||||
version = "1.4.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "765205082a9490c8e8be88ac16a6249d124396a671665edeec9927a7f244d712";
|
||||
sha256 = "be8f37dd9da726db375b9c693e0a63b391d381d903516e79ecc2a2cc965580e4";
|
||||
};
|
||||
|
||||
# It's used to locate headers
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, python, buildPythonPackage
|
||||
{ stdenv, fetchPypi, fetchpatch, python, buildPythonPackage
|
||||
, numpy, hdf5, cython, six, pkgconfig
|
||||
, mpi4py ? null, openssh }:
|
||||
|
||||
@ -9,14 +9,12 @@ with stdenv.lib;
|
||||
let
|
||||
mpi = hdf5.mpi;
|
||||
mpiSupport = hdf5.mpiSupport;
|
||||
|
||||
in buildPythonPackage rec {
|
||||
version = "2.7.1";
|
||||
pname = "h5py";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/h/h5py/${name}.tar.gz";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "180a688311e826ff6ae6d3bda9b5c292b90b28787525ddfcb10a29d5ddcae2cc";
|
||||
};
|
||||
|
||||
@ -34,11 +32,15 @@ in buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ hdf5 cython ]
|
||||
++ optional mpiSupport mpi
|
||||
;
|
||||
++ optional mpiSupport mpi;
|
||||
propagatedBuildInputs = [ numpy six]
|
||||
++ optionals mpiSupport [ mpi4py openssh ]
|
||||
;
|
||||
++ optionals mpiSupport [ mpi4py openssh ];
|
||||
|
||||
patches = [
|
||||
# Patch is based on upstream patch. The tox.ini hunk had to be removed.
|
||||
# https://github.com/h5py/h5py/commit/5009e062a6f7d4e074cab0fcb42a780ac2b1d7d4.patch
|
||||
./numpy-1.14.patch
|
||||
];
|
||||
|
||||
meta = {
|
||||
description =
|
||||
|
94
pkgs/development/python-modules/h5py/numpy-1.14.patch
Normal file
94
pkgs/development/python-modules/h5py/numpy-1.14.patch
Normal file
@ -0,0 +1,94 @@
|
||||
From 5009e062a6f7d4e074cab0fcb42a780ac2b1d7d4 Mon Sep 17 00:00:00 2001
|
||||
From: James Tocknell <aragilar@gmail.com>
|
||||
Date: Thu, 28 Dec 2017 20:55:55 +1100
|
||||
Subject: [PATCH] FIX: Don't reorder compound types, breaks on numpy 1.14
|
||||
|
||||
---
|
||||
h5py/h5t.pyx | 25 +++++++------------------
|
||||
setup.py | 2 +-
|
||||
tox.ini | 4 ++--
|
||||
3 files changed, 10 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/h5py/h5t.pyx b/h5py/h5t.pyx
|
||||
index cc2344e1..7445e9eb 100644
|
||||
--- a/h5py/h5t.pyx
|
||||
+++ b/h5py/h5t.pyx
|
||||
@@ -1136,12 +1136,6 @@ cdef class TypeCompoundID(TypeCompositeID):
|
||||
else:
|
||||
if sys.version[0] == '3':
|
||||
field_names = [x.decode('utf8') for x in field_names]
|
||||
- if len(field_names) > 0:
|
||||
- collated_fields = zip(field_names, field_types, field_offsets)
|
||||
- ordered_fields = sorted(
|
||||
- collated_fields, key=operator.itemgetter(2))
|
||||
- field_names, field_types, field_offsets = \
|
||||
- map(list, zip(*ordered_fields))
|
||||
typeobj = dtype({
|
||||
'names': field_names,
|
||||
'formats': field_types,
|
||||
@@ -1458,8 +1452,7 @@ cdef TypeCompoundID _c_compound(dtype dt, int logical, int aligned):
|
||||
cdef dtype member_dt
|
||||
cdef size_t member_offset = 0
|
||||
|
||||
- cdef dict offsets = {}
|
||||
- cdef list fields = []
|
||||
+ cdef dict fields = {}
|
||||
|
||||
# The challenge with correctly converting a numpy/h5py dtype to a HDF5 type
|
||||
# which is composed of subtypes has three aspects we must consider
|
||||
@@ -1468,19 +1461,14 @@ cdef TypeCompoundID _c_compound(dtype dt, int logical, int aligned):
|
||||
# 2. For correct round-tripping of aligned dtypes, we need to consider how
|
||||
# much padding we need by looking at the field offsets
|
||||
# 3. There is no requirement that the offsets be monotonically increasing
|
||||
- # (so we start by sorting the names as a function of increasing offset)
|
||||
#
|
||||
# The code below tries to cover these aspects
|
||||
|
||||
- # Get offsets for each compound member
|
||||
- for name, field in dt.fields.items():
|
||||
- offsets[name] = field[1]
|
||||
-
|
||||
# Build list of names, offsets, and types, sorted by increasing offset
|
||||
# (i.e. the position of the member in the struct)
|
||||
- for name in sorted(dt.names, key=offsets.__getitem__):
|
||||
+ for name in sorted(dt.names, key=(lambda n: dt.fields[n][1])):
|
||||
field = dt.fields[name]
|
||||
- name = name.encode('utf8') if isinstance(name, unicode) else name
|
||||
+ h5_name = name.encode('utf8') if isinstance(name, unicode) else name
|
||||
|
||||
# Get HDF5 data types and set the offset for each member
|
||||
member_dt = field[0]
|
||||
@@ -1489,7 +1477,7 @@ cdef TypeCompoundID _c_compound(dtype dt, int logical, int aligned):
|
||||
if aligned and (member_offset > field[1]
|
||||
or member_dt.itemsize != member_type.get_size()):
|
||||
raise TypeError("Enforced alignment not compatible with HDF5 type")
|
||||
- fields.append((name, member_offset, member_type))
|
||||
+ fields[name] = (h5_name, member_offset, member_type)
|
||||
|
||||
# Update member offset based on the HDF5 type size
|
||||
member_offset += member_type.get_size()
|
||||
@@ -1500,8 +1488,9 @@ cdef TypeCompoundID _c_compound(dtype dt, int logical, int aligned):
|
||||
|
||||
# Create compound with the necessary size, and insert its members
|
||||
tid = H5Tcreate(H5T_COMPOUND, member_offset)
|
||||
- for (name, member_offset, member_type) in fields:
|
||||
- H5Tinsert(tid, name, member_offset, member_type.id)
|
||||
+ for name in dt.names:
|
||||
+ h5_name, member_offset, member_type = fields[name]
|
||||
+ H5Tinsert(tid, h5_name, member_offset, member_type.id)
|
||||
|
||||
return TypeCompoundID(tid)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index ec2a78a7..bbb086f6 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -32,7 +32,7 @@
|
||||
# these are required to build h5py
|
||||
# RUN_REQUIRES is included as setup.py test needs RUN_REQUIRES for testing
|
||||
# RUN_REQUIRES can be removed when setup.py test is removed
|
||||
-SETUP_REQUIRES = RUN_REQUIRES + [NUMPY_DEP, 'Cython>=0.19', 'pkgconfig']
|
||||
+SETUP_REQUIRES = RUN_REQUIRES + [NUMPY_DEP, 'Cython>=0.23', 'pkgconfig']
|
||||
|
||||
# Needed to avoid trying to install numpy/cython on pythons which the latest
|
||||
# versions don't support
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, python
|
||||
, pythonOlder, pythonAtLeast, enum34
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, python
|
||||
, isPy3k, attrs, coverage, enum34
|
||||
, doCheck ? true, pytest, pytest_xdist, flake8, flaky, mock
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
@ -9,20 +9,19 @@ buildPythonPackage rec {
|
||||
# pytz fake_factory django numpy pytest
|
||||
# If you need these, you can just add them to your environment.
|
||||
|
||||
version = "3.27.0";
|
||||
version = "3.45.2";
|
||||
pname = "hypothesis";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
# Upstream prefers github tarballs
|
||||
src = fetchFromGitHub {
|
||||
owner = "HypothesisWorks";
|
||||
repo = "hypothesis-python";
|
||||
rev = "${version}";
|
||||
sha256 = "1lvhd8jrwajyc5w1alb9vinsi97fjfqpkxkh8g8j527831lig0j0";
|
||||
rev = version;
|
||||
sha256 = "063sn5m1966gvm3wrlxczdq4vw0r94h3nd9xpr94qxahpg2r4bpb";
|
||||
};
|
||||
|
||||
checkInputs = stdenv.lib.optionals doCheck [ pytest pytest_xdist flake8 flaky mock];
|
||||
propagatedBuildInputs = stdenv.lib.optionals (pythonOlder "3.4") [ enum34 ];
|
||||
checkInputs = [ pytest pytest_xdist flaky mock ];
|
||||
propagatedBuildInputs = [ attrs coverage ] ++ lib.optional (!isPy3k) [ enum34 ];
|
||||
|
||||
inherit doCheck;
|
||||
|
||||
@ -32,11 +31,7 @@ buildPythonPackage rec {
|
||||
py.test tests/cover
|
||||
'';
|
||||
|
||||
# Unsupport by upstream on certain versions
|
||||
# https://github.com/HypothesisWorks/hypothesis-python/issues/477
|
||||
disabled = pythonOlder "3.4" && pythonAtLeast "2.8";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A Python library for property based testing";
|
||||
homepage = https://github.com/HypothesisWorks/hypothesis;
|
||||
license = licenses.mpl20;
|
||||
|
@ -13,12 +13,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipykernel";
|
||||
version = "4.8.0";
|
||||
version = "4.8.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "dedc199df6a38725c732986dfa606c245fb8fe0fe999b33a0c305b73d80c6774";
|
||||
sha256 = "fe2837622a4121cbe42b354db1e2ab46c91e807ffcb92f4c2cfd323a75f8737f";
|
||||
};
|
||||
|
||||
buildInputs = [ nose ] ++ lib.optional isPy27 mock;
|
||||
|
@ -16,12 +16,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipyparallel";
|
||||
version = "6.0.2";
|
||||
version = "6.1.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7eea4780266252fcc987b220a302d589fbb4d6b0569bd131115a20b31891103d";
|
||||
sha256 = "f1e03ebb8d17f67f03bafa5d85f220883462f7bd7a97fe904c7d56ffba8534a3";
|
||||
};
|
||||
|
||||
buildInputs = [ nose ];
|
||||
|
@ -14,12 +14,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipywidgets";
|
||||
version = "7.1.1";
|
||||
version = "7.1.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "69e8c444e99601e6f9b9e9e596c87c19665fc73c2dd05cd507c94f35fba2959d";
|
||||
sha256 = "4263ce721a1e5b53a84c4595a5e296d270ae0dc534401b536f4dda64e0b0ca02";
|
||||
};
|
||||
|
||||
# Tests are not distributed
|
||||
|
@ -5,11 +5,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jsonpickle";
|
||||
version = "0.9.5";
|
||||
version = "0.9.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "cc25dc79571d4ad7db59d05ddb7de0d76a8d598cf6136e1dbeaa9361ebcfe749";
|
||||
sha256 = "545b3bee0d65e1abb4baa1818edcc9ec239aa9f2ffbfde8084d71c056180054f";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
@ -3,11 +3,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "kaitaistruct";
|
||||
version = "0.7";
|
||||
version = "0.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "19j3snmr0qbd48f7yd3cc21ffv13dahf8ys591dnalbhvnkar71i";
|
||||
sha256 = "d1d17c7f6839b3d28fc22b21295f787974786c2201e8788975e72e2a1d109ff5";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -5,12 +5,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Keras";
|
||||
version = "2.1.3";
|
||||
version = "2.1.4";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7ca3a381523bad40a6922e88951a316664cb088fd01cea07e5ec8ada3327e3c7";
|
||||
sha256 = "7ee1fcc79072ac904a4f008d715bcb78c60250ae3cd41d99e268c60ade8d0d3a";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
@ -5,11 +5,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "libagent";
|
||||
version = "0.9.7";
|
||||
version = "0.9.8";
|
||||
|
||||
src = fetchPypi{
|
||||
inherit pname version;
|
||||
sha256 = "3ae14dc14859f7b4b92583ab0d40884ac07f26dbe00c7b747df2d50f4b1af098";
|
||||
sha256 = "7e7d62cedef9d1291b8e77abc463d50b3d685dfd953611d55a0414c12276aa78";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -3,11 +3,11 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "m2r";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.1.12";
|
||||
version = "0.1.13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "adfb86ebb7ff3fcd3ebb27ce8cd6f795c409a13f0c03363e265f17419ce5b9ab";
|
||||
sha256 = "b19e3703a3a897859f01ff6a068ee9a0eea8e8fdf75e896e00e88b3476a12f87";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mistune docutils ];
|
||||
|
@ -22,12 +22,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "magic-wormhole";
|
||||
version = "0.10.4";
|
||||
version = "0.10.5";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "cd3105975e71bc6437848c7fc9f0b23ef0e0c625c8b19ec66a5ddc727c6d11ae";
|
||||
sha256 = "9558ea1f3551e535deec3462cd5c8391cb32ebb12ecd8b40b36861dbee4917ee";
|
||||
};
|
||||
|
||||
checkInputs = [ mock ];
|
||||
|
@ -16,9 +16,8 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "natsort";
|
||||
version = "5.1.1";
|
||||
version = "5.2.0";
|
||||
|
||||
buildInputs = [
|
||||
hypothesis
|
||||
@ -36,11 +35,9 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9ffbfb74bf3fc3905be1b9b052ed865675651e38fcd972ed1ed5c64a02f93cbd";
|
||||
sha256 = "c960082d2145b04723041c4b85092546560538e29664dd197a1344d5b090bc91";
|
||||
};
|
||||
|
||||
patches = lib.optional (isPy35 || isPy36) ./python-3.6.3-test-failures.patch;
|
||||
|
||||
# testing based on project's tox.ini
|
||||
checkPhase = ''
|
||||
pytest --doctest-modules natsort
|
||||
|
@ -1,37 +0,0 @@
|
||||
diff --git a/test_natsort/test_string_component_transform_factory.py b/test_natsort/test_string_component_transform_factory.py
|
||||
index 6790e51..8db4efb 100644
|
||||
--- a/test_natsort/test_string_component_transform_factory.py
|
||||
+++ b/test_natsort/test_string_component_transform_factory.py
|
||||
@@ -24,6 +24,8 @@ from hypothesis.strategies import (
|
||||
)
|
||||
from compat.locale import bad_uni_chars
|
||||
|
||||
+import pytest
|
||||
+
|
||||
|
||||
# Each test has an "example" version for demonstrative purposes,
|
||||
# and a test that uses the hypothesis module.
|
||||
@@ -77,6 +79,7 @@ def test_string_component_transform_factory_with_LOCALE_returns_fast_int_and_gro
|
||||
assert _string_component_transform_factory(ns.LOCALE)(x) == fast_int(x, key=get_strxfrm())
|
||||
|
||||
|
||||
+@pytest.mark.xfail
|
||||
@given(text())
|
||||
def test_string_component_transform_factory_with_LOCALE_returns_fast_int_and_groupletters(x):
|
||||
assume(x)
|
||||
@@ -89,6 +92,7 @@ def test_string_component_transform_factory_with_LOCALE_and_GROUPLETTERS_returns
|
||||
assert _string_component_transform_factory(ns.GROUPLETTERS | ns.LOCALE)(x) == fast_int(x, key=lambda x: get_strxfrm()(_groupletters(x)))
|
||||
|
||||
|
||||
+@pytest.mark.xfail
|
||||
@given(text())
|
||||
def test_string_component_transform_factory_with_LOCALE_and_GROUPLETTERS_returns_fast_int_and_groupletters_and_locale_convert(x):
|
||||
assume(x)
|
||||
@@ -104,6 +108,7 @@ def test_string_component_transform_factory_with_LOCALE_and_DUMB_returns_fast_in
|
||||
assert _string_component_transform_factory(ns._DUMB | ns.LOCALE)(x) == fast_int(x, key=lambda x: get_strxfrm()(_groupletters(x)))
|
||||
|
||||
|
||||
+@pytest.mark.xfail
|
||||
@given(text())
|
||||
def test_string_component_transform_factory_with_LOCALE_and_DUMB_returns_fast_int_and_groupletters_and_locale_convert(x):
|
||||
assume(x)
|
@ -2,13 +2,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "numpy";
|
||||
version = "1.13.3";
|
||||
version = "1.14.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "36ee86d5adbabc4fa2643a073f93d5504bdfed37a149a3a49f4dde259f35a750";
|
||||
sha256 = "3de643935b212307b420248018323a44ec51987a336d1d747c1322afc3c099fb";
|
||||
};
|
||||
|
||||
disabled = isPyPy;
|
||||
|
27
pkgs/development/python-modules/numpydoc/default.nix
Normal file
27
pkgs/development/python-modules/numpydoc/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, sphinx
|
||||
, jinja2
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "numpydoc";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname;
|
||||
inherit version;
|
||||
sha256 = "2dc7b2c4e3914745e38e370946fa4c109817331e6d450806285c08bce5cd575a";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
propagatedBuildInputs = [ sphinx jinja2 ];
|
||||
|
||||
meta = {
|
||||
description = "Sphinx extension to support docstrings in Numpy format";
|
||||
homepage = "https://github.com/numpy/numpydoc";
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}
|
@ -16,11 +16,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oauthenticator";
|
||||
version = "0.7.2";
|
||||
version = "0.7.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0rlg63ii7sxj1xad2nx6wk1xgv3a8dm0az0q9g2v6hdv9cnc4b55";
|
||||
sha256 = "cb0b2564e46db28350693bc3e6457333c4ee21af5066ac743730e3f3173ea7ed";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
|
@ -4,7 +4,6 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "packaging";
|
||||
version = "16.8";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@ -13,7 +12,11 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ pyparsing six ];
|
||||
|
||||
buildInputs = [ pytest pretend ];
|
||||
checkInputs = [ pytest pretend ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test tests
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Core utilities for Python packages";
|
||||
|
@ -2,11 +2,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "pafy";
|
||||
version = "0.5.3.1";
|
||||
version = "0.5.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1a7dxi95m1043rxx1r5x3ngb66nwlq6aqcasyqqjzmmmjps4zrim";
|
||||
sha256 = "e842dc589a339a870b5869cc3802f2e95824edf347f65128223cd5ebdff21024";
|
||||
};
|
||||
|
||||
# No tests included in archive
|
||||
|
@ -5,20 +5,21 @@
|
||||
, pytestrunner
|
||||
, pytest
|
||||
, glibcLocales
|
||||
, packaging
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "path.py";
|
||||
version = "10.5";
|
||||
version = "11.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "63a7af08676668fd51750f111affbd38c1a13c61aba15c6665b16681771c79a8";
|
||||
sha256 = "16134e5b287aba4a4125a6722e7837cf2a149fccc5000c500ae6c71a5525488b";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
buildInputs = [setuptools_scm glibcLocales ];
|
||||
checkInputs = [ pytest pytestrunner glibcLocales packaging ];
|
||||
buildInputs = [ setuptools_scm ];
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pendulum";
|
||||
version = "1.4.0";
|
||||
version = "1.4.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e996c34fb101c9c6d88a839c19af74d7c067b92ed3371274efcf4d4b6dc160a6";
|
||||
sha256 = "3f16fb759e6126dd89d49886f8100caa72e5ab36563bc148b4f7eddfa0099c0f";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ dateutil pytzdata tzlocal ];
|
||||
|
@ -6,12 +6,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pexpect";
|
||||
version = "4.3.1";
|
||||
version = "4.4.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8e287b171dbaf249d0b06b5f2e88cb7e694651d2d0b8c15bccb83170d3c55575";
|
||||
sha256 = "67b85a1565968e3d5b5e7c9283caddc90c3947a2625bed1905be27bd5a03e47d";
|
||||
};
|
||||
|
||||
# Wants to run pythonin a subprocess
|
||||
|
@ -7,11 +7,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "plone.testing";
|
||||
version = "5.1.1";
|
||||
version = "6.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2ca558a910b93355b760535b233518be3a06c58e46160487bf802b6f7cb1e511";
|
||||
sha256 = "8aa7c45237b883ea1d1c28fb465322f69310b084b9f9b6a79af64401b649dc4c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ setuptools zope_testing ];
|
||||
|
@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "plotly";
|
||||
version = "2.3.0";
|
||||
version = "2.4.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "95e72273699108f215886ab961dbf0890904d39583be39eabcd0788bc7ccf695";
|
||||
sha256 = "8e7ee039231fec52b0b38d45e7470f70b117f6527b08cc922d74992f4d082858";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "plumbum";
|
||||
version = "1.6.5";
|
||||
version = "1.6.6";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
@ -16,6 +16,6 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d8abb059bb62beb6c99db08d3598167abaeeab53eaf218f91e74bae471a24bee";
|
||||
sha256 = "d179b90a9927f91427a28c1bac2864c61342cb43ef39aa7324c7c9a96bcc23eb";
|
||||
};
|
||||
}
|
@ -11,11 +11,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "prov";
|
||||
version = "1.5.1";
|
||||
version = "1.5.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7a2d72b0df43cd9c6e374d815c8ce3cd5ca371d54f98f837853ac9fcc98aee4c";
|
||||
sha256 = "640dc158d931403bc6c1a0ad80702caae71f810bac21f90ec605865c8444b7bb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -6,12 +6,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scrypt";
|
||||
version = "0.8.0";
|
||||
version = "0.8.6";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0830r3q8f8mc4738ngcvwhv9kih5c6zf87mzkdifzf2h6kss99fl";
|
||||
sha256 = "f8239b2d47fa1d40bc27efd231dc7083695d10c1c2ac51a99380360741e0362d";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
@ -2,12 +2,12 @@
|
||||
, mesa, xorg, freetype, fontconfig, future}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.3.0";
|
||||
version = "1.3.1";
|
||||
pname = "pyglet";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "640a8f8e3d7bf8dbb551fa707f14021f619932990ab1401c48ba9dbcc6c2242c";
|
||||
sha256 = "0a73280fa3949ea4890fee28f625c10b1e10a7cda390a08b6bce4740948167cd";
|
||||
};
|
||||
|
||||
postPatch = let
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-mock";
|
||||
version = "1.6.3";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "920d1167af5c2c2ad3fa0717d0c6c52e97e97810160c15721ac895cac53abb1c";
|
||||
sha256 = "8ed6c9ac6b7565b226b4da2da48876c9198d76401ec8d9c5e4c69b45423e33f8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pytest ] ++ lib.optional (!isPy3k) mock;
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-runner";
|
||||
version = "3.0";
|
||||
version = "4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "00v7pi09q60yx0l1kzyklnmr5bp597mir85a9gsi7bdfyly3lz0g";
|
||||
sha256 = "183f3745561b1e00ea51cd97634ba5c540848ab4aa8016a81faba7fb7f33ec76";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools_scm pytest ];
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-magic";
|
||||
version = "0.4.13";
|
||||
version = "0.4.15";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "128j9y30zih6cyjyjnxhghnvpjm8vw40a1q7pgmrp035yvkaqkk0";
|
||||
sha256 = "f3765c0f582d2dfc72c15f3b5a82aecfae9498bd29ca840d72f37d7bd38bfcd5";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "regex";
|
||||
version = "2018.01.10";
|
||||
version = "2018.02.08";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "139678fc013b75e486e580c39b4c52d085ed7362e400960f8be1711a414f16b5";
|
||||
sha256 = "2353c0e983c4029caf32016f1dddef623c3117ac282a818468c6d2f5d541698d";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
@ -8,11 +8,11 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "ropper";
|
||||
version = "1.11.3";
|
||||
version = "1.11.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "77d9b03083d0a098261a1d2856cd330ea3db520511a78472e421a00526aa220c";
|
||||
sha256 = "33777d0c3ddd9ca7bc48f53dbe2c4a222a567f1125c43b1c34fb1b360d0b19dc";
|
||||
};
|
||||
# XXX tests rely on user-writeable /dev/shm to obtain process locks and return PermissionError otherwise
|
||||
# workaround: sudo chmod 777 /dev/shm
|
||||
|
@ -14,11 +14,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "s3transfer";
|
||||
version = "0.1.12";
|
||||
version = "0.1.13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07hjj1cy62sc3rh5lhna9mhylp7h7aak4v6mf6809q4nc8j1p28h";
|
||||
sha256 = "90dc18e028989c609146e241ea153250be451e05ecc0c2832565231dacdf59c1";
|
||||
};
|
||||
|
||||
foo = 1;
|
||||
|
@ -27,10 +27,10 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "Sphinx";
|
||||
version = "1.6.6";
|
||||
version = "1.7.0";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c39a6fa41bd3ec6fc10064329a664ed3a3ca2e27640a823dc520c682e4433cdb";
|
||||
sha256 = "278b7923f3f4ed2a1d1359f0ae94d89ac90ddd4189e8362f4b4d3baa2afe6b4a";
|
||||
};
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
|
@ -11,11 +11,11 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "SQLAlchemy";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.2.2";
|
||||
version = "1.2.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "64b4720f0a8e033db0154d3824f5bf677cf2797e11d44743cf0aebd2a0499d9d";
|
||||
sha256 = "9e9ec143e2e246f385cfb2de8daa89d2fa466279addcb7be9e102988fdf33d24";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
@ -5,12 +5,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sqlmap";
|
||||
version = "1.2";
|
||||
version = "1.2.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "18ac6392a710f0cc106c28c4e27e43e8f1b25cb46fb8b6714836212607c07b10";
|
||||
sha256 = "6256e0d5ab6d465152c8a8a21bdb97b50e155255d6bedd586ce214ed7a1fb9d7";
|
||||
};
|
||||
|
||||
# No tests in archive
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stripe";
|
||||
version = "1.77.1";
|
||||
version = "1.77.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
# Tests require network connectivity and there's no easy way to disable
|
||||
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d1c638b417301849ff4ee0327332cfdec96edda83c79b08af307339138077d59";
|
||||
sha256 = "3bcd55108dd2c0e853a91147ee843bc375f35767e64d0f7680e5bd82ddb7fbf1";
|
||||
};
|
||||
|
||||
buildInputs = [ unittest2 mock ];
|
||||
|
@ -5,11 +5,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "trezor";
|
||||
version = "0.7.16";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6bdb69fc125ba705854e21163be6c7da3aa17c2a3a84f40b6d8a3f6e4a8cb314";
|
||||
sha256 = "2dd01e11d669cb8f5e40fcf1748bcabc41fb5f41edb010fc807dc3088f9bd7de";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ protobuf hidapi requests mnemonic ];
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "voluptuous";
|
||||
version = "0.10.5";
|
||||
version = "0.11.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "15i3gaap8ilhpbah1ffc6q415wkvliqxilc6s69a4rinvkw6cx3s";
|
||||
sha256 = "af7315c9fa99e0bfd195a21106c82c81619b42f0bd9b6e287b797c6b6b6a9918";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "webcolors";
|
||||
version = "1.7";
|
||||
version = "1.8.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e47e68644d41c0b1f1e4d939cfe4039bdf1ab31234df63c7a4f59d4766487206";
|
||||
sha256 = "030562f624467a9901f0b455fef05486a88cfb5daa1e356bd4aacea043850b59";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
|
@ -8,11 +8,11 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "widgetsnbextension";
|
||||
name = "${pname}-${version}";
|
||||
version = "3.1.3";
|
||||
version = "3.1.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "02edabcaeaa247721df8027f660f3384c20f30c4865a7ea5dd80685c368736df";
|
||||
sha256 = "79f164a644620abbe351440a70468ac3a5b22b392afa4577c8d5f91577a2669b";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ notebook ];
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yapf";
|
||||
version = "0.20.1";
|
||||
version = "0.20.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bd19f246be7193ad2acdc04702b92315f1ae28d49c82f6671afdeefe9d32f468";
|
||||
sha256 = "7f5efdb7edf0318b91e53721d934580a77153e24a222f52f6e1c3b7629aead43";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zodbpickle";
|
||||
version = "0.7.0";
|
||||
version = "1.0";
|
||||
name = "${pname}-${version}";
|
||||
disabled = isPyPy; # https://github.com/zopefoundation/zodbpickle/issues/10
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "95a247fb17bce980af8d548af70ac5bd1bad22773f242eb8efa24428efa909a8";
|
||||
sha256 = "3af9169fb1d5901cf6693ab356b0dfda20ad2cacc5673fad59b4449ed50d5399";
|
||||
};
|
||||
|
||||
# fails..
|
||||
|
@ -28,6 +28,13 @@ let
|
||||
sha256 = "14zbnbn53yvrpv79ch6n02myq9b4winjkaykzi356sfqb7f3d16g";
|
||||
};
|
||||
});
|
||||
voluptuous = super.voluptuous.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.10.5";
|
||||
src = oldAttrs.src.override {
|
||||
inherit version;
|
||||
sha256 = "15i3gaap8ilhpbah1ffc6q415wkvliqxilc6s69a4rinvkw6cx3s";
|
||||
};
|
||||
});
|
||||
hass-frontend = super.callPackage ./frontend.nix { };
|
||||
};
|
||||
};
|
||||
|
@ -866,7 +866,7 @@ unpackPhase() {
|
||||
# necessary when sources have been copied from other store
|
||||
# locations.
|
||||
if [ "${dontMakeSourcesWritable:-0}" != 1 ]; then
|
||||
chmod -R u+w "$sourceRoot"
|
||||
chmod -R u+w -- "$sourceRoot"
|
||||
fi
|
||||
|
||||
runHook postUnpack
|
||||
|
@ -26,12 +26,12 @@ let
|
||||
|
||||
in buildPythonPackage rec {
|
||||
pname = "awscli";
|
||||
version = "1.14.32";
|
||||
version = "1.14.41";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "09i82nf43pv5v598wvbj4nk1bfc64wp7xzlx5ykaca5m40lkarz0";
|
||||
sha256 = "8cf2a52d56f26e22e2fbd7b72649ef1d3de8930df7a730d7f27418d129bb3a6a";
|
||||
};
|
||||
|
||||
# No tests included
|
||||
|
@ -11430,25 +11430,7 @@ in {
|
||||
blas = pkgs.openblasCompat;
|
||||
};
|
||||
|
||||
numpydoc = buildPythonPackage rec {
|
||||
pname = "numpydoc";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.6.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
|
||||
sha256 = "1ec573e91f6d868a9940d90a6599f3e834a2d6c064030fbe078d922ee21dcfa1";
|
||||
};
|
||||
|
||||
buildInputs = [ self.nose ];
|
||||
propagatedBuildInputs = [ self.sphinx self.matplotlib ];
|
||||
|
||||
meta = {
|
||||
description = "Sphinx extension to support docstrings in Numpy format";
|
||||
homepage = "https://github.com/numpy/numpydoc";
|
||||
license = licenses.free;
|
||||
};
|
||||
};
|
||||
numpydoc = callPackage ../development/python-modules/numpydoc { };
|
||||
|
||||
numpy-stl = callPackage ../development/python-modules/numpy-stl { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user