Merge pull request #87814 from NixOS/staging-next

Staging next
wip/yesman
Frederik Rietdijk 4 years ago committed by GitHub
commit b27a19d5bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      pkgs/development/compilers/gcc/10/default.nix
  2. 2
      pkgs/development/compilers/gcc/4.8/default.nix
  3. 2
      pkgs/development/compilers/gcc/4.9/default.nix
  4. 14
      pkgs/development/compilers/gcc/6/default.nix
  5. 8
      pkgs/development/compilers/gcc/7/default.nix
  6. 8
      pkgs/development/compilers/gcc/8/default.nix
  7. 8
      pkgs/development/compilers/gcc/9/default.nix
  8. 36
      pkgs/development/compilers/gcc/builder.sh
  9. 7
      pkgs/development/compilers/gcc/common/configure-flags.nix
  10. 42
      pkgs/development/compilers/rust/1_43.nix
  11. 1
      pkgs/development/compilers/rust/print-hashes.sh
  12. 30
      pkgs/development/interpreters/python/cpython/3.7/fix-hardcoded-path-checking-for-rpmbuild.patch
  13. 4
      pkgs/development/interpreters/python/cpython/default.nix
  14. 12
      pkgs/development/interpreters/python/hooks/pytest-check-hook.sh
  15. 4
      pkgs/development/python-modules/GitPython/default.nix
  16. 4
      pkgs/development/python-modules/JPype1/default.nix
  17. 4
      pkgs/development/python-modules/Mako/default.nix
  18. 4
      pkgs/development/python-modules/Nikola/default.nix
  19. 4
      pkgs/development/python-modules/acoustics/default.nix
  20. 4
      pkgs/development/python-modules/adal/default.nix
  21. 4
      pkgs/development/python-modules/aiofiles/default.nix
  22. 4
      pkgs/development/python-modules/alembic/default.nix
  23. 4
      pkgs/development/python-modules/alerta-server/default.nix
  24. 4
      pkgs/development/python-modules/alerta/default.nix
  25. 4
      pkgs/development/python-modules/ansible-runner/default.nix
  26. 4
      pkgs/development/python-modules/apprise/default.nix
  27. 31
      pkgs/development/python-modules/arrow/default.nix
  28. 4
      pkgs/development/python-modules/atlassian-python-api/default.nix
  29. 4
      pkgs/development/python-modules/auth0-python/default.nix
  30. 4
      pkgs/development/python-modules/authheaders/default.nix
  31. 4
      pkgs/development/python-modules/autobahn/default.nix
  32. 4
      pkgs/development/python-modules/avro-python3/default.nix
  33. 4
      pkgs/development/python-modules/avro/default.nix
  34. 4
      pkgs/development/python-modules/awkward/default.nix
  35. 4
      pkgs/development/python-modules/awkward1/default.nix
  36. 4
      pkgs/development/python-modules/bleach/default.nix
  37. 4
      pkgs/development/python-modules/boto3/default.nix
  38. 4
      pkgs/development/python-modules/botocore/default.nix
  39. 4
      pkgs/development/python-modules/bottleneck/default.nix
  40. 4
      pkgs/development/python-modules/catalogue/default.nix
  41. 4
      pkgs/development/python-modules/cfn-lint/default.nix
  42. 4
      pkgs/development/python-modules/chalice/default.nix
  43. 4
      pkgs/development/python-modules/cjson/default.nix
  44. 4
      pkgs/development/python-modules/click/default.nix
  45. 4
      pkgs/development/python-modules/codecov/default.nix
  46. 4
      pkgs/development/python-modules/cookiecutter/default.nix
  47. 4
      pkgs/development/python-modules/cryptography/default.nix
  48. 2
      pkgs/development/python-modules/cryptography/vectors.nix
  49. 4
      pkgs/development/python-modules/dask-jobqueue/default.nix
  50. 4
      pkgs/development/python-modules/dask-xgboost/default.nix
  51. 7
      pkgs/development/python-modules/dateparser/default.nix
  52. 4
      pkgs/development/python-modules/debian/default.nix
  53. 4
      pkgs/development/python-modules/dictionaries/default.nix
  54. 4
      pkgs/development/python-modules/distributed/default.nix
  55. 4
      pkgs/development/python-modules/django-cors-headers/default.nix
  56. 4
      pkgs/development/python-modules/django-dynamic-preferences/default.nix
  57. 4
      pkgs/development/python-modules/django_reversion/default.nix
  58. 4
      pkgs/development/python-modules/dockerfile-parse/default.nix
  59. 4
      pkgs/development/python-modules/dogpile.cache/default.nix
  60. 4
      pkgs/development/python-modules/dulwich/default.nix
  61. 4
      pkgs/development/python-modules/entrance/default.nix
  62. 4
      pkgs/development/python-modules/enum34/default.nix
  63. 4
      pkgs/development/python-modules/ephem/default.nix
  64. 4
      pkgs/development/python-modules/escapism/default.nix
  65. 4
      pkgs/development/python-modules/eventlet/default.nix
  66. 4
      pkgs/development/python-modules/faker/default.nix
  67. 4
      pkgs/development/python-modules/flammkuchen/default.nix
  68. 4
      pkgs/development/python-modules/flask-autoindex/default.nix
  69. 4
      pkgs/development/python-modules/flask-migrate/default.nix
  70. 4
      pkgs/development/python-modules/flask/default.nix
  71. 36
      pkgs/development/python-modules/flit-core/default.nix
  72. 16
      pkgs/development/python-modules/flit/default.nix
  73. 4
      pkgs/development/python-modules/flower/default.nix
  74. 4
      pkgs/development/python-modules/fluent-logger/default.nix
  75. 4
      pkgs/development/python-modules/folium/default.nix
  76. 4
      pkgs/development/python-modules/fonttools/default.nix
  77. 4
      pkgs/development/python-modules/freezegun/default.nix
  78. 4
      pkgs/development/python-modules/gast/default.nix
  79. 4
      pkgs/development/python-modules/gitdb/default.nix
  80. 4
      pkgs/development/python-modules/github-webhook/default.nix
  81. 4
      pkgs/development/python-modules/gnutls/default.nix
  82. 4
      pkgs/development/python-modules/google_cloud_firestore/default.nix
  83. 4
      pkgs/development/python-modules/google_cloud_iot/default.nix
  84. 4
      pkgs/development/python-modules/google_cloud_spanner/default.nix
  85. 4
      pkgs/development/python-modules/google_cloud_speech/default.nix
  86. 4
      pkgs/development/python-modules/graphite-web/default.nix
  87. 4
      pkgs/development/python-modules/holidays/default.nix
  88. 4
      pkgs/development/python-modules/homeassistant-pyozw/default.nix
  89. 4
      pkgs/development/python-modules/httplib2/default.nix
  90. 45
      pkgs/development/python-modules/hypothesis/2.nix
  91. 11
      pkgs/development/python-modules/hypothesis/default.nix
  92. 4
      pkgs/development/python-modules/iapws/default.nix
  93. 4
      pkgs/development/python-modules/imbalanced-learn/default.nix
  94. 4
      pkgs/development/python-modules/impacket/default.nix
  95. 4
      pkgs/development/python-modules/invoke/default.nix
  96. 6
      pkgs/development/python-modules/ipyparallel/default.nix
  97. 4
      pkgs/development/python-modules/ipython/default.nix
  98. 4
      pkgs/development/python-modules/ipyvue/default.nix
  99. 4
      pkgs/development/python-modules/jeepney/default.nix
  100. 4
      pkgs/development/python-modules/jinja2/default.nix
  101. Some files were not shown because too many files have changed in this diff Show More

@ -5,6 +5,7 @@
, langObjCpp ? stdenv.targetPlatform.isDarwin
, langGo ? false
, profiledCompiler ? false
, langJit ? false
, staticCompiler ? false
, enableShared ? true
, enableLTO ? true
@ -85,7 +86,7 @@ stdenv.mkDerivation ({
inherit patches;
outputs = [ "out" "lib" "man" "info" ];
outputs = [ "out" "man" "info" ] ++ stdenv.lib.optional (!langJit) "lib";
setOutputFlags = false;
NIX_NO_SELF_RPATH = true;
@ -100,10 +101,10 @@ stdenv.mkDerivation ({
--replace 'if (stdinc)' 'if (0)'
substituteInPlace libgcc/config/t-slibgcc-darwin \
--replace "-install_name @shlib_slibdir@/\$(SHLIB_INSTALL_NAME)" "-install_name $lib/lib/\$(SHLIB_INSTALL_NAME)"
--replace "-install_name @shlib_slibdir@/\$(SHLIB_INSTALL_NAME)" "-install_name ''${!outputLib}/lib/\$(SHLIB_INSTALL_NAME)"
substituteInPlace libgfortran/configure \
--replace "-install_name \\\$rpath/\\\$soname" "-install_name $lib/lib/\\\$soname"
--replace "-install_name \\\$rpath/\\\$soname" "-install_name ''${!outputLib}/lib/\\\$soname"
'';
postPatch = ''
@ -202,6 +203,7 @@ stdenv.mkDerivation ({
langGo
langObjC
langObjCpp
langJit
;
};

@ -5,6 +5,7 @@
, langJava ? false
, langGo ? false
, profiledCompiler ? false
, langJit ? false
, staticCompiler ? false
, enableShared ? true
, enableLTO ? true
@ -212,6 +213,7 @@ stdenv.mkDerivation ({
langGo
langObjC
langObjCpp
langJit
;
};

@ -5,6 +5,7 @@
, langJava ? false
, langGo ? false
, profiledCompiler ? false
, langJit ? false
, staticCompiler ? false
, enableShared ? true
, enableLTO ? true
@ -224,6 +225,7 @@ stdenv.mkDerivation ({
langGo
langObjC
langObjCpp
langJit
;
};

@ -6,6 +6,7 @@
, langJava ? false
, langGo ? false
, profiledCompiler ? false
, langJit ? false
, staticCompiler ? false
, enableShared ? true
, enableLTO ? true
@ -126,7 +127,7 @@ stdenv.mkDerivation ({
inherit patches;
outputs = if langJava || langGo then ["out" "man" "info"]
outputs = if langJava || langGo || langJit then ["out" "man" "info"]
else [ "out" "lib" "man" "info" ];
setOutputFlags = false;
NIX_NO_SELF_RPATH = true;
@ -136,21 +137,17 @@ stdenv.mkDerivation ({
hardeningDisable = [ "format" "pie" ];
prePatch =
(stdenv.lib.optionalString (langJava || langGo) ''
export lib=$out
'')
# This should kill all the stdinc frameworks that gcc and friends like to
# insert into default search paths.
+ stdenv.lib.optionalString hostPlatform.isDarwin ''
stdenv.lib.optionalString hostPlatform.isDarwin ''
substituteInPlace gcc/config/darwin-c.c \
--replace 'if (stdinc)' 'if (0)'
substituteInPlace libgcc/config/t-slibgcc-darwin \
--replace "-install_name @shlib_slibdir@/\$(SHLIB_INSTALL_NAME)" "-install_name $lib/lib/\$(SHLIB_INSTALL_NAME)"
--replace "-install_name @shlib_slibdir@/\$(SHLIB_INSTALL_NAME)" "-install_name ''${!outputLib}/lib/\$(SHLIB_INSTALL_NAME)"
substituteInPlace libgfortran/configure \
--replace "-install_name \\\$rpath/\\\$soname" "-install_name $lib/lib/\\\$soname"
--replace "-install_name \\\$rpath/\\\$soname" "-install_name ''${!outputLib}/lib/\\\$soname"
'';
postPatch =
@ -244,6 +241,7 @@ stdenv.mkDerivation ({
langGo
langObjC
langObjCpp
langJit
;
};

@ -4,6 +4,7 @@
, langObjCpp ? stdenv.targetPlatform.isDarwin
, langGo ? false
, profiledCompiler ? false
, langJit ? false
, staticCompiler ? false
, enableShared ? true
, enableLTO ? true
@ -90,7 +91,7 @@ stdenv.mkDerivation ({
inherit patches;
outputs = [ "out" "lib" "man" "info" ];
outputs = [ "out" "man" "info" ] ++ stdenv.lib.optional (!langJit) "lib";
setOutputFlags = false;
NIX_NO_SELF_RPATH = true;
@ -105,10 +106,10 @@ stdenv.mkDerivation ({
--replace 'if (stdinc)' 'if (0)'
substituteInPlace libgcc/config/t-slibgcc-darwin \
--replace "-install_name @shlib_slibdir@/\$(SHLIB_INSTALL_NAME)" "-install_name $lib/lib/\$(SHLIB_INSTALL_NAME)"
--replace "-install_name @shlib_slibdir@/\$(SHLIB_INSTALL_NAME)" "-install_name ''${!outputLib}/lib/\$(SHLIB_INSTALL_NAME)"
substituteInPlace libgfortran/configure \
--replace "-install_name \\\$rpath/\\\$soname" "-install_name $lib/lib/\\\$soname"
--replace "-install_name \\\$rpath/\\\$soname" "-install_name ''${!outputLib}/lib/\\\$soname"
'';
postPatch = ''
@ -206,6 +207,7 @@ stdenv.mkDerivation ({
langGo
langObjC
langObjCpp
langJit
;
} ++ optional (targetPlatform.isAarch64) "--enable-fix-cortex-a53-843419"
++ optional targetPlatform.isNetBSD "--disable-libcilkrts"

@ -4,6 +4,7 @@
, langObjCpp ? stdenv.targetPlatform.isDarwin
, langGo ? false
, profiledCompiler ? false
, langJit ? false
, staticCompiler ? false
, enableShared ? true
, enableLTO ? true
@ -82,7 +83,7 @@ stdenv.mkDerivation ({
inherit patches;
outputs = [ "out" "lib" "man" "info" ];
outputs = [ "out" "man" "info" ] ++ stdenv.lib.optional (!langJit) "lib";
setOutputFlags = false;
NIX_NO_SELF_RPATH = true;
@ -97,10 +98,10 @@ stdenv.mkDerivation ({
--replace 'if (stdinc)' 'if (0)'
substituteInPlace libgcc/config/t-slibgcc-darwin \
--replace "-install_name @shlib_slibdir@/\$(SHLIB_INSTALL_NAME)" "-install_name $lib/lib/\$(SHLIB_INSTALL_NAME)"
--replace "-install_name @shlib_slibdir@/\$(SHLIB_INSTALL_NAME)" "-install_name ''${!outputLib}/lib/\$(SHLIB_INSTALL_NAME)"
substituteInPlace libgfortran/configure \
--replace "-install_name \\\$rpath/\\\$soname" "-install_name $lib/lib/\\\$soname"
--replace "-install_name \\\$rpath/\\\$soname" "-install_name ''${!outputLib}/lib/\\\$soname"
'';
postPatch = ''
@ -197,6 +198,7 @@ stdenv.mkDerivation ({
langGo
langObjC
langObjCpp
langJit
;
};

@ -6,6 +6,7 @@
, langD ? false
, langGo ? false
, profiledCompiler ? false
, langJit ? false
, staticCompiler ? false
, enableShared ? true
, enableLTO ? true
@ -87,7 +88,7 @@ stdenv.mkDerivation ({
inherit patches;
outputs = [ "out" "lib" "man" "info" ];
outputs = [ "out" "man" "info" ] ++ stdenv.lib.optional (!langJit) "lib";
setOutputFlags = false;
NIX_NO_SELF_RPATH = true;
@ -102,10 +103,10 @@ stdenv.mkDerivation ({
--replace 'if (stdinc)' 'if (0)'
substituteInPlace libgcc/config/t-slibgcc-darwin \
--replace "-install_name @shlib_slibdir@/\$(SHLIB_INSTALL_NAME)" "-install_name $lib/lib/\$(SHLIB_INSTALL_NAME)"
--replace "-install_name @shlib_slibdir@/\$(SHLIB_INSTALL_NAME)" "-install_name ''${!outputLib}/lib/\$(SHLIB_INSTALL_NAME)"
substituteInPlace libgfortran/configure \
--replace "-install_name \\\$rpath/\\\$soname" "-install_name $lib/lib/\\\$soname"
--replace "-install_name \\\$rpath/\\\$soname" "-install_name ''${!outputLib}/lib/\\\$soname"
'';
postPatch = ''
@ -205,6 +206,7 @@ stdenv.mkDerivation ({
langGo
langObjC
langObjCpp
langJit
;
};

@ -202,34 +202,34 @@ postConfigure() {
preInstall() {
mkdir -p "$out/${targetConfig}/lib"
mkdir -p "$lib/${targetConfig}/lib"
mkdir -p "${!outputLib}/${targetConfig}/lib"
# Make ‘lib64’ symlinks to ‘lib’.
if [ -n "$is64bit" -a -z "$enableMultilib" ]; then
ln -s lib "$out/${targetConfig}/lib64"
ln -s lib "$lib/${targetConfig}/lib64"
ln -s lib "${!outputLib}/${targetConfig}/lib64"
fi
}
postInstall() {
# Move runtime libraries to $lib.
moveToOutput "${targetConfig+$targetConfig/}lib/lib*.so*" "$lib"
moveToOutput "${targetConfig+$targetConfig/}lib/lib*.la" "$lib"
moveToOutput "${targetConfig+$targetConfig/}lib/lib*.dylib" "$lib"
moveToOutput "${targetConfig+$targetConfig/}lib/lib*.dll.a" "$lib"
moveToOutput "share/gcc-*/python" "$lib"
for i in "$lib/${targetConfig}"/lib/*.{la,py}; do
substituteInPlace "$i" --replace "$out" "$lib"
# Move runtime libraries to lib output.
moveToOutput "${targetConfig+$targetConfig/}lib/lib*.so*" "${!outputLib}"
moveToOutput "${targetConfig+$targetConfig/}lib/lib*.la" "${!outputLib}"
moveToOutput "${targetConfig+$targetConfig/}lib/lib*.dylib" "${!outputLib}"
moveToOutput "${targetConfig+$targetConfig/}lib/lib*.dll.a" "${!outputLib}"
moveToOutput "share/gcc-*/python" "${!outputLib}"
for i in "${!outputLib}/${targetConfig}"/lib/*.{la,py}; do
substituteInPlace "$i" --replace "$out" "${!outputLib}"
done
if [ -n "$enableMultilib" ]; then
moveToOutput "${targetConfig+$targetConfig/}lib64/lib*.so*" "$lib"
moveToOutput "${targetConfig+$targetConfig/}lib64/lib*.la" "$lib"
moveToOutput "${targetConfig+$targetConfig/}lib64/lib*.dylib" "$lib"
moveToOutput "${targetConfig+$targetConfig/}lib64/lib*.so*" "${!outputLib}"
moveToOutput "${targetConfig+$targetConfig/}lib64/lib*.la" "${!outputLib}"
moveToOutput "${targetConfig+$targetConfig/}lib64/lib*.dylib" "${!outputLib}"
for i in "$lib/${targetConfig}"/lib64/*.{la,py}; do
substituteInPlace "$i" --replace "$out" "$lib"
for i in "${!outputLib}/${targetConfig}"/lib64/*.{la,py}; do
substituteInPlace "$i" --replace "$out" "${!outputLib}"
done
fi
@ -251,10 +251,10 @@ postInstall() {
fi
if type "install_name_tool"; then
for i in "$lib"/lib/*.*.dylib; do
for i in "${!outputLib}"/lib/*.*.dylib; do
install_name_tool -id "$i" "$i" || true
for old_path in $(otool -L "$i" | grep "$out" | awk '{print $1}'); do
new_path=`echo "$old_path" | sed "s,$out,$lib,"`
new_path=`echo "$old_path" | sed "s,$out,${!outputLib},"`
install_name_tool -change "$old_path" "$new_path" "$i" || true
done
done

@ -21,6 +21,7 @@
, langGo
, langObjC
, langObjCpp
, langJit
}:
assert cloog != null -> stdenv.lib.versionOlder version "5";
@ -123,6 +124,7 @@ let
++ lib.optional langObjC "objc"
++ lib.optional langObjCpp "obj-c++"
++ lib.optionals crossDarwin [ "objc" "obj-c++" ]
++ lib.optional langJit "jit"
)
)
}"
@ -175,7 +177,10 @@ let
"--disable-symvers"
"libat_cv_have_ifunc=no"
"--disable-gnu-indirect-function"
]
]
++ lib.optionals langJit [
"--enable-host-shared"
]
++ lib.optionals (langD) [
"--with-target-system-zlib=yes"
]

@ -0,0 +1,42 @@
# New rust versions should first go to staging.
# Things to check after updating:
# 1. Rustc should produce rust binaries on x86_64-linux, aarch64-linux and x86_64-darwin:
# i.e. nix-shell -p fd or @GrahamcOfBorg build fd on github
# This testing can be also done by other volunteers as part of the pull
# request review, in case platforms cannot be covered.
# 2. The LLVM version used for building should match with rust upstream.
# 3. Firefox and Thunderbird should still build on x86_64-linux.
{ stdenv, lib
, buildPackages
, newScope, callPackage
, CoreFoundation, Security
, llvmPackages_5
, pkgsBuildTarget, pkgsBuildBuild
} @ args:
import ./default.nix {
rustcVersion = "1.43.0";
rustcSha256 = "18akhk0wz1my6y9vhardriy2ysc482z0fnjdcgs9gy59kmnarxkm";
# Note: the version MUST be one version prior to the version we're
# building
bootstrapVersion = "1.42.0";
# fetch hashes by running `print-hashes.sh 1.43.0`
bootstrapHashes = {
i686-unknown-linux-gnu = "1c89c12c8fc1a45dcbcb9ee2e21cc634b8453f1d4cdd658269263de686aab4e4";
x86_64-unknown-linux-gnu = "7d1e07ad9c8a33d8d039def7c0a131c5917aa3ea0af3d0cc399c6faf7b789052";
arm-unknown-linux-gnueabihf = "6cf776b910d08fb0d1f88be94464e7b20a50f9d8b2ec6372c3c385aec0b70e7a";
armv7-unknown-linux-gnueabihf = "a36e7f2bd148e325a7b8e7131b4226266cf522b1a2b12d585dad9c38ef68f4d9";
aarch64-unknown-linux-gnu = "fdd39f856a062af265012861949ff6654e2b7103be034d046bec84ebe46e8d2d";
x86_64-apple-darwin = "db1055c46e0d54b99da05e88c71fea21b3897e74a4f5ff9390e934f3f050c0a8";
};
selectRustPackage = pkgs: pkgs.rust_1_43;
rustcPatches = [
];
}
(builtins.removeAttrs args [ "fetchpatch" ])

@ -13,7 +13,6 @@ PLATFORMS=(
arm-unknown-linux-gnueabihf
armv7-unknown-linux-gnueabihf
aarch64-unknown-linux-gnu
i686-apple-darwin
x86_64-apple-darwin
)
BASEURL=https://static.rust-lang.org/dist

@ -0,0 +1,30 @@
From a612c481f6116955d420db5ae1fe4c1eb93eb2f2 Mon Sep 17 00:00:00 2001
From: Marcin Niemira <marcin.niemira@gmail.com>
Date: Sun, 9 Jun 2019 07:05:06 +1000
Subject: [PATCH] bpo-11122: fix hardcoded path checking for rpmbuild in
bdist_rpm.py (GH-10594) (cherry picked from commit
45a14942c969ed508b35abd5e116cb18f84ce5b4)
Co-authored-by: Marcin Niemira <marcin.niemira@gmail.com>
---
Lib/distutils/command/bdist_rpm.py | 5 +----
.../next/Library/2018-11-12-19-08-50.bpo-11122.Gj7BQn.rst | 1 +
2 files changed, 2 insertions(+), 4 deletions(-)
create mode 100644 Misc/NEWS.d/next/Library/2018-11-12-19-08-50.bpo-11122.Gj7BQn.rst
diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py
index 20ca7ac6dcffa..74381cc69a6ce 100644
--- a/Lib/distutils/command/bdist_rpm.py
+++ b/Lib/distutils/command/bdist_rpm.py
@@ -309,10 +309,7 @@ def run(self):
# build package
log.info("building RPMs")
- rpm_cmd = ['rpm']
- if os.path.exists('/usr/bin/rpmbuild') or \
- os.path.exists('/bin/rpmbuild'):
- rpm_cmd = ['rpmbuild']
+ rpm_cmd = ['rpmbuild']
if self.source_only: # what kind of RPMs?
rpm_cmd.append('-bs')

@ -103,6 +103,10 @@ in with passthru; stdenv.mkDerivation {
] ++ optionals isPy35 [
# Backports support for LD_LIBRARY_PATH from 3.6
./3.5/ld_library_path.patch
] ++ optionals (isPy35 || isPy36 || isPy37) [
# Backport a fix for discovering `rpmbuild` command when doing `python setup.py bdist_rpm` to 3.5, 3.6, 3.7.
# See: https://bugs.python.org/issue11122
./3.7/fix-hardcoded-path-checking-for-rpmbuild.patch
] ++ optionals (isPy37 || isPy38) [
# Fix darwin build https://bugs.python.org/issue34027
./3.7/darwin-libutil.patch

@ -46,4 +46,16 @@ function pytestCheckPhase() {
if [ -z "${dontUsePytestCheck-}" ] && [ -z "${installCheckPhase-}" ]; then
echo "Using pytestCheckPhase"
preDistPhases+=" pytestCheckPhase"
# It's almost always the case that setuptoolsCheckPhase should not be ran
# when the pytestCheckHook is being ran
if [ -z "${useSetuptoolsCheck-}" ]; then
dontUseSetuptoolsCheck=1
# Remove command if already injected into preDistPhases
if [[ "$preDistPhases" =~ "setuptoolsCheckPhase" ]]; then
echo "Removing setuptoolsCheckPhase"
preDistPhases=${preDistPhases/setuptoolsCheckPhase/}
fi
fi
fi

@ -1,13 +1,13 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, substituteAll, git, gitdb, mock, nose, ddt }:
buildPythonPackage rec {
version = "3.1.0";
version = "3.1.2";
pname = "GitPython";
disabled = isPy27; # no longer supported
src = fetchPypi {
inherit pname version;
sha256 = "1jzllsy9lwc9yibccgv7h9naxisazx2n3zmpy21c8n5xhysw69p4";
sha256 = "864a47472548f3ba716ca202e034c1900f197c0fb3a08f641c20c3cafd15ed94";
};
patches = [

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "JPype1";
version = "0.7.1";
version = "0.7.4";
src = fetchPypi {
inherit pname version;
sha256 = "c16d01cde9c2c955d76d45675e64b06c3255784d49cea4147024e99a01fbbb18";
sha256 = "92f24b0fe11e90b57343494ce38699043d9e6828a22a99dddbcf99c0adb4c1f7";
};
checkInputs = [

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "Mako";
version = "1.1.1";
version = "1.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "2984a6733e1d472796ceef37ad48c26f4a984bb18119bb2dbc37a44d8f6e75a4";
sha256 = "3139c5d64aa5d175dbafb95027057128b5fbd05a40c53999f3905ceb53366d9d";
};
checkInputs = [ markupsafe nose mock ];

@ -35,7 +35,7 @@
buildPythonPackage rec {
pname = "Nikola";
version = "8.0.3";
version = "8.0.4";
# Nix contains only Python 3 supported version of doit, which is a dependency
# of Nikola. Python 2 support would require older doit 0.29.0 (which on the
@ -54,7 +54,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "a53470be082fce1843fb73002be2504828f9abc49a84eab5d1effc06ae2a5ddc";
sha256 = "2e5c8305ec4423b56af2223336c3309e5c9b8c96df0d6fde46d26cff4c5d6f1a";
};
patchPhase = ''

@ -3,14 +3,14 @@
buildPythonPackage rec {
pname = "acoustics";
version = "0.2.4";
version = "0.2.4.post0";
checkInputs = [ pytest ];
propagatedBuildInputs = [ numpy scipy matplotlib pandas tabulate ];
src = fetchPypi {
inherit pname version;
sha256 = "8ccb68ac258ba81a0b9064523e85eae013f9bfce7244d01db42d7d2d21d712cc";
sha256 = "a162625e5e70ed830fab8fab0ddcfe35333cb390cd24b0a827bcefc5bbcae97d";
};
checkPhase = ''

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "adal";
version = "1.2.2";
version = "1.2.3";
src = fetchPypi {
inherit pname version;
sha256 = "5a7f1e037c6290c6d7609cab33a9e5e988c2fbec5c51d1c4c649ee3faff37eaf";
sha256 = "2ae7e02cea4552349fed6d8c9912da400f7e643fc30098defe0dcd01945e7c54";
};
propagatedBuildInputs = [ requests pyjwt dateutil ];

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "aiofiles";
version = "0.4.0";
version = "0.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "021ea0ba314a86027c166ecc4b4c07f2d40fc0f4b3a950d1868a0f2571c2bbee";
sha256 = "98e6bcfd1b50f97db4980e182ddd509b7cc35909e903a8fe50d8849e02d815af";
};
disabled = pythonOlder "3.3";

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "alembic";
version = "1.3.2";
version = "1.3.3";
src = fetchPypi {
inherit pname version;
sha256 = "3b0cb1948833e062f4048992fbc97ecfaaaac24aaa0d83a1202a99fb58af8c6d";
sha256 = "d412982920653db6e5a44bfd13b1d0db5685cbaaccaf226195749c706e1e862a";
};
buildInputs = [ pytest pytestcov mock coverage ];

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "alerta-server";
version = "7.4.1";
version = "7.4.6";
src = fetchPypi {
inherit pname version;
sha256 = "a6f7740c97f2ae552a4b50bfb709596eabb01bf73715685c9b93ea9fec1821f3";
sha256 = "f91889777a4d01f8ffca2f01d35cad3996a61178c26e8819c6d8eb746b951dd4";
};
propagatedBuildInputs = [ python-dateutil requests pymongo raven bcrypt flask pyjwt flask-cors psycopg2 pytz flask-compress jinja2 pyyaml];

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "alerta";
version = "7.4.0";
version = "7.4.5";
src = fetchPypi {
inherit pname version;
sha256 = "2c8d9cf174d7f66401a5deb104b96375f3877b6c768568705f700faf3adbf448";
sha256 = "926f1101a1b57a9fad611f1e1d5af751693efcc344a9db01af50e2fe0d362d84";
};
propagatedBuildInputs = [ six click requests pytz tabulate ];

@ -14,11 +14,11 @@
buildPythonPackage rec {
pname = "ansible-runner";
version = "1.4.4";
version = "1.4.6";
src = fetchPypi {
inherit pname version;
sha256 = "e6ccb7ccf9bab9c49a391db37e0d399ba0e73f969801ae35ff74020bfd4fc346";
sha256 = "53605de32f7d3d3442a6deb8937bf1d9c1f91c785e3f71003d22c3e63f85c71d";
};
checkInputs = [ pytest mock ];

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "apprise";
version = "0.8.4";
version = "0.8.5";
src = fetchPypi {
inherit pname version;
sha256 = "15kwnvs2ka6sg1gq65bbf9lk0jp104br813y6wvrbwipiz8kkjn1";
sha256 = "aacdd54640a9c66d1c84c8f4390f63feb5a7a8741867a6b451f82ff74c8c792c";
};
nativeBuildInputs = [ Babel ];

@ -1,30 +1,37 @@
{ stdenv, buildPythonPackage, fetchPypi
{ stdenv, lib, buildPythonPackage, fetchPypi, isPy27
, nose, chai, simplejson, backports_functools_lru_cache
, dateutil, pytz, mock, dateparser
, python-dateutil, pytz, pytest-mock, sphinx, dateparser, pytestcov, pytest
}:
buildPythonPackage rec {
pname = "arrow";
version = "0.15.5";
version = "0.15.6";
src = fetchPypi {
inherit pname version;
sha256 = "0yq2bld2bjxddmg9zg4ll80pb32rkki7xyhgnrqnkxy5w9jf942k";
sha256 = "eb5d339f00072cc297d7de252a2e75f272085d1231a3723f1026d1fa91367118";
};
checkPhase = ''
nosetests --cover-package=arrow
'';
propagatedBuildInputs = [ python-dateutil ]
++ lib.optionals isPy27 [ backports_functools_lru_cache ];
checkInputs = [ nose chai simplejson pytz ];
propagatedBuildInputs = [ dateutil backports_functools_lru_cache mock dateparser];
checkInputs = [
dateparser
pytest
pytestcov
pytest-mock
pytz
simplejson
sphinx
];
postPatch = ''
substituteInPlace setup.py --replace "==1.2.1" ""
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Python library for date manipulation";
homepage = "https://github.com/crsmithdev/arrow";
license = licenses.asl20;
maintainers = with maintainers; [ thoughtpolice ];
};

@ -16,11 +16,11 @@
buildPythonPackage rec {
pname = "atlassian-python-api";
version = "1.15.6";
version = "1.15.7";
src = fetchPypi {
inherit pname version;
sha256 = "0nn3g2sb0pqfacsqcw94n8v9jbn4ip0pvhvczasfvks2w9q9sij7";
sha256 = "b54cce1ca4bea838a949b4362410b1d717597951e5b7efbfa34ce89bc5df805e";
};
checkInputs = [ pytestrunner pytest ];

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "auth0-python";
version = "3.9.1";
version = "3.9.2";
src = fetchPypi {
inherit pname version;
sha256 = "c2fdc3ff230638a2776d2b3761e787ca93dc33a26f841504fc260f947256f453";
sha256 = "12870b4806095b707c4eed7bf8cdfeb3722d990366bc6a9772d1520e90efa73b";
};
propagatedBuildInputs = [

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "authheaders";
version = "0.12.1";
version = "0.12.2";
src = fetchPypi {
inherit pname version;
sha256 = "0hf1p6ws3jma608pmcb5qsl58xg33wz2s51qqzi9zix0llcnyc97";
sha256 = "a6f96d1dfb7a6cffcdd78d1582914d4f9a0b25d66e1cf5ce959446c92cd8b74f";
};
propagatedBuildInputs = [ authres dnspython dkimpy publicsuffix ]

@ -4,11 +4,11 @@
}:
buildPythonPackage rec {
pname = "autobahn";
version = "19.11.1";
version = "19.11.2";
src = fetchPypi {
inherit pname version;
sha256 = "201b9879b49c6e259d4126dbafe9e3c73807de0c242d50065fbebc62c6ccb181";
sha256 = "64fa063b3a1ab16588037d4713f13f66167f7ad2a2e95fd675decbc3bc85c089";
};
propagatedBuildInputs = [ six txaio twisted zope_interface cffi cryptography pynacl ] ++

@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "avro-python3";
version = "1.9.1";
version = "1.9.2.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "daab2cea71b942a1eb57d700d4a729e9d6cd93284d4dd4d65a378b9f958aa0d2";
sha256 = "ca1e77a3da5ac98e8833588f71fb2e170b38e34787ee0e04920de0e9470b7d32";
};
doCheck = false; # No such file or directory: './run_tests.py

@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "avro";
version = "1.9.1";
version = "1.9.2";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "16pvgdv5pqx4zgjj0a4v5fz4brfjcrfx72mcmyvb2xqqp7q6ph4z";
sha256 = "4487f0e91d0d44142bd08b3c6da57073b720c3effb02eeb4e2e822804964c56b";
};
meta = with stdenv.lib; {

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "awkward";
version = "0.12.20";
version = "0.12.21";
src = fetchPypi {
inherit pname version;
sha256 = "13494pnzz68qfnx17975h4c5l15idgg7wxl9r86q7jp5s1pphvb3";
sha256 = "1253f1d85bda79a45d209ea467e4ba6fcaa5354c317c194945dc354a259f5aa8";
};
nativeBuildInputs = [ pytestrunner ];

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "awkward1";
version = "0.2.12";
version = "0.2.19";
src = fetchPypi {
inherit pname version;
sha256 = "a87d89c218151d840c032be4cba6801801683ea00e91dc17fd7bc527ad8eb09b";
sha256 = "23446eacdf52cad1fb0b5bb0f2ed16c1ae8bb5a282d667ad37ab69494e1ef27f";
};
nativeBuildInputs = [ cmake ];

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "bleach";
version = "3.1.0";
version = "3.1.5";
src = fetchPypi {
inherit pname version;
sha256 = "3fdf7f77adcf649c9911387df51254b813185e32b2c6619f690b593a617e19fa";
sha256 = "3c4c520fdb9db59ef139915a5db79f8b51bc2a7257ea0389f30c846883430a4b";
};
checkInputs = [ pytest pytestrunner ];

@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "boto3";
version = "1.11.13"; # N.B: if you change this, change botocore too
version = "1.13.6"; # N.B: if you change this, change botocore too
src = fetchPypi {
inherit pname version;
sha256 = "09eccb6cd41381c4ff1d626c3a19884b5b1f1424d15a96004d077b532ef393d1";
sha256 = "f1ac7eb23ff8b1d7e314123668ff1e93b874dd396ac5424adc443d68bd8a6fbf";
};
propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "botocore";
version = "1.14.13"; # N.B: if you change this, change boto3 and awscli to a matching version
version = "1.16.6"; # N.B: if you change this, change boto3 and awscli to a matching version
src = fetchPypi {
inherit pname version;
sha256 = "6478d9207db6dbcb5106fd4db2cdd5194d0b2dc0b73776019d56877ab802fe87";
sha256 = "b9c8e0aa07770b7b371d586db41eef46e70bfc4ab47f7a1ee1acd4e9c811c6c9";
};
propagatedBuildInputs = [

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "Bottleneck";
version = "1.3.1";
version = "1.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "0a2a94zahl3kqld2n9dm58fvazz9s52sa16nd8yn5jv20hvqc5a5";
sha256 = "20179f0b66359792ea283b69aa16366419132f3b6cf3adadc0c48e2e8118e573";
};
propagatedBuildInputs = [ numpy ];

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "catalogue";
version = "0.2.0";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "0zha0gzqfkazc9da0cyjys5ghf20ihyhkgd1h5zxkxlf8zhz03s3";
sha256 = "1720242b2d0c11e666f9ceed39f0611236815b06af5421f7d8cbca48a4cff3af";
};
propagatedBuildInputs = [ importlib-metadata ];

@ -16,11 +16,11 @@
buildPythonPackage rec {
pname = "cfn-lint";
version = "0.26.2";
version = "0.26.3";
src = fetchPypi {
inherit pname version;
sha256 = "5449313b5f176024bd5fd6ebe69ce986a2d9b8a9d6a147b2d442c8d9fa99a6c5";
sha256 = "384c37d239579c7b9f61a3aaadb92ebe81f37cd6ee6a161485401179af6c7a44";
};
propagatedBuildInputs = [

@ -19,11 +19,11 @@
buildPythonPackage rec {
pname = "chalice";
version = "1.13.0";
version = "1.13.1";
src = fetchPypi {
inherit pname version;
sha256 = "07xzpbz7znr853xm6p27lkrcgdib3ym5dlwys0n4zvkjm5x7jn2a";
sha256 = "c898c8726ed008615f0b1988b9cd1e1f74fd230e7b24bca53bfd5f96af6e55a1";
};
checkInputs = [ watchdog pytest hypothesis mock ];

@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "python-cjson";
version = "1.2.1";
version = "1.2.2";
disabled = isPy3k || isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "52db2745264624768bfd9b604acb38f631bde5c2ec9b23861677d747e4558626";
sha256 = "3006c2c218297be3448dc793218e0b15d20fe9839775521bfc294fc6aa24972b";
};
meta = with stdenv.lib; {

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "click";
version = "7.1.1";
version = "7.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "1k60i2fvxf8rxazlv04mnsmlsjrj5i5sda3x1ifhr0nqi7mb864a";
sha256 = "d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a";
};
postPatch = ''

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "codecov";
version = "2.0.15";
version = "2.0.22";
src = fetchPypi {
inherit pname version;
sha256 = "8ed8b7c6791010d359baed66f84f061bba5bd41174bf324c31311e8737602788";
sha256 = "aeeefa3a03cac8a78e4f988e935b51a4689bb1f17f20d4e827807ee11135f845";
};
checkInputs = [ unittest2 ]; # Tests only

@ -4,14 +4,14 @@
buildPythonPackage rec {
pname = "cookiecutter";
version = "1.7.0";
version = "1.7.2";
# not sure why this is broken
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "1bh4vf45q9nanmgwnw7m0gxirndih9yyz5s0y2xbnlbcqbhrg6a7";
sha256 = "efb6b2d4780feda8908a873e38f0e61778c23f6a2ea58215723bcceb5b515dac";
};
checkInputs = [ pytest pytestcov pytest-mock freezegun ];

@ -22,11 +22,11 @@
buildPythonPackage rec {
pname = "cryptography";
version = "2.9.1"; # Also update the hash in vectors.nix
version = "2.9.2"; # Also update the hash in vectors.nix
src = fetchPypi {
inherit pname version;
sha256 = "13inbbc3vqv0vpfww65f8pj3isghbcrd3m63xfyd8swl9f5xc2yf";
sha256 = "a0c30272fb4ddda5f5ffc1089d7405b7a71b0b0f51993cb4e5dbb4590b2fc229";
};
outputs = [ "out" "dev" ];

@ -7,7 +7,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "1ydkrj67jf26ys8v5qflqsnlj3hd4494ym44120dpvk7b7v037ci";
hash = "sha256:1d4iykcv7cn9j399hczlxm5pzxmqy6d80h3j16dkjwlmv3293b4r";
};
# No tests included

@ -8,12 +8,12 @@
}:
buildPythonPackage rec {
version = "0.7.0";
version = "0.7.1";
pname = "dask-jobqueue";
src = fetchPypi {
inherit pname version;
sha256 = "660cd4cd052ada872fd6413f224a2d9221026dd55a8a29a9a7d52b262bec67e7";
sha256 = "d32ddf3e3c7db29ace102037fa5f61c8db2d945176454dc316a6ffdb8bbfe88b";
};
checkInputs = [ pytest ];

@ -9,12 +9,12 @@
}:
buildPythonPackage rec {
version = "0.1.9";
version = "0.1.10";
pname = "dask-xgboost";
src = fetchPypi {
inherit pname version;
sha256 = "6faeeed044112151e28770b69fb1ad06b026597726ce8dc185fd3ae45363d0c0";
sha256 = "454c47ccf64315d35beeca32c7cedf20d8a8d42471d5e6ce0c51f4af0a6e021e";
};
checkInputs = [ pytest scikitlearn ];

@ -2,6 +2,7 @@
, nose
, parameterized
, mock
, flake8
, glibcLocales
, six
, jdatetime
@ -14,14 +15,14 @@
buildPythonPackage rec {
pname = "dateparser";
version = "0.7.2";
version = "0.7.4";
src = fetchPypi {
inherit pname version;
sha256 = "e1eac8ef28de69a554d5fcdb60b172d526d61924b1a40afbbb08df459a36006b";
sha256 = "fb5bfde4795fa4b179fe05c2c25b3981f785de26bec37e247dee1079c63d5689";
};
checkInputs = [ nose mock parameterized six glibcLocales ];
checkInputs = [ flake8 nose mock parameterized six glibcLocales ];
preCheck =''
# skip because of missing convertdate module, which is an extra requirement
rm tests/test_jalali.py

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "python-debian";
version = "0.1.36";
version = "0.1.37";
src = fetchPypi {
inherit pname version;
sha256 = "c953bb0c54e96887badd2324cc66e1887bf2734f301882cd4fe847a844b518a6";
sha256 = "ab04f535155810c46c8abf3f7d46364b67b034c49ff8690cdb510092eee56750";
};
propagatedBuildInputs = [ chardet six ];

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "dictionaries";
version = "0.0.1";
version = "0.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "1jx2ph509sk4l7spslz16y8l6xn97d13nspn4ds2lxn5ward9ihy";
sha256 = "8fa92745eb7c707b8588888875234f2f0a61b67936d8deb91b2b7b4c32366112";
};
buildInputs = [ six ];

@ -27,12 +27,12 @@
buildPythonPackage rec {
pname = "distributed";
version = "2.9.1";
version = "2.9.3";
# get full repository need conftest.py to run tests
src = fetchPypi {
inherit pname version;
sha256 = "d37a5c5be992f3b16db24b54d2801cbe370990fbc63089c6e7ef40d6f03cf5dd";
sha256 = "70e29fed075270df4ca7dda2b26a79523b753fe90fb278b2a7d6b0290ba53d9a";
};
checkInputs = [ pytest pytest-repeat pytest-timeout mock joblib ];

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "django-cors-headers";
version = "3.2.0";
version = "3.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "84933651fbbde8f2bc084bef2f077b79db1ec1389432f21dd661eaae6b3d6a95";
sha256 = "a5960addecc04527ab26617e51b8ed42f0adab4594b24bb0f3c33e2bd3857c3f";
};
propagatedBuildInputs = [ django ];

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "django-dynamic-preferences";
version = "1.8";
version = "1.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "1v7mf48gb2qmmks3ifnhkh0vfd7hpvx5v81ypc9cqy35n3ir0q4a";
sha256 = "727f71f865ff29df93c01a0a1686af0dca19776ee786f876ea0ae7e062719b24";
};
propagatedBuildInputs = [ six django persisting-theory ];

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "django-reversion";
version = "3.0.5";
version = "3.0.7";
src = fetchPypi {
inherit pname version;
sha256 = "1add55bb05311f4acd26683dd71af60729d4f33dfe42c608da8e15e679a32009";
sha256 = "72fc53580a6b538f0cfff10f27f42333f67d79c406399289c94ec5a193cfb3e1";
};
# tests assume the availability of a mysql/postgresql database

@ -1,12 +1,12 @@
{ stdenv, buildPythonPackage, fetchPypi, six, pytestcov, pytest }:
buildPythonPackage rec {
version = "0.0.15";
version = "0.0.17";
pname = "dockerfile-parse";
src = fetchPypi {
inherit pname version;
sha256 = "1s05s1hc834yk6qxj2yv3fh7grj3q52d6jjy0sv1p05938baprfm";
sha256 = "a69d4ed44c4a890c16437327009ae59ec3a3afeb1abc3819d0c1b14a46099220";
};
postPatch = ''

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "dogpile.cache";
version = "0.9.0";
version = "0.9.2";
src = fetchPypi {
inherit pname version;
sha256 = "0sr1fn6b4k5bh0cscd9yi8csqxvj4ngzildav58x5p694mc86j5k";
sha256 = "bc9dde1ffa5de0179efbcdc73773ef0553921130ad01955422f2932be35c059e";
};
# Disable concurrency tests that often fail,

@ -4,12 +4,12 @@
, git, glibcLocales }:
buildPythonPackage rec {
version = "0.19.14";
version = "0.19.16";
pname = "dulwich";
src = fetchPypi {
inherit pname version;
sha256 = "d1320232c859ab086fff79eee8fa6ddbcbcbe01ff0c64c9bed48eca470b00b46";
sha256 = "f74561c448bfb6f04c07de731c1181ae4280017f759b0bb04fa5770aa84ca850";
};
LC_ALL = "en_US.UTF-8";

@ -18,11 +18,11 @@ in
buildPythonPackage rec {
pname = "entrance";
version = "1.1.10";
version = "1.1.12";
src = fetchPypi {
inherit pname version;
sha256 = "080qkvkmfw4004cl721l5bvpg001xz8vs6q59dg797kqxfrwk5kw";
sha256 = "ef7cdf76226344f7cb92c8f81b6c03bbe944a095434f86275f178809c84108ca";
};
# The versions of `sanic` and `websockets` in nixpkgs only support 3.6 or later

@ -7,11 +7,11 @@
if pythonAtLeast "3.4" then null else buildPythonPackage rec {
pname = "enum34";
version = "1.1.6";
version = "1.1.10";
src = fetchPypi {
inherit pname version;
sha256 = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1";
sha256 = "cce6a7477ed816bd2542d03d53db9f0db935dd013b70f336a95c73979289f248";
};
checkPhase = ''

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "ephem";
version = "3.7.7.0";
version = "3.7.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "0dj4kk325b01s7q1zkwpm9rrzl7n1jf7fr92wcajjhc5kx14hwb0";
sha256 = "36b51a8dc7cfdeb456dd6b8ab811accab8341b2d562ee3c6f4c86f6d3dbb984e";
};
patchFlags = [ "-p0" ];

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "escapism";
version = "1.0.0";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "5f1cc1fa04a95f5b85b3da194750f8a71846d493ea332f62e8798949f10c9b86";
sha256 = "73256bdfb4f22230f0428fc6efecee61cdc4fad531b6f98b849cb9c80711e4ec";
};
# No tests distributed

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "eventlet";
version = "0.25.1";
version = "0.25.2";
src = fetchPypi {
inherit pname version;
sha256 = "6c9c625af48424c4680d89314dbe45a76cc990cf002489f9469ff214b044ffc1";
sha256 = "4c8ab42c51bff55204fef43cff32616558bedbc7538d876bb6a96ce820c7f9ed";
};
checkInputs = [ nose ];

@ -17,11 +17,11 @@ assert pythonOlder "3.3" -> ipaddress != null;
buildPythonPackage rec {
pname = "Faker";
version = "3.0.0";
version = "3.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "92c84a10bec81217d9cb554ee12b3838c8986ce0b5d45f72f769da22e4bb5432";
sha256 = "c7f7466cb9ba58d582f713494acdb5ebcc462336c5e38c5230b0cdab37069985";
};
nativeBuildInputs = [ pytestrunner ];

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "flammkuchen";
version = "0.9.1";
version = "0.9.2";
src = fetchPypi {
inherit pname version;
sha256 = "e9aab9b229ace70d879b85618a9ce0e88dd6ce35d4dbcdfd60c6b61c33a1b4fb";
sha256 = "f249fe5bf85f717d3836e0db6fa9443a8a43101ce07704715b42251c44fc968e";
};
checkInputs = [

@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "Flask-AutoIndex";
version = "0.6.2";
version = "0.6.6";
src = fetchPypi {
inherit pname version;
sha256 = "af2cdb34eefe6edbf43ce19200880829e8c2df3598000e75dc63c9b7e3478706";
sha256 = "ea319f7ccadf68ddf98d940002066278c779323644f9944b300066d50e2effc7";
};
propagatedBuildInputs = [

@ -4,11 +4,11 @@ with stdenv.lib;
buildPythonPackage rec {
pname = "Flask-Migrate";
version = "2.5.2";
version = "2.5.3";
src = fetchPypi {
inherit pname version;
sha256 = "00nm76w4xymsiih6hq8y46wp026v7zkzq15cx39hp929ba3z2vx9";
sha256 = "a69d508c2e09d289f6e55a417b3b8c7bfe70e640f53d2d9deb0d056a384f37ee";
};
checkInputs = [ flask_script ] ++ optional isPy3k glibcLocales;

@ -2,12 +2,12 @@
, itsdangerous, click, werkzeug, jinja2, pytest }:
buildPythonPackage rec {
version = "1.1.1";
version = "1.1.2";
pname = "Flask";
src = fetchPypi {
inherit pname version;
sha256 = "13f9f196f330c7c2c5d7a5cf91af894110ca0215ac051b5844701f2bfd934d52";
sha256 = "4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060";
};
checkInputs = [ pytest ];

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, flit
, isPy3k
, pytoml
}:
buildPythonPackage rec {
pname = "flit-core";
version = "2.3.0";
disabled = !isPy3k;
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "flit_core";
hash = "sha256:a50bcd8bf5785e3a7d95434244f30ba693e794c5204ac1ee908fc07c4acdbf80";
};
propagatedBuildInputs = [
pytoml
];
passthru.tests = {
inherit flit;
};
meta = {
description = "Distribution-building parts of Flit. See flit package for more information";
homepage = "https://github.com/takluyver/flit";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.fridh ];
};
}

@ -11,6 +11,7 @@
, testpath
, responses
, pytoml
, flit-core
}:
# Flit is actually an application to build universal wheels.
@ -20,16 +21,23 @@
buildPythonPackage rec {
pname = "flit";
version = "1.3";
version = "2.3.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "6f6f0fb83c51ffa3a150fa41b5ac118df9ea4a87c2c06dff4ebf9adbe7b52b36";
sha256 = "017012b809ec489918afd68af7a70bd7c8c770c87b60159d875c126866e97a4b";
};
propagatedBuildInputs = [ docutils requests requests_download pytoml ]
++ lib.optional (pythonOlder "3.6") zipfile36;
propagatedBuildInputs = [
docutils
requests
requests_download
pytoml
flit-core
] ++ lib.optionals (pythonOlder "3.6") [
zipfile36
];
checkInputs = [ pytest_4 testpath responses ];

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "flower";
version = "0.9.3";
version = "0.9.4";
src = fetchPypi {
inherit pname version;
sha256 = "7f45acb297ab7cf3dd40140816143a2588f6938dbd70b8c46b59c7d8d1e93d55";
sha256 = "25782840f7ffc25dcf478d94535a2d815448de4aa6c71426be6abfa9ca417448";
};
propagatedBuildInputs = [ Babel celery importlib-metadata pytz tornado ];

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "fluent-logger";
version = "0.9.4";
version = "0.9.6";
src = fetchPypi {
inherit pname version;
sha256 = "814cb51892c620a00c5a6129fffaa09eeeb0c8822c9bcb4f96232ae3cbc4d8b3";
sha256 = "a7d47eae4d2a11c8cb0df10ae3d034d95b0b8cef9d060e59e7519ad1f82ffa73";
};
propagatedBuildInputs = [ msgpack ];

@ -14,11 +14,11 @@
buildPythonPackage rec {
pname = "folium";
version = "0.10.1";
version = "0.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "0gcc267wxwxr57ry86pqpbiyfvl0g48hfvgy0f2mz9s58g87kgzd";
sha256 = "540789abc21872469e52c59ac3962c61259a8df557feadd6514eb23eb0a64ca7";
};
disabled = pythonOlder "3.5";

@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "fonttools";
version = "4.2.2";
version = "4.2.5";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "66bb3dfe7efe5972b0145339c063ffaf9539e973f7ff8791df84366eafc65804";
sha256 = "f05bff703e31d5f28e713afe89aed0e6649b02c09d8df958e8a02df9c9b2fc0e";
extension = "zip";
};

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "freezegun";
version = "0.3.12";
version = "0.3.15";
src = fetchPypi {
inherit pname version;
sha256 = "2a4d9c8cd3c04a201e20c313caf8b6338f1cfa4cda43f46a94cc4a9fd13ea5e7";
sha256 = "e2062f2c7f95cc276a834c22f1a17179467176b624cc6f936e8bc3be5535ad1b";
};
propagatedBuildInputs = [ dateutil six ];

@ -2,10 +2,10 @@
buildPythonPackage rec {
pname = "gast";
version = "0.3.2";
version = "0.3.3";
src = fetchPypi {
inherit pname version;
sha256 = "5c7617f1f6c8b8b426819642b16b9016727ddaecd16af9a07753e537eba8a3a5";
sha256 = "b881ef288a49aa81440d2c5eb8aeefd4c2bb8993d5f50edae7413a85bfdb3b57";
};
checkInputs = [ astunparse ] ;
meta = with stdenv.lib; {

@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "gitdb";
version = "4.0.2";
version = "4.0.5";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0l113fphn6msjl3cl3kyf332b6lal7daxdd0nfma0x9ipfb013jr";
sha256 = "c9e1f2d0db7ddb9a704c2a0217be31214e91a4fe1dea1efad19ae42ba0c285c9";
};
propagatedBuildInputs = [ smmap ];

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "github-webhook";
version = "1.0.2";
version = "1.0.4";
src = fetchPypi {
inherit pname version;
sha256 = "04jdf595gv97s4br0ym8izca3i6d1nfwcrpi4s26hkvn3czz84sv";
sha256 = "b2444dbfd03deda35792bd00ebd1692597c2605c61445da79da6322afaca7a8d";
};
propagatedBuildInputs = [ flask six ];

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "python-gnutls";
version = "3.1.2";
version = "3.1.3";
# https://github.com/AGProjects/python-gnutls/issues/2
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "28748e02a8035c31826152944e41217ebcc58ab7793ae5a22850cd23d3cfbbbe";
sha256 = "79f94017e6472ac665c85bc16d68aa2e6681f53b6a9e74516557b49b6fc6a651";
};
propagatedBuildInputs = [ pkgs.gnutls ];

@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "google-cloud-firestore";
version = "1.6.0";
version = "1.6.2";
src = fetchPypi {
inherit pname version;
sha256 = "7fec7b523ab5e1f87721ca61181114818579bb4d17de768a3993811c9d2aacfe";
sha256 = "5ad4835c3a0f6350bcbbc42fd70e90f7568fca289fdb5e851888df394c4ebf80";
};
checkInputs = [ pytest ];

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "google-cloud-iot";
version = "0.3.0";
version = "0.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "6ead560b0701cf1fe11fe15fae68f09460f0d04fbafa0965fb6bd9e60775437c";
sha256 = "ab1070003027e28c6956cee3f11228277830d191a1c38a809c96eb0baf8be670";
};
checkInputs = [ pytest mock ];

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "google-cloud-spanner";
version = "1.15.0";
version = "1.15.1";
src = fetchPypi {
inherit pname version;
sha256 = "1ra1cim9kcs680yrhvfn5hjx8y1sccp3lw7id5j5pj53sshdng8h";
sha256 = "76f98f2614b503c8808f37b979602aca4d772b356f85c1f4b2a00b0d0d548472";
};
checkInputs = [ pytest mock ];

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "google-cloud-speech";
version = "1.3.1";
version = "1.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "21b597b18ee2b9b9a5e2e05a7a1d47173f8f3adeada36b5bdf6cb816114430bf";
sha256 = "2e5adbc0e88f296b1bc8667f1dcf26ca4ea2db6596f07cb0a39e7b1b8ef14656";
};
propagatedBuildInputs = [ google_api_core ];

@ -3,11 +3,11 @@
}:
buildPythonPackage rec {
pname = "graphite-web";
version = "1.1.6";
version = "1.1.7";
src = fetchPypi {
inherit pname version;
sha256 = "f4c293008ad588456397cd125cdad7f47f4bab5b6dd82b5fb69f5467e7346a2a";
sha256 = "b3cb3b9affe1b9e3777aab046416b3d545390ceea4d35d55c753b1e4732eaad0";
};
patches = [

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "holidays";
version = "0.10.1";
version = "0.10.2";
src = fetchPypi {
inherit pname version;
sha256 = "1dx39krafb6cdnd7h5vgwmw4y075s6k3d31a6vhwvqhmdig3294h";
sha256 = "5a91324fcaa4c72a0fe9a13601436f65ee33b2ef033686f4e2228d58a7631970";
};
propagatedBuildInputs = [ six dateutil convertdate ];

@ -2,12 +2,12 @@
python_openzwave.overridePythonAttrs (oldAttrs: rec {
pname = "homeassistant_pyozw";
version = "0.1.7";
version = "0.1.10";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "2d500638270ee4f0e7e9e114d9b4402c94c232f314116cdcf88d7c1dc9a44427";
sha256 = "47c1abd8f3dc287760471c6c7b5fad222ead64763c4cb25e37d0599ea3b26952";
};
patches = [];

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "httplib2";
version = "0.17.0";
version = "0.17.3";
src = fetchPypi {
inherit pname version;
sha256 = "0qc2vn98a4icp3h04pdhiykddz5q6wfi905f19zfxl26kyjd15ny";
sha256 = "39dd15a333f67bfb70798faa9de8a6e99c819da6ad82b77f9a259a5c7b1225a2";
};
# Needs setting up

@ -0,0 +1,45 @@
{ lib, buildPythonPackage, fetchFromGitHub
, isPy3k, attrs, coverage, enum34, pexpect
, doCheck ? true, pytest, pytest_xdist, flaky, mock
, sortedcontainers
}:
buildPythonPackage rec {
# https://hypothesis.readthedocs.org/en/latest/packaging.html
# Hypothesis has optional dependencies on the following libraries
# pytz fake_factory django numpy pytest
# If you need these, you can just add them to your environment.
version = "4.57.1";
pname = "hypothesis";
# Use github tarballs that includes tests
src = fetchFromGitHub {
owner = "HypothesisWorks";
repo = "hypothesis-python";
rev = "hypothesis-python-${version}";
hash = "sha256:1qcpcrk6892hzyjsdr581pw6i4fj9035nv89mcjrcrzcmycdlfds";
};
postUnpack = "sourceRoot=$sourceRoot/hypothesis-python";
propagatedBuildInputs = [
attrs
coverage
sortedcontainers
] ++ lib.optional (!isPy3k) enum34;
checkInputs = [ pytest pytest_xdist flaky mock pexpect ];
inherit doCheck;
checkPhase = ''
rm tox.ini # This file changes how py.test runs and breaks it
py.test tests/cover
'';
meta = with lib; {
description = "A Python library for property based testing";
homepage = "https://github.com/HypothesisWorks/hypothesis";
license = licenses.mpl20;
};
}

@ -1,6 +1,7 @@
{ lib, buildPythonPackage, fetchFromGitHub
, isPy3k, attrs, coverage, enum34, pexpect
, doCheck ? true, pytest, pytest_xdist, flaky, mock
, sortedcontainers
}:
buildPythonPackage rec {
# https://hypothesis.readthedocs.org/en/latest/packaging.html
@ -9,7 +10,7 @@ buildPythonPackage rec {
# pytz fake_factory django numpy pytest
# If you need these, you can just add them to your environment.
version = "4.41.0";
version = "5.11.0";
pname = "hypothesis";
# Use github tarballs that includes tests
@ -17,12 +18,16 @@ buildPythonPackage rec {
owner = "HypothesisWorks";
repo = "hypothesis-python";
rev = "hypothesis-python-${version}";
sha256 = "09bpwp4kdywkmzci969m57w0yy8c31kzwg60vg4mvrmmgyi2cfzv";
hash = "sha256:1ca2dwih65s4r8vazwqm963ywngdr3v854ldnfyny7bvx1v28m8k";
};
postUnpack = "sourceRoot=$sourceRoot/hypothesis-python";
propagatedBuildInputs = [ attrs coverage ] ++ lib.optional (!isPy3k) enum34;
propagatedBuildInputs = [
attrs
coverage
sortedcontainers
] ++ lib.optional (!isPy3k) enum34;
checkInputs = [ pytest pytest_xdist flaky mock pexpect ];
inherit doCheck;

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "iapws";
version = "1.4";
version = "1.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "3d7a7a17343157dacd3f654b7f82d1974492209756c4de99332d4f6b375227e6";
sha256 = "d65c813bb6b100a8d1ed79e00148832a0321b3063e9632a990344890acb02493";
};
propagatedBuildInputs = [ scipy ];

@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "imbalanced-learn";
version = "0.6.1";
version = "0.6.2";
disabled = isPy27; # scikit-learn>=0.21 doesn't work on python2
src = fetchPypi {
inherit pname version;
sha256 = "94f846ff8d19ee9ea42ba6feddfbc85d5b42098bd3b62318f8d3bc5c7133b274";
sha256 = "942b9a7f2e1df831097fbee587c5c90a4cc6afa6105b23d3e30d8798f1a9b17d";
};
propagatedBuildInputs = [ scikitlearn ];

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "impacket";
version = "0.9.20";
version = "0.9.21";
src = fetchPypi {
inherit pname version;
sha256 = "43ebdb62e179113a55ccd4297316532582be71857b85d85ba187cd6146757397";
sha256 = "912f812564e87c31a162cfe0626f3a6cbc5b6864deedbfefc31f6d321859ade3";
};
disabled = isPy3k;

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "invoke";
version = "1.3.0";
version = "1.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "1nn7gad0rvy492acpyhkrp01zsk86acf34qhsvq4xmm6x39788n5";
sha256 = "dae041ff458e1ef05448aae3b76e8c2a176c4b7c6a9d5e8ce880f16251803661";
};
patchPhase = ''

@ -16,11 +16,11 @@
buildPythonPackage rec {
pname = "ipyparallel";
version = "6.2.4";
version = "6.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "0rf0dbpxf5z82bw8lsjj45r3wdd4wc74anz4wiiaf2rbjqlb1ivn";
sha256 = "0a97b276c62db633e9e97a816282bdd166f9df74e28204f0c8fa54b71944cfdc";
};
buildInputs = [ nose ];
@ -31,6 +31,8 @@ buildPythonPackage rec {
# Requires access to cluster
doCheck = false;
disabled = !isPy3k;
meta = {
description = "Interactive Parallel Computing with IPython";
homepage = "http://ipython.org/";

@ -22,12 +22,12 @@
buildPythonPackage rec {
pname = "ipython";
version = "7.13.0";
version = "7.14.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "ca478e52ae1f88da0102360e57e528b92f3ae4316aabac80a2cd7f7ab2efb48a";
sha256 = "f0126781d0f959da852fb3089e170ed807388e986a8dd4e6ac44855845b0fb1c";
};
prePatch = lib.optionalString stdenv.isDarwin ''

@ -8,13 +8,13 @@
buildPythonPackage rec {
pname = "ipyvue";
version = "1.3.1";
version = "1.3.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "01kp7d8iyz04d0m4njhv8rg72daqmgd93bdljwyffzxg71pwq92a";
sha256 = "24ed221dcc3878e70daebdbdffdf7fd2b2111164008ba4b5de6785b72eabf91f";
};
propagatedBuildInputs = [ ipywidgets ];

@ -9,13 +9,13 @@
buildPythonPackage rec {
pname = "jeepney";
version = "0.4.1";
version = "0.4.3";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "13806f91a96e9b2623fd2a81b950d763ee471454aafd9eb6d75dbe7afce428fb";
sha256 = "3479b861cc2b6407de5188695fa1a8d57e5072d7059322469b62628869b8e36e";
};
propagatedBuildInputs = [

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "Jinja2";
version = "2.11.1";
version = "2.11.2";
src = fetchPypi {
inherit pname version;
sha256 = "93187ffbc7808079673ef52771baa950426fd664d3aad1d0fa3e95644360e250";
sha256 = "89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0";
};
checkInputs = [ pytest ];

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save