diff --git a/doc/languages-frameworks/gnome.xml b/doc/languages-frameworks/gnome.xml
index 159216ca981f..f555cacbd2c4 100644
--- a/doc/languages-frameworks/gnome.xml
+++ b/doc/languages-frameworks/gnome.xml
@@ -28,6 +28,22 @@
+
+ GdkPixbuf loaders
+
+
+ GTK applications typically use GdkPixbuf to load images. But gdk-pixbuf package only supports basic bitmap formats like JPEG, PNG or TIFF, requiring to use third-party loader modules for other formats. This is especially painful since GTK itself includes SVG icons, which cannot be rendered without a loader provided by librsvg.
+
+
+
+ Unlike other libraries mentioned in this section, GdkPixbuf only supports a single value in its controlling environment variable GDK_PIXBUF_MODULE_FILE. It is supposed to point to a cache file containing information about the available loaders. Each loader package will contain a lib/gdk-pixbuf-2.0/2.10.0/loaders.cache file describing the default loaders in gdk-pixbuf package plus the loader contained in the package itself. If you want to use multiple third-party loaders, you will need to create your own cache file manually. Fortunately, this is pretty rare as not many loaders exist.
+
+
+
+ gdk-pixbuf contains a setup hook that sets GDK_PIXBUF_MODULE_FILE from dependencies but as mentioned in further section, it is pretty limited. Loaders should propagate this setup hook.
+
+
+
Icons
@@ -100,9 +116,16 @@ preFixup = ''
done
'';
- Fortunately, there is wrapGAppsHook, that does the wrapping for us. In particular, it works in conjunction with other setup hooks that will populate the variable:
+
+
+ Fortunately, there is wrapGAppsHook. It works in conjunction with other setup hooks that populate environment variables, and it will then wrap all executables in bin and libexec directories using said variables.
+
+
+ For convenience, it also adds dconf.lib for a GIO module implementing a GSettings backend using dconf, gtk3 for GSettings schemas, and librsvg for GdkPixbuf loader to the closure. In case you are packaging a program without a graphical interface, you might want to use wrapGAppsNoGuiHook, which runs the same script as wrapGAppsHook but does not bring gtk3 and librsvg into the closure.
+
+
-
+
wrapGAppsHook itself will add the package’s share directory to XDG_DATA_DIRS.
@@ -112,6 +135,11 @@ preFixup = ''
glib setup hook will populate GSETTINGS_SCHEMAS_PATH and then wrapGAppsHook will prepend it to XDG_DATA_DIRS.
+
+
+ gdk-pixbuf setup hook will populate GDK_PIXBUF_MODULE_FILE with the path to biggest loaders.cache file from the dependencies containing GdkPixbuf loaders. This works fine when there are only two packages containing loaders (gdk-pixbuf and e.g. librsvg) – it will choose the second one, reasonably expecting that it will be bigger since it describes extra loader in addition to the default ones. But when there are more than two loader packages, this logic will break. One possible solution would be constructing a custom cache file for each package containing a program like services/x11/gdk-pixbuf.nix NixOS module does. wrapGAppsHook copies the GDK_PIXBUF_MODULE_FILE environment variable into the produced wrapper.
+
+
One of gtk3’s setup hooks will remove icon-theme.cache files from package’s icon theme directories to avoid conflicts. Icon theme packages should prevent this with dontDropIconThemeCache = true;
.
@@ -178,7 +206,7 @@ preFixup = ''
- There are no schemas avalable in XDG_DATA_DIRS. Temporarily add a random package containing schemas like gsettings-desktop-schemas to buildInputs. glib and wrapGAppsHook setup hooks will take care of making the schemas available to application and you will see the actual missing schemas with the next error. Or you can try looking through the source code for the actual schemas used.
+ There are no schemas available in XDG_DATA_DIRS. Temporarily add a random package containing schemas like gsettings-desktop-schemas to buildInputs. glib and wrapGAppsHook setup hooks will take care of making the schemas available to application and you will see the actual missing schemas with the next error. Or you can try looking through the source code for the actual schemas used.
diff --git a/doc/stdenv/stdenv.xml b/doc/stdenv/stdenv.xml
index 46ee97927eac..282893b0ca2b 100644
--- a/doc/stdenv/stdenv.xml
+++ b/doc/stdenv/stdenv.xml
@@ -1989,7 +1989,7 @@ addEnvHooks "$hostOffset" myBashFunction
- Exports GDK_PIXBUF_MODULE_FILE environment variable to the builder. Add librsvg package to buildInputs to get svg support.
+ Exports GDK_PIXBUF_MODULE_FILE environment variable to the builder. Add librsvg package to buildInputs to get svg support. See also .
diff --git a/pkgs/applications/misc/gphoto2/default.nix b/pkgs/applications/misc/gphoto2/default.nix
index cdfbe3f6dc1f..7bda292a4cba 100644
--- a/pkgs/applications/misc/gphoto2/default.nix
+++ b/pkgs/applications/misc/gphoto2/default.nix
@@ -1,17 +1,38 @@
-{ stdenv, fetchurl, pkgconfig, libgphoto2, libexif, popt, gettext
-, libjpeg, readline, libtool
+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
+, gettext
+, libexif
+, libgphoto2
+, libjpeg
+, libtool
+, popt
+, readline
}:
stdenv.mkDerivation rec {
- name = "gphoto2-2.5.26";
+ pname = "gphoto2";
+ version = "2.5.26";
- src = fetchurl {
- url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
- sha256 = "0bxbcn31xalsvjp8fra324hf2105y3ps7zlyfz11v71j0lxj2lvn";
+ src = fetchFromGitHub {
+ owner = "gphoto";
+ repo = "gphoto2";
+ rev = "v${version}";
+ sha256 = "1w01j3qvjl2nlfs38rnsmjvn3r0r2xf7prxz1i6yarbpj3fzwqqc";
};
- nativeBuildInputs = [ pkgconfig gettext libtool ];
- buildInputs = [ libgphoto2 libexif popt libjpeg readline ];
+ nativeBuildInputs = [
+ autoreconfHook
+ pkgconfig
+ gettext
+ libtool
+ ];
+
+ buildInputs = [
+ libexif
+ libgphoto2
+ libjpeg
+ popt
+ readline
+ ];
meta = with stdenv.lib; {
description = "A ready to use set of digital camera software applications";
diff --git a/pkgs/applications/misc/pdfarranger/default.nix b/pkgs/applications/misc/pdfarranger/default.nix
index b8f7c4641d20..8c8413b2ce60 100644
--- a/pkgs/applications/misc/pdfarranger/default.nix
+++ b/pkgs/applications/misc/pdfarranger/default.nix
@@ -5,13 +5,13 @@
python3Packages.buildPythonApplication rec {
pname = "pdfarranger";
- version = "1.6.0";
+ version = "1.6.2";
src = fetchFromGitHub {
- owner = "jeromerobert";
+ owner = pname;
repo = pname;
rev = version;
- sha256 = "03siz4ar6flyvrrgh7hr7sslc6n9x5d9i13lc5rm2qnssd0qdich";
+ sha256 = "wJ6ImWpszfgErfLh7YgHirVKFIt0ij8A/CdYJmkNBP0=";
};
nativeBuildInputs = [
@@ -33,6 +33,10 @@ python3Packages.buildPythonApplication rec {
# incompatible with wrapGAppsHook
strictDeps = false;
+ dontWrapGApps = true;
+ preFixup = ''
+ makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
+ '';
doCheck = false; # no tests
diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix
index f167ab105d34..0c16d0c9ec60 100644
--- a/pkgs/applications/networking/browsers/chromium/common.nix
+++ b/pkgs/applications/networking/browsers/chromium/common.nix
@@ -18,20 +18,14 @@
, ffmpeg, libxslt, libxml2, at-spi2-core
, jre8
, pipewire_0_2
+, libva
# optional dependencies
, libgcrypt ? null # gnomeSupport || cupsSupport
-, libva ? null # useVaapi
, libdrm ? null, wayland ? null, mesa ? null, libxkbcommon ? null # useOzone
# package customization
-, useOzone ? false
-, useVaapi ? !(useOzone || stdenv.isAarch64) # Built if supported, but disabled in the wrapper
-# VA-API TODOs:
-# - Ozone: M81 fails to build due to "ozone_platform_gbm = false"
-# - Possible solutions: Write a patch to fix the build (wrong gn dependencies)
-# or build with minigbm
-# - AArch64: Causes serious regressions (https://github.com/NixOS/nixpkgs/pull/85253#issuecomment-614405879)
+, useOzone ? true
, gnomeSupport ? false, gnome ? null
, gnomeKeyringSupport ? false, libgnome-keyring3 ? null
, proprietaryCodecs ? true
@@ -141,8 +135,8 @@ let
pciutils protobuf speechd libXdamage at-spi2-core
jre
pipewire_0_2
- ] ++ optional useVaapi libva
- ++ optional gnomeKeyringSupport libgnome-keyring3
+ libva
+ ] ++ optional gnomeKeyringSupport libgnome-keyring3
++ optionals gnomeSupport [ gnome.GConf libgcrypt ]
++ optionals cupsSupport [ libgcrypt cups ]
++ optional pulseSupport libpulseaudio
@@ -220,9 +214,8 @@ let
custom_toolchain = "//build/toolchain/linux/unbundle:default";
host_toolchain = "//build/toolchain/linux/unbundle:default";
is_official_build = true;
- is_debug = false;
- proprietary_codecs = false;
+ use_vaapi = !stdenv.isAarch64; # TODO: Remove once M88 is released
use_sysroot = false;
use_gnome_keyring = gnomeKeyringSupport;
use_gio = gnomeSupport;
@@ -238,7 +231,6 @@ let
rtc_use_pipewire = true;
treat_warnings_as_errors = false;
- is_clang = stdenv.cc.isClang;
clang_use_chrome_plugins = false;
blink_symbol_level = 0;
symbol_level = 0;
@@ -256,14 +248,11 @@ let
proprietary_codecs = true;
enable_hangout_services_extension = true;
ffmpeg_branding = "Chrome";
- } // optionalAttrs useVaapi {
- use_vaapi = true;
} // optionalAttrs pulseSupport {
use_pulseaudio = true;
link_pulseaudio = true;
} // optionalAttrs useOzone {
use_ozone = true;
- ozone_platform_gbm = false;
use_xkbcommon = true;
use_glib = true;
use_gtk = true;
diff --git a/pkgs/applications/networking/browsers/chromium/default.nix b/pkgs/applications/networking/browsers/chromium/default.nix
index 845a4ac3b61b..e35e4d945dde 100644
--- a/pkgs/applications/networking/browsers/chromium/default.nix
+++ b/pkgs/applications/networking/browsers/chromium/default.nix
@@ -15,7 +15,6 @@
, enablePepperFlash ? false
, enableWideVine ? false
, enableVaapi ? false # Disabled by default due to unofficial support
-, useOzone ? true
, cupsSupport ? true
, pulseSupport ? config.pulseaudio or stdenv.isLinux
, commandLineArgs ? ""
@@ -34,15 +33,13 @@ let
mkChromiumDerivation = callPackage ./common.nix ({
inherit channel gnome gnomeSupport gnomeKeyringSupport proprietaryCodecs
- cupsSupport pulseSupport useOzone;
+ cupsSupport pulseSupport;
gnChromium = gn.overrideAttrs (oldAttrs: {
inherit (upstream-info.deps.gn) version;
src = fetchgit {
inherit (upstream-info.deps.gn) url rev sha256;
};
});
- # TODO: Cleanup useOzone and useVaapi in common.nix:
- useVaapi = !stdenv.isAarch64; # TODO: Might be best to not set use_vaapi anymore (default is fine)
});
browser = callPackage ./browser.nix { inherit channel enableWideVine; };
diff --git a/pkgs/applications/version-management/git-and-tools/git/default.nix b/pkgs/applications/version-management/git-and-tools/git/default.nix
index b7e4f3e6c483..57f6703762d1 100644
--- a/pkgs/applications/version-management/git-and-tools/git/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git/default.nix
@@ -1,4 +1,5 @@
{ fetchurl, stdenv, buildPackages
+, fetchpatch
, curl, openssl, zlib, expat, perlPackages, python3, gettext, cpio
, gnugrep, gnused, gawk, coreutils # needed at runtime by git-filter-branch etc
, openssh, pcre2
@@ -51,6 +52,12 @@ stdenv.mkDerivation {
./ssh-path.patch
./git-send-email-honor-PATH.patch
./installCheck-path.patch
+ (fetchpatch {
+ # https://github.com/git/git/pull/925
+ name = "make-manual-reproducible.patch";
+ url = "https://github.com/git/git/commit/7a68e9e0b8eda91eb576bbbc5ed66298f3ab761c.patch";
+ sha256 = "02naws82pd3vvwrrgqn91kid8qkjihyjaz1ahgjz8qlmnn2avf5n";
+ })
];
postPatch = ''
@@ -229,8 +236,8 @@ stdenv.mkDerivation {
notSupported $out/libexec/git-core/git-send-email
'')
- + stdenv.lib.optionalString withManual ''# Install man pages and Info manual
- make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES USE_ASCIIDOCTOR=1 PERL_PATH="${buildPackages.perl}/bin/perl" cmd-list.made install install-html install-info \
+ + stdenv.lib.optionalString withManual ''# Install man pages
+ make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES USE_ASCIIDOCTOR=1 PERL_PATH="${buildPackages.perl}/bin/perl" cmd-list.made install install-html \
-C Documentation ''
+ (if guiSupport then ''
diff --git a/pkgs/build-support/setup-hooks/wrap-gapps-hook/default.nix b/pkgs/build-support/setup-hooks/wrap-gapps-hook/default.nix
index 5a87893d9726..d0ea088bf71e 100644
--- a/pkgs/build-support/setup-hooks/wrap-gapps-hook/default.nix
+++ b/pkgs/build-support/setup-hooks/wrap-gapps-hook/default.nix
@@ -3,6 +3,7 @@
, makeSetupHook
, makeWrapper
, gobject-introspection
+, isGraphical ? true
, gtk3
, librsvg
, dconf
@@ -21,7 +22,7 @@ makeSetupHook {
# Unfortunately, it also requires the user to have dconf
# D-Bus service enabled globally (e.g. through a NixOS module).
dconf.lib
- ] ++ [
+ ] ++ lib.optionals isGraphical [
# TODO: remove this, packages should depend on GTK explicitly.
gtk3
@@ -30,6 +31,7 @@ makeSetupHook {
# graphics in GTK (e.g. cross for closing window in window title bar)
# so it is pretty much required for applications using GTK.
librsvg
+ ] ++ [
# We use the wrapProgram function.
makeWrapper
diff --git a/pkgs/data/misc/osinfo-db/default.nix b/pkgs/data/misc/osinfo-db/default.nix
index d12eec8d8e32..ced7483ae4ed 100644
--- a/pkgs/data/misc/osinfo-db/default.nix
+++ b/pkgs/data/misc/osinfo-db/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "osinfo-db";
- version = "20200804";
+ version = "20201015";
src = fetchurl {
url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.xz";
- sha256 = "1gx8yky41kz2f03r7gvxgq8naysnrf8apsss61xqaxmmyd080z0v";
+ sha256 = "1i20lribrb03vsn57q722mbmjhxqswq2y2dpii95ic5zxvnaj1qa";
};
nativeBuildInputs = [ osinfo-db-tools gettext libxml2 ];
diff --git a/pkgs/desktops/gnome-3/core/gnome-desktop/default.nix b/pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
index a397ffe86d2c..d7ce6c370c38 100644
--- a/pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "gnome-desktop";
- version = "3.38.1";
+ version = "3.38.2";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/gnome-desktop/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "1q1vri9vsrdwhhl26dk1f79a3dhwfn9dhbaiczli826nzq9kb40p";
+ sha256 = "1m7iww1zk845szs9s3zc8a1s1wpd6kizndhq7gqy3575c0xgr2w9";
};
nativeBuildInputs = [
diff --git a/pkgs/development/compilers/gcc/9/avoid-cycling-subreg-reloads.patch b/pkgs/development/compilers/gcc/9/avoid-cycling-subreg-reloads.patch
new file mode 100644
index 000000000000..17a4e0a2447b
--- /dev/null
+++ b/pkgs/development/compilers/gcc/9/avoid-cycling-subreg-reloads.patch
@@ -0,0 +1,261 @@
+From 6001db79c477b03eacc7e7049560921fb54b7845 Mon Sep 17 00:00:00 2001
+From: Richard Sandiford
+Date: Mon, 7 Sep 2020 20:15:36 +0100
+Subject: [PATCH] lra: Avoid cycling on certain subreg reloads [PR96796]
+
+This PR is about LRA cycling for a reload of the form:
+
+----------------------------------------------------------------------------
+Changing pseudo 196 in operand 1 of insn 103 on equiv [r105:DI*0x8+r140:DI]
+ Creating newreg=287, assigning class ALL_REGS to slow/invalid mem r287
+ Creating newreg=288, assigning class ALL_REGS to slow/invalid mem r288
+ 103: r203:SI=r288:SI<<0x1+r196:DI#0
+ REG_DEAD r196:DI
+ Inserting slow/invalid mem reload before:
+ 316: r287:DI=[r105:DI*0x8+r140:DI]
+ 317: r288:SI=r287:DI#0
+----------------------------------------------------------------------------
+
+The problem is with r287. We rightly give it a broad starting class of
+POINTER_AND_FP_REGS (reduced from ALL_REGS by preferred_reload_class).
+However, we never make forward progress towards narrowing it down to
+a specific choice of class (POINTER_REGS or FP_REGS).
+
+I think in practice we rely on two things to narrow a reload pseudo's
+class down to a specific choice:
+
+(1) a restricted class is specified when the pseudo is created
+
+ This happens for input address reloads, where the class is taken
+ from the target's chosen base register class. It also happens
+ for simple REG reloads, where the class is taken from the chosen
+ alternative's constraints.
+
+(2) uses of the reload pseudo as a direct input operand
+
+ In this case get_reload_reg tries to reuse the existing register
+ and narrow its class, instead of creating a new reload pseudo.
+
+However, neither occurs here. As described above, r287 rightly
+starts out with a wide choice of class, ultimately derived from
+ALL_REGS, so we don't get (1). And as the comments in the PR
+explain, r287 is never used as an input reload, only the subreg is,
+so we don't get (2):
+
+----------------------------------------------------------------------------
+ Choosing alt 13 in insn 317: (0) r (1) w {*movsi_aarch64}
+ Creating newreg=291, assigning class FP_REGS to r291
+ 317: r288:SI=r291:SI
+ Inserting insn reload before:
+ 320: r291:SI=r287:DI#0
+----------------------------------------------------------------------------
+
+IMO, in this case we should rely on the reload of r316 to narrow
+down the class of r278. Currently we do:
+
+----------------------------------------------------------------------------
+ Choosing alt 7 in insn 316: (0) r (1) m {*movdi_aarch64}
+ Creating newreg=289 from oldreg=287, assigning class GENERAL_REGS to r289
+ 316: r289:DI=[r105:DI*0x8+r140:DI]
+ Inserting insn reload after:
+ 318: r287:DI=r289:DI
+---------------------------------------------------
+
+i.e. we create a new pseudo register r289 and give *that* pseudo
+GENERAL_REGS instead. This is because get_reload_reg only narrows
+down the existing class for OP_IN and OP_INOUT, not OP_OUT.
+
+But if we have a reload pseudo in a reload instruction and have chosen
+a specific class for the reload pseudo, I think we should simply install
+it for OP_OUT reloads too, if the class is a subset of the existing class.
+We will need to pick such a register whatever happens (for r289 in the
+example above). And as explained in the PR, doing this actually avoids
+an unnecessary move via the FP registers too.
+
+The patch is quite aggressive in that it does this for all reload
+pseudos in all reload instructions. I wondered about reusing the
+condition for a reload move in in_class_p:
+
+ INSN_UID (curr_insn) >= new_insn_uid_start
+ && curr_insn_set != NULL
+ && ((OBJECT_P (SET_SRC (curr_insn_set))
+ && ! CONSTANT_P (SET_SRC (curr_insn_set)))
+ || (GET_CODE (SET_SRC (curr_insn_set)) == SUBREG
+ && OBJECT_P (SUBREG_REG (SET_SRC (curr_insn_set)))
+ && ! CONSTANT_P (SUBREG_REG (SET_SRC (curr_insn_set)))))))
+
+but I can't really justify that on first principles. I think we
+should apply the rule consistently until we have a specific reason
+for doing otherwise.
+
+gcc/
+ PR rtl-optimization/96796
+ * lra-constraints.c (in_class_p): Add a default-false
+ allow_all_reload_class_changes_p parameter. Do not treat
+ reload moves specially when the parameter is true.
+ (get_reload_reg): Try to narrow the class of an existing OP_OUT
+ reload if we're reloading a reload pseudo in a reload instruction.
+
+gcc/testsuite/
+ PR rtl-optimization/96796
+ * gcc.c-torture/compile/pr96796.c: New test.
+---
+ gcc/lra-constraints.c | 54 ++++++++++++++----
+ gcc/testsuite/gcc.c-torture/compile/pr96796.c | 55 +++++++++++++++++++
+ 2 files changed, 99 insertions(+), 10 deletions(-)
+ create mode 100644 gcc/testsuite/gcc.c-torture/compile/pr96796.c
+
+diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c
+index 580da9c3ed6..161b721efb1 100644
+--- a/gcc/lra-constraints.c
++++ b/gcc/lra-constraints.c
+@@ -236,12 +236,17 @@ get_reg_class (int regno)
+ CL. Use elimination first if REG is a hard register. If REG is a
+ reload pseudo created by this constraints pass, assume that it will
+ be allocated a hard register from its allocno class, but allow that
+- class to be narrowed to CL if it is currently a superset of CL.
++ class to be narrowed to CL if it is currently a superset of CL and
++ if either:
++
++ - ALLOW_ALL_RELOAD_CLASS_CHANGES_P is true or
++ - the instruction we're processing is not a reload move.
+
+ If NEW_CLASS is nonnull, set *NEW_CLASS to the new allocno class of
+ REGNO (reg), or NO_REGS if no change in its class was needed. */
+ static bool
+-in_class_p (rtx reg, enum reg_class cl, enum reg_class *new_class)
++in_class_p (rtx reg, enum reg_class cl, enum reg_class *new_class,
++ bool allow_all_reload_class_changes_p = false)
+ {
+ enum reg_class rclass, common_class;
+ machine_mode reg_mode;
+@@ -266,7 +271,8 @@ in_class_p (rtx reg, enum reg_class cl, enum reg_class *new_class)
+ typically moves that have many alternatives, and restricting
+ reload pseudos for one alternative may lead to situations
+ where other reload pseudos are no longer allocatable. */
+- || (INSN_UID (curr_insn) >= new_insn_uid_start
++ || (!allow_all_reload_class_changes_p
++ && INSN_UID (curr_insn) >= new_insn_uid_start
+ && curr_insn_set != NULL
+ && ((OBJECT_P (SET_SRC (curr_insn_set))
+ && ! CONSTANT_P (SET_SRC (curr_insn_set)))
+@@ -598,13 +604,12 @@ canonicalize_reload_addr (rtx addr)
+ return addr;
+ }
+
+-/* Create a new pseudo using MODE, RCLASS, ORIGINAL or reuse already
+- created input reload pseudo (only if TYPE is not OP_OUT). Don't
+- reuse pseudo if IN_SUBREG_P is true and the reused pseudo should be
+- wrapped up in SUBREG. The result pseudo is returned through
+- RESULT_REG. Return TRUE if we created a new pseudo, FALSE if we
+- reused the already created input reload pseudo. Use TITLE to
+- describe new registers for debug purposes. */
++/* Create a new pseudo using MODE, RCLASS, ORIGINAL or reuse an existing
++ reload pseudo. Don't reuse an existing reload pseudo if IN_SUBREG_P
++ is true and the reused pseudo should be wrapped up in a SUBREG.
++ The result pseudo is returned through RESULT_REG. Return TRUE if we
++ created a new pseudo, FALSE if we reused an existing reload pseudo.
++ Use TITLE to describe new registers for debug purposes. */
+ static bool
+ get_reload_reg (enum op_type type, machine_mode mode, rtx original,
+ enum reg_class rclass, bool in_subreg_p,
+@@ -616,6 +621,35 @@ get_reload_reg (enum op_type type, machine_mode mode, rtx original,
+
+ if (type == OP_OUT)
+ {
++ /* Output reload registers tend to start out with a conservative
++ choice of register class. Usually this is ALL_REGS, although
++ a target might narrow it (for performance reasons) through
++ targetm.preferred_reload_class. It's therefore quite common
++ for a reload instruction to require a more restrictive class
++ than the class that was originally assigned to the reload register.
++
++ In these situations, it's more efficient to refine the choice
++ of register class rather than create a second reload register.
++ This also helps to avoid cycling for registers that are only
++ used by reload instructions. */
++ if (REG_P (original)
++ && (int) REGNO (original) >= new_regno_start
++ && INSN_UID (curr_insn) >= new_insn_uid_start
++ && in_class_p (original, rclass, &new_class, true))
++ {
++ unsigned int regno = REGNO (original);
++ if (lra_dump_file != NULL)
++ {
++ fprintf (lra_dump_file, " Reuse r%d for output ", regno);
++ dump_value_slim (lra_dump_file, original, 1);
++ }
++ if (new_class != lra_get_allocno_class (regno))
++ lra_change_class (regno, new_class, ", change to", false);
++ if (lra_dump_file != NULL)
++ fprintf (lra_dump_file, "\n");
++ *result_reg = original;
++ return false;
++ }
+ *result_reg
+ = lra_create_new_reg_with_unique_value (mode, original, rclass, title);
+ return true;
+diff --git a/gcc/testsuite/gcc.c-torture/compile/pr96796.c b/gcc/testsuite/gcc.c-torture/compile/pr96796.c
+new file mode 100644
+index 00000000000..8808e62fe77
+--- /dev/null
++++ b/gcc/testsuite/gcc.c-torture/compile/pr96796.c
+@@ -0,0 +1,55 @@
++/* { dg-additional-options "-fcommon" } */
++
++struct S0 {
++ signed f0 : 8;
++ unsigned f1;
++ unsigned f4;
++};
++struct S1 {
++ long f3;
++ char f4;
++} g_3_4;
++
++int g_5, func_1_l_32, func_50___trans_tmp_31;
++static struct S0 g_144, g_834, g_1255, g_1261;
++
++int g_273[120] = {};
++int *g_555;
++char **g_979;
++static int g_1092_0;
++static int g_1193;
++int safe_mul_func_int16_t_s_s(int si1, int si2) { return si1 * si2; }
++static struct S0 *func_50();
++int func_1() { func_50(g_3_4, g_5, func_1_l_32, 8, 3); }
++void safe_div_func_int64_t_s_s(int *);
++void safe_mod_func_uint32_t_u_u(struct S0);
++struct S0 *func_50(int p_51, struct S0 p_52, struct S1 p_53, int p_54,
++ int p_55) {
++ int __trans_tmp_30;
++ char __trans_tmp_22;
++ short __trans_tmp_19;
++ long l_985_1;
++ long l_1191[8];
++ safe_div_func_int64_t_s_s(g_273);
++ __builtin_printf((char*)g_1261.f4);
++ safe_mod_func_uint32_t_u_u(g_834);
++ g_144.f0 += 1;
++ for (;;) {
++ struct S1 l_1350 = {&l_1350};
++ for (; p_53.f3; p_53.f3 -= 1)
++ for (; g_1193 <= 2; g_1193 += 1) {
++ __trans_tmp_19 = safe_mul_func_int16_t_s_s(l_1191[l_985_1 + p_53.f3],
++ p_55 % (**g_979 = 10));
++ __trans_tmp_22 = g_1255.f1 * p_53.f4;
++ __trans_tmp_30 = __trans_tmp_19 + __trans_tmp_22;
++ if (__trans_tmp_30)
++ g_1261.f0 = p_51;
++ else {
++ g_1255.f0 = p_53.f3;
++ int *l_1422 = g_834.f0 = g_144.f4 != (*l_1422)++ > 0 < 0 ^ 51;
++ g_555 = ~0;
++ g_1092_0 |= func_50___trans_tmp_31;
++ }
++ }
++ }
++}
+--
+2.18.4
+
diff --git a/pkgs/development/compilers/gcc/9/default.nix b/pkgs/development/compilers/gcc/9/default.nix
index 305ed56df78c..c64a9dcc3f57 100644
--- a/pkgs/development/compilers/gcc/9/default.nix
+++ b/pkgs/development/compilers/gcc/9/default.nix
@@ -58,7 +58,13 @@ let majorVersion = "9";
inherit (stdenv) buildPlatform hostPlatform targetPlatform;
patches =
- optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
+ # Fix ICE: Max. number of generated reload insns per insn is achieved (90)
+ #
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96796
+ #
+ # This patch can most likely be removed by a post 9.3.0-release.
+ [ ./avoid-cycling-subreg-reloads.patch ]
+ ++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
++ optional noSysDirs ../no-sys-dirs.patch
/* ++ optional (hostPlatform != buildPlatform) (fetchpatch { # XXX: Refine when this should be applied
url = "https://git.busybox.net/buildroot/plain/package/gcc/${version}/0900-remove-selftests.patch?id=11271540bfe6adafbc133caf6b5b902a816f5f02";
diff --git a/pkgs/development/compilers/ghc/8.6.5-binary.nix b/pkgs/development/compilers/ghc/8.6.5-binary.nix
index 41af279e83ff..9234e3b14571 100644
--- a/pkgs/development/compilers/ghc/8.6.5-binary.nix
+++ b/pkgs/development/compilers/ghc/8.6.5-binary.nix
@@ -1,6 +1,6 @@
{ stdenv
, fetchurl, perl, gcc
-, ncurses5, gmp, glibc, libiconv
+, ncurses5, ncurses6, gmp, glibc, libiconv
, llvmPackages
}:
@@ -10,8 +10,12 @@ assert stdenv.targetPlatform == stdenv.hostPlatform;
let
useLLVM = !stdenv.targetPlatform.isx86;
+ useNcurses6 = stdenv.hostPlatform.system == "x86_64-linux";
+
+ ourNcurses = if useNcurses6 then ncurses6 else ncurses5;
+
libPath = stdenv.lib.makeLibraryPath ([
- ncurses5 gmp
+ ourNcurses gmp
] ++ stdenv.lib.optional (stdenv.hostPlatform.isDarwin) libiconv);
libEnvVar = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin "DY"
@@ -34,12 +38,16 @@ stdenv.mkDerivation rec {
# https://downloads.haskell.org/~ghc/8.6.5/
src = fetchurl ({
i686-linux = {
+ # Don't use the Fedora27 build (as below) because there isn't one!
url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-i386-deb9-linux.tar.xz";
sha256 = "1p2h29qghql19ajk755xa0yxkn85slbds8m9n5196ris743vkp8w";
};
x86_64-linux = {
- url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-x86_64-deb9-linux.tar.xz";
- sha256 = "1pqlx6rdjs2110g0y1i9f8x18lmdizibjqd15f5xahcz39hgaxdw";
+ # This is the Fedora build because it links against ncurses6 where the
+ # deb9 one links against ncurses5, see here
+ # https://github.com/NixOS/nixpkgs/issues/85924 for a discussion
+ url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-x86_64-fedora27-linux.tar.xz";
+ sha256 = "18dlqm5d028fqh6ghzn7pgjspr5smw030jjzl3kq6q1kmwzbay6g";
};
aarch64-linux = {
url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-aarch64-ubuntu18.04-linux.tar.xz";
@@ -88,9 +96,12 @@ stdenv.mkDerivation rec {
'' +
# Rename needed libraries and binaries, fix interpreter
stdenv.lib.optionalString stdenv.isLinux ''
- find . -type f -perm -0100 -exec patchelf \
+ find . -type f -perm -0100 \
+ -exec patchelf \
--replace-needed libncurses${stdenv.lib.optionalString stdenv.is64bit "w"}.so.5 libncurses.so \
- --replace-needed libtinfo.so libtinfo.so.5 \
+ ${ # This isn't required for x86_64-linux where we use ncurses6
+ stdenv.lib.optionalString (!useNcurses6) "--replace-needed libtinfo.so libtinfo.so.5"
+ } \
--interpreter ${glibcDynLinker} {} \;
sed -i "s|/usr/bin/perl|perl\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
diff --git a/pkgs/development/interpreters/python/hooks/pip-install-hook.sh b/pkgs/development/interpreters/python/hooks/pip-install-hook.sh
index c15b99adef6d..a4f08b8b14cb 100644
--- a/pkgs/development/interpreters/python/hooks/pip-install-hook.sh
+++ b/pkgs/development/interpreters/python/hooks/pip-install-hook.sh
@@ -11,7 +11,7 @@ pipInstallPhase() {
export PYTHONPATH="$out/@pythonSitePackages@:$PYTHONPATH"
pushd dist || return 1
- @pythonInterpreter@ -m pip install ./*.whl --no-index --no-warn-script-location --prefix="$out" --no-cache $pipInstallFlags --build tmpbuild
+ @pythonInterpreter@ -m pip install ./*.whl --no-index --no-warn-script-location --prefix="$out" --no-cache $pipInstallFlags
popd || return 1
runHook postInstall
diff --git a/pkgs/development/libraries/SDL2/find-headers.patch b/pkgs/development/libraries/SDL2/find-headers.patch
index a6b10ddb7edf..69dde41c7e2f 100644
--- a/pkgs/development/libraries/SDL2/find-headers.patch
+++ b/pkgs/development/libraries/SDL2/find-headers.patch
@@ -1,7 +1,7 @@
-diff -ru3 SDL2-2.0.4/sdl2-config.cmake.in SDL2-2.0.4-new/sdl2-config.cmake.in
---- SDL2-2.0.4/sdl2-config.cmake.in 2016-01-02 22:56:31.000000000 +0300
-+++ SDL2-2.0.4-new/sdl2-config.cmake.in 2016-08-22 05:26:42.420397323 +0300
-@@ -6,5 +6,6 @@
+diff -ru3 SDL2-2.0.12/sdl2-config.cmake.in SDL2-2.0.12-new/sdl2-config.cmake.in
+--- SDL2-2.0.12/sdl2-config.cmake.in 2020-03-11 02:36:18.000000000 +0100
++++ SDL2-2.0.12-new/sdl2-config.cmake.in 2020-11-11 11:59:05.178703826 +0100
+@@ -6,7 +6,8 @@
set(SDL2_PREFIX "@prefix@")
set(SDL2_EXEC_PREFIX "@prefix@")
set(SDL2_LIBDIR "@libdir@")
@@ -9,9 +9,29 @@ diff -ru3 SDL2-2.0.4/sdl2-config.cmake.in SDL2-2.0.4-new/sdl2-config.cmake.in
+set(SDL2_INCLUDE_DIRS "@includedir@/SDL2" $ENV{SDL2_PATH})
+separate_arguments(SDL2_INCLUDE_DIRS)
set(SDL2_LIBRARIES "-L${SDL2_LIBDIR} @SDL_RLD_FLAGS@ @SDL_LIBS@")
-diff -ru3 SDL2-2.0.4/sdl2-config.in SDL2-2.0.4-new/sdl2-config.in
---- SDL2-2.0.4/sdl2-config.in 2016-01-02 22:56:31.000000000 +0300
-+++ SDL2-2.0.4-new/sdl2-config.in 2016-08-22 05:32:02.256397839 +0300
+ string(STRIP "${SDL2_LIBRARIES}" SDL2_LIBRARIES)
+
+@@ -20,14 +21,14 @@
+
+ add_library(SDL2::SDL2 SHARED IMPORTED)
+ set_target_properties(SDL2::SDL2 PROPERTIES
+- INTERFACE_INCLUDE_DIRECTORIES "@includedir@/SDL2"
++ INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIRS}"
+ IMPORTED_LINK_INTERFACE_LANGUAGES "C"
+ IMPORTED_LOCATION "@libdir@/libSDL2.so"
+ INTERFACE_LINK_LIBRARIES "${SDL2_EXTRA_LINK_FLAGS}")
+
+ add_library(SDL2::SDL2-static STATIC IMPORTED)
+ set_target_properties(SDL2::SDL2-static PROPERTIES
+- INTERFACE_INCLUDE_DIRECTORIES "@includedir@/SDL2"
++ INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIRS}"
+ IMPORTED_LINK_INTERFACE_LANGUAGES "C"
+ IMPORTED_LOCATION "@libdir@/libSDL2.a"
+ INTERFACE_LINK_LIBRARIES "${SDL2_EXTRA_LINK_FLAGS_STATIC}")
+Només a SDL2-2.0.12-new/: sdl2-config.cmake.in.orig
+diff -ru3 SDL2-2.0.12/sdl2-config.in SDL2-2.0.12-new/sdl2-config.in
+--- SDL2-2.0.12/sdl2-config.in 2020-03-11 02:36:18.000000000 +0100
++++ SDL2-2.0.12-new/sdl2-config.in 2020-11-11 11:56:26.432955479 +0100
@@ -42,7 +42,11 @@
echo @SDL_VERSION@
;;
diff --git a/pkgs/development/libraries/aws-c-common/default.nix b/pkgs/development/libraries/aws-c-common/default.nix
index b028813558f5..6470566d5c71 100644
--- a/pkgs/development/libraries/aws-c-common/default.nix
+++ b/pkgs/development/libraries/aws-c-common/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, cmake }:
+{ lib, stdenv, fetchFromGitHub, cmake, fetchpatch }:
stdenv.mkDerivation rec {
pname = "aws-c-common";
@@ -13,6 +13,15 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
+ # can be removed once https://github.com/awslabs/aws-c-common/pull/735 gets merged, and version bumped
+ patches = [
+ (fetchpatch {
+ name = "fix-re-export-of-target.patch";
+ url = "https://github.com/awslabs/aws-c-common/pull/735/commits/3fca5c629ce0c4d66f50f7152685f3fe73941cb4.patch";
+ sha256 = "056f9kyg1c4lwjq8n0r28w1n3zbwrwpi1wbqabk99gaayg46x35a";
+ })
+ ];
+
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin
"-Wno-nullability-extension -Wno-typedef-redefinition";
diff --git a/pkgs/development/libraries/aws-checksums/default.nix b/pkgs/development/libraries/aws-checksums/default.nix
index d4ba15e52db4..ea3633d2e4d9 100644
--- a/pkgs/development/libraries/aws-checksums/default.nix
+++ b/pkgs/development/libraries/aws-checksums/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, cmake }:
+{ lib, stdenv, fetchFromGitHub, cmake, fetchpatch }:
stdenv.mkDerivation rec {
pname = "aws-checksums";
@@ -13,6 +13,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
+ # can be removed once https://github.com/awslabs/aws-checksums/pull/40 gets merged, and version bumped
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/awslabs/aws-checksums/pull/40/commits/fb5a57b3c072bd88e45de76fbb76bdc89c67b193.patch";
+ sha256 = "056f9kyg1c4lwjq8n0r28w1n3zbwrwpi1wbqabk99gaayg46x35a";
+ })
+ ];
+
cmakeFlags = [ "-DBUILD_SHARED_LIBS:BOOL=ON" ];
meta = with lib; {
diff --git a/pkgs/development/libraries/dav1d/default.nix b/pkgs/development/libraries/dav1d/default.nix
index 0889fdd0d8f4..a56184e9a179 100644
--- a/pkgs/development/libraries/dav1d/default.nix
+++ b/pkgs/development/libraries/dav1d/default.nix
@@ -9,14 +9,14 @@ assert useVulkan -> withExamples;
stdenv.mkDerivation rec {
pname = "dav1d";
- version = "0.7.1";
+ version = "0.8.0";
src = fetchFromGitLab {
domain = "code.videolan.org";
owner = "videolan";
repo = pname;
rev = version;
- sha256 = "1yawrbaazj6a2rvvb58k6kh492fjxdwlm94bl6ipry0fqmz0rlnl";
+ sha256 = "0mjn87xjdqv0q1gj4s4f6fdmsj504mhk4qmqiyrhq2rs7yqj4csv";
};
nativeBuildInputs = [ meson ninja nasm pkgconfig ];
diff --git a/pkgs/development/libraries/fribidi/default.nix b/pkgs/development/libraries/fribidi/default.nix
index 0022cbde7c55..f10af240720d 100644
--- a/pkgs/development/libraries/fribidi/default.nix
+++ b/pkgs/development/libraries/fribidi/default.nix
@@ -1,4 +1,5 @@
{ stdenv
+, buildPackages
, fetchurl
, meson
, ninja
@@ -26,6 +27,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ meson ninja pkgconfig ]
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
+ depsBuildBuild = [ buildPackages.stdenv.cc ];
+
doCheck = true;
checkInputs = [ python3 ];
diff --git a/pkgs/development/libraries/git2/default.nix b/pkgs/development/libraries/git2/default.nix
index 3f0279950338..96b67c7ccca8 100644
--- a/pkgs/development/libraries/git2/default.nix
+++ b/pkgs/development/libraries/git2/default.nix
@@ -1,18 +1,18 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, python3
+{ stdenv, fetchFromGitHub, cmake, pkg-config, python3
, zlib, libssh2, openssl, pcre, http-parser
, libiconv, Security
}:
stdenv.mkDerivation rec {
pname = "libgit2";
- version = "1.0.0";
+ version = "1.1.0";
# keep the version in sync with python3.pkgs.pygit2 and libgit2-glib
src = fetchFromGitHub {
owner = "libgit2";
repo = "libgit2";
rev = "v${version}";
- sha256 = "06cwrw93ycpfb5kisnsa5nsy95pm11dbh0vvdjg1jn25h9q5d3vc";
+ sha256 = "1vj7q7b8j3smiyi1acbc5x86lqk00igdm2adjnqs9n011i13rykl";
};
cmakeFlags = [
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
"-DUSE_HTTP_PARSER=system"
];
- nativeBuildInputs = [ cmake python3 pkgconfig ];
+ nativeBuildInputs = [ cmake python3 pkg-config ];
buildInputs = [ zlib libssh2 openssl pcre http-parser ]
++ stdenv.lib.optional stdenv.isDarwin Security;
diff --git a/pkgs/development/libraries/gtk/3.x.nix b/pkgs/development/libraries/gtk/3.x.nix
index 2cae9546b74c..aee846ccfcd0 100644
--- a/pkgs/development/libraries/gtk/3.x.nix
+++ b/pkgs/development/libraries/gtk/3.x.nix
@@ -30,6 +30,8 @@
, gnome3
, gsettings-desktop-schemas
, sassc
+, trackerSupport ? stdenv.isLinux
+, tracker
, x11Support ? stdenv.isLinux
, waylandSupport ? stdenv.isLinux
, mesa
@@ -91,6 +93,7 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Dgtk_doc=${boolToString withGtkDoc}"
"-Dtests=false"
+ "-Dtracker3=${boolToString trackerSupport}"
];
# These are the defines that'd you'd get with --enable-debug=minimum (default).
@@ -137,6 +140,7 @@ stdenv.mkDerivation rec {
isocodes
]
++ optional stdenv.isDarwin AppKit
+ ++ optional trackerSupport tracker
;
propagatedBuildInputs = with xorg; [
diff --git a/pkgs/development/libraries/hidapi/default.nix b/pkgs/development/libraries/hidapi/default.nix
index df8212cd5a65..c42a35282233 100644
--- a/pkgs/development/libraries/hidapi/default.nix
+++ b/pkgs/development/libraries/hidapi/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "hidapi";
- version = "0.10.0";
+ version = "0.10.1";
src = fetchFromGitHub {
owner = "libusb";
repo = "hidapi";
rev = "${pname}-${version}";
- sha256 = "1n3xn1zvxgyzb84cjpw3i5alw0gkbrps11r4ijxzyqxqym0khagr";
+ sha256 = "1nr4z4b10vpbh3ss525r7spz4i43zim2ba5qzfl15dgdxshxxivb";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
diff --git a/pkgs/development/libraries/libgphoto2/default.nix b/pkgs/development/libraries/libgphoto2/default.nix
index 95bb24ecb583..93c98bb1f121 100644
--- a/pkgs/development/libraries/libgphoto2/default.nix
+++ b/pkgs/development/libraries/libgphoto2/default.nix
@@ -1,19 +1,34 @@
-{ stdenv, fetchFromGitHub, pkgconfig, libusb1, libtool, libexif, libjpeg, gettext, autoreconfHook }:
+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gettext
+, libusb1
+, libtool
+, libexif
+, libjpeg
+}:
stdenv.mkDerivation rec {
- name = "libgphoto2-${meta.version}";
+ pname = "libgphoto2";
+ version = "2.5.23";
src = fetchFromGitHub {
owner = "gphoto";
repo = "libgphoto2";
- rev = meta.tag;
+ rev = "libgphoto2-${builtins.replaceStrings [ "." ] [ "_" ] version}-release";
sha256 = "1sc2ycx11khf0qzp1cqxxx1qymv6bjfbkx3vvbwz6wnbyvsigxz2";
};
patches = [];
- nativeBuildInputs = [ pkgconfig gettext autoreconfHook ];
- buildInputs = [ libtool libjpeg libusb1 ];
+ nativeBuildInputs = [
+ autoreconfHook
+ pkgconfig
+ gettext
+ libtool
+ ];
+
+ buildInputs = [
+ libjpeg
+ libusb1
+ ];
# These are mentioned in the Requires line of libgphoto's pkg-config file.
propagatedBuildInputs = [ libexif ];
@@ -33,8 +48,6 @@ stdenv.mkDerivation rec {
MTP, and other vendor specific protocols for controlling and transferring data
from digital cameras.
'';
- version = "2.5.23";
- tag = "libgphoto2-2_5_23-release";
# XXX: the homepage claims LGPL, but several src files are lgpl21Plus
license = stdenv.lib.licenses.lgpl21Plus;
platforms = with stdenv.lib.platforms; unix;
diff --git a/pkgs/development/libraries/libimagequant/default.nix b/pkgs/development/libraries/libimagequant/default.nix
index 2bfc9ec96cac..2bca09be45f4 100644
--- a/pkgs/development/libraries/libimagequant/default.nix
+++ b/pkgs/development/libraries/libimagequant/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "libimagequant";
- version = "2.13.0";
+ version = "2.13.1";
src = fetchFromGitHub {
owner = "ImageOptim";
repo = pname;
rev = version;
- sha256 = "12alfvq761nhdl927aj93yv3r6rzxlf7csdr28xgga7cz53fmrrp";
+ sha256 = "1543h1i59k2hbj2g8shcl8fvhz2silipacynwjgw412r38hkr33j";
};
preConfigure = ''
diff --git a/pkgs/development/libraries/libjpeg-turbo/default.nix b/pkgs/development/libraries/libjpeg-turbo/default.nix
index 2a25a565a8fc..6aa4e049e4c3 100644
--- a/pkgs/development/libraries/libjpeg-turbo/default.nix
+++ b/pkgs/development/libraries/libjpeg-turbo/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "libjpeg-turbo";
- version = "2.0.5";
+ version = "2.0.6";
src = fetchFromGitHub {
owner = "libjpeg-turbo";
repo = "libjpeg-turbo";
rev = version;
- sha256 = "0p32yivybxdicm01qa9h1vj91apygzxpvnklrjmbx8z9z2l3qxc9";
+ sha256 = "0njdxfmyk8smj8bbd6fs3lxjaq3lybivwgg16gpnbiyl984dpi9b";
};
patches =
diff --git a/pkgs/development/libraries/libmtp/default.nix b/pkgs/development/libraries/libmtp/default.nix
index dc5410d65fd8..e9cfd0f9856a 100644
--- a/pkgs/development/libraries/libmtp/default.nix
+++ b/pkgs/development/libraries/libmtp/default.nix
@@ -1,18 +1,40 @@
-{ stdenv, fetchurl, pkgconfig, libusb1, libiconv }:
+{ stdenv, fetchFromGitHub, autoconf, automake, gettext, libtool, pkgconfig
+, libusb1
+, libiconv
+}:
stdenv.mkDerivation rec {
- name = "libmtp-1.1.18";
+ pname = "libmtp";
+ version = "1.1.18";
- src = fetchurl {
- url = "mirror://sourceforge/libmtp/${name}.tar.gz";
- sha256 = "1w41l93yi0dmw218daiw36rylkc8rammxx37csh1ij24q18gx03j";
+ src = fetchFromGitHub {
+ owner = "libmtp";
+ repo = "libmtp";
+ rev = "libmtp-${builtins.replaceStrings [ "." ] [ "-" ] version}";
+ sha256 = "0rya6dsb67a7ny2i1jzdicnday42qb8njqw6r902k712k5p7d1r9";
};
outputs = [ "bin" "dev" "out" ];
- buildInputs = [ libiconv ];
- propagatedBuildInputs = [ libusb1 ];
- nativeBuildInputs = [ pkgconfig ];
+ nativeBuildInputs = [
+ autoconf
+ automake
+ gettext
+ libtool
+ pkgconfig
+ ];
+
+ buildInputs = [
+ libiconv
+ ];
+
+ propagatedBuildInputs = [
+ libusb1
+ ];
+
+ preConfigure = ''
+ ./autogen.sh
+ '';
# tried to install files to /lib/udev, hopefully OK
configureFlags = [ "--with-udev=$$bin/lib/udev" ];
diff --git a/pkgs/development/libraries/libseccomp/default.nix b/pkgs/development/libraries/libseccomp/default.nix
index 84f89dec29b6..ab1df8d2bc12 100644
--- a/pkgs/development/libraries/libseccomp/default.nix
+++ b/pkgs/development/libraries/libseccomp/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "libseccomp";
- version = "2.5.0";
+ version = "2.5.1";
src = fetchurl {
url = "https://github.com/seccomp/libseccomp/releases/download/v${version}/libseccomp-${version}.tar.gz";
- sha256 = "1wql62cg8f95cwpy057cl764nni9g4sdn5lqj68x22kjs8w71yhz";
+ sha256 = "0m8dlg1v7kflcxvajs4p76p275qwsm2abbf5mfapkakp7hw7wc7f";
};
outputs = [ "out" "lib" "dev" "man" "pythonsrc" ];
diff --git a/pkgs/development/libraries/libxml2/default.nix b/pkgs/development/libraries/libxml2/default.nix
index 5e290b25832d..594928876888 100644
--- a/pkgs/development/libraries/libxml2/default.nix
+++ b/pkgs/development/libraries/libxml2/default.nix
@@ -27,15 +27,27 @@ stdenv.mkDerivation rec {
# https://github.com/NixOS/nixpkgs/pull/63174
# https://github.com/NixOS/nixpkgs/pull/72342
./utf8-xmlErrorFuncHandler.patch
+ (fetchpatch {
+ name = "CVE-2019-20388.patch";
+ url = "https://gitlab.gnome.org/GNOME/libxml2/commit/6088a74bcf7d0c42e24cff4594d804e1d3c9fbca.patch";
+ sha256 = "070s7al2r2k92320h9cdfc2097jy4kk04d0disc98ddc165r80jl";
+ })
(fetchpatch {
name = "CVE-2020-7595.patch";
url = "https://gitlab.gnome.org/GNOME/libxml2/commit/0e1a49c8907645d2e155f0d89d4d9895ac5112b5.patch";
sha256 = "0klvaxkzakkpyq0m44l9xrpn5kwaii194sqsivfm6zhnb9hhl15l";
})
(fetchpatch {
- name = "CVE-2019-20388.patch";
- url = "https://gitlab.gnome.org/GNOME/libxml2/commit/6088a74bcf7d0c42e24cff4594d804e1d3c9fbca.patch";
- sha256 = "070s7al2r2k92320h9cdfc2097jy4kk04d0disc98ddc165r80jl";
+ name = "CVE-2020-24977.patch";
+ url = "https://gitlab.gnome.org/GNOME/libxml2/commit/50f06b3efb638efb0abd95dc62dca05ae67882c2.patch";
+ sha256 = "093f1ic5qfiq8nk9mc6b8p1qcs8m9hir3ardr6r5il4zi2dnjrj4";
+ })
+ # Fix compatibility with Python 3.9.
+ # https://gitlab.gnome.org/GNOME/libxml2/-/issues/149
+ (fetchpatch {
+ name = "python39.patch";
+ url = "https://gitlab.gnome.org/nwellnhof/libxml2/-/commit/e4fb36841800038c289997432ca547c9bfef9db1.patch";
+ sha256 = "0h3vpy9fg3339b14qa64640ypp65z3hrrrmpjl8qm72srkp24ci5";
})
];
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix
index 8e8a625b50f8..891e11dbadf9 100644
--- a/pkgs/development/libraries/mesa/default.nix
+++ b/pkgs/development/libraries/mesa/default.nix
@@ -31,7 +31,7 @@ with stdenv.lib;
let
# Release calendar: https://www.mesa3d.org/release-calendar.html
# Release frequency: https://www.mesa3d.org/releasing.html#schedule
- version = "20.2.2";
+ version = "20.2.3";
branch = versions.major version;
in
@@ -46,7 +46,7 @@ stdenv.mkDerivation {
"ftp://ftp.freedesktop.org/pub/mesa/${version}/mesa-${version}.tar.xz"
"ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz"
];
- sha256 = "0qdqi767vshclnfg9drlsmp2pa17hi7y0172s064jwfgj08fp4qz";
+ sha256 = "0axqrqg1fas91fx30qjwhcp4yasdvk919hjds4lga7ak247286xf";
};
prePatch = "patchShebangs .";
diff --git a/pkgs/development/libraries/tracker/default.nix b/pkgs/development/libraries/tracker/default.nix
index 40ab73405ae4..ee50d6547957 100644
--- a/pkgs/development/libraries/tracker/default.nix
+++ b/pkgs/development/libraries/tracker/default.nix
@@ -12,7 +12,7 @@
, docbook_xml_dtd_45
, libxml2
, glib
-, wrapGAppsHook
+, wrapGAppsNoGuiHook
, vala
, sqlite
, libxslt
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
asciidoc
gettext
libxslt
- wrapGAppsHook
+ wrapGAppsNoGuiHook
gobject-introspection
gtk-doc
docbook-xsl-nons
diff --git a/pkgs/development/libraries/wayland/0001-add-placeholder-for-nm.patch b/pkgs/development/libraries/wayland/0001-add-placeholder-for-nm.patch
new file mode 100644
index 000000000000..f6745e6f9433
--- /dev/null
+++ b/pkgs/development/libraries/wayland/0001-add-placeholder-for-nm.patch
@@ -0,0 +1,25 @@
+From 378623b0e39b12bb04d3a3a1e08e64b31bd7d99d Mon Sep 17 00:00:00 2001
+From: Florian Klink
+Date: Fri, 27 Nov 2020 10:22:20 +0100
+Subject: [PATCH] add placeholder for @nm@
+
+---
+ egl/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/egl/meson.build b/egl/meson.build
+index dee9b1d..e477546 100644
+--- a/egl/meson.build
++++ b/egl/meson.build
+@@ -11,7 +11,7 @@ wayland_egl = library(
+
+ executable('wayland-egl-abi-check', 'wayland-egl-abi-check.c')
+
+-nm_path = find_program('nm').path()
++nm_path = find_program('@nm@').path()
+
+ test(
+ 'wayland-egl symbols check',
+--
+2.29.2
+
diff --git a/pkgs/development/libraries/wayland/default.nix b/pkgs/development/libraries/wayland/default.nix
index cd84495d870a..2b18bc31a452 100644
--- a/pkgs/development/libraries/wayland/default.nix
+++ b/pkgs/development/libraries/wayland/default.nix
@@ -1,17 +1,32 @@
-{ lib, stdenv, fetchurl, fetchpatch, meson, pkgconfig, ninja
-, libffi, libxml2, wayland
+{ lib
+, stdenv
+, fetchurl
+, fetchpatch
+, meson
+, pkgconfig
+, substituteAll
+, ninja
+, libffi
+, libxml2
+, wayland
, expat ? null # Build wayland-scanner (currently cannot be disabled as of 1.7.0)
, withDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform
-, graphviz-nox, doxygen, libxslt, xmlto, python3
-, docbook_xsl, docbook_xml_dtd_45, docbook_xml_dtd_42
+, graphviz-nox
+, doxygen
+, libxslt
+, xmlto
+, python3
+, docbook_xsl
+, docbook_xml_dtd_45
+, docbook_xml_dtd_42
}:
# Require the optional to be enabled until upstream fixes or removes the configure flag
assert expat != null;
-
let
isCross = stdenv.buildPlatform != stdenv.hostPlatform;
-in stdenv.mkDerivation rec {
+in
+stdenv.mkDerivation rec {
pname = "wayland";
version = "1.18.0";
@@ -26,6 +41,10 @@ in stdenv.mkDerivation rec {
url = "https://gitlab.freedesktop.org/wayland/wayland/-/commit/e53e0edf0f892670f3e8c5dd527b3bb22335d32d.patch";
sha256 = "15sbhi86m9k72lsj56p7zr20ph2b0y4svl639snsbafn2ir1zdb2";
})
+ (substituteAll {
+ src = ./0001-add-placeholder-for-nm.patch;
+ nm = "${stdenv.cc.targetPrefix}nm";
+ })
];
outputs = [ "out" ] ++ lib.optionals withDocumentation [ "doc" "man" ];
@@ -35,9 +54,6 @@ in stdenv.mkDerivation rec {
postPatch = lib.optionalString withDocumentation ''
patchShebangs doc/doxygen/gen-doxygen.py
- substituteInPlace egl/meson.build --replace \
- "find_program('nm').path()" \
- "find_program('${stdenv.cc.targetPrefix}nm').path()"
'';
depsBuildBuild = [
@@ -45,17 +61,28 @@ in stdenv.mkDerivation rec {
];
nativeBuildInputs = [
- meson pkgconfig ninja
+ meson
+ pkgconfig
+ ninja
] ++ lib.optionals isCross [
wayland # For wayland-scanner during the build
] ++ lib.optionals withDocumentation [
(graphviz-nox.override { pango = null; }) # To avoid an infinite recursion
- doxygen libxslt xmlto python3 docbook_xml_dtd_45
+ doxygen
+ libxslt
+ xmlto
+ python3
+ docbook_xml_dtd_45
];
- buildInputs = [ libffi expat libxml2
+ buildInputs = [
+ libffi
+ expat
+ libxml2
] ++ lib.optionals withDocumentation [
- docbook_xsl docbook_xml_dtd_45 docbook_xml_dtd_42
+ docbook_xsl
+ docbook_xml_dtd_45
+ docbook_xml_dtd_42
];
meta = {
@@ -68,9 +95,9 @@ in stdenv.mkDerivation rec {
and other interactions that must go through the compositor (but not
rendering).
'';
- homepage = "https://wayland.freedesktop.org/";
- license = lib.licenses.mit; # Expat version
- platforms = lib.platforms.linux;
+ homepage = "https://wayland.freedesktop.org/";
+ license = lib.licenses.mit; # Expat version
+ platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ primeos codyopel ];
};
diff --git a/pkgs/development/python-modules/JPype1/default.nix b/pkgs/development/python-modules/JPype1/default.nix
index 68afbb525c95..11ac2b7599b2 100644
--- a/pkgs/development/python-modules/JPype1/default.nix
+++ b/pkgs/development/python-modules/JPype1/default.nix
@@ -2,19 +2,25 @@
, buildPythonPackage
, fetchPypi
, isPy27
+, pythonOlder
+, typing-extensions
, pytest
}:
buildPythonPackage rec {
pname = "JPype1";
- version = "1.0.2";
+ version = "1.1.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "c751436350c105f403e382574d34a6ad73e4a677cb0ff5bc9a87581cc07094e1";
+ sha256 = "c6e36de9f7ef826ff27f6d5260acc710ebc585a534c12cbac905db088ab1d992";
};
+ propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
+ typing-extensions
+ ];
+
checkInputs = [
pytest
];
diff --git a/pkgs/development/python-modules/Nikola/default.nix b/pkgs/development/python-modules/Nikola/default.nix
index 06a85a22033d..eeab02fcb75e 100644
--- a/pkgs/development/python-modules/Nikola/default.nix
+++ b/pkgs/development/python-modules/Nikola/default.nix
@@ -35,7 +35,7 @@
buildPythonPackage rec {
pname = "Nikola";
- version = "8.1.1";
+ version = "8.1.2";
# 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 = "cee35b011667a965eca01b7d36b54649c9434ab004d8556d6563b7d899df61ed";
+ sha256 = "26f4fb1a2b0105cf0f71187c6c1eb54283767a883d1c8f4ca8c8039033217d27";
};
patchPhase = ''
diff --git a/pkgs/development/python-modules/Pygments/default.nix b/pkgs/development/python-modules/Pygments/default.nix
index e0c5539299dd..02f39b3014d4 100644
--- a/pkgs/development/python-modules/Pygments/default.nix
+++ b/pkgs/development/python-modules/Pygments/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "Pygments";
- version = "2.6.1";
+ version = "2.7.2";
src = fetchPypi {
inherit pname version;
- sha256 = "647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44";
+ sha256 = "381985fcc551eb9d37c52088a32914e00517e57f4a21609f48141ba08e193fa0";
};
propagatedBuildInputs = [ docutils ];
diff --git a/pkgs/development/python-modules/absl-py/default.nix b/pkgs/development/python-modules/absl-py/default.nix
index e7a2f120c1b3..e70d830b7be0 100644
--- a/pkgs/development/python-modules/absl-py/default.nix
+++ b/pkgs/development/python-modules/absl-py/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "absl-py";
- version = "0.9.0";
+ version = "0.11.0";
src = fetchPypi {
inherit pname version;
- sha256 = "75e737d6ce7723d9ff9b7aa1ba3233c34be62ef18d5859e706b8fdc828989830";
+ sha256 = "673cccb88d810e5627d0c1c818158485d106f65a583880e2f730c997399bcfa7";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/aiofiles/default.nix b/pkgs/development/python-modules/aiofiles/default.nix
index 7db56622759f..fd77a5587885 100644
--- a/pkgs/development/python-modules/aiofiles/default.nix
+++ b/pkgs/development/python-modules/aiofiles/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "aiofiles";
- version = "0.5.0";
+ version = "0.6.0";
src = fetchPypi {
inherit pname version;
- sha256 = "98e6bcfd1b50f97db4980e182ddd509b7cc35909e903a8fe50d8849e02d815af";
+ sha256 = "e0281b157d3d5d59d803e3f4557dcc9a3dff28a4dd4829a9ff478adae50ca092";
};
disabled = pythonOlder "3.3";
diff --git a/pkgs/development/python-modules/aiohttp-jinja2/default.nix b/pkgs/development/python-modules/aiohttp-jinja2/default.nix
index 84195d5545e0..4bc41cf32f38 100644
--- a/pkgs/development/python-modules/aiohttp-jinja2/default.nix
+++ b/pkgs/development/python-modules/aiohttp-jinja2/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "aiohttp-jinja2";
- version = "1.2.0";
+ version = "1.4.2";
src = fetchPypi {
inherit pname version;
- sha256 = "2dfe29cfd278d07cd0a851afb98471bc8ce2a830968443e40d67636f3c035d79";
+ sha256 = "9c22a0e48e3b277fc145c67dd8c3b8f609dab36bce9eb337f70dfe716663c9a0";
};
propagatedBuildInputs = [ aiohttp jinja2 ];
diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix
index 90a7b41f7c10..514d1d308e12 100644
--- a/pkgs/development/python-modules/aiohttp/default.nix
+++ b/pkgs/development/python-modules/aiohttp/default.nix
@@ -21,26 +21,36 @@
, brotlipy
, freezegun
, isPy38
+, re-assert
}:
buildPythonPackage rec {
pname = "aiohttp";
- version = "3.6.3";
+ version = "3.7.3";
# https://github.com/aio-libs/aiohttp/issues/4525 python3.8 failures
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
- sha256 = "698cd7bc3c7d1b82bb728bae835724a486a8c376647aec336aa21a60113c3645";
+ sha256 = "9c1a81af067e72261c9cbe33ea792893e83bc6aa987bfbd6fdc1e5e7b22777c4";
};
checkInputs = [
pytestrunner pytestCheckHook gunicorn async_generator pytest_xdist
pytest-mock pytestcov trustme brotlipy freezegun
+ re-assert
];
- propagatedBuildInputs = [ attrs chardet multidict async-timeout yarl ]
- ++ lib.optionals (pythonOlder "3.7") [ idna-ssl typing-extensions ];
+ propagatedBuildInputs = [
+ attrs
+ chardet
+ multidict
+ async-timeout
+ typing-extensions
+ yarl
+ ] ++ lib.optionals (pythonOlder "3.7") [
+ idna-ssl
+ ];
disabledTests = [
# disable tests which attempt to do loopback connections
@@ -54,6 +64,7 @@ buildPythonPackage rec {
"proxy_https_bad_response"
"partially_applied_handler"
"middleware"
+ "test_mark_formdata_as_processed"
# no longer compatible with pytest>=6
"aiohttp_plugin_async_fixture"
] ++ lib.optionals stdenv.is32bit [
diff --git a/pkgs/development/python-modules/aiomysql/default.nix b/pkgs/development/python-modules/aiomysql/default.nix
index acaeb0ba783e..4de8eaba3d8f 100644
--- a/pkgs/development/python-modules/aiomysql/default.nix
+++ b/pkgs/development/python-modules/aiomysql/default.nix
@@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "aiomysql";
- version = "0.0.20";
+ version = "0.0.21";
disabled = isPy27;
src = fetchFromGitHub {
owner = "aio-libs";
repo = pname;
rev = "v${version}";
- sha256 = "1mxih81zc2k64briirpp5wz4f72l8v05avfyfibaq9fr6lcbih9b";
+ sha256 = "1qvy3phbsxp55161dnppjfx2m1kn82v0irc3xzqw0adfd81vaiad";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/amazon_kclpy/default.nix b/pkgs/development/python-modules/amazon_kclpy/default.nix
index 47a62cd2afce..bfce45ae206c 100644
--- a/pkgs/development/python-modules/amazon_kclpy/default.nix
+++ b/pkgs/development/python-modules/amazon_kclpy/default.nix
@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "amazon_kclpy";
- version = "1.5.1";
+ version = "2.0.1";
src = fetchFromGitHub {
owner = "awslabs";
repo = "amazon-kinesis-client-python";
rev = "v${version}";
- sha256 = "0jjqh9hq0hx2wr7wlqjr6cixpygragwlk4pz7rkqg2gkbhazmnq3";
+ sha256 = "13iq217fg0bxafp2rl684pg1rz4jbwid8cc8ip4rim07kzn65lbg";
};
# argparse is just required for python2.6
diff --git a/pkgs/development/python-modules/amqp/default.nix b/pkgs/development/python-modules/amqp/default.nix
index 5fa41412a7ca..12dc1eca2a31 100644
--- a/pkgs/development/python-modules/amqp/default.nix
+++ b/pkgs/development/python-modules/amqp/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "amqp";
- version = "2.6.1";
+ version = "5.0.2";
src = fetchPypi {
inherit pname version;
- sha256 = "70cdb10628468ff14e57ec2f751c7aa9e48e7e3651cfd62d431213c0c4e58f21";
+ sha256 = "fcd5b3baeeb7fc19b3486ff6d10543099d40ae1f5c9196eae695d1cde1b2f784";
};
propagatedBuildInputs = [ vine ];
diff --git a/pkgs/development/python-modules/annexremote/default.nix b/pkgs/development/python-modules/annexremote/default.nix
index bddae5155d7b..a508e7b27111 100644
--- a/pkgs/development/python-modules/annexremote/default.nix
+++ b/pkgs/development/python-modules/annexremote/default.nix
@@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "annexremote";
- version = "1.3.1";
+ version = "1.4.5";
# use fetchFromGitHub instead of fetchPypi because the test suite of
# the package is not included into the PyPI tarball
@@ -17,7 +17,7 @@ buildPythonPackage rec {
rev = "v${version}";
owner = "Lykos153";
repo = "AnnexRemote";
- sha256 = "13ny7h41430pi9393dw3qgwxvzcxacapjsw0d3vjm7lc4h566alq";
+ sha256 = "0r5chdk2aiqcz7z8r8m1j657cz79f6bbv96xdmhj4m5fiqn672if";
};
propagatedBuildInputs = [ future ];
diff --git a/pkgs/development/python-modules/annoy/default.nix b/pkgs/development/python-modules/annoy/default.nix
index 51fd57582f2f..138c70a38483 100644
--- a/pkgs/development/python-modules/annoy/default.nix
+++ b/pkgs/development/python-modules/annoy/default.nix
@@ -6,12 +6,12 @@
}:
buildPythonPackage rec {
- version = "1.16.3";
+ version = "1.17.0";
pname = "annoy";
src = fetchPypi {
inherit pname version;
- sha256 = "fe2779664bd8846f2d67191a7e6010b8df890ac4586336748fd0697f31654379";
+ sha256 = "9891e264041d1dcf3af42f67fbb16cb273c5404bc8c869d0915a3087f71d58dd";
};
nativeBuildInputs = [ h5py ];
diff --git a/pkgs/development/python-modules/ansi2html/default.nix b/pkgs/development/python-modules/ansi2html/default.nix
index eda67e260454..76775acb1632 100644
--- a/pkgs/development/python-modules/ansi2html/default.nix
+++ b/pkgs/development/python-modules/ansi2html/default.nix
@@ -1,17 +1,21 @@
-{ lib, buildPythonPackage, fetchPypi, isPy3k, six, mock, nose, setuptools }:
+{ lib, buildPythonPackage, fetchPypi, isPy3k, six, mock, pytestCheckHook, setuptools, setuptools_scm, toml }:
buildPythonPackage rec {
pname = "ansi2html";
- version = "1.5.2";
+ version = "1.6.0";
src = fetchPypi {
inherit pname version;
- sha256 = "1a9vihsvd03hb0a4dbiklyy686adp9q2ipl79mkxmdr6gfp8bbln";
+ sha256 = "0f124ea7efcf3f24f1f9398e527e688c9ae6eab26b0b84e1299ef7f94d92c596";
};
+ nativeBuildInputs = [ setuptools_scm toml ];
propagatedBuildInputs = [ six setuptools ];
- checkInputs = [ mock nose ];
+ preCheck = "export PATH=$PATH:$out/bin";
+ checkInputs = [ mock pytestCheckHook ];
+
+ pythonImportsCheck = [ "ansi2html" ];
meta = with lib; {
description = "Convert text with ANSI color codes to HTML";
diff --git a/pkgs/development/python-modules/apispec/default.nix b/pkgs/development/python-modules/apispec/default.nix
index 9941cf7ae60a..0dea059f76af 100644
--- a/pkgs/development/python-modules/apispec/default.nix
+++ b/pkgs/development/python-modules/apispec/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "apispec";
- version = "3.3.2";
+ version = "4.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "d23ebd5b71e541e031b02a19db10b5e6d5ef8452c552833e3e1afc836b40b1ad";
+ sha256 = "360e28e5e84a4d7023b16de2b897327fe3da63ddc8e01f9165b9113b7fe1c48a";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/argcomplete/default.nix b/pkgs/development/python-modules/argcomplete/default.nix
index 3ab390d822b5..f2a9db40f60f 100644
--- a/pkgs/development/python-modules/argcomplete/default.nix
+++ b/pkgs/development/python-modules/argcomplete/default.nix
@@ -7,11 +7,11 @@
}:
buildPythonPackage rec {
pname = "argcomplete";
- version = "1.12.1";
+ version = "1.12.2";
src = fetchPypi {
inherit pname version;
- sha256 = "849c2444c35bb2175aea74100ca5f644c29bf716429399c0f2203bb5d9a8e4e6";
+ sha256 = "de0e1282330940d52ea92a80fea2e4b9e0da1932aaa570f84d268939d1897b04";
};
doCheck = false; # meant to be ran with interactive interpreter
diff --git a/pkgs/development/python-modules/astroid/default.nix b/pkgs/development/python-modules/astroid/default.nix
index 927e6a6d5a64..49f04bcb9116 100644
--- a/pkgs/development/python-modules/astroid/default.nix
+++ b/pkgs/development/python-modules/astroid/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchPypi, buildPythonPackage, pythonOlder, isPyPy
+{ lib, fetchPypi, buildPythonPackage, pythonOlder, isPyPy, pythonAtLeast
, lazy-object-proxy, six, wrapt, typing, typed-ast
, pytestrunner, pytest
}:
@@ -7,7 +7,7 @@ buildPythonPackage rec {
pname = "astroid";
version = "2.4.2";
- disabled = pythonOlder "3.4";
+ disabled = pythonOlder "3.4" || pythonAtLeast "3.9";
src = fetchPypi {
inherit pname version;
diff --git a/pkgs/development/python-modules/astropy/default.nix b/pkgs/development/python-modules/astropy/default.nix
index 2658ba99b1f9..2fe59e53d9c1 100644
--- a/pkgs/development/python-modules/astropy/default.nix
+++ b/pkgs/development/python-modules/astropy/default.nix
@@ -12,13 +12,13 @@
buildPythonPackage rec {
pname = "astropy";
- version = "4.0.3";
+ version = "4.2";
disabled = !isPy3k; # according to setup.py
src = fetchPypi {
inherit pname version;
- sha256 = "cf69d1a3f140ca8fe1664202072201395495a73c334a69fc965fab6a6e1d281a";
+ sha256 = "2c194f8a429b8399de64a413a06881ea49f0525cabaa2d78fc132b9e970adc6a";
};
nativeBuildInputs = [ astropy-helpers cython jinja2 ];
diff --git a/pkgs/development/python-modules/atlassian-python-api/default.nix b/pkgs/development/python-modules/atlassian-python-api/default.nix
index a91c3ee8a52b..b1f0df0b3bc0 100755
--- a/pkgs/development/python-modules/atlassian-python-api/default.nix
+++ b/pkgs/development/python-modules/atlassian-python-api/default.nix
@@ -4,6 +4,7 @@
, isPy3k
, certifi
, chardet
+, deprecated
, idna
, oauthlib
, requests
@@ -16,16 +17,16 @@
buildPythonPackage rec {
pname = "atlassian-python-api";
- version = "1.17.7";
+ version = "2.1.2";
src = fetchPypi {
inherit pname version;
- sha256 = "456e9873fa5ab5cc91c6ae76a70b662f0993d32e4dff6d8febd866a53d86041e";
+ sha256 = "f852bfd293fdcb0ab2d7a9ea907f8303cf14fe6f55e90c103d4de00393ea9555";
};
checkInputs = [ pytestrunner pytest ];
- propagatedBuildInputs = [ oauthlib requests requests_oauthlib six ];
+ propagatedBuildInputs = [ deprecated oauthlib requests requests_oauthlib six ];
meta = with lib; {
description = "Python Atlassian REST API Wrapper";
diff --git a/pkgs/development/python-modules/atpublic/default.nix b/pkgs/development/python-modules/atpublic/default.nix
index 021d8e8b3077..41353598f895 100644
--- a/pkgs/development/python-modules/atpublic/default.nix
+++ b/pkgs/development/python-modules/atpublic/default.nix
@@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "atpublic";
- version = "2.0";
+ version = "2.1.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "ebeb62b71a5c683a84c1b16bbf415708af5a46841b142b85ac3a22ec2d7613b0";
+ sha256 = "fa1d48bcb85bbed90f6ffee6936578f65ff0e93aa607397bd88eaeb408bd96d8";
};
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
@@ -24,7 +24,7 @@ buildPythonPackage rec {
];
checkPhase = ''
- pytest --pyargs public
+ pytest
'';
meta = with lib; {
diff --git a/pkgs/development/python-modules/atsim_potentials/default.nix b/pkgs/development/python-modules/atsim_potentials/default.nix
index 3bc221d7adc9..8369a49b7db8 100644
--- a/pkgs/development/python-modules/atsim_potentials/default.nix
+++ b/pkgs/development/python-modules/atsim_potentials/default.nix
@@ -1,21 +1,36 @@
{ stdenv
, buildPythonPackage
, fetchPypi
+, configparser
+, pyparsing
, pytest
, future
+, openpyxl
+, wrapt
}:
buildPythonPackage rec {
- version = "0.2.1";
+ version = "0.3.0";
pname = "atsim.potentials";
src = fetchPypi {
inherit pname version;
- sha256 = "2abdec2fb4e8198f4e0e41634ad86625d5356a4a3f1ba1f41568d0697df8f36f";
+ sha256 = "70082fc40b0ab7565a671c2d764fe3db08bc6ce45da44e1c1e8b77a65d1f7a23";
};
checkInputs = [ pytest ];
- propagatedBuildInputs = [ future ];
+ propagatedBuildInputs = [
+ configparser
+ future
+ openpyxl
+ pyparsing
+ wrapt
+ ];
+
+ postPatch = ''
+ substituteInPlace setup.py \
+ --replace "wrapt==1.11.2" "wrapt~=1.11"
+ '';
# tests are not included with release
doCheck = false;
@@ -25,9 +40,10 @@ buildPythonPackage rec {
'';
meta = with stdenv.lib; {
- homepage = "https://bitbucket.org/mjdr/atsim_potentials";
+ homepage = "https://github.com/mjdrushton/atsim-potentials";
description = "Provides tools for working with pair and embedded atom method potential models including tabulation routines for DL_POLY and LAMMPS";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
+ broken = true; # missing cexprtk package
};
}
diff --git a/pkgs/development/python-modules/attrs/default.nix b/pkgs/development/python-modules/attrs/default.nix
index 0e0606a3ead5..7513aa04f300 100644
--- a/pkgs/development/python-modules/attrs/default.nix
+++ b/pkgs/development/python-modules/attrs/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "attrs";
- version = "19.3.0";
+ version = "20.3.0";
src = fetchPypi {
inherit pname version;
- sha256 = "f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72";
+ sha256 = "832aa3cde19744e49938b91fea06d69ecb9e649c93ba974535d08ad92164f700";
};
# macOS needs clang for testing
diff --git a/pkgs/development/python-modules/awkward1/default.nix b/pkgs/development/python-modules/awkward1/default.nix
index 0f2243645e0d..dae8a235d80f 100644
--- a/pkgs/development/python-modules/awkward1/default.nix
+++ b/pkgs/development/python-modules/awkward1/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "awkward1";
- version = "0.4.4";
+ version = "0.4.5";
src = fetchPypi {
inherit pname version;
- sha256 = "72b63e25c1c0d85ee4b36b094c7103ef0e40678265eb1e240322ee19fe334368";
+ sha256 = "8c786d1641343e9887c21794f9a3bf51716b00ed3b182491f1acbc9e389b31bb";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/python-modules/aws-sam-translator/default.nix b/pkgs/development/python-modules/aws-sam-translator/default.nix
index 9073df2600dd..52298faa0cc8 100644
--- a/pkgs/development/python-modules/aws-sam-translator/default.nix
+++ b/pkgs/development/python-modules/aws-sam-translator/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "aws-sam-translator";
- version = "1.27.0";
+ version = "1.31.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0m24cdiry8p74s5ysyriy6wks4ic8782sf21q4yvlwfn9hpi4n1j";
+ sha256 = "3a1d73d098161e60966b0d53bb310c98e4f66101688cce3d1697903643782d79";
};
# Tests are not included in the PyPI package
diff --git a/pkgs/development/python-modules/bleach/default.nix b/pkgs/development/python-modules/bleach/default.nix
index 9b27ae254903..1bdedde1cb4e 100644
--- a/pkgs/development/python-modules/bleach/default.nix
+++ b/pkgs/development/python-modules/bleach/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "bleach";
- version = "3.1.5";
+ version = "3.2.1";
src = fetchPypi {
inherit pname version;
- sha256 = "3c4c520fdb9db59ef139915a5db79f8b51bc2a7257ea0389f30c846883430a4b";
+ sha256 = "52b5919b81842b1854196eaae5ca29679a2f2e378905c346d3ca8227c2c66080";
};
checkInputs = [ pytest pytestrunner ];
diff --git a/pkgs/development/python-modules/block-io/default.nix b/pkgs/development/python-modules/block-io/default.nix
index 07d6cffe56c4..24ddd429cd93 100644
--- a/pkgs/development/python-modules/block-io/default.nix
+++ b/pkgs/development/python-modules/block-io/default.nix
@@ -20,7 +20,7 @@ buildPythonPackage rec {
preConfigure = ''
substituteInPlace setup.py \
- --replace "ecdsa==0.13" "ecdsa>=0.13" \
+ --replace "ecdsa==0.15" "ecdsa>=0.15" \
--replace "base58==1.0.3" "base58>=1.0.3"
'';
diff --git a/pkgs/development/python-modules/bootstrapped-pip/default.nix b/pkgs/development/python-modules/bootstrapped-pip/default.nix
index 04bac36cf5af..9679edd95127 100644
--- a/pkgs/development/python-modules/bootstrapped-pip/default.nix
+++ b/pkgs/development/python-modules/bootstrapped-pip/default.nix
@@ -25,10 +25,6 @@ stdenv.mkDerivation rec {
postPatch = ''
mkdir -p $out/bin
- '' + stdenv.lib.optionalString isPy27 ''
- pushd "${pip.src.name}"
- patch -p1 < ${builtins.elemAt pip.patches 0}
- popd
'';
nativeBuildInputs = [ makeWrapper unzip ];
@@ -49,17 +45,17 @@ stdenv.mkDerivation rec {
echo "Building setuptools wheel..."
pushd setuptools
- ${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache --build tmpbuild .
+ ${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache .
popd
echo "Building wheel wheel..."
pushd wheel
- ${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache --build tmpbuild .
+ ${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache .
popd
echo "Building pip wheel..."
pushd pip
- ${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache --build tmpbuild .
+ ${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache .
popd
'';
diff --git a/pkgs/development/python-modules/boto/default.nix b/pkgs/development/python-modules/boto/default.nix
index 85ebae5b612f..042a9a296ff7 100644
--- a/pkgs/development/python-modules/boto/default.nix
+++ b/pkgs/development/python-modules/boto/default.nix
@@ -1,6 +1,7 @@
{ pkgs
, buildPythonPackage
, fetchPypi
+, pythonAtLeast
, isPy38
, python
, nose
@@ -12,6 +13,7 @@
buildPythonPackage rec {
pname = "boto";
version = "2.49.0";
+ disabled = pythonAtLeast "3.9"; # no longer compatible with hmac std lib package
src = fetchPypi {
inherit pname version;
diff --git a/pkgs/development/python-modules/bottle/default.nix b/pkgs/development/python-modules/bottle/default.nix
index 5fda85dc972b..52d97582ef31 100644
--- a/pkgs/development/python-modules/bottle/default.nix
+++ b/pkgs/development/python-modules/bottle/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "bottle";
- version = "0.12.18";
+ version = "0.12.19";
src = fetchPypi {
inherit pname version;
- sha256 = "0819b74b145a7def225c0e83b16a4d5711fde751cd92bae467a69efce720f69e";
+ sha256 = "a9d73ffcbc6a1345ca2d7949638db46349f5b2b77dac65d6494d45c23628da2c";
};
propagatedBuildInputs = [ setuptools ];
diff --git a/pkgs/development/python-modules/breezy/default.nix b/pkgs/development/python-modules/breezy/default.nix
index 79a80451d028..55fb8deb5fc3 100644
--- a/pkgs/development/python-modules/breezy/default.nix
+++ b/pkgs/development/python-modules/breezy/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "breezy";
- version = "3.0.2";
+ version = "3.1.0";
src = fetchPypi {
inherit pname version;
- sha256 = "50f16bc7faf299f98fe58573da55b0664078f94b1a0e7f0ce9e1e6a0d47e68e0";
+ sha256 = "1eff207403f48898fa3b3ffa7a4275197c6c58fec105ef267caf1f5fd5a6c7be";
};
propagatedBuildInputs = [ configobj six fastimport dulwich launchpadlib ];
diff --git a/pkgs/development/python-modules/canopen/default.nix b/pkgs/development/python-modules/canopen/default.nix
index c064fd62fd93..e6f09645379c 100644
--- a/pkgs/development/python-modules/canopen/default.nix
+++ b/pkgs/development/python-modules/canopen/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "canopen";
- version = "1.1.0";
+ version = "1.2.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0fqa4p3qg7800fykib1x264gizhhmb6dz2hajgwr0hxf5xa19wdl";
+ sha256 = "15d49f1f71e9989dde6e3b75fb8445c76bd223064dfc0ac629fe9ecb0e21fba9";
};
propagatedBuildInputs =
diff --git a/pkgs/development/python-modules/celery/default.nix b/pkgs/development/python-modules/celery/default.nix
index 3fd1b51a4660..11dfd294f542 100644
--- a/pkgs/development/python-modules/celery/default.nix
+++ b/pkgs/development/python-modules/celery/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "celery";
- version = "4.4.7";
+ version = "5.0.2";
src = fetchPypi {
inherit pname version;
- sha256 = "d220b13a8ed57c78149acf82c006785356071844afe0b27012a4991d44026f9f";
+ sha256 = "012c814967fe89e3f5d2cf49df2dba3de5f29253a7f4f2270e8fce6b901b4ebf";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/certifi/default.nix b/pkgs/development/python-modules/certifi/default.nix
index e5733e2e51a3..e86ad90caeb0 100644
--- a/pkgs/development/python-modules/certifi/default.nix
+++ b/pkgs/development/python-modules/certifi/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "certifi";
- version = "2020.6.20";
+ version = "2020.11.8";
src = fetchPypi {
inherit pname version;
- sha256 = "5930595817496dd21bb8dc35dad090f1c2cd0adfaf21204bf6732ca5d8ee34d3";
+ sha256 = "f05def092c44fbf25834a51509ef6e631dc19765ab8a57b4e7ab85531f0a9cf4";
};
pythonImportsCheck = [ "certifi" ];
diff --git a/pkgs/development/python-modules/cffi/default.nix b/pkgs/development/python-modules/cffi/default.nix
index cee7a7fe8a18..07492240ffe9 100644
--- a/pkgs/development/python-modules/cffi/default.nix
+++ b/pkgs/development/python-modules/cffi/default.nix
@@ -2,11 +2,11 @@
if isPyPy then null else buildPythonPackage rec {
pname = "cffi";
- version = "1.14.3";
+ version = "1.14.4";
src = fetchPypi {
inherit pname version;
- sha256 = "f92f789e4f9241cd262ad7a555ca2c648a98178a953af117ef7fad46aa1d5591";
+ sha256 = "1a465cbe98a7fd391d47dce4b8f7e5b921e6cd805ef421d04f5f66ba8f06086c";
};
outputs = [ "out" "dev" ];
diff --git a/pkgs/development/python-modules/channels/default.nix b/pkgs/development/python-modules/channels/default.nix
index 94d1705637d2..63b1699101d4 100644
--- a/pkgs/development/python-modules/channels/default.nix
+++ b/pkgs/development/python-modules/channels/default.nix
@@ -3,11 +3,11 @@
}:
buildPythonPackage rec {
pname = "channels";
- version = "2.4.0";
+ version = "3.0.2";
src = fetchPypi {
inherit pname version;
- sha256 = "08e756406d7165cb32f6fc3090c0643f41ca9f7e0f7fada0b31194662f20f414";
+ sha256 = "f50a6e79757a64c1e45e95e144a2ac5f1e99ee44a0718ab182c501f5e5abd268";
};
# Files are missing in the distribution
diff --git a/pkgs/development/python-modules/check-manifest/default.nix b/pkgs/development/python-modules/check-manifest/default.nix
index 5a3296d71c83..6368ebf4b737 100644
--- a/pkgs/development/python-modules/check-manifest/default.nix
+++ b/pkgs/development/python-modules/check-manifest/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "check-manifest";
- version = "0.42";
+ version = "0.45";
src = fetchPypi {
inherit pname version;
- sha256 = "0d8e1b0944a667dd4a75274f6763e558f0d268fde2c725e894dfd152aae23300";
+ sha256 = "636b65a3b685374ad429ff22fe213966765b145f08bc560c8d033b604c7bee4c";
};
# Test requires filesystem access
diff --git a/pkgs/development/python-modules/cheroot/default.nix b/pkgs/development/python-modules/cheroot/default.nix
index 5795b55d91b7..6c99b7bbf662 100644
--- a/pkgs/development/python-modules/cheroot/default.nix
+++ b/pkgs/development/python-modules/cheroot/default.nix
@@ -6,7 +6,6 @@
, pytestCheckHook
, pytestcov
, pytest-mock
-, pytest-testmon
, requests
, requests-toolbelt
, requests-unixsocket
@@ -18,13 +17,13 @@
buildPythonPackage rec {
pname = "cheroot";
- version = "8.4.5";
+ version = "8.4.8";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "b6c18caf5f79cdae668c35fc8309fc88ea4a964cce9e2ca8504fab13bcf57301";
+ sha256 = "1089c28a9c320d19fdf9a4b0ed6ace23a0948db1c171a36ac985f3741bc62865";
};
nativeBuildInputs = [ setuptools_scm setuptools-scm-git-archive ];
@@ -38,7 +37,6 @@ buildPythonPackage rec {
pytestCheckHook
pytestcov
pytest-mock
- pytest-testmon
requests
requests-toolbelt
requests-unixsocket
@@ -54,6 +52,7 @@ buildPythonPackage rec {
# Deselect test_bind_addr_unix on darwin because times out
# Deselect test_http_over_https_error on darwin because builtin cert fails
# Disable warnings-as-errors because of deprecation warnings from socks on python 3.7
+ # Disable pytest-testmon because it doesn't work
# adds many other pytest utilities which aren't necessary like linting
preCheck = ''
rm pytest.ini
diff --git a/pkgs/development/python-modules/cliff/default.nix b/pkgs/development/python-modules/cliff/default.nix
index 220ff790e7cc..f25170cc6ae7 100644
--- a/pkgs/development/python-modules/cliff/default.nix
+++ b/pkgs/development/python-modules/cliff/default.nix
@@ -17,11 +17,11 @@
buildPythonPackage rec {
pname = "cliff";
- version = "3.4.0";
+ version = "3.5.0";
src = fetchPypi {
inherit pname version;
- sha256 = "49be854582ec4a74240cb72f287846f823cd8cbd2e25f924541d12f27104bda3";
+ sha256 = "5bfb684b5fcdff0afaaccd1298a376c0e62e644c46b7e9abc034595b41fe1759";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/cloudpickle/default.nix b/pkgs/development/python-modules/cloudpickle/default.nix
index 092a0f7c0b11..cd21e125ccef 100644
--- a/pkgs/development/python-modules/cloudpickle/default.nix
+++ b/pkgs/development/python-modules/cloudpickle/default.nix
@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "cloudpickle";
- version = "1.5.0";
+ version = "1.6.0";
disabled = isPy27; # abandoned upstream
src = fetchPypi {
inherit pname version;
- sha256 = "820c9245cebdec7257211cbe88745101d5d6a042bca11336d78ebd4897ddbc82";
+ sha256 = "9bc994f9e9447593bd0a45371f0e7ac7333710fcf64a4eb9834bf149f4ef2f32";
};
buildInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/cmarkgfm/default.nix b/pkgs/development/python-modules/cmarkgfm/default.nix
index 2337964017a2..3c6342f6596f 100644
--- a/pkgs/development/python-modules/cmarkgfm/default.nix
+++ b/pkgs/development/python-modules/cmarkgfm/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "cmarkgfm";
- version = "0.4.2";
+ version = "0.5.0";
src = fetchPypi {
inherit pname version;
- sha256 = "f20900f16377f2109783ae9348d34bc80530808439591c3d3df73d5c7ef1a00c";
+ sha256 = "7a5131a78836e55dcdb1f2c5f17bbaa40e5f83c86a205de1b71a298928e1391f";
};
propagatedBuildInputs = [ cffi ];
diff --git a/pkgs/development/python-modules/codespell/default.nix b/pkgs/development/python-modules/codespell/default.nix
index 70c634737635..7efb08c2c67b 100644
--- a/pkgs/development/python-modules/codespell/default.nix
+++ b/pkgs/development/python-modules/codespell/default.nix
@@ -1,13 +1,16 @@
{ lib, buildPythonApplication, fetchPypi, pytest, chardet }:
+
buildPythonApplication rec {
pname = "codespell";
- version = "1.17.1";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "08ydpw8pim7rhg1x2n711hxf2y6553nx0c0aqhfi3p4wdgcfr8i5";
+ sha256 = "dd9983e096b9f7ba89dd2d2466d1fc37231d060f19066331b9571341363c77b8";
};
+ # no tests in pypi tarball
+ doCheck = false;
checkInputs = [ pytest chardet ];
checkPhase = ''
# We don't want to be affected by the presence of these
@@ -16,6 +19,8 @@ buildPythonApplication rec {
pytest --pyargs codespell_lib.tests -k "not test_command"
'';
+ pythonImportsCheck = [ "codespell_lib" ];
+
meta = {
description = "Fix common misspellings in source code";
homepage = "https://github.com/codespell-project/codespell";
diff --git a/pkgs/development/python-modules/colorlog/default.nix b/pkgs/development/python-modules/colorlog/default.nix
index a29894fcf427..0b40284fd5eb 100644
--- a/pkgs/development/python-modules/colorlog/default.nix
+++ b/pkgs/development/python-modules/colorlog/default.nix
@@ -2,19 +2,23 @@
buildPythonPackage rec {
pname = "colorlog";
- version = "4.4.0";
+ version = "4.6.2";
src = fetchPypi {
inherit pname version;
- sha256 = "0272c537469ab1e63b9915535874d15b671963c9325db0c4891a2aeff97ce3d1";
+ sha256 = "54e5f153419c22afc283c130c4201db19a3dbd83221a0f4657d5ee66234a2ea4";
};
checkInputs = [ pytest ];
+ # tests are no longer packaged in pypi
+ doCheck = false;
checkPhase = ''
py.test -p no:logging
'';
+ pythonImportsCheck = [ "colorlog" ];
+
meta = with stdenv.lib; {
description = "Log formatting with colors";
homepage = "https://github.com/borntyping/python-colorlog";
diff --git a/pkgs/development/python-modules/coverage/default.nix b/pkgs/development/python-modules/coverage/default.nix
index fa5f4bca8cd0..8823435e2f8b 100644
--- a/pkgs/development/python-modules/coverage/default.nix
+++ b/pkgs/development/python-modules/coverage/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "coverage";
- version = "5.2.1";
+ version = "5.3";
src = fetchPypi {
inherit pname version;
- sha256 = "a34cb28e0747ea15e82d13e14de606747e9e484fb28d63c999483f5d5188e89b";
+ sha256 = "280baa8ec489c4f542f8940f9c4c2181f0306a8ee1a54eceba071a449fb870a0";
};
# No tests in archive
diff --git a/pkgs/development/python-modules/coveralls/default.nix b/pkgs/development/python-modules/coveralls/default.nix
index 64078693ac19..68cf993a5a81 100644
--- a/pkgs/development/python-modules/coveralls/default.nix
+++ b/pkgs/development/python-modules/coveralls/default.nix
@@ -16,13 +16,13 @@
buildPythonPackage rec {
pname = "coveralls";
- version = "2.1.2";
+ version = "2.2.0";
disabled = isPy27;
# wanted by tests
src = fetchPypi {
inherit pname version;
- sha256 = "4430b862baabb3cf090d36d84d331966615e4288d8a8c5957e0fd456d0dd8bd6";
+ sha256 = "b990ba1f7bc4288e63340be0433698c1efe8217f78c689d254c2540af3d38617";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/crate/default.nix b/pkgs/development/python-modules/crate/default.nix
index 42236b4d7c22..84e1b9048e2c 100644
--- a/pkgs/development/python-modules/crate/default.nix
+++ b/pkgs/development/python-modules/crate/default.nix
@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "crate";
- version = "0.24.0";
+ version = "0.26.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "028q9r1qyqkq185awkazhplfy7y1081963fnjzi3kf3lxvz6yhay";
+ sha256 = "6f650c2efe250b89bf35f8fe3211eb37ebc8d76f7a9c09bd73db3076708fa2fc";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/crayons/default.nix b/pkgs/development/python-modules/crayons/default.nix
index 4cd9e90606b6..f262d289af71 100644
--- a/pkgs/development/python-modules/crayons/default.nix
+++ b/pkgs/development/python-modules/crayons/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "crayons";
- version = "0.3.1";
+ version = "0.4.0";
src = fetchPypi {
inherit pname version;
- sha256 = "dcb85b87aa03bb65bd3a073d012796b024cabeb086033e616759e2abb769440b";
+ sha256 = "bd33b7547800f2cfbd26b38431f9e64b487a7de74a947b0fafc89b45a601813f";
};
propagatedBuildInputs = [ colorama ];
diff --git a/pkgs/development/python-modules/curio/default.nix b/pkgs/development/python-modules/curio/default.nix
index 0ffd66d6d012..31875abd1e83 100644
--- a/pkgs/development/python-modules/curio/default.nix
+++ b/pkgs/development/python-modules/curio/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "curio";
- version = "1.2";
+ version = "1.4";
src = fetchPypi {
inherit pname version;
- sha256 = "90f320fafb3f5b791f25ffafa7b561cc980376de173afd575a2114380de7939b";
+ sha256 = "57edce81c837f3c2cf42fbb346dee26e537d1659e6605269fb13bd179e068744";
};
disabled = !isPy3k;
diff --git a/pkgs/development/python-modules/cx_freeze/default.nix b/pkgs/development/python-modules/cx_freeze/default.nix
index dd8b1dccc1c3..e4350bada331 100644
--- a/pkgs/development/python-modules/cx_freeze/default.nix
+++ b/pkgs/development/python-modules/cx_freeze/default.nix
@@ -1,17 +1,20 @@
-{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, ncurses }:
+{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, ncurses, importlib-metadata }:
buildPythonPackage rec {
pname = "cx_Freeze";
- version = "6.2";
+ version = "6.4.1";
src = fetchPypi {
inherit pname version;
- sha256 = "44bbbcea3196b79da77cc22637cb28a825b51182d32209e8a3f6cd4042edc247";
+ sha256 = "043513b85e33038e38cc0571cea1f3ee8044ec083891c9a5dad1d436894424ea";
};
disabled = pythonOlder "3.5";
- propagatedBuildInputs = [ ncurses ];
+ propagatedBuildInputs = [
+ importlib-metadata # upstream has this for 3.8 as well
+ ncurses
+ ];
# timestamp need to come after 1980 for zipfiles and nix store is set to epoch
prePatch = ''
diff --git a/pkgs/development/python-modules/cypari2/default.nix b/pkgs/development/python-modules/cypari2/default.nix
index 1cef3514e90a..4b0d46918097 100644
--- a/pkgs/development/python-modules/cypari2/default.nix
+++ b/pkgs/development/python-modules/cypari2/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "cypari2";
# upgrade may break sage, please test the sage build or ping @timokau on upgrade
- version = "2.1.1";
+ version = "2.1.2";
src = fetchPypi {
inherit pname version;
- sha256 = "df1ef62e771ec36e5a456f5fc8b51bc6745b70f0efdd0c7a30c3f0b5f1fb93db";
+ sha256 = "03cd45edab8716ebbfdb754e65fea72e873c73dc91aec098fe4a01e35324ac7a";
};
# This differs slightly from the default python installPhase in that it pip-installs
diff --git a/pkgs/development/python-modules/dask-gateway/default.nix b/pkgs/development/python-modules/dask-gateway/default.nix
index 8a4fe9e263a5..81aa8de8bcfc 100644
--- a/pkgs/development/python-modules/dask-gateway/default.nix
+++ b/pkgs/development/python-modules/dask-gateway/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "dask-gateway";
# update dask-gateway lock step with dask-gateway-server
- version = "0.8.0";
+ version = "0.9.0";
src = fetchPypi {
inherit pname version;
- sha256 = "519818f3598ddd726882c5a6bf7053941613d8517b80e8a2c28467e30d57da9b";
+ sha256 = "743f3b88dabe7d1503ac08aadf399eb9205df786b12c5175ea2e10c6ded7df22";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/dask-image/default.nix b/pkgs/development/python-modules/dask-image/default.nix
index f119cf2b0b8b..453cb715b12b 100644
--- a/pkgs/development/python-modules/dask-image/default.nix
+++ b/pkgs/development/python-modules/dask-image/default.nix
@@ -12,12 +12,12 @@
}:
buildPythonPackage rec {
- version = "0.3.0";
+ version = "0.4.0";
pname = "dask-image";
src = fetchPypi {
inherit pname version;
- sha256 = "15svy8y57i30878pijyd0pxn10bnk7ffmmgwva5rpip4b7grsgv0";
+ sha256 = "a6873a39af21b856a4eb7efee6838e6897b1399f21ab9e65403e69eb62f96c2d";
};
nativeBuildInputs = [ pytest-flake8 ];
diff --git a/pkgs/development/python-modules/dask-ml/default.nix b/pkgs/development/python-modules/dask-ml/default.nix
index d4a6663e7a50..441c698c2ad0 100644
--- a/pkgs/development/python-modules/dask-ml/default.nix
+++ b/pkgs/development/python-modules/dask-ml/default.nix
@@ -20,13 +20,13 @@
}:
buildPythonPackage rec {
- version = "1.6.0";
+ version = "1.7.0";
pname = "dask-ml";
disabled = pythonOlder "3.6"; # >= 3.6
src = fetchPypi {
inherit pname version;
- sha256 = "ce686b7fd49b3f876d651c87e8468ad71bcd2707399140d6baf198184c45d970";
+ sha256 = "5f93e8560217ebbc5a2254eaf705e9cad8e1c82012567c658e26464a74fbab76";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/dask/default.nix b/pkgs/development/python-modules/dask/default.nix
index 59ea588851ec..19c6962c5759 100644
--- a/pkgs/development/python-modules/dask/default.nix
+++ b/pkgs/development/python-modules/dask/default.nix
@@ -11,7 +11,6 @@
, dill
, pandas
, partd
-, pytest_xdist
}:
buildPythonPackage rec {
@@ -29,7 +28,6 @@ buildPythonPackage rec {
checkInputs = [
pytestCheckHook
- pytest_xdist # takes >10mins to run single-threaded
];
dontUseSetuptoolsCheck = true;
@@ -54,12 +52,7 @@ buildPythonPackage rec {
--replace "cmdclass=versioneer.get_cmdclass()," ""
'';
- # dask test suite with consistently fail when using high core counts
- preCheck = ''
- NIX_BUILD_CORES=$((NIX_BUILD_CORES > 8 ? 8 : NIX_BUILD_CORES))
- '';
-
- pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ];
+ #pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ];
disabledTests = [
"test_argwhere_str"
diff --git a/pkgs/development/python-modules/databricks-cli/default.nix b/pkgs/development/python-modules/databricks-cli/default.nix
index 8672f0776242..2184a7e41940 100644
--- a/pkgs/development/python-modules/databricks-cli/default.nix
+++ b/pkgs/development/python-modules/databricks-cli/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "databricks-cli";
- version = "0.14.0";
+ version = "0.14.1";
src = fetchPypi {
inherit pname version;
- sha256 = "68e5cdcf4ca26d3c628bca26e44563d58e64d3b2805b9adb94b4006976d9c7e1";
+ sha256 = "bf94dc5187fa3500a31d52d7225fbc1a4699aa6e3c321223e7088eb5b5c94b62";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/databricks-connect/default.nix b/pkgs/development/python-modules/databricks-connect/default.nix
index df3d08c3fab4..74eca940fb78 100644
--- a/pkgs/development/python-modules/databricks-connect/default.nix
+++ b/pkgs/development/python-modules/databricks-connect/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "databricks-connect";
- version = "7.1.1";
+ version = "7.1.10";
src = fetchPypi {
inherit pname version;
- sha256 = "c7f508c84edc7f80a131650b892889624e4457c10f44318465dd3f7b8cf5be6d";
+ sha256 = "bae28fab1e08b709553c8efbeefc5b0ee4f5540a13a04e61fb3d348814823e16";
};
sourceRoot = ".";
@@ -16,8 +16,13 @@ buildPythonPackage rec {
# requires network access
doCheck = false;
+ prePatch = ''
+ substituteInPlace setup.py \
+ --replace "py4j==0.10.9" "py4j"
+ '';
+
preFixup = ''
- substituteInPlace "$out/bin/find-spark-home" \
+ substituteInPlace "$out/bin/find-spark-home" \
--replace find_spark_home.py .find_spark_home.py-wrapped
'';
diff --git a/pkgs/development/python-modules/dataclasses/default.nix b/pkgs/development/python-modules/dataclasses/default.nix
index a1159d49b812..5cfaf237059d 100644
--- a/pkgs/development/python-modules/dataclasses/default.nix
+++ b/pkgs/development/python-modules/dataclasses/default.nix
@@ -2,14 +2,14 @@
buildPythonPackage rec {
pname = "dataclasses";
- version = "0.7";
+ version = "0.8";
# backport only works on Python 3.6, and is in the standard library in Python 3.7
disabled = !isPy36;
src = fetchPypi {
inherit pname version;
- sha256 = "494a6dcae3b8bcf80848eea2ef64c0cc5cd307ffc263e17cdf42f3e5420808e6";
+ sha256 = "8479067f342acf957dc82ec415d355ab5edb7e7646b90dc6e2fd1d96ad084c97";
};
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/dateparser/default.nix b/pkgs/development/python-modules/dateparser/default.nix
index 729827317c18..2a80523a6560 100644
--- a/pkgs/development/python-modules/dateparser/default.nix
+++ b/pkgs/development/python-modules/dateparser/default.nix
@@ -18,11 +18,11 @@
buildPythonPackage rec {
pname = "dateparser";
- version = "0.7.6";
+ version = "1.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "e875efd8c57c85c2d02b238239878db59ff1971f5a823457fcc69e493bf6ebfa";
+ sha256 = "159cc4e01a593706a15cd4e269a0b3345edf3aef8bf9278a57dac8adf5bf1e4a";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/django-cors-headers/default.nix b/pkgs/development/python-modules/django-cors-headers/default.nix
index 3614114a3d4b..6dc4ad3402bc 100644
--- a/pkgs/development/python-modules/django-cors-headers/default.nix
+++ b/pkgs/development/python-modules/django-cors-headers/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "django-cors-headers";
- version = "3.4.0";
+ version = "3.5.0";
src = fetchPypi {
inherit pname version;
- sha256 = "f5218f2f0bb1210563ff87687afbf10786e080d8494a248e705507ebd92d7153";
+ sha256 = "db82b2840f667d47872ae3e4a4e0a0d72fbecb42779b8aa233fa8bb965f7836a";
};
propagatedBuildInputs = [ django ];
diff --git a/pkgs/development/python-modules/django-haystack/default.nix b/pkgs/development/python-modules/django-haystack/default.nix
index 381624e5719e..7342aa3300c4 100644
--- a/pkgs/development/python-modules/django-haystack/default.nix
+++ b/pkgs/development/python-modules/django-haystack/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "django-haystack";
- version = "2.8.1";
+ version = "3.0";
src = fetchPypi {
inherit pname version;
- sha256 = "8b54bcc926596765d0a3383d693bcdd76109c7abb6b2323b3984a39e3576028c";
+ sha256 = "d490f920afa85471dd1fa5000bc8eff4b704daacbe09aee1a64e75cbc426f3be";
};
checkInputs = [ pysolr whoosh dateutil geopy coverage nose mock coverage requests ];
diff --git a/pkgs/development/python-modules/django-ipware/default.nix b/pkgs/development/python-modules/django-ipware/default.nix
index 940bd1f1cb83..6145b1266291 100644
--- a/pkgs/development/python-modules/django-ipware/default.nix
+++ b/pkgs/development/python-modules/django-ipware/default.nix
@@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "django-ipware";
- version = "3.0.1";
+ version = "3.0.2";
meta = {
description = "A Django application to retrieve user's IP address";
@@ -12,7 +12,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "73a640a5bff00aa7503a35e92e462001cfabb07d73d649c262f117423beee953";
+ sha256 = "c7df8e1410a8e5d6b1fbae58728402ea59950f043c3582e033e866f0f0cf5e94";
};
propagatedBuildInputs = [ django ];
diff --git a/pkgs/development/python-modules/django-jinja2/default.nix b/pkgs/development/python-modules/django-jinja2/default.nix
index 97a9608cff73..13b5354e17ee 100644
--- a/pkgs/development/python-modules/django-jinja2/default.nix
+++ b/pkgs/development/python-modules/django-jinja2/default.nix
@@ -4,7 +4,7 @@
buildPythonPackage rec {
pname = "django-jinja";
- version = "2.6.0";
+ version = "2.7.0";
meta = {
description = "Simple and nonobstructive jinja2 integration with Django";
@@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "7459985c25ddb6584c6bab345761c8c5557713448e6fbb322af1b6dd7f5512bd";
+ sha256 = "d56ecddaa6d3caf508509aae5a979ebd8a3427477c34fcbcac14bf8389a21a12";
};
buildInputs = [ django pytz tox ];
diff --git a/pkgs/development/python-modules/django-storages/default.nix b/pkgs/development/python-modules/django-storages/default.nix
index cae83135a6fa..c0467bbba705 100644
--- a/pkgs/development/python-modules/django-storages/default.nix
+++ b/pkgs/development/python-modules/django-storages/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "django-storages";
- version = "1.9.1";
+ version = "1.10.1";
src = fetchPypi {
inherit pname version;
- sha256 = "148y2hyx1l4pfbqpq8hgq95fw8bhfbblwd3m5xwnhw6frcirk7m5";
+ sha256 = "652275ab7844538c462b62810276c0244866f345878256a9e0e86f5b1283ae18";
};
propagatedBuildInputs = [ django ];
diff --git a/pkgs/development/python-modules/django_evolution/default.nix b/pkgs/development/python-modules/django_evolution/default.nix
index eac119ef01ea..e3b7be798775 100644
--- a/pkgs/development/python-modules/django_evolution/default.nix
+++ b/pkgs/development/python-modules/django_evolution/default.nix
@@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "django_evolution";
- version = "2.0";
+ version = "2.1";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "a0bc983657de1b0bc5c8d29ddcbf7b6fb113685bf306ccc266cf22b8a77bd862";
+ sha256 = "997efdc7f27248fd3c5e9eeccae1cfee046dfead037b171d30cbe6e91c9ca3d7";
};
propagatedBuildInputs = [ django ];
diff --git a/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix b/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix
index f4c50a711494..9fb7f882567a 100644
--- a/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix
+++ b/pkgs/development/python-modules/djangorestframework-simplejwt/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "djangorestframework_simplejwt";
- version = "4.4.0";
+ version = "4.6.0";
src = fetchPypi {
inherit pname version;
- sha256 = "c315be70aa12a5f5790c0ab9acd426c3a58eebea65a77d0893248c5144a5080c";
+ sha256 = "7adc913ba0d2ed7f46e0b9bf6e86f9bd9248f1c4201722b732b8213e0ea66f9f";
};
propagatedBuildInputs = [ django djangorestframework pyjwt ];
diff --git a/pkgs/development/python-modules/docker/default.nix b/pkgs/development/python-modules/docker/default.nix
index d46fbe991aea..7a23d17aca2a 100644
--- a/pkgs/development/python-modules/docker/default.nix
+++ b/pkgs/development/python-modules/docker/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "docker";
- version = "4.3.1";
+ version = "4.4.0";
src = fetchPypi {
inherit pname version;
- sha256 = "bad94b8dd001a8a4af19ce4becc17f41b09f228173ffe6a4e0355389eef142f2";
+ sha256 = "cffc771d4ea1389fc66bc95cb72d304aa41d1a1563482a9a000fba3a84ed5071";
};
nativeBuildInputs = lib.optional isPy27 mock;
diff --git a/pkgs/development/python-modules/docplex/default.nix b/pkgs/development/python-modules/docplex/default.nix
index 362f2b11b1c5..9b32bab7d6be 100644
--- a/pkgs/development/python-modules/docplex/default.nix
+++ b/pkgs/development/python-modules/docplex/default.nix
@@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "docplex";
- version = "2.16.196";
+ version = "2.18.200";
# No source available from official repo
src = fetchPypi {
inherit pname version;
- sha256 = "8fd96e3586444e577b356c0ac62511414e76027ff159ebe0d0b3e44b881406d1";
+ sha256 = "340848e67e1389b32b44d16a100aed1ebb0a6f0519b0f3cbce7cd0de6478fd6c";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/drms/default.nix b/pkgs/development/python-modules/drms/default.nix
index bc01b46eadaf..561ec9a7a98e 100644
--- a/pkgs/development/python-modules/drms/default.nix
+++ b/pkgs/development/python-modules/drms/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "drms";
- version = "0.5.7";
+ version = "0.6.0";
src = fetchPypi {
inherit pname version;
- sha256 = "ab3ec6d072b1980f77dadf3b2cb0fe56c648eaf927ea381f606b4db66d4cbff2";
+ sha256 = "74efb903f42647ea536de0c5aea4f9a81efe027c95055ec4e72ef62479a04c89";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/easy-thumbnails/default.nix b/pkgs/development/python-modules/easy-thumbnails/default.nix
index cd2001493206..f2be7b1903da 100644
--- a/pkgs/development/python-modules/easy-thumbnails/default.nix
+++ b/pkgs/development/python-modules/easy-thumbnails/default.nix
@@ -4,7 +4,7 @@
buildPythonPackage rec {
pname = "easy-thumbnails";
- version = "2.7";
+ version = "2.7.1";
meta = {
description = "Easy thumbnails for Django";
@@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "e4e7a0dd4001f56bfd4058428f2c91eafe27d33ef3b8b33ac4e013b159b9ff91";
+ sha256 = "f862949208d9066cd3d84ffcf9c2dbe9c7344ea6152b741e440f861eca46855c";
};
propagatedBuildInputs = [ django pillow ];
diff --git a/pkgs/development/python-modules/ecdsa/default.nix b/pkgs/development/python-modules/ecdsa/default.nix
index 0f224bd8ab0b..1d2a780bbbbd 100644
--- a/pkgs/development/python-modules/ecdsa/default.nix
+++ b/pkgs/development/python-modules/ecdsa/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "ecdsa";
- version = "0.15";
+ version = "0.16.1";
src = fetchPypi {
inherit pname version;
- sha256 = "8f12ac317f8a1318efa75757ef0a651abe12e51fc1af8838fb91079445227277";
+ sha256 = "cfc046a2ddd425adbd1a78b3c46f0d1325c657811c0f45ecc3a0a6236c1e50ff";
};
propagatedBuildInputs = [ six ];
diff --git a/pkgs/development/python-modules/email-validator/default.nix b/pkgs/development/python-modules/email-validator/default.nix
index 215584aa8cdb..5d9f0ca88fa6 100644
--- a/pkgs/development/python-modules/email-validator/default.nix
+++ b/pkgs/development/python-modules/email-validator/default.nix
@@ -1,12 +1,12 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, dnspython, idna, ipaddress }:
buildPythonPackage rec {
- pname = "email_validator";
- version = "1.1.1";
+ pname = "email-validator";
+ version = "1.1.2";
src = fetchPypi {
inherit pname version;
- sha256 = "63094045c3e802c3d3d575b18b004a531c36243ca8d1cec785ff6bfcb04185bb";
+ sha256 = "1a13bd6050d1db4475f13e444e169b6fe872434922d38968c67cea9568cce2f0";
};
doCheck = false;
diff --git a/pkgs/development/python-modules/eventlet/default.nix b/pkgs/development/python-modules/eventlet/default.nix
index a712b1491380..5eb3efe6009a 100644
--- a/pkgs/development/python-modules/eventlet/default.nix
+++ b/pkgs/development/python-modules/eventlet/default.nix
@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "eventlet";
- version = "0.28.1";
+ version = "0.29.1";
src = fetchPypi {
inherit pname version;
- sha256 = "55eef68e39473d6a58d28c4cf388cb8b7d29bab76568e7124d7df98d9365ab35";
+ sha256 = "9faff63631b01277c463ae91cd4ab3f25a2f0f5abe3219d43a386ef1daa6159a";
};
propagatedBuildInputs = [ dnspython greenlet monotonic six ]
diff --git a/pkgs/development/python-modules/events/default.nix b/pkgs/development/python-modules/events/default.nix
index 21c459d62b95..6fe355d9c4d8 100644
--- a/pkgs/development/python-modules/events/default.nix
+++ b/pkgs/development/python-modules/events/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "Events";
- version = "0.3";
+ version = "0.4";
src = fetchPypi {
inherit pname version;
- sha256 = "f4d9c41a5c160ce504278f219fe56f44242ca63794a0ad638b52d1e087ac2a41";
+ sha256 = "01d9dd2a061f908d74a89fa5c8f07baa694f02a2a5974983663faaf7a97180f5";
};
meta = with lib; {
diff --git a/pkgs/development/python-modules/factory_boy/default.nix b/pkgs/development/python-modules/factory_boy/default.nix
index 052551a4727c..a953632f9fd7 100644
--- a/pkgs/development/python-modules/factory_boy/default.nix
+++ b/pkgs/development/python-modules/factory_boy/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "factory_boy";
- version = "3.0.1";
+ version = "3.1.0";
src = fetchPypi {
inherit pname version;
- sha256 = "2ce2f665045d9f15145a6310565fcb8255d52fc6fd867f3b783b3ac3de6cf10e";
+ sha256 = "ded73e49135c24bd4d3f45bf1eb168f8d290090f5cf4566b8df3698317dc9c08";
};
propagatedBuildInputs = [ faker ] ++ lib.optionals isPy27 [ ipaddress ];
diff --git a/pkgs/development/python-modules/faker/default.nix b/pkgs/development/python-modules/faker/default.nix
index 4cc3c86aab68..abdb0f583941 100644
--- a/pkgs/development/python-modules/faker/default.nix
+++ b/pkgs/development/python-modules/faker/default.nix
@@ -1,41 +1,44 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder,
- # Build inputs
- dateutil, six, text-unidecode, ipaddress ? null
- # Test inputs
- , email_validator
- , freezegun
- , mock
- , more-itertools
- , pytest
- , pytestrunner
- , random2
- , ukpostcodeparser
- , validators
+# Build inputs
+dateutil, six, text-unidecode, ipaddress ? null
+# Test inputs
+, email_validator
+, freezegun
+, mock
+, more-itertools
+, pytestCheckHook
+, pytestrunner
+, ukpostcodeparser
+, validators
}:
assert pythonOlder "3.3" -> ipaddress != null;
buildPythonPackage rec {
pname = "Faker";
- version = "4.1.8";
+ version = "4.18.0";
src = fetchPypi {
inherit pname version;
- sha256 = "179418909da04b04000eab5463c403895faed2849d36ef8d9cbda72cc44797a0";
+ sha256 = "0raxw6mgvf9523v7917zqw76vqnpp0d6v3i310qnjnhpxmm78yb2";
};
nativeBuildInputs = [ pytestrunner ];
checkInputs = [
email_validator
freezegun
- pytest
- random2
+ pytestCheckHook
ukpostcodeparser
validators
]
++ lib.optionals (pythonOlder "3.3") [ mock ]
++ lib.optionals (pythonOlder "3.0") [ more-itertools ];
+ # avoid tests which import random2, an abandoned library
+ pytestFlagsArray = [
+ "--ignore=tests/providers/test_ssn.py"
+ ];
+
propagatedBuildInputs = [
dateutil
six
diff --git a/pkgs/development/python-modules/feedparser/default.nix b/pkgs/development/python-modules/feedparser/default.nix
index c36fd2b19437..55ed8d7f6e7c 100644
--- a/pkgs/development/python-modules/feedparser/default.nix
+++ b/pkgs/development/python-modules/feedparser/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "feedparser";
- version = "5.2.1";
+ version = "6.0.2";
src = fetchPypi {
inherit pname version;
- sha256 = "1ycva69bqssalhqg45rbrfipz3l6hmycszy26k0351fhq990c0xx";
+ sha256 = "1b00a105425f492f3954fd346e5b524ca9cef3a4bbf95b8809470e9857aa1074";
};
# lots of networking failures
diff --git a/pkgs/development/python-modules/fiona/default.nix b/pkgs/development/python-modules/fiona/default.nix
index a88db7b80f56..0e90bb10f956 100644
--- a/pkgs/development/python-modules/fiona/default.nix
+++ b/pkgs/development/python-modules/fiona/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "Fiona";
- version = "1.8.17";
+ version = "1.8.18";
src = fetchPypi {
inherit pname version;
- sha256 = "716201c21246587f374785bec6d6a20a984fe1f6c2b0e83bf15127eb8f724d0c";
+ sha256 = "b732ece0ff8886a29c439723a3e1fc382718804bb057519d537a81308854967a";
};
CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11";
diff --git a/pkgs/development/python-modules/flask-babel/default.nix b/pkgs/development/python-modules/flask-babel/default.nix
index d052a7c51c1f..0eb9f61d697f 100644
--- a/pkgs/development/python-modules/flask-babel/default.nix
+++ b/pkgs/development/python-modules/flask-babel/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "Flask-Babel";
- version = "1.0.0";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0gmb165vkwv5v7dxsxa2i3zhafns0fh938m2zdcrv4d8z5l099yn";
+ sha256 = "f9faf45cdb2e1a32ea2ec14403587d4295108f35017a7821a2b1acb8cfd9257d";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/flask-jwt-extended/default.nix b/pkgs/development/python-modules/flask-jwt-extended/default.nix
index bc1e2778e193..4d45343c2658 100644
--- a/pkgs/development/python-modules/flask-jwt-extended/default.nix
+++ b/pkgs/development/python-modules/flask-jwt-extended/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "Flask-JWT-Extended";
- version = "3.24.1";
+ version = "3.25.0";
src = fetchPypi {
inherit pname version;
- sha256 = "1p8rwcsscyjw2m7dbybiaflqk4z1r2d1kp9r9qqyjfzblxpyxa0a";
+ sha256 = "b2e4dba91661e4697b30269106386c2b29e416a00d9ff66b26c462edddc10078";
};
propagatedBuildInputs = [ dateutil flask pyjwt werkzeug ];
diff --git a/pkgs/development/python-modules/flask-limiter/default.nix b/pkgs/development/python-modules/flask-limiter/default.nix
index c3db5094aef9..1f24919b73c0 100644
--- a/pkgs/development/python-modules/flask-limiter/default.nix
+++ b/pkgs/development/python-modules/flask-limiter/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "Flask-Limiter";
- version = "1.3.1";
+ version = "1.4";
src = fetchPypi {
inherit pname version;
- sha256 = "08d6d7534a847c532fd36d0df978f93908d8616813085941c862bbcfcf6811aa";
+ sha256 = "021279c905a1e24f181377ab3be711be7541734b494f4e6db2b8edeba7601e48";
};
propagatedBuildInputs = [ flask limits ];
diff --git a/pkgs/development/python-modules/flask-marshmallow/default.nix b/pkgs/development/python-modules/flask-marshmallow/default.nix
index 5d783f6c7c45..710c35bc8b4e 100644
--- a/pkgs/development/python-modules/flask-marshmallow/default.nix
+++ b/pkgs/development/python-modules/flask-marshmallow/default.nix
@@ -4,7 +4,7 @@
buildPythonPackage rec {
pname = "flask-marshmallow";
- version = "0.13.0";
+ version = "0.14.0";
meta = {
homepage = "https://github.com/marshmallow-code/flask-marshmallow";
@@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "aefc1f1d96256c430a409f08241bab75ffe97e5d14ac5d1f000764e39bf4873a";
+ sha256 = "bd01a6372cbe50e36f205cfff0fc5dab0b7b662c4c8b2c4fc06a3151b2950950";
};
propagatedBuildInputs = [ flask marshmallow ];
diff --git a/pkgs/development/python-modules/flask-swagger-ui/default.nix b/pkgs/development/python-modules/flask-swagger-ui/default.nix
index f2908f43b00a..cc4b4e06bfcc 100644
--- a/pkgs/development/python-modules/flask-swagger-ui/default.nix
+++ b/pkgs/development/python-modules/flask-swagger-ui/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "flask-swagger-ui";
- version = "3.25.0";
+ version = "3.36.0";
src = fetchPypi {
inherit pname version;
- sha256 = "42d098997e06b04f992609c4945cc990738b269c153d8388fc59a91a5dfcee9e";
+ sha256 = "f329752a65b2940ada8eeb57bce613f7c0a12856a9c31063bb9e33798554c9ed";
};
doCheck = false; # there are no tests
diff --git a/pkgs/development/python-modules/flaskbabel/default.nix b/pkgs/development/python-modules/flaskbabel/default.nix
index db0a4377947e..2956e2036c9d 100644
--- a/pkgs/development/python-modules/flaskbabel/default.nix
+++ b/pkgs/development/python-modules/flaskbabel/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "Flask-Babel";
- version = "1.0.0";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0gmb165vkwv5v7dxsxa2i3zhafns0fh938m2zdcrv4d8z5l099yn";
+ sha256 = "f9faf45cdb2e1a32ea2ec14403587d4295108f35017a7821a2b1acb8cfd9257d";
};
propagatedBuildInputs = [ flask jinja2 speaklater Babel pytz ];
diff --git a/pkgs/development/python-modules/flit-core/default.nix b/pkgs/development/python-modules/flit-core/default.nix
index 441084da97fa..53a1e0651f36 100644
--- a/pkgs/development/python-modules/flit-core/default.nix
+++ b/pkgs/development/python-modules/flit-core/default.nix
@@ -1,26 +1,24 @@
{ lib
, buildPythonPackage
-, fetchPypi
, flit
, isPy3k
-, pytoml
+, toml
}:
buildPythonPackage rec {
pname = "flit-core";
version = "2.3.0";
disabled = !isPy3k;
-
format = "pyproject";
- src = fetchPypi {
- inherit version;
- pname = "flit_core";
- sha256 = "a50bcd8bf5785e3a7d95434244f30ba693e794c5204ac1ee908fc07c4acdbf80";
- };
+ inherit (flit) src patches;
+
+ preConfigure = ''
+ cd flit_core
+ '';
propagatedBuildInputs = [
- pytoml
+ toml
];
passthru.tests = {
diff --git a/pkgs/development/python-modules/flit/default.nix b/pkgs/development/python-modules/flit/default.nix
index c0944f4ff17b..c63fd1edeaf9 100644
--- a/pkgs/development/python-modules/flit/default.nix
+++ b/pkgs/development/python-modules/flit/default.nix
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
-, fetchPypi
+, fetchFromGitHub
+, fetchpatch
, isPy3k
, docutils
, requests
@@ -10,7 +11,6 @@
, pytest
, testpath
, responses
-, pytoml
, flit-core
}:
@@ -21,19 +21,34 @@
buildPythonPackage rec {
pname = "flit";
- version = "2.3.0";
+ version = "3.0.0";
disabled = !isPy3k;
+ format = "pyproject";
- src = fetchPypi {
- inherit pname version;
- sha256 = "017012b809ec489918afd68af7a70bd7c8c770c87b60159d875c126866e97a4b";
+ src = fetchFromGitHub {
+ owner = "takluyver";
+ repo = "flit";
+ rev = version;
+ sha256 = "zk6mozS3Q9U43PQe/DxgwwsBRJ6Qwb+rSUVGXHijD+g=";
};
+ nativeBuildInputs = [
+ flit-core
+ ];
+
+ # Use toml instead of pytoml
+ # Resolves infinite recursion since packaging started using flit.
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/takluyver/flit/commit/b81b1da55ef0f2768413669725d2874fcb0c29fb.patch";
+ sha256 = "11oNaYsm00/j2046V9C0idpSeG7TpY3JtLuxX3ZL/OI=";
+ })
+ ];
+
propagatedBuildInputs = [
docutils
requests
requests_download
- pytoml
flit-core
] ++ lib.optionals (pythonOlder "3.6") [
zipfile36
diff --git a/pkgs/development/python-modules/freezegun/0.3.nix b/pkgs/development/python-modules/freezegun/0.3.nix
new file mode 100644
index 000000000000..219fc180b225
--- /dev/null
+++ b/pkgs/development/python-modules/freezegun/0.3.nix
@@ -0,0 +1,32 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, isPy27
+, dateutil
+, six
+, mock
+, nose
+, pytest
+}:
+
+buildPythonPackage rec {
+ pname = "freezegun";
+ version = "0.3.5";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "02ly89wwn0plcw8clkkzvxaw6zlpm8qyqpm9x2mfw4a0vppb4ngf";
+ };
+
+ propagatedBuildInputs = [ dateutil six ];
+ checkInputs = [ mock nose pytest ];
+ # contains python3 specific code
+ doCheck = !isPy27;
+
+ meta = with stdenv.lib; {
+ description = "FreezeGun: Let your Python tests travel through time";
+ homepage = "https://github.com/spulec/freezegun";
+ license = licenses.asl20;
+ };
+
+}
diff --git a/pkgs/development/python-modules/freezegun/default.nix b/pkgs/development/python-modules/freezegun/default.nix
index 92254b94dee9..743b041775f0 100644
--- a/pkgs/development/python-modules/freezegun/default.nix
+++ b/pkgs/development/python-modules/freezegun/default.nix
@@ -1,5 +1,6 @@
{ stdenv
, buildPythonPackage
+, pythonOlder
, fetchPypi
, isPy27
, dateutil
@@ -11,11 +12,12 @@
buildPythonPackage rec {
pname = "freezegun";
- version = "0.3.15";
+ version = "1.0.0";
+ disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
- sha256 = "e2062f2c7f95cc276a834c22f1a17179467176b624cc6f936e8bc3be5535ad1b";
+ sha256 = "1cf08e441f913ff5e59b19cc065a8faa9dd1ddc442eaf0375294f344581a0643";
};
propagatedBuildInputs = [ dateutil six ];
diff --git a/pkgs/development/python-modules/genshi/default.nix b/pkgs/development/python-modules/genshi/default.nix
index a0033eb658b1..9e6bab6e1690 100644
--- a/pkgs/development/python-modules/genshi/default.nix
+++ b/pkgs/development/python-modules/genshi/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "Genshi";
- version = "0.7.4";
+ version = "0.7.5";
src = fetchPypi {
inherit pname version;
- sha256 = "d92ef3bb34474a38566f7e44e570ff3067c7f7c126670c79f660661badf8eddb";
+ sha256 = "c12d6c2abf7df0ec661d9ff2e197522eae846e43dc58abd5a36443d05bc41135";
};
# FAIL: test_sanitize_remove_script_elem (genshi.filters.tests.html.HTMLSanitizerTestCase)
diff --git a/pkgs/development/python-modules/google_api_core/default.nix b/pkgs/development/python-modules/google_api_core/default.nix
index 3b9abbbad015..efe74d478848 100644
--- a/pkgs/development/python-modules/google_api_core/default.nix
+++ b/pkgs/development/python-modules/google_api_core/default.nix
@@ -3,12 +3,12 @@
buildPythonPackage rec {
pname = "google-api-core";
- version = "1.22.4";
+ version = "1.23.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
- sha256 = "4a9d7ac2527a9e298eebb580a5e24e7e41d6afd97010848dd0f306cae198ec1a";
+ sha256 = "1bb3c485c38eacded8d685b1759968f6cf47dd9432922d34edb90359eaa391e2";
};
propagatedBuildInputs =
diff --git a/pkgs/development/python-modules/google_cloud_asset/default.nix b/pkgs/development/python-modules/google_cloud_asset/default.nix
index b1366c0d35cf..87b1fdf8fc9d 100644
--- a/pkgs/development/python-modules/google_cloud_asset/default.nix
+++ b/pkgs/development/python-modules/google_cloud_asset/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "google-cloud-asset";
- version = "2.1.0";
+ version = "2.2.0";
src = fetchPypi {
inherit pname version;
- sha256 = "14r77bcxy7bmqhmz2hzcf3km2y4vivf5sfzgqjwlyynaydhn4f6j";
+ sha256 = "1cf1b8a102eea8cec65eb07bef51dc15c1136cfc8564ea7fc5a39465b8f20017";
};
disabled = pythonOlder "3.6";
diff --git a/pkgs/development/python-modules/google_cloud_bigquery/default.nix b/pkgs/development/python-modules/google_cloud_bigquery/default.nix
index 356850876a7a..cea0608c3f77 100644
--- a/pkgs/development/python-modules/google_cloud_bigquery/default.nix
+++ b/pkgs/development/python-modules/google_cloud_bigquery/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "google-cloud-bigquery";
- version = "2.1.0";
+ version = "2.4.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0x5g6n151rcdgq4s80f71zpsl7bsvyyrs07l58psdpyd3kwf4sbk";
+ sha256 = "2d53d6fed1c25c9c0ce361dad1c64203c96b2344f7156357a501630d1cb08445";
};
disabled = pythonOlder "3.6";
diff --git a/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix b/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix
index 0647c1f91730..8c71ac92c994 100644
--- a/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix
+++ b/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "google-cloud-bigquery-datatransfer";
- version = "1.1.1";
+ version = "2.1.0";
src = fetchPypi {
inherit pname version;
- sha256 = "8536e8656658d349db3bd5a763ce795fe79a5bfdbd1544f406957cc42e34690b";
+ sha256 = "0cca79f6ee312159ec3f3b7fea218c3dd51408d39c429ecbea037982e91cc827";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/google_cloud_dataproc/default.nix b/pkgs/development/python-modules/google_cloud_dataproc/default.nix
index 68b04508e605..b0067d4316da 100644
--- a/pkgs/development/python-modules/google_cloud_dataproc/default.nix
+++ b/pkgs/development/python-modules/google_cloud_dataproc/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "google-cloud-dataproc";
- version = "2.0.2";
+ version = "2.2.0";
src = fetchPypi {
inherit pname version;
- sha256 = "1ab0128be96a01c6ba3d10db21b8018583b15995ad9a088cb3e4c3df90a62e46";
+ sha256 = "81c44ac114c94df8f5b21245e5e7fc4eabce66b25fc432c3696b62b5de143b1f";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/google_cloud_datastore/default.nix b/pkgs/development/python-modules/google_cloud_datastore/default.nix
index 652eca773a36..07c6cd87237f 100644
--- a/pkgs/development/python-modules/google_cloud_datastore/default.nix
+++ b/pkgs/development/python-modules/google_cloud_datastore/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "google-cloud-datastore";
- version = "1.15.3";
+ version = "2.0.1";
src = fetchPypi {
inherit pname version;
- sha256 = "3da44b4c8230a83e69dd9429324cca9d3000ee8a8bb11f3b005c7837fcd844b3";
+ sha256 = "0ebf3b0bcb483e066dfe73679e019e2d7b8c1652e26984702cf5e3f020592f6a";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/google_cloud_dlp/default.nix b/pkgs/development/python-modules/google_cloud_dlp/default.nix
index 8273f40565fe..a5a602dbeadb 100644
--- a/pkgs/development/python-modules/google_cloud_dlp/default.nix
+++ b/pkgs/development/python-modules/google_cloud_dlp/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "google-cloud-dlp";
- version = "1.0.0";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "2ccf04209f96b4759d8ed76da2c916a456386836caacd47ce01b6344f5b8f212";
+ sha256 = "112c8a46979eebd60c3651037e62572fed413977ff2811901aa925c7b7ab9a5a";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/google_cloud_firestore/default.nix b/pkgs/development/python-modules/google_cloud_firestore/default.nix
index a5d349456fd6..4f819bbf9bfa 100644
--- a/pkgs/development/python-modules/google_cloud_firestore/default.nix
+++ b/pkgs/development/python-modules/google_cloud_firestore/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "google-cloud-firestore";
- version = "1.9.0";
+ version = "2.0.1";
src = fetchPypi {
inherit pname version;
- sha256 = "d8a56919a3a32c7271d1253542ec24cb13f384a726fed354fdeb2a2269f25d1c";
+ sha256 = "ae1f58d9174a6fb2c9fd2758c6d4fd237fb4f0decc632b80c217bfbceda38eb6";
};
checkInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/google_cloud_iot/default.nix b/pkgs/development/python-modules/google_cloud_iot/default.nix
index 8f14f7eeb87f..96364cfd7029 100644
--- a/pkgs/development/python-modules/google_cloud_iot/default.nix
+++ b/pkgs/development/python-modules/google_cloud_iot/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "google-cloud-iot";
- version = "1.0.0";
+ version = "2.0.1";
src = fetchPypi {
inherit pname version;
- sha256 = "bfd1511a7bcc7d23c2ea30253dd86b2b2247576d1345d895d7153dc0b262f06e";
+ sha256 = "8af2be9c74697a350d5cc8ead00ae6cb4e85943564f1d782e8060d0d5eb15723";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/google_cloud_language/default.nix b/pkgs/development/python-modules/google_cloud_language/default.nix
index 4479231aba4d..4f3defb4e4b9 100644
--- a/pkgs/development/python-modules/google_cloud_language/default.nix
+++ b/pkgs/development/python-modules/google_cloud_language/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "google-cloud-language";
- version = "1.3.0";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "2772badf8fe8ac57cd7e7840a60764603b3e19e6dbd843460a5ae8915798b32f";
+ sha256 = "abe7abcd64d25ffdf6d063385869ef8f34a7de421d5676541cd6df63b3c37b88";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/google_cloud_logging/default.nix b/pkgs/development/python-modules/google_cloud_logging/default.nix
index ef155a18a1d1..96473edd583b 100644
--- a/pkgs/development/python-modules/google_cloud_logging/default.nix
+++ b/pkgs/development/python-modules/google_cloud_logging/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "google-cloud-logging";
- version = "1.15.1";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "cb0d4af9d684eb8a416f14c39d9fa6314be3adf41db2dd8ee8e30db9e8853d90";
+ sha256 = "c8e4869ec22aa7958ff937c1acbd34d7a2a8a446af9a09ce442f24128eee063c";
};
disabled = pythonOlder "3.5";
diff --git a/pkgs/development/python-modules/google_cloud_monitoring/default.nix b/pkgs/development/python-modules/google_cloud_monitoring/default.nix
index 8815d8246d16..99557565e63a 100644
--- a/pkgs/development/python-modules/google_cloud_monitoring/default.nix
+++ b/pkgs/development/python-modules/google_cloud_monitoring/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "google-cloud-monitoring";
- version = "1.0.0";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "2feee2cc56b60ed1316175af0974668041c6480803542d3711e4365882dc79cd";
+ sha256 = "1debfa046ab9518d46b68712c03d86d0ddb11d1aad428aed62c6465752f2201f";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/google_cloud_redis/default.nix b/pkgs/development/python-modules/google_cloud_redis/default.nix
index 92f2027bf4e9..3337d9f3c55b 100644
--- a/pkgs/development/python-modules/google_cloud_redis/default.nix
+++ b/pkgs/development/python-modules/google_cloud_redis/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "google-cloud-redis";
- version = "1.0.0";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "73057750d6afcfc90c224ee4ffa3262b5e85e866b4db676f74a07b49713f2c3a";
+ sha256 = "c783118462d9272fb9f519ef43b6ce383e99ad631e922a1f06fbef7148aec7b8";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/google_cloud_secret_manager/default.nix b/pkgs/development/python-modules/google_cloud_secret_manager/default.nix
index 5bc568f879de..df3ec14c4dce 100644
--- a/pkgs/development/python-modules/google_cloud_secret_manager/default.nix
+++ b/pkgs/development/python-modules/google_cloud_secret_manager/default.nix
@@ -9,7 +9,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "1w2q602ww8s3n714l2gnaklqzbczshrspxvmvjr6wfwwalxwkc62";
+ sha256 = "c2b0c93b559c3b6eb2dc75f7ab33d49fad8fe954f6094ac2b14323ce053058f0";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/google_cloud_securitycenter/default.nix b/pkgs/development/python-modules/google_cloud_securitycenter/default.nix
index a3992825d2e9..cad4b0799c28 100644
--- a/pkgs/development/python-modules/google_cloud_securitycenter/default.nix
+++ b/pkgs/development/python-modules/google_cloud_securitycenter/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "google-cloud-securitycenter";
- version = "0.6.0";
+ version = "1.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "14ebad262cd01c9a3998561684617be2e97ad5d27dab1918c14b964f97e1f8f7";
+ sha256 = "45d47a4389f2f19958a9db8e5c2f169c9b9385e74338fef0a4e49160153df7f7";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/google_cloud_spanner/default.nix b/pkgs/development/python-modules/google_cloud_spanner/default.nix
index 4e86908b4260..38bd65aa091d 100644
--- a/pkgs/development/python-modules/google_cloud_spanner/default.nix
+++ b/pkgs/development/python-modules/google_cloud_spanner/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "google-cloud-spanner";
- version = "1.19.1";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0b9ifh9i4hkcs19b4l6v8j8v93yd8p3j19qrrjvvf5a44bc7bhsh";
+ sha256 = "edac9d86ea2d8e87c048423f610cd3e5dbb6f9db7f1f9353ff133014689e97c6";
};
disabled = pythonOlder "3.5";
diff --git a/pkgs/development/python-modules/google_cloud_speech/default.nix b/pkgs/development/python-modules/google_cloud_speech/default.nix
index 5ffaafdbd6f7..57b2efb9ebbc 100644
--- a/pkgs/development/python-modules/google_cloud_speech/default.nix
+++ b/pkgs/development/python-modules/google_cloud_speech/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "google-cloud-speech";
- version = "1.3.2";
+ version = "2.0.1";
src = fetchPypi {
inherit pname version;
- sha256 = "2e5adbc0e88f296b1bc8667f1dcf26ca4ea2db6596f07cb0a39e7b1b8ef14656";
+ sha256 = "a7428190f4c10440148a273eb4c91480470b34180eec422b7325acdc0b2c0832";
};
propagatedBuildInputs = [ google_api_core ];
diff --git a/pkgs/development/python-modules/google_cloud_tasks/default.nix b/pkgs/development/python-modules/google_cloud_tasks/default.nix
index b7f827dd4802..ca252b2c5edb 100644
--- a/pkgs/development/python-modules/google_cloud_tasks/default.nix
+++ b/pkgs/development/python-modules/google_cloud_tasks/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "google-cloud-tasks";
- version = "1.5.0";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "d751b97c1e84980a1646702d3fc1b45bab3284bc3388181f1dc9ba3d204b5a39";
+ sha256 = "a9dd004057fc441eee8c18bb2dc3bb20ba7b85f353d66894c61e42aeb8764e76";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/google_cloud_trace/default.nix b/pkgs/development/python-modules/google_cloud_trace/default.nix
index 5b19243709f0..b0efb65d0d2f 100644
--- a/pkgs/development/python-modules/google_cloud_trace/default.nix
+++ b/pkgs/development/python-modules/google_cloud_trace/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "google-cloud-trace";
- version = "0.24.0";
+ version = "1.1.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0c342dbd9daf5375b3f8bb94302b7ea9a9946f76684e457a38ff0d420b3b6556";
+ sha256 = "1bd1ee5c274a584929913d9118134e01afe106644cb749ccc3111e1a38a96cd3";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/google_cloud_videointelligence/default.nix b/pkgs/development/python-modules/google_cloud_videointelligence/default.nix
index d097132a347a..b823e105b843 100644
--- a/pkgs/development/python-modules/google_cloud_videointelligence/default.nix
+++ b/pkgs/development/python-modules/google_cloud_videointelligence/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "google-cloud-videointelligence";
- version = "1.16.0";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "de6fe53bdaf66aa8e2c1f34b26af24c479a876619b5c667d009fbd9700dd89f7";
+ sha256 = "02a91a25b3890a743bde21e03abddf11dcaf7966cc44f09bc8d507f2e28f15fa";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/google_cloud_vision/default.nix b/pkgs/development/python-modules/google_cloud_vision/default.nix
index 585abc8cc48e..fd738a522661 100644
--- a/pkgs/development/python-modules/google_cloud_vision/default.nix
+++ b/pkgs/development/python-modules/google_cloud_vision/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "google-cloud-vision";
- version = "1.0.0";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "18e78b190c81d200ae4f6a46d4af57422d68b3b05b0540d5cd1806e3874142bf";
+ sha256 = "6a067d9a661df2e9b356b2772051decfea1971f8d659c246412a165baf827c61";
};
checkInputs = [ mock ];
diff --git a/pkgs/development/python-modules/h2/default.nix b/pkgs/development/python-modules/h2/default.nix
index 6d432fed0e4e..7597abbe0f9e 100644
--- a/pkgs/development/python-modules/h2/default.nix
+++ b/pkgs/development/python-modules/h2/default.nix
@@ -1,17 +1,19 @@
{ stdenv, buildPythonPackage, fetchPypi
-, enum34, hpack, hyperframe }:
+, enum34, hpack, hyperframe, pytestCheckHook, hypothesis }:
buildPythonPackage rec {
pname = "h2";
- version = "3.2.0";
+ version = "4.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "051gg30aca26rdxsmr9svwqm06pdz9bv21ch4n0lgi7jsvml2pw7";
+ sha256 = "bb7ac7099dd67a857ed52c815a6192b6b1f5ba6b516237fc24a085341340593d";
};
propagatedBuildInputs = [ enum34 hpack hyperframe ];
+ checkInputs = [ pytestCheckHook hypothesis ];
+
meta = with stdenv.lib; {
description = "HTTP/2 State-Machine based protocol implementation";
homepage = "http://hyper.rtfd.org/";
diff --git a/pkgs/development/python-modules/h3/default.nix b/pkgs/development/python-modules/h3/default.nix
index a9a0944459a1..e0d6ffce6531 100644
--- a/pkgs/development/python-modules/h3/default.nix
+++ b/pkgs/development/python-modules/h3/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "h3";
- version = "3.6.4";
+ version = "3.7.0";
src = fetchPypi {
inherit pname version;
- sha256 = "416e35d736ef6ec9c1f73b9d4a9d5c696cc2a7561811f8bcfa08c8c4912f2289";
+ sha256 = "cd27fc8ecd9183f93934079b7c986401f499030ff2e2171eace9de462fab561d";
};
patches = [
diff --git a/pkgs/development/python-modules/h5py/default.nix b/pkgs/development/python-modules/h5py/default.nix
index 8cb6b8c22f53..a9ebdc5dfe88 100644
--- a/pkgs/development/python-modules/h5py/default.nix
+++ b/pkgs/development/python-modules/h5py/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchPypi, isPy27, python, buildPythonPackage
+{ stdenv, fetchPypi, isPy27, python, buildPythonPackage, pythonOlder
, numpy, hdf5, cython, six, pkgconfig, unittest2, fetchpatch
-, mpi4py ? null, openssh, pytest }:
+, mpi4py ? null, openssh, pytestCheckHook, cached-property }:
assert hdf5.mpiSupport -> mpi4py != null && hdf5.mpi == mpi4py.mpi;
@@ -10,20 +10,25 @@ let
mpi = hdf5.mpi;
mpiSupport = hdf5.mpiSupport;
in buildPythonPackage rec {
- version = "2.10.0";
+ version = "3.1.0";
pname = "h5py";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "84412798925dc870ffd7107f045d7659e60f5d46d1c70c700375248bf6bf512d";
+ sha256 = "1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2";
};
- configure_flags = "--hdf5=${hdf5}" + optionalString mpiSupport " --mpi";
+ # avoid strict pinning of numpy
+ postPatch = ''
+ substituteInPlace setup.py \
+ --replace "numpy ==" "numpy >="
+ '';
+
+ HDF5_DIR = "${hdf5}";
+ HDF5_MPI = if mpiSupport then "ON" else "OFF";
postConfigure = ''
- ${python.executable} setup.py configure ${configure_flags}
-
# Needed to run the tests reliably. See:
# https://bitbucket.org/mpi4py/mpi4py/issues/87/multiple-test-errors-with-openmpi-30
${optionalString mpiSupport "export OMPI_MCA_rmaps_base_oversubscribe=yes"}
@@ -31,12 +36,17 @@ in buildPythonPackage rec {
preBuild = if mpiSupport then "export CC=${mpi}/bin/mpicc" else "";
- checkInputs = optional isPy27 unittest2 ++ [ pytest openssh ];
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ hdf5 cython ]
+ # tests now require pytest-mpi, which isn't available and difficult to package
+ doCheck = false;
+ checkInputs = optional isPy27 unittest2 ++ [ pytestCheckHook openssh ];
+ nativeBuildInputs = [ pkgconfig cython ];
+ buildInputs = [ hdf5 ]
++ optional mpiSupport mpi;
propagatedBuildInputs = [ numpy six]
- ++ optionals mpiSupport [ mpi4py openssh ];
+ ++ optionals mpiSupport [ mpi4py openssh ]
+ ++ optionals (pythonOlder "3.8") [ cached-property ];
+
+ pythonImportsCheck = [ "h5py" ];
meta = {
description =
diff --git a/pkgs/development/python-modules/hidapi/default.nix b/pkgs/development/python-modules/hidapi/default.nix
index 05557b096df7..856a36f77916 100644
--- a/pkgs/development/python-modules/hidapi/default.nix
+++ b/pkgs/development/python-modules/hidapi/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "hidapi";
- version = "0.10.0.post1";
+ version = "0.10.1";
src = fetchPypi {
inherit pname version;
- sha256 = "27c04d42a7187becf7a8309d4846aa4f235ac8b7dafd758335b109f5cbd3b962";
+ sha256 = "a1170b18050bc57fae3840a51084e8252fd319c0fc6043d68c8501deb0e25846";
};
propagatedBuildInputs =
diff --git a/pkgs/development/python-modules/hpack/default.nix b/pkgs/development/python-modules/hpack/default.nix
index a10882417fc0..36578856286f 100644
--- a/pkgs/development/python-modules/hpack/default.nix
+++ b/pkgs/development/python-modules/hpack/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "hpack";
- version = "3.0.0";
+ version = "4.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "8eec9c1f4bfae3408a3f30500261f7e6a65912dc138526ea054f9ad98892e9d2";
+ sha256 = "fc41de0c63e687ebffde81187a948221294896f6bdc0ae2312708df339430095";
};
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/httpretty/default.nix b/pkgs/development/python-modules/httpretty/default.nix
index 895a28356ee5..0d061df86bf7 100644
--- a/pkgs/development/python-modules/httpretty/default.nix
+++ b/pkgs/development/python-modules/httpretty/default.nix
@@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "httpretty";
- version = "1.0.2";
+ version = "1.0.3";
# drop this for version > 0.9.7
# Flaky tests: https://github.com/gabrielfalcao/HTTPretty/pull/394
@@ -27,7 +27,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "24a6fd2fe1c76e94801b74db8f52c0fb42718dc4a199a861b305b1a492b9d868";
+ sha256 = "9335cbd8f38745e0e2dc4755d8932a77d378d93e15804969504b1e6b568d613c";
};
propagatedBuildInputs = [ six ];
diff --git a/pkgs/development/python-modules/humanize/default.nix b/pkgs/development/python-modules/humanize/default.nix
index 4676c300471d..70ac0297b739 100644
--- a/pkgs/development/python-modules/humanize/default.nix
+++ b/pkgs/development/python-modules/humanize/default.nix
@@ -7,13 +7,13 @@
}:
buildPythonPackage rec {
- version = "2.6.0";
+ version = "3.1.0";
pname = "humanize";
disabled = isPy27; # setup.py no longer compatible
src = fetchPypi {
inherit pname version;
- sha256 = "8ee358ea6c23de896b9d1925ebe6a8504bb2ba7e98d5ccf4d07ab7f3b28f3819";
+ sha256 = "fd3eb915310335c63a54d4507289ecc7b3a7454cd2c22ac5086d061a3cbfd592";
};
nativeBuildInputs = [ setuptools_scm ];
diff --git a/pkgs/development/python-modules/hvplot/default.nix b/pkgs/development/python-modules/hvplot/default.nix
index d787b6113355..aaad8f2b1dec 100644
--- a/pkgs/development/python-modules/hvplot/default.nix
+++ b/pkgs/development/python-modules/hvplot/default.nix
@@ -18,11 +18,11 @@
buildPythonPackage rec {
pname = "hvplot";
- version = "0.6.0";
+ version = "0.7.0";
src = fetchPypi {
inherit pname version;
- sha256 = "8fcf2f251bd9d4b0390d9c272c992aa75e11174829e416a22de8fba38acc1ce9";
+ sha256 = "1c709bebb737ebd71a0433f2333ed15f03dd3c431d4646c41c2b9fcbae4a29b7";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/hwi/default.nix b/pkgs/development/python-modules/hwi/default.nix
index de9c7995bde9..6431791d65e6 100644
--- a/pkgs/development/python-modules/hwi/default.nix
+++ b/pkgs/development/python-modules/hwi/default.nix
@@ -14,11 +14,11 @@
buildPythonPackage rec {
pname = "hwi";
- version = "1.1.2";
+ version = "1.2.1";
src = fetchPypi {
inherit pname version;
- sha256 = "eec460a51eb556500c1eca92015be246d5714cd53171407a76da71e4346048ae";
+ sha256 = "d0d220a4967d7f106b828b12a98b78c220d609d7cc6c811898e24fcf1a6f04f3";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/hyperframe/default.nix b/pkgs/development/python-modules/hyperframe/default.nix
index a8f847c53bb1..2c6796ca6d0c 100644
--- a/pkgs/development/python-modules/hyperframe/default.nix
+++ b/pkgs/development/python-modules/hyperframe/default.nix
@@ -1,13 +1,16 @@
-{ stdenv, buildPythonPackage, fetchPypi }:
+{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook }:
+
buildPythonPackage rec {
pname = "hyperframe";
- version = "5.2.0";
+ version = "6.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "a9f5c17f2cc3c719b917c4f33ed1c61bd1f8dfac4b1bd23b7c80b3400971b41f";
+ sha256 = "742d2a4bc3152a340a49d59f32e33ec420aa8e7054c1444ef5c7efff255842f1";
};
+ checkInputs = [ pytestCheckHook ];
+
meta = with stdenv.lib; {
description = "HTTP/2 framing layer for Python";
homepage = "http://hyper.rtfd.org/";
diff --git a/pkgs/development/python-modules/ignite/default.nix b/pkgs/development/python-modules/ignite/default.nix
index 785ec5814918..307c25e724ee 100644
--- a/pkgs/development/python-modules/ignite/default.nix
+++ b/pkgs/development/python-modules/ignite/default.nix
@@ -1,7 +1,9 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
-, pytest
+, pytestCheckHook
+, pytest_xdist
+, pythonOlder
, matplotlib
, mock
, pytorch
@@ -12,23 +14,45 @@
buildPythonPackage rec {
pname = "ignite";
- version = "0.3.0";
+ version = "0.4.2";
src = fetchFromGitHub {
owner = "pytorch";
repo = pname;
rev = "v${version}";
- sha256 = "0i863kxi1r1hspj19lhn6r8256vdazjcyvis0s33fgzrf7kxi08x";
+ sha256 = "00vcmhnp14s54g386izgaxzrdr2nqv3pz9nvpyiwrn33zawr308z";
};
- checkInputs = [ pytest matplotlib mock ];
+ checkInputs = [ pytestCheckHook matplotlib mock pytest_xdist ];
propagatedBuildInputs = [ pytorch scikitlearn tqdm pynvml ];
+ # runs succesfully in 3.9, however, async isn't correctly closed so it will fail after test suite.
+ doCheck = pythonOlder "3.9";
+
# Some packages are not in NixPkgs; other tests try to build distributed
# models, which doesn't work in the sandbox.
- checkPhase = ''
- pytest -k 'not visdom and not tensorboard and not mlflow and not polyaxon and not conftest and not engines and not distrib_' tests/
- '';
+ # avoid tests which need special packages
+ pytestFlagsArray = [
+ "--ignore=tests/ignite/contrib/handlers/test_trains_logger.py"
+ "--ignore=tests/ignite/metrics/test_dill.py"
+ "--ignore=tests/ignite/metrics/test_ssim.py"
+ "tests/"
+ ];
+
+ # disable tests which need specific packages
+ disabledTests = [
+ "idist"
+ "tensorboard"
+ "mlflow"
+ "trains"
+ "visdom"
+ "test_setup_neptune"
+ "test_output_handler" # needs mlflow
+ "test_integration"
+ "test_pbar" # slight output differences
+ "test_write_results"
+ "test_setup_plx"
+ ];
meta = with lib; {
description = "High-level training library for PyTorch";
diff --git a/pkgs/development/python-modules/imagecorruptions/default.nix b/pkgs/development/python-modules/imagecorruptions/default.nix
index 3ebd22ffeb25..f652ac60ce1b 100644
--- a/pkgs/development/python-modules/imagecorruptions/default.nix
+++ b/pkgs/development/python-modules/imagecorruptions/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "imagecorruptions";
- version = "1.1.0";
+ version = "1.1.1";
src = fetchPypi {
inherit pname version;
- sha256 = "14j8x6axnyrn6y7bsjyh4yqm7af68mqpxy7gg2xh3d577d852zgm";
+ sha256 = "011e7c84a01f3e41465e5ad1ee48291cd6fd8032f45c836c5ddaad6e09fe0ae2";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/impacket/default.nix b/pkgs/development/python-modules/impacket/default.nix
index e973175b26a0..dee40a6dbba2 100644
--- a/pkgs/development/python-modules/impacket/default.nix
+++ b/pkgs/development/python-modules/impacket/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "impacket";
- version = "0.9.21";
+ version = "0.9.22";
src = fetchPypi {
inherit pname version;
- sha256 = "912f812564e87c31a162cfe0626f3a6cbc5b6864deedbfefc31f6d321859ade3";
+ sha256 = "4bf7e7b595356585599b4b2773b8a463d7b9765c97012dcd5a44eb6d547f6a1d";
};
disabled = isPy3k;
diff --git a/pkgs/development/python-modules/importlib-resources/default.nix b/pkgs/development/python-modules/importlib-resources/default.nix
index 0e1d4654c590..22c05e3319c6 100644
--- a/pkgs/development/python-modules/importlib-resources/default.nix
+++ b/pkgs/development/python-modules/importlib-resources/default.nix
@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "importlib_resources";
- version = "3.0.0";
+ version = "3.3.0";
src = fetchPypi {
inherit pname version;
- sha256 = "19f745a6eca188b490b1428c8d1d4a0d2368759f32370ea8fb89cad2ab1106c3";
+ sha256 = "7b51f0106c8ec564b1bef3d9c588bc694ce2b92125bbb6278f4f2f5b54ec3592";
};
nativeBuildInputs = [ setuptools_scm toml ];
diff --git a/pkgs/development/python-modules/inform/default.nix b/pkgs/development/python-modules/inform/default.nix
index 158f1161cb4d..7646d25ee425 100644
--- a/pkgs/development/python-modules/inform/default.nix
+++ b/pkgs/development/python-modules/inform/default.nix
@@ -3,6 +3,7 @@
, six
, hypothesis
, pytest
+, pytestrunner
, pytestCheckHook
}:
@@ -17,10 +18,14 @@ buildPythonPackage rec {
sha256 = "02zlprvidkz51aypss4knhv7dbr0sbpz3caqjzf9am2n1jx2viyy";
};
+ nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ arrow six ];
checkInputs = [ pytest hypothesis ];
- checkPhase = "./test.doctests.py && ./test.inform.py && pytest";
+ checkPhase = ''
+ patchShebangs test.doctests.py test.inform.py
+ ./test.doctests.py && ./test.inform.py && pytest
+ '';
meta = with lib; {
description = "Print and logging utilities";
diff --git a/pkgs/development/python-modules/ipython/default.nix b/pkgs/development/python-modules/ipython/default.nix
index 1f1a50363f9d..dd9004aa0cb3 100644
--- a/pkgs/development/python-modules/ipython/default.nix
+++ b/pkgs/development/python-modules/ipython/default.nix
@@ -22,12 +22,12 @@
buildPythonPackage rec {
pname = "ipython";
- version = "7.17.0";
+ version = "7.19.0";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
- sha256 = "b70974aaa2674b05eb86a910c02ed09956a33f2dd6c71afc60f0b128a77e7f28";
+ sha256 = "cbb2ef3d5961d44e6a963b9817d4ea4e1fa2eb589c371a470fed14d8d40cbd6a";
};
prePatch = lib.optionalString stdenv.isDarwin ''
diff --git a/pkgs/development/python-modules/isbnlib/default.nix b/pkgs/development/python-modules/isbnlib/default.nix
index 2c454fd9ce0c..8398117041be 100644
--- a/pkgs/development/python-modules/isbnlib/default.nix
+++ b/pkgs/development/python-modules/isbnlib/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "isbnlib";
- version = "3.10.3";
+ version = "3.10.4";
src = fetchPypi {
inherit pname version;
- sha256 = "2295c01465fe19776b1f9432fd99fd24e61230d146ded2752e0d980ef6f4101f";
+ sha256 = "f5bfbc362e2a73dfc82449ac459b59a7f6b20bcebf82f6bd87d773dc45073646";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/isort/4.nix b/pkgs/development/python-modules/isort/4.nix
new file mode 100644
index 000000000000..b2ef4e66f361
--- /dev/null
+++ b/pkgs/development/python-modules/isort/4.nix
@@ -0,0 +1,43 @@
+{ lib, buildPythonPackage, fetchPypi, setuptools, isPy27, futures
+, backports_functools_lru_cache, mock, pytest
+}:
+
+let
+ skipTests = [ "test_requirements_finder" "test_pipfile_finder" ] ++ lib.optional isPy27 "test_standard_library_deprecates_user_issue_778";
+ testOpts = lib.concatMapStringsSep " " (t: "--deselect test_isort.py::${t}") skipTests;
+in buildPythonPackage rec {
+ pname = "isort";
+ version = "4.3.21"; # Note 4.x is the last version that supports Python2
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "54da7e92468955c4fceacd0c86bd0ec997b0e1ee80d97f67c35a78b719dccab1";
+ };
+
+ propagatedBuildInputs = [
+ setuptools
+ ] ++ lib.optionals isPy27 [ futures backports_functools_lru_cache ];
+
+ checkInputs = [ mock pytest ];
+
+ checkPhase = ''
+ # isort excludes paths that contain /build/, so test fixtures don't work
+ # with TMPDIR=/build/
+ PATH=$out/bin:$PATH TMPDIR=/tmp/ pytest ${testOpts}
+
+ # Confirm that the produced executable script is wrapped correctly and runs
+ # OK, by launching it in a subshell without PYTHONPATH
+ (
+ unset PYTHONPATH
+ echo "Testing that `isort --version-number` returns OK..."
+ $out/bin/isort --version-number
+ )
+ '';
+
+ meta = with lib; {
+ description = "A Python utility / library to sort Python imports";
+ homepage = "https://github.com/timothycrosley/isort";
+ license = licenses.mit;
+ maintainers = with maintainers; [ couchemar nand0p ];
+ };
+}
diff --git a/pkgs/development/python-modules/isort/default.nix b/pkgs/development/python-modules/isort/default.nix
index b2ef4e66f361..bc11697339e8 100644
--- a/pkgs/development/python-modules/isort/default.nix
+++ b/pkgs/development/python-modules/isort/default.nix
@@ -1,30 +1,36 @@
-{ lib, buildPythonPackage, fetchPypi, setuptools, isPy27, futures
-, backports_functools_lru_cache, mock, pytest
+{ lib, buildPythonPackage, fetchFromGitHub
+, colorama
+, hypothesis
+, poetry-core
+, pylama
+, pytestCheckHook
}:
let
- skipTests = [ "test_requirements_finder" "test_pipfile_finder" ] ++ lib.optional isPy27 "test_standard_library_deprecates_user_issue_778";
- testOpts = lib.concatMapStringsSep " " (t: "--deselect test_isort.py::${t}") skipTests;
in buildPythonPackage rec {
pname = "isort";
- version = "4.3.21"; # Note 4.x is the last version that supports Python2
+ version = "5.6.4";
+ format = "pyproject";
- src = fetchPypi {
- inherit pname version;
- sha256 = "54da7e92468955c4fceacd0c86bd0ec997b0e1ee80d97f67c35a78b719dccab1";
+ src = fetchFromGitHub {
+ owner = "PyCQA";
+ repo = "isort";
+ rev = version;
+ sha256 = "1m7jpqssnbsn1ydrw1dn7nrcrggqcvj9v6mk5ampxmvk94xd2r2q";
};
- propagatedBuildInputs = [
- setuptools
- ] ++ lib.optionals isPy27 [ futures backports_functools_lru_cache ];
+ nativeBuildInputs = [
+ poetry-core
+ ];
- checkInputs = [ mock pytest ];
-
- checkPhase = ''
- # isort excludes paths that contain /build/, so test fixtures don't work
- # with TMPDIR=/build/
- PATH=$out/bin:$PATH TMPDIR=/tmp/ pytest ${testOpts}
+ checkInputs = [
+ colorama
+ hypothesis
+ pylama
+ pytestCheckHook
+ ];
+ postCheck = ''
# Confirm that the produced executable script is wrapped correctly and runs
# OK, by launching it in a subshell without PYTHONPATH
(
@@ -34,9 +40,37 @@ in buildPythonPackage rec {
)
'';
+ preCheck = ''
+ HOME=$TMPDIR
+ export PATH=$PATH:$out/bin
+ '';
+
+ pytestFlagsArray = [
+ "--ignore=tests/integration/" # pulls in 10 other packages
+ "--ignore=tests/unit/profiles/test_black.py" # causes infinite recursion to include black
+ ];
+
+ disabledTests = [
+ "test_run" # doesn't like paths in /build
+ "test_pyi_formatting_issue_942"
+ "test_requirements_finder"
+ "test_pipfile_finder"
+ "test_main" # relies on git
+ "test_command_line" # not thread safe
+ "test_encoding_not_in_comment" # not python 3.9 compatible
+ "test_encoding_not_in_first_two_lines" # not python 3.9 compatible
+ "test_requirements_dir" # requires network
+ # plugin not available
+ "test_isort_literals_issue_1358"
+ "test_isort_supports_formatting_plugins_issue_1353"
+ "test_value_assignment_list"
+ # profiles not available
+ "test_isort_supports_shared_profiles_issue_970"
+ ];
+
meta = with lib; {
description = "A Python utility / library to sort Python imports";
- homepage = "https://github.com/timothycrosley/isort";
+ homepage = "https://github.com/PyCQA/isort";
license = licenses.mit;
maintainers = with maintainers; [ couchemar nand0p ];
};
diff --git a/pkgs/development/python-modules/iterm2/default.nix b/pkgs/development/python-modules/iterm2/default.nix
index 12a1fd92cbe9..a62d5068f776 100644
--- a/pkgs/development/python-modules/iterm2/default.nix
+++ b/pkgs/development/python-modules/iterm2/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "iterm2";
- version = "1.16";
+ version = "1.18";
src = fetchPypi {
inherit pname version;
- sha256 = "8dead057b09ed4ac03c6caae7890489da1d823215ec5166789739ece941bdcbc";
+ sha256 = "88ca7dd76242205dc82761bf98932a42e6c1ba338cb065f1cc775413ef4e0dc2";
};
propagatedBuildInputs = [ protobuf websockets ];
diff --git a/pkgs/development/python-modules/janus/default.nix b/pkgs/development/python-modules/janus/default.nix
index 1999a625e4b8..14d54ef5a422 100644
--- a/pkgs/development/python-modules/janus/default.nix
+++ b/pkgs/development/python-modules/janus/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "janus";
- version = "0.5.0";
+ version = "0.6.1";
src = fetchPypi {
inherit pname version;
- sha256 = "0700f5537d076521851d19b7625545c5e76f6d5792ab17984f28230adcc3b34c";
+ sha256 = "4712e0ef75711fe5947c2db855bc96221a9a03641b52e5ae8e25c2b705dd1d0c";
};
disabled = pythonOlder "3.6";
diff --git a/pkgs/development/python-modules/jeepney/default.nix b/pkgs/development/python-modules/jeepney/default.nix
index 1813ce8cac17..84096c6db4f9 100644
--- a/pkgs/development/python-modules/jeepney/default.nix
+++ b/pkgs/development/python-modules/jeepney/default.nix
@@ -5,17 +5,18 @@
, pytest
, testpath
, tornado
+, trio
}:
buildPythonPackage rec {
pname = "jeepney";
- version = "0.4.3";
+ version = "0.6.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
- sha256 = "3479b861cc2b6407de5188695fa1a8d57e5072d7059322469b62628869b8e36e";
+ sha256 = "7d59b6622675ca9e993a6bd38de845051d315f8b0c72cca3aef733a20b648657";
};
propagatedBuildInputs = [
@@ -25,6 +26,7 @@ buildPythonPackage rec {
checkInputs = [
pytest
testpath
+ trio
];
checkPhase = ''
diff --git a/pkgs/development/python-modules/jenkins-job-builder/default.nix b/pkgs/development/python-modules/jenkins-job-builder/default.nix
index e185cf8b6bdd..3cc2bb69e0e9 100644
--- a/pkgs/development/python-modules/jenkins-job-builder/default.nix
+++ b/pkgs/development/python-modules/jenkins-job-builder/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "jenkins-job-builder";
- version = "3.5.0";
+ version = "3.7.0";
src = fetchPypi {
inherit pname version;
- sha256 = "20efe98718e61ea7bd69b2178d93c5435bbf2e1ba78a47366632c84970e026c9";
+ sha256 = "bca1f458206fc8be82d790685b603d4158e2034a651f2e148e31526984b9d551";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/joblib/default.nix b/pkgs/development/python-modules/joblib/default.nix
index fa4fc450f1a8..16edf3c04e14 100644
--- a/pkgs/development/python-modules/joblib/default.nix
+++ b/pkgs/development/python-modules/joblib/default.nix
@@ -4,7 +4,7 @@
, fetchPypi
, stdenv
, numpydoc
-, pytest
+, pytestCheckHook
, python-lz4
, setuptools
, sphinx
@@ -13,27 +13,29 @@
buildPythonPackage rec {
pname = "joblib";
- version = "0.16.0";
+ version = "0.17.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
- sha256 = "8f52bf24c64b608bf0b2563e0e47d6fcf516abc8cfafe10cfd98ad66d94f92d6";
+ sha256 = "9e284edd6be6b71883a63c9b7f124738a3c16195513ad940eae7e3438de885d5";
};
- checkInputs = [ sphinx numpydoc pytest ];
+ checkInputs = [ sphinx numpydoc pytestCheckHook ];
propagatedBuildInputs = [ python-lz4 setuptools ];
- # test_disk_used is broken: https://github.com/joblib/joblib/issues/57
- # test_dispatch_multiprocessing is broken only on Darwin.
- checkPhase = ''
- py.test -k 'not test_disk_used${lib.optionalString (stdenv.isDarwin) " and not test_dispatch_multiprocessing"}' joblib/test
- '';
+ pytestFlagsArray = [ "joblib/test" ];
+ disabledTests = [
+ "test_disk_used" # test_disk_used is broken: https://github.com/joblib/joblib/issues/57
+ "test_parallel_call_cached_function_defined_in_jupyter" # jupyter not available during tests
+ ] ++ lib.optionals stdenv.isDarwin [
+ "test_dispatch_multiprocessing" # test_dispatch_multiprocessing is broken only on Darwin.
+ ];
- meta = {
+ meta = with lib; {
description = "Lightweight pipelining: using Python functions as pipeline jobs";
homepage = "https://joblib.readthedocs.io/";
- license = lib.licenses.bsd3;
- maintainers = with lib.maintainers; [ costrouc ];
+ license = licenses.bsd3;
+ maintainers = with maintainers; [ costrouc ];
};
}
diff --git a/pkgs/development/python-modules/josepy/default.nix b/pkgs/development/python-modules/josepy/default.nix
index 73bdb31da9d8..8c1fe0a7d366 100644
--- a/pkgs/development/python-modules/josepy/default.nix
+++ b/pkgs/development/python-modules/josepy/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "josepy";
- version = "1.4.0";
+ version = "1.5.0";
src = fetchPypi {
inherit pname version;
- sha256 = "c37ff4b93606e6a452b72cdb992da5e0544be12912fac01b31ddbdd61f6d5bd0";
+ sha256 = "502a36f86efe2a6d09bf7018bca9fd8f8f24d8090a966aa037dbc844459ff9c8";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/jsonpatch/default.nix b/pkgs/development/python-modules/jsonpatch/default.nix
index a4a66aab44ce..8971bac4b497 100644
--- a/pkgs/development/python-modules/jsonpatch/default.nix
+++ b/pkgs/development/python-modules/jsonpatch/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "jsonpatch";
- version = "1.26";
+ version = "1.27";
src = fetchPypi {
inherit pname version;
- sha256 = "e45df18b0ab7df1925f20671bbc3f6bd0b4b556fb4b9c5d97684b0a7eac01744";
+ sha256 = "4d08af10d71723b5b2924da6ba90f273a4d1a5c6accfb605eb970cb2f9b29cf9";
};
# test files are missing
diff --git a/pkgs/development/python-modules/jsonrpc-websocket/default.nix b/pkgs/development/python-modules/jsonrpc-websocket/default.nix
index df5216bdd1a6..4fe136f69b7b 100644
--- a/pkgs/development/python-modules/jsonrpc-websocket/default.nix
+++ b/pkgs/development/python-modules/jsonrpc-websocket/default.nix
@@ -1,19 +1,25 @@
{ stdenv, buildPythonPackage, fetchPypi
-, aiohttp, jsonrpc-base, pep8 }:
+, aiohttp, jsonrpc-base, pep8
+, pytestCheckHook
+, pytest-asyncio
+}:
buildPythonPackage rec {
pname = "jsonrpc-websocket";
- version = "1.1.0";
+ version = "1.2.1";
src = fetchPypi {
inherit pname version;
- sha256 = "029gxp6f06gmba7glxfdz5xfhs5kkqph7x78k38qqvdrmca4z450";
+ sha256 = "c343d057b572791ed3107b771c17358bc710772a9a6156047a3cfafb409ed895";
};
nativeBuildInputs = [ pep8 ];
propagatedBuildInputs = [ aiohttp jsonrpc-base ];
+ checkInputs = [ pytestCheckHook pytest-asyncio ];
+ pytestFlagsArray = [ "tests.py" ];
+
meta = with stdenv.lib; {
description = "A JSON-RPC websocket client library for asyncio";
homepage = "https://github.com/armills/jsonrpc-websocket";
diff --git a/pkgs/development/python-modules/jsonrpclib-pelix/default.nix b/pkgs/development/python-modules/jsonrpclib-pelix/default.nix
index a53c7abee72f..570fb0a1d1a1 100644
--- a/pkgs/development/python-modules/jsonrpclib-pelix/default.nix
+++ b/pkgs/development/python-modules/jsonrpclib-pelix/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "jsonrpclib-pelix";
- version = "0.4.1";
+ version = "0.4.2";
src = fetchPypi {
inherit pname version;
- sha256 = "006yvxw6xv6qzcqpxm8jcf21gmdn0z4vp8njdbvk023mmq05k3h4";
+ sha256 = "340915c17ebef7451948341542bf4789fc8d8c9fe604e86f00b722b6074a89f0";
};
doCheck = false; # test_suite="tests" in setup.py but no tests in pypi.
diff --git a/pkgs/development/python-modules/jupyter_core/default.nix b/pkgs/development/python-modules/jupyter_core/default.nix
index fe40a3f09c48..54ea49c34004 100644
--- a/pkgs/development/python-modules/jupyter_core/default.nix
+++ b/pkgs/development/python-modules/jupyter_core/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "jupyter_core";
- version = "4.6.3";
+ version = "4.7.0";
src = fetchPypi {
inherit pname version;
- sha256 = "394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e";
+ sha256 = "aa1f9496ab3abe72da4efe0daab0cb2233997914581f9a071e07498c6add8ed3";
};
checkInputs = [ pytest mock glibcLocales nose ];
diff --git a/pkgs/development/python-modules/jupyterlab-pygments/default.nix b/pkgs/development/python-modules/jupyterlab-pygments/default.nix
new file mode 100644
index 000000000000..f3ea20842aa5
--- /dev/null
+++ b/pkgs/development/python-modules/jupyterlab-pygments/default.nix
@@ -0,0 +1,27 @@
+{ lib, buildPythonPackage, fetchFromGitHub, pygments }:
+
+buildPythonPackage rec {
+ pname = "jupyterlab_pygments";
+ version = "0.1.2";
+
+ src = fetchFromGitHub {
+ owner = "jupyterlab";
+ repo = pname;
+ rev = version;
+ sha256 = "02lv63qalw4x6xs70n2w2p3c2cnhk91sr961wlbi77xs0g8fcman";
+ };
+
+ # no tests exist on upstream repo
+ doCheck = false;
+
+ propagatedBuildInputs = [ pygments ];
+
+ pythonImportsCheck = [ "jupyterlab_pygments" ];
+
+ meta = with lib; {
+ description = "Jupyterlab syntax coloring theme for pygments";
+ homepage = "https://github.com/jupyterlab/jupyterlab-pygments/";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/jupytext/default.nix b/pkgs/development/python-modules/jupytext/default.nix
index 542e177e47fd..6f4c188c2f75 100644
--- a/pkgs/development/python-modules/jupytext/default.nix
+++ b/pkgs/development/python-modules/jupytext/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "jupytext";
- version = "1.5.2";
+ version = "1.7.1";
src = fetchPypi {
inherit pname version;
- sha256 = "1cebc9f5975b4c08db3de6d7d61b35f8c33a24cf2c8c04eee7b8a7aab8ddc39b";
+ sha256 = "23123b90c267c67716fe6a022dfae49b84fd3809370d83211f2920eb3106bf40";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/keyring/default.nix b/pkgs/development/python-modules/keyring/default.nix
index 560986f9c3d2..3e26079f1235 100644
--- a/pkgs/development/python-modules/keyring/default.nix
+++ b/pkgs/development/python-modules/keyring/default.nix
@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "keyring";
- version = "21.3.1";
+ version = "21.5.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "182f94fc0381546489e3e4d90384a8c1d43cc09ffe2eb4a826e7312df6e1be7c";
+ sha256 = "207bd66f2a9881c835dad653da04e196c678bf104f8252141d2d3c4f31051579";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/keyrings-alt/default.nix b/pkgs/development/python-modules/keyrings-alt/default.nix
index dcc16ded122d..506081659f65 100644
--- a/pkgs/development/python-modules/keyrings-alt/default.nix
+++ b/pkgs/development/python-modules/keyrings-alt/default.nix
@@ -1,15 +1,15 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, isPy27, six
-, pytest, backports_unittest-mock, keyring, setuptools_scm
+, pytest, backports_unittest-mock, keyring, setuptools_scm, toml
}:
buildPythonPackage rec {
pname = "keyrings.alt";
- version = "3.4.0";
+ version = "4.0.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "91328ac4229e70b1d0061d21bf61d36b031a6b4828f2682e38c741812f6eb23d";
+ sha256 = "cd23d4c6930b5271134ac815d868164cb6d0d2252ee6dcb07fadfca26caaa230";
};
postPatch = ''
@@ -17,7 +17,7 @@ buildPythonPackage rec {
--replace "--flake8" ""
'';
- nativeBuildInputs = [ setuptools_scm ];
+ nativeBuildInputs = [ setuptools_scm toml ];
propagatedBuildInputs = [ six ];
checkInputs = [ pytest keyring ] ++ stdenv.lib.optional (pythonOlder "3.3") backports_unittest-mock;
diff --git a/pkgs/development/python-modules/kiwisolver/default.nix b/pkgs/development/python-modules/kiwisolver/default.nix
index 393e2d134cc6..a24e7300538a 100644
--- a/pkgs/development/python-modules/kiwisolver/default.nix
+++ b/pkgs/development/python-modules/kiwisolver/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "kiwisolver";
- version = "1.2.0";
+ version = "1.3.1";
src = fetchPypi {
inherit pname version;
- sha256 = "247800260cd38160c362d211dcaf4ed0f7816afb5efe56544748b21d6ad6d17f";
+ sha256 = "950a199911a8d94683a6b10321f9345d5a3a8433ec58b217ace979e18f16e248";
};
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
diff --git a/pkgs/development/python-modules/kmapper/default.nix b/pkgs/development/python-modules/kmapper/default.nix
index f985a7e69652..548896b47286 100644
--- a/pkgs/development/python-modules/kmapper/default.nix
+++ b/pkgs/development/python-modules/kmapper/default.nix
@@ -15,11 +15,11 @@
buildPythonPackage rec {
pname = "kmapper";
- version = "1.2.0";
+ version = "1.4.1";
src = fetchPypi {
inherit pname version;
- sha256 = "0879294680c5d01a928847b818a3c4e07eded3f602f96e510858e68e74fa3783";
+ sha256 = "3bb09d016ae0dc3308c2901f0775139a26e7f689afacea564a74e5627de35cd7";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/kombu/default.nix b/pkgs/development/python-modules/kombu/default.nix
index 560cd4383b1e..1aa22a62e19f 100644
--- a/pkgs/development/python-modules/kombu/default.nix
+++ b/pkgs/development/python-modules/kombu/default.nix
@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "kombu";
- version = "4.6.11";
+ version = "5.0.2";
src = fetchPypi {
inherit pname version;
- sha256 = "ca1b45faac8c0b18493d02a8571792f3c40291cf2bcf1f55afed3d8f3aa7ba74";
+ sha256 = "f4965fba0a4718d47d470beeb5d6446e3357a62402b16c510b6a2f251e05ac3c";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/kubernetes/default.nix b/pkgs/development/python-modules/kubernetes/default.nix
index d5ed1b4cc7c8..2679c81de0f0 100644
--- a/pkgs/development/python-modules/kubernetes/default.nix
+++ b/pkgs/development/python-modules/kubernetes/default.nix
@@ -4,7 +4,7 @@
buildPythonPackage rec {
pname = "kubernetes";
- version = "11.0.0";
+ version = "12.0.1";
prePatch = ''
sed -e 's/sphinx>=1.2.1,!=1.3b1,<1.4 # BSD/sphinx/' -i test-requirements.txt
@@ -24,7 +24,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "1a2472f8b01bc6aa87e3a34781f859bded5a5c8ff791a53d889a8bd6cc550430";
+ sha256 = "ec52ea01d52e2ec3da255992f7e859f3a76f2bdb51cf65ba8cd71dfc309d8daa";
};
checkInputs = [ isort coverage pytest mock sphinx autopep8 pep8 codecov recommonmark nose ];
diff --git a/pkgs/development/python-modules/labelbox/default.nix b/pkgs/development/python-modules/labelbox/default.nix
index 063a223cbd5a..0556411ee47e 100644
--- a/pkgs/development/python-modules/labelbox/default.nix
+++ b/pkgs/development/python-modules/labelbox/default.nix
@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "labelbox";
- version = "2.4.6";
+ version = "2.4.9";
src = fetchPypi {
inherit pname version;
- sha256 = "2be6c03dafce0a786cfab5d120196efccaf300cab5aee4d2fdad644b7bee1aef";
+ sha256 = "488fb0b2233738c3bba3d3bf67b941f105553b7286cca3099ac0120dd247bd84";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/lazy-object-proxy/default.nix b/pkgs/development/python-modules/lazy-object-proxy/default.nix
index fe6a02c3cd7d..dc2eecb002d4 100644
--- a/pkgs/development/python-modules/lazy-object-proxy/default.nix
+++ b/pkgs/development/python-modules/lazy-object-proxy/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "lazy-object-proxy";
- version = "1.5.1";
+ version = "1.5.2";
src = fetchPypi {
inherit pname version;
- sha256 = "9723364577b79ad9958a68851fe2acb94da6fd25170c595516a8289e6a129043";
+ sha256 = "5944a9b95e97de1980c65f03b79b356f30a43de48682b8bdd90aa5089f0ec1f4";
};
nativeBuildInputs = [ setuptools_scm ];
diff --git a/pkgs/development/python-modules/ldaptor/default.nix b/pkgs/development/python-modules/ldaptor/default.nix
index 817fe79c3c97..2a4550d6b423 100644
--- a/pkgs/development/python-modules/ldaptor/default.nix
+++ b/pkgs/development/python-modules/ldaptor/default.nix
@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "ldaptor";
- version = "19.1.0";
+ version = "20.1.1";
src = fetchPypi {
inherit pname version;
- sha256 = "64c7b870c77e34e4f5f9cfdf330b9702e89b4dd0f64275704f86c1468312c755";
+ sha256 = "778f45d68a0b5d63a892c804c05e57b464413a41d8ae52f92ae569321473ab67";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/libusb1/default.nix b/pkgs/development/python-modules/libusb1/default.nix
index 396f8c5b5c53..25c092200e7b 100644
--- a/pkgs/development/python-modules/libusb1/default.nix
+++ b/pkgs/development/python-modules/libusb1/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "libusb1";
- version = "1.8";
+ version = "1.8.1";
src = fetchPypi {
inherit pname version;
- sha256 = "240f65ac70ba3fab77749ec84a412e4e89624804cb80d6c9d394eef5af8878d6";
+ sha256 = "a8301a7e11ae44a03a46efc740022f8598ed55b6448b14ba68a63954ef18a240";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/line_profiler/default.nix b/pkgs/development/python-modules/line_profiler/default.nix
index 4275732881cd..b99e60b8199e 100644
--- a/pkgs/development/python-modules/line_profiler/default.nix
+++ b/pkgs/development/python-modules/line_profiler/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "line_profiler";
- version = "3.0.2";
+ version = "3.1.0";
src = fetchPypi {
inherit pname version;
- sha256 = "7218ad6bd81f8649b211974bf108933910f016d66b49651effe7bbf63667d141";
+ sha256 = "e73ff429236d59d48ce7028484becfa01449b3d52abdcf7337e0ff2acdc5093c";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/lmdb/default.nix b/pkgs/development/python-modules/lmdb/default.nix
index 328e5a428fca..76cd2acd7435 100644
--- a/pkgs/development/python-modules/lmdb/default.nix
+++ b/pkgs/development/python-modules/lmdb/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "lmdb";
- version = "0.99";
+ version = "1.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "f9eb844aaaacc8a4bc175e1c1f8a8fb538c330e378fd9eb40e8708d4dca7dc89";
+ sha256 = "4136ffdf0aad61da86d1402808029d002a771b2a9ccc9b39c6bcafa7847c21b6";
};
checkInputs = [ pytest cffi ];
diff --git a/pkgs/development/python-modules/lml/default.nix b/pkgs/development/python-modules/lml/default.nix
index c1320eef04ce..cdf1d46af73e 100644
--- a/pkgs/development/python-modules/lml/default.nix
+++ b/pkgs/development/python-modules/lml/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "lml";
- version = "0.0.9";
+ version = "0.1.0";
src = fetchPypi {
inherit pname version;
- sha256 = "6luoF7Styen1whclzSR1+RKTO34t/fB5Ku2AB3FU9j8=";
+ sha256 = "57a085a29bb7991d70d41c6c3144c560a8e35b4c1030ffb36d85fa058773bcc5";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/logzero/default.nix b/pkgs/development/python-modules/logzero/default.nix
index d5c7685832cf..015d387f27d8 100644
--- a/pkgs/development/python-modules/logzero/default.nix
+++ b/pkgs/development/python-modules/logzero/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "logzero";
- version = "1.5.0";
+ version = "1.6.3";
src = fetchPypi {
inherit pname version;
- sha256 = "0hli2wgwxxackrk1ybmlpdd0rzms6blm11zzwlvrzykd8cp1xyil";
+ sha256 = "1435284574e409b8ec8b680f276bca04cab41f93d6eff4dc8348b7630cddf560";
};
checkInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/markdown/default.nix b/pkgs/development/python-modules/markdown/default.nix
index c97f74a2f2ae..22b0d5c27f89 100644
--- a/pkgs/development/python-modules/markdown/default.nix
+++ b/pkgs/development/python-modules/markdown/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "Markdown";
- version = "3.2.2";
+ version = "3.3.3";
src = fetchPypi {
inherit pname version;
- sha256 = "1fafe3f1ecabfb514a5285fca634a53c1b32a81cb0feb154264d55bf2ff22c17";
+ sha256 = "5d9f2b5ca24bc4c7a390d22323ca4bad200368612b5aaa7796babf971d2b2f18";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/markdownsuperscript/default.nix b/pkgs/development/python-modules/markdownsuperscript/default.nix
index 5bbf47278ce7..6c2e6ab1b634 100644
--- a/pkgs/development/python-modules/markdownsuperscript/default.nix
+++ b/pkgs/development/python-modules/markdownsuperscript/default.nix
@@ -26,5 +26,6 @@ buildPythonPackage rec {
description = "An extension to the Python Markdown package enabling superscript text";
homepage = "https://github.com/jambonrose/markdown_superscript_extension";
license = stdenv.lib.licenses.bsd2;
+ broken = true; # unmaintained in nixpkgs, barely maintained in pypi, added 2020-11-29
};
}
diff --git a/pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix b/pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix
index 60a2704894b9..4bf670082b61 100644
--- a/pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix
+++ b/pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix
@@ -4,7 +4,7 @@
buildPythonPackage rec {
pname = "marshmallow-sqlalchemy";
- version = "0.23.1";
+ version = "0.24.1";
meta = {
homepage = "https://github.com/marshmallow-code/marshmallow-sqlalchemy";
@@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "0ef59c8da8da2e18e808e3880158049e9d72f3031c84cc804b6c533a0eb668a9";
+ sha256 = "d051cf013c075c43e1ee5c4b01f8fab6dd6b140dab6825be45875f674a0d289c";
};
propagatedBuildInputs = [ marshmallow sqlalchemy ];
diff --git a/pkgs/development/python-modules/marshmallow/default.nix b/pkgs/development/python-modules/marshmallow/default.nix
index cf54e38385df..afc378d4aaa8 100644
--- a/pkgs/development/python-modules/marshmallow/default.nix
+++ b/pkgs/development/python-modules/marshmallow/default.nix
@@ -4,7 +4,7 @@
buildPythonPackage rec {
pname = "marshmallow";
- version = "3.7.1";
+ version = "3.9.1";
disabled = isPy27;
meta = {
@@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "a2a5eefb4b75a3b43f05be1cca0b6686adf56af7465c3ca629e5ad8d1e1fe13d";
+ sha256 = "73facc37462dfc0b27f571bdaffbef7709e19f7a616beb3802ea425b07843f4e";
};
propagatedBuildInputs = [ dateutil simplejson ];
diff --git a/pkgs/development/python-modules/mathlibtools/default.nix b/pkgs/development/python-modules/mathlibtools/default.nix
index f9c1cf6839f0..969a91870b0f 100644
--- a/pkgs/development/python-modules/mathlibtools/default.nix
+++ b/pkgs/development/python-modules/mathlibtools/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "mathlibtools";
- version = "0.0.10";
+ version = "1.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0d708bgsxjhhchqc56afi1h7k87vbfn7v40f4y1zlv7hsjc69s36";
+ sha256 = "da41c65e206f55b1faea303581fc11215e52d6e6990b827336b2e1eb82aad96c";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/matplotlib/default.nix b/pkgs/development/python-modules/matplotlib/default.nix
index f8adc0d0986b..5ad3c92393d8 100644
--- a/pkgs/development/python-modules/matplotlib/default.nix
+++ b/pkgs/development/python-modules/matplotlib/default.nix
@@ -20,14 +20,14 @@ assert enableTk -> (tcl != null)
assert enableQt -> pyqt5 != null;
buildPythonPackage rec {
- version = "3.3.2";
+ version = "3.3.3";
pname = "matplotlib";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "3d2edbf59367f03cd9daf42939ca06383a7d7803e3993eb5ff1bee8e8a3fbb6b";
+ sha256 = "b1b60c6476c4cfe9e5cf8ab0d3127476fd3d5f05de0f343a452badaad0e4bdec";
};
XDG_RUNTIME_DIR = "/tmp";
diff --git a/pkgs/development/python-modules/mecab-python3/default.nix b/pkgs/development/python-modules/mecab-python3/default.nix
index edcf887b095d..e3abdaa70916 100644
--- a/pkgs/development/python-modules/mecab-python3/default.nix
+++ b/pkgs/development/python-modules/mecab-python3/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "mecab-python3";
- version = "1.0.2";
+ version = "1.0.3";
src = fetchPypi {
inherit pname version;
- sha256 = "eefdff160ba231acb21afab5c775bc2e024b3164c637a23b599b270d45feb32d";
+ sha256 = "62abe28a1155398325372291483608427bc82681fef80e7d132904415f9fd42e";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/minio/default.nix b/pkgs/development/python-modules/minio/default.nix
index 7799a7a9ef6d..00ea5b06c646 100644
--- a/pkgs/development/python-modules/minio/default.nix
+++ b/pkgs/development/python-modules/minio/default.nix
@@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "minio";
- version = "6.0.0";
+ version = "6.0.2";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "97d275ff01ddae45101eced0d9d5258f2869308c949b17d86a77b77a2a50b7b3";
+ sha256 = "acae9bfae0aec1b92025bd63e18135ebb4994c84600716c5323e14cb0c9a0b03";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/mlflow/default.nix b/pkgs/development/python-modules/mlflow/default.nix
index 1acd8bf56907..e86a27e1657f 100644
--- a/pkgs/development/python-modules/mlflow/default.nix
+++ b/pkgs/development/python-modules/mlflow/default.nix
@@ -25,12 +25,12 @@
buildPythonPackage rec {
pname = "mlflow";
- version = "1.10.0";
+ version = "1.12.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "11fe050373f3dbd422aa476c42cb0ed15467268bc1ad07e221e550bc54f94b75";
+ sha256 = "9b8af18d6e779fbbb094edfeb963691e485bba62eeec39fd62dfbe34bc12afeb";
};
# run into https://stackoverflow.com/questions/51203641/attributeerror-module-alembic-context-has-no-attribute-config
diff --git a/pkgs/development/python-modules/more-itertools/default.nix b/pkgs/development/python-modules/more-itertools/default.nix
index ec6ce4ed3b26..74c214d9231d 100644
--- a/pkgs/development/python-modules/more-itertools/default.nix
+++ b/pkgs/development/python-modules/more-itertools/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "more-itertools";
- version = "8.4.0";
+ version = "8.6.0";
src = fetchPypi {
inherit pname version;
- sha256 = "68c70cc7167bdf5c7c9d8f6954a7837089c6a36bf565383919bb595efb8a17e5";
+ sha256 = "b3a9005928e5bed54076e6e549c792b306fddfe72b2d1d22dd63d42d5d3899cf";
};
checkInputs = [ nose ];
diff --git a/pkgs/development/python-modules/multidict/default.nix b/pkgs/development/python-modules/multidict/default.nix
index d818a63cd5d0..43cbbbc6b777 100644
--- a/pkgs/development/python-modules/multidict/default.nix
+++ b/pkgs/development/python-modules/multidict/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "multidict";
- version = "4.7.6";
+ version = "5.0.2";
src = fetchPypi {
inherit pname version;
- sha256 = "fbb77a75e529021e7c4a8d4e823d88ef4d23674a202be4f5addffc72cbb91430";
+ sha256 = "e5bf89fe57f702a046c7ec718fe330ed50efd4bcf74722940db2eb0919cddb1c";
};
checkInputs = [ pytest pytestrunner pytestcov ];
diff --git a/pkgs/development/python-modules/munkres/default.nix b/pkgs/development/python-modules/munkres/default.nix
index 0df36385c0cd..3df0e2b01f3b 100644
--- a/pkgs/development/python-modules/munkres/default.nix
+++ b/pkgs/development/python-modules/munkres/default.nix
@@ -1,6 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
+, fetchpatch
, isPy3k
, pytestCheckHook
}:
@@ -16,6 +17,15 @@ buildPythonPackage rec {
sha256 = "fc44bf3c3979dada4b6b633ddeeb8ffbe8388ee9409e4d4e8310c2da1792db03";
};
+ patches = [
+ # Fixes test on 32-bit systems.
+ # Remove if https://github.com/bmc/munkres/pull/41 is merged.
+ (fetchpatch {
+ url = "https://github.com/bmc/munkres/commit/380a0d593a0569a761c4a035edaa4414c3b4b31d.patch";
+ sha256 = "0ga63k68r2080blzi04ajdl1m6xd87mmlqa8hxn9hyixrg1682vb";
+ })
+ ];
+
checkInputs = [ pytestCheckHook ];
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/natsort/default.nix b/pkgs/development/python-modules/natsort/default.nix
index bfe486e1a54a..e4c42496597e 100644
--- a/pkgs/development/python-modules/natsort/default.nix
+++ b/pkgs/development/python-modules/natsort/default.nix
@@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "natsort";
- version = "7.0.1";
+ version = "7.1.0";
checkInputs = [
pytest
@@ -27,7 +27,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "a633464dc3a22b305df0f27abcb3e83515898aa1fd0ed2f9726c3571a27258cf";
+ sha256 = "33f3f1003e2af4b4df20908fe62aa029999d136b966463746942efbfc821add3";
};
# Does not support Python 2
diff --git a/pkgs/development/python-modules/nbclient/default.nix b/pkgs/development/python-modules/nbclient/default.nix
index 168818caf666..f37cb3bc58f9 100644
--- a/pkgs/development/python-modules/nbclient/default.nix
+++ b/pkgs/development/python-modules/nbclient/default.nix
@@ -1,6 +1,7 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder,
async_generator, traitlets, nbformat, nest-asyncio, jupyter_client,
pytest, xmltodict, nbconvert, ipywidgets
+, doCheck ? true
}:
buildPythonPackage rec {
@@ -13,6 +14,7 @@ buildPythonPackage rec {
sha256 = "01e2d726d16eaf2cde6db74a87e2451453547e8832d142f73f72fddcd4fe0250";
};
+ inherit doCheck;
checkInputs = [ pytest xmltodict nbconvert ipywidgets ];
propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter_client ];
diff --git a/pkgs/development/python-modules/nbconvert/default.nix b/pkgs/development/python-modules/nbconvert/default.nix
index 49e4862999c7..582a6132c259 100644
--- a/pkgs/development/python-modules/nbconvert/default.nix
+++ b/pkgs/development/python-modules/nbconvert/default.nix
@@ -1,17 +1,18 @@
{ lib
, buildPythonPackage
, fetchPypi
-, pytest
-, nose
+, pytestCheckHook
, glibcLocales
, entrypoints
, bleach
, mistune
+, nbclient
, jinja2
, pygments
, traitlets
, testpath
, jupyter_core
+, jupyterlab-pygments
, nbformat
, ipykernel
, pandocfilters
@@ -22,28 +23,46 @@
buildPythonPackage rec {
pname = "nbconvert";
- version = "5.6.1";
+ version = "6.0.7";
src = fetchPypi {
inherit pname version;
- sha256 = "21fb48e700b43e82ba0e3142421a659d7739b65568cc832a13976a77be16b523";
+ sha256 = "cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002";
};
- checkInputs = [ nose pytest glibcLocales ];
+ checkInputs = [ pytestCheckHook glibcLocales ];
propagatedBuildInputs = [
entrypoints bleach mistune jinja2 pygments traitlets testpath
jupyter_core nbformat ipykernel pandocfilters tornado jupyter_client
defusedxml
+ (nbclient.override { doCheck = false; }) # avoid infinite recursion
+ jupyterlab-pygments
];
# disable preprocessor tests for ipython 7
# see issue https://github.com/jupyter/nbconvert/issues/898
- checkPhase = ''
+ preCheck = ''
export LC_ALL=en_US.UTF-8
- HOME=$(mktemp -d) py.test -v --ignore="nbconvert/preprocessors/tests/test_execute.py"
+ HOME=$(mktemp -d)
'';
+ pytestFlagsArray = [
+ "--ignore=nbconvert/preprocessors/tests/test_execute.py"
+ # can't resolve template paths within sandbox
+ "--ignore=nbconvert/tests/base.py"
+ "--ignore=nbconvert/tests/test_nbconvertapp.py"
+ ];
+
+
+ disabledTests = [
+ "test_export"
+ "test_webpdf_without_chromium"
+ #"test_cell_tag_output"
+ #"test_convert_from_stdin"
+ #"test_convert_full_qualified_name"
+ ];
+
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;
diff --git a/pkgs/development/python-modules/nbdime/default.nix b/pkgs/development/python-modules/nbdime/default.nix
index 7e774eed2962..1de21f3511a4 100644
--- a/pkgs/development/python-modules/nbdime/default.nix
+++ b/pkgs/development/python-modules/nbdime/default.nix
@@ -24,12 +24,12 @@
buildPythonPackage rec {
pname = "nbdime";
- version = "2.0.0";
+ version = "2.1.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "0pbi22mc5al29pvsw7bhai2d58i8n77gv09r7avr1wap6ni7jvw9";
+ sha256 = "4e3efdcfda31c3074cb565cd8e76e2e5421b1c4560c3a00c56f8679dd15590e5";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/neo/default.nix b/pkgs/development/python-modules/neo/default.nix
index 631beabea8a2..e5db8450e788 100644
--- a/pkgs/development/python-modules/neo/default.nix
+++ b/pkgs/development/python-modules/neo/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "neo";
- version = "0.8.0";
+ version = "0.9.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0n74miad4dadavnzi1hqlyzyk795x7qq2adp71i011534ixs70ik";
+ sha256 = "6e31c88d7c52174fa2512df589b2b5003e9471fde27fca9f315f4770ba3bd3cb";
};
propagatedBuildInputs = [ numpy quantities ];
diff --git a/pkgs/development/python-modules/nest-asyncio/default.nix b/pkgs/development/python-modules/nest-asyncio/default.nix
index 533977aa6d98..56c6044ba746 100644
--- a/pkgs/development/python-modules/nest-asyncio/default.nix
+++ b/pkgs/development/python-modules/nest-asyncio/default.nix
@@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
- version = "1.4.2";
+ version = "1.4.3";
pname = "nest_asyncio";
disabled = !(pythonAtLeast "3.5");
src = fetchPypi {
inherit pname version;
- sha256 = "c614fcfaca72b1f04778bc0e73f49c84500b3d045c49d149fc46f1566643c175";
+ sha256 = "eaa09ef1353ebefae19162ad423eef7a12166bcc63866f8bff8f3635353cd9fa";
};
# tests not packaged with source dist as of 1.3.2/1.3.2, and
diff --git a/pkgs/development/python-modules/networkx/default.nix b/pkgs/development/python-modules/networkx/default.nix
index 6075daf58467..27f6082ac568 100644
--- a/pkgs/development/python-modules/networkx/default.nix
+++ b/pkgs/development/python-modules/networkx/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "networkx";
# upgrade may break sage, please test the sage build or ping @timokau on upgrade
- version = "2.4";
+ version = "2.5";
src = fetchPypi {
inherit pname version;
- sha256 = "0r2wr7aqay9fwjrgk35fkjzk8lvvb4i4df7ndaqzkr4ndw5zzx7q";
+ sha256 = "7978955423fbc9639c10498878be59caf99b44dc304c2286162fd24b458c1602";
};
propagatedBuildInputs = [ decorator setuptools ];
diff --git a/pkgs/development/python-modules/notebook/default.nix b/pkgs/development/python-modules/notebook/default.nix
index 04fe19377f8e..116fa153cdad 100644
--- a/pkgs/development/python-modules/notebook/default.nix
+++ b/pkgs/development/python-modules/notebook/default.nix
@@ -28,12 +28,12 @@
buildPythonPackage rec {
pname = "notebook";
- version = "6.1.4";
+ version = "6.1.5";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "0cnyi4zd3byh7zixdj2q71axm31xgjiyfklh1c63c87acgwh2zb8";
+ sha256 = "3db37ae834c5f3b6378381229d0e5dfcbfb558d08c8ce646b1ad355147f5e91d";
};
LC_ALL = "en_US.utf8";
@@ -67,6 +67,7 @@ buildPythonPackage rec {
"TestInstallServerExtension"
"launch_socket"
"sock_server"
+ "test_list_formats" # tries to find python MIME type
] ++ lib.optional stdenv.isDarwin [
"test_delete"
"test_checkpoints_follow_file"
diff --git a/pkgs/development/python-modules/notify-py/default.nix b/pkgs/development/python-modules/notify-py/default.nix
index 4772fc295349..46c72fb69794 100644
--- a/pkgs/development/python-modules/notify-py/default.nix
+++ b/pkgs/development/python-modules/notify-py/default.nix
@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "notify_py";
- version = "0.2.4";
+ version = "0.3.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "2a19273a476c8b003baa96650d00a81c5981c3a17ada748bc0a73aefad46d977";
+ sha256 = "5ba696d18ffe1d7070f3d0a5b4923fee4d6c863de6843af105bec0ce9915ebad";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/numericalunits/default.nix b/pkgs/development/python-modules/numericalunits/default.nix
index 208178f5e11b..f628daf833b4 100644
--- a/pkgs/development/python-modules/numericalunits/default.nix
+++ b/pkgs/development/python-modules/numericalunits/default.nix
@@ -5,12 +5,12 @@
}:
buildPythonPackage rec {
- version = "1.24";
+ version = "1.25";
pname = "numericalunits";
src = fetchPypi {
inherit pname version;
- sha256 = "0wn7kqp0rxqr6gnqhdn8pc0wy359krzan0kbika6hfvb0c1rw1hs";
+ sha256 = "c32a482adae818a1a8d6c799bf9fb153326461d490c0de9deab9c694a6537eec";
};
disabled = !isPy3k;
diff --git a/pkgs/development/python-modules/numpy-stl/default.nix b/pkgs/development/python-modules/numpy-stl/default.nix
index 2207d4244edc..cb43084556e8 100644
--- a/pkgs/development/python-modules/numpy-stl/default.nix
+++ b/pkgs/development/python-modules/numpy-stl/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "numpy-stl";
- version = "2.12.0";
+ version = "2.13.0";
src = fetchPypi {
inherit pname version;
- sha256 = "10912d7749ab02b0ee2ee61fc04c38fa211fc9d00a9b73a7d1c2465c53c1abf5";
+ sha256 = "648386e6cdad3218adc4e3e6a349bee41c55a61980dace616c05d6a31e8c652d";
};
checkInputs = [ pytest pytestrunner ];
diff --git a/pkgs/development/python-modules/numpy/default.nix b/pkgs/development/python-modules/numpy/default.nix
index 622f784fb8ba..51eeab3177e2 100644
--- a/pkgs/development/python-modules/numpy/default.nix
+++ b/pkgs/development/python-modules/numpy/default.nix
@@ -4,13 +4,14 @@
, buildPythonPackage
, gfortran
, hypothesis
-, pytest
+, pytest_5
, blas
, lapack
, writeTextFile
, isPyPy
, cython
, setuptoolsBuildHook
+, fetchpatch
}:
assert (!blas.isILP64) && (!lapack.isILP64);
@@ -48,10 +49,16 @@ in buildPythonPackage rec {
sha256 = "141ec3a3300ab89c7f2b0775289954d193cc8edb621ea05f99db9cb181530512";
};
- nativeBuildInputs = [ gfortran pytest cython setuptoolsBuildHook ];
+ nativeBuildInputs = [ gfortran cython setuptoolsBuildHook ];
buildInputs = [ blas lapack ];
- patches = lib.optionals python.hasDistutilsCxxPatch [
+ patches = [
+ # For compatibility with newer pytest
+ (fetchpatch {
+ url = "https://github.com/numpy/numpy/commit/ba315034759fbf91c61bb55390edc86e7b2627f3.patch";
+ sha256 = "F2P5q61CyhqsZfwkLmxb7A9YdE+43FXLbQkSjop2rVY=";
+ })
+ ] ++ lib.optionals python.hasDistutilsCxxPatch [
# We patch cpython/distutils to fix https://bugs.python.org/issue1222585
# Patching of numpy.distutils is needed to prevent it from undoing the
# patch to distutils.
@@ -75,7 +82,10 @@ in buildPythonPackage rec {
doCheck = !isPyPy; # numpy 1.16+ hits a bug in pypy's ctypes, using either numpy or pypy HEAD fixes this (https://github.com/numpy/numpy/issues/13807)
- checkInputs = [ hypothesis ];
+ checkInputs = [
+ pytest_5 # pytest 6 will error: "module is already imported: hypothesis"
+ hypothesis
+ ];
checkPhase = ''
runHook preCheck
diff --git a/pkgs/development/python-modules/nunavut/default.nix b/pkgs/development/python-modules/nunavut/default.nix
index 1c25d6acd55b..8b2943ba363a 100644
--- a/pkgs/development/python-modules/nunavut/default.nix
+++ b/pkgs/development/python-modules/nunavut/default.nix
@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "nunavut";
- version = "0.3.9";
+ version = "0.6.2";
disabled = pythonOlder "3.5"; # only python>=3.5 is supported
src = fetchPypi {
inherit pname version;
- sha256 = "1f2f42f058afd30456e47b6b92a6b7b15100f6bca0a29108ace95bd5147a8e86";
+ sha256 = "48b6802722d78542ca5d7bbc0d6aa9b0a31e1be0070c47b41527f227eb6a1443";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/opentracing/default.nix b/pkgs/development/python-modules/opentracing/default.nix
index f499470e25c7..8e4ece43fd7b 100644
--- a/pkgs/development/python-modules/opentracing/default.nix
+++ b/pkgs/development/python-modules/opentracing/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "opentracing";
- version = "2.3.0";
+ version = "2.4.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0rcpmhy7hm6ljlm1w455il53s1amq2vii2x1wfkrcx3sj4s0dc9k";
+ sha256 = "a173117e6ef580d55874734d1fa7ecb6f3655160b8b8974a2a1e98e5ec9c840d";
};
propagatedBuildInputs = lib.optional isPy27 futures;
diff --git a/pkgs/development/python-modules/outcome/default.nix b/pkgs/development/python-modules/outcome/default.nix
index 6e7593cec1c3..f03307ead147 100644
--- a/pkgs/development/python-modules/outcome/default.nix
+++ b/pkgs/development/python-modules/outcome/default.nix
@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "outcome";
- version = "1.0.1";
+ version = "1.1.0";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
- sha256 = "fc7822068ba7dd0fc2532743611e8a73246708d3564e29a39f93d6ab3701b66f";
+ sha256 = "e862f01d4e626e63e8f92c38d1f8d5546d3f9cce989263c521b2e7990d186967";
};
checkInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/packaging/2.nix b/pkgs/development/python-modules/packaging/2.nix
new file mode 100644
index 000000000000..36764e64b860
--- /dev/null
+++ b/pkgs/development/python-modules/packaging/2.nix
@@ -0,0 +1,40 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, pyparsing
+, six
+, pytestCheckHook
+, pretend
+, flit-core
+}:
+
+# We keep 20.4 because it uses setuptools instead of flit-core
+# which requires Python 3 to build a universal wheel.
+
+buildPythonPackage rec {
+ pname = "packaging";
+ version = "20.4";
+ format = "setuptools";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8";
+ };
+
+ propagatedBuildInputs = [ pyparsing six ];
+
+ checkInputs = [
+ pytestCheckHook
+ pretend
+ ];
+
+ # Prevent circular dependency
+ doCheck = false;
+
+ meta = with stdenv.lib; {
+ description = "Core utilities for Python packages";
+ homepage = "https://github.com/pypa/packaging";
+ license = [ licenses.bsd2 licenses.asl20 ];
+ maintainers = with maintainers; [ bennofs ];
+ };
+}
diff --git a/pkgs/development/python-modules/packaging/default.nix b/pkgs/development/python-modules/packaging/default.nix
index abe58d03ef37..061e8edaac6f 100644
--- a/pkgs/development/python-modules/packaging/default.nix
+++ b/pkgs/development/python-modules/packaging/default.nix
@@ -1,18 +1,33 @@
-{ stdenv, buildPythonPackage, fetchPypi
-, pyparsing, six, pytest, pretend }:
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, pyparsing
+, six
+, pytestCheckHook
+, pretend
+, flit-core
+}:
buildPythonPackage rec {
pname = "packaging";
- version = "20.4";
+ version = "20.7";
+ format = "pyproject";
src = fetchPypi {
inherit pname version;
- sha256 = "4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8";
+ sha256 = "Ba87uF0yA3fbKBzyVKsFDhp+vL9UEGhamkB+GKH4EjY=";
};
+ nativeBuildInputs = [
+ flit-core
+ ];
+
propagatedBuildInputs = [ pyparsing six ];
- checkInputs = [ pytest pretend ];
+ checkInputs = [
+ pytestCheckHook
+ pretend
+ ];
checkPhase = ''
py.test tests
diff --git a/pkgs/development/python-modules/pamqp/default.nix b/pkgs/development/python-modules/pamqp/default.nix
index 09cda2797300..8353e8d7895f 100644
--- a/pkgs/development/python-modules/pamqp/default.nix
+++ b/pkgs/development/python-modules/pamqp/default.nix
@@ -9,12 +9,12 @@
}:
buildPythonPackage rec {
- version = "2.3.0";
+ version = "3.0.1";
pname = "pamqp";
src = fetchPypi {
inherit pname version;
- sha256 = "1s4lwbsiikz3czqad7jarb7k303q0wamla0rirghvwl9bslgbl2w";
+ sha256 = "0a9b49bde3f554ec49b47ebdb789133979985f24d5f4698935ed589a2d4392a4";
};
buildInputs = [ mock nose pep8 pylint mccabe ];
diff --git a/pkgs/development/python-modules/panel/default.nix b/pkgs/development/python-modules/panel/default.nix
index 0fc7bf7ee291..10dafc0072a3 100644
--- a/pkgs/development/python-modules/panel/default.nix
+++ b/pkgs/development/python-modules/panel/default.nix
@@ -13,6 +13,8 @@
buildPythonPackage rec {
pname = "panel";
version = "0.9.7";
+ # Version 10 attempts to download models from the web during build-time
+ # https://github.com/holoviz/panel/issues/1819
src = fetchPypi {
inherit pname version;
diff --git a/pkgs/development/python-modules/papermill/default.nix b/pkgs/development/python-modules/papermill/default.nix
index 0e5c62277af2..56536de8446b 100644
--- a/pkgs/development/python-modules/papermill/default.nix
+++ b/pkgs/development/python-modules/papermill/default.nix
@@ -25,11 +25,11 @@
buildPythonPackage rec {
pname = "papermill";
- version = "2.1.3";
+ version = "2.2.2";
src = fetchPypi {
inherit pname version;
- sha256 = "ecd4cafa9179693b0eedc3b6f4560f9ee47826a6e366e42bfa3cc20f7931b3f8";
+ sha256 = "1c452b1c5a9ab52b94c99d8b7705ae7173f6aa88a3d28a5d30cffba48a46f5b6";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/parfive/default.nix b/pkgs/development/python-modules/parfive/default.nix
index a6dacf0402ee..45f4a66f2605 100644
--- a/pkgs/development/python-modules/parfive/default.nix
+++ b/pkgs/development/python-modules/parfive/default.nix
@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "parfive";
- version = "1.1.1";
+ version = "1.2.0";
src = fetchPypi {
inherit pname version;
- sha256 = "5793fdf9859a9a9fc93f033db9dc067a89626910355a14bbe425feb3956df6db";
+ sha256 = "118a0994bbb9536fd4574995a8485b6c4b97db247c55bc86ae4f4ae8fd9b0add";
};
buildInputs = [
diff --git a/pkgs/development/python-modules/patator/default.nix b/pkgs/development/python-modules/patator/default.nix
index 46601c167553..81d9e50b28ff 100644
--- a/pkgs/development/python-modules/patator/default.nix
+++ b/pkgs/development/python-modules/patator/default.nix
@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "patator";
- version = "0.7";
+ version = "0.9";
disabled = !(isPy3k);
src = fetchPypi {
inherit pname version;
- sha256 = "335e432e6cc591437e316ba8c1da935484ca39fc79e595ccf60ccd9166e965f1";
+ sha256 = "68cb24bdc3042ee0d47a288b19a8b99a6c54bdbd4ddf0c5817d9b9ac0a0d8a15";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/pathspec/default.nix b/pkgs/development/python-modules/pathspec/default.nix
index bb52cd51a141..cd51747d5678 100644
--- a/pkgs/development/python-modules/pathspec/default.nix
+++ b/pkgs/development/python-modules/pathspec/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "pathspec";
- version = "0.8.0";
+ version = "0.8.1";
src = fetchPypi {
inherit pname version;
- sha256 = "da45173eb3a6f2a5a487efba21f050af2b41948be6ab52b6a1e3ff22bb8b7061";
+ sha256 = "86379d6b86d75816baba717e64b1a3a3469deb93bb76d613c9ce79edc5cb68fd";
};
meta = {
diff --git a/pkgs/development/python-modules/pbr/default.nix b/pkgs/development/python-modules/pbr/default.nix
index 5e0be5fb62b0..bc7c6399473b 100644
--- a/pkgs/development/python-modules/pbr/default.nix
+++ b/pkgs/development/python-modules/pbr/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pbr";
- version = "5.4.5";
+ version = "5.5.1";
src = fetchPypi {
inherit pname version;
- sha256 = "07f558fece33b05caf857474a366dfcc00562bca13dd8b47b2b3e22d9f9bf55c";
+ sha256 = "5fad80b613c402d5b7df7bd84812548b2a61e9977387a80a5fc5c396492b13c9";
};
# circular dependencies with fixtures
diff --git a/pkgs/development/python-modules/pc-ble-driver-py/default.nix b/pkgs/development/python-modules/pc-ble-driver-py/default.nix
index 64430ca7e1f0..e85df06b5002 100644
--- a/pkgs/development/python-modules/pc-ble-driver-py/default.nix
+++ b/pkgs/development/python-modules/pc-ble-driver-py/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchFromGitHub, cmake, git, swig, boost, udev, pc-ble-driver, pythonOlder
-, buildPythonPackage, enum34, wrapt, future, setuptools, scikit-build }:
+, buildPythonPackage, enum34, wrapt, future, setuptools, scikit-build, pythonAtLeast }:
buildPythonPackage rec {
pname = "pc-ble-driver-py";
version = "0.14.2";
- disabled = pythonOlder "3.6";
+ disabled = pythonOlder "3.6" || pythonAtLeast "3.9";
src = fetchFromGitHub {
owner = "NordicSemiconductor";
diff --git a/pkgs/development/python-modules/pdoc3/default.nix b/pkgs/development/python-modules/pdoc3/default.nix
index e1f68109c055..d544f27b988b 100644
--- a/pkgs/development/python-modules/pdoc3/default.nix
+++ b/pkgs/development/python-modules/pdoc3/default.nix
@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "pdoc3";
- version = "0.9.1";
+ version = "0.9.2";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
- sha256 = "15482rvpg5r70gippj3nbl58x9plgmgvp0rg4xi4dpdqhma8v171";
+ sha256 = "9df5d931f25f353c69c46819a3bd03ef96dd286f2a70bb1b93a23a781f91faa1";
};
nativeBuildInputs = [ setuptools-git setuptools_scm ];
diff --git a/pkgs/development/python-modules/pex/default.nix b/pkgs/development/python-modules/pex/default.nix
index 78bb61d03cfb..0bbbf551f280 100644
--- a/pkgs/development/python-modules/pex/default.nix
+++ b/pkgs/development/python-modules/pex/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "pex";
- version = "2.1.20";
+ version = "2.1.21";
src = fetchPypi {
inherit pname version;
- sha256 = "2f1cf9721aa5fce93b034d2a18922d34d6f5fb81236ab3a955706226b15658fd";
+ sha256 = "d580a26da1b342ab2ebbf675ba2bab04e98c4d1aaf2a6fea09f41d68dfc466ba";
};
nativeBuildInputs = [ setuptools ];
diff --git a/pkgs/development/python-modules/pglast/default.nix b/pkgs/development/python-modules/pglast/default.nix
index 032524fc5df3..767140e6bf8f 100644
--- a/pkgs/development/python-modules/pglast/default.nix
+++ b/pkgs/development/python-modules/pglast/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "pglast";
- version = "1.12";
+ version = "1.14";
src = fetchPypi {
inherit pname version;
- sha256 = "b5d6a105928d2285e43afb87d638ada844ed8933cc306c23a3c095684f3d3af4";
+ sha256 = "72652b9edc7bdbfc9c3192235fb2fa1b2fb73a681613368fcaec747d7f5e479f";
};
disabled = !isPy3k;
diff --git a/pkgs/development/python-modules/phonenumbers/default.nix b/pkgs/development/python-modules/phonenumbers/default.nix
index 5f961b8e18ea..62149a788665 100644
--- a/pkgs/development/python-modules/phonenumbers/default.nix
+++ b/pkgs/development/python-modules/phonenumbers/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "phonenumbers";
- version = "8.12.12";
+ version = "8.12.13";
src = fetchPypi {
inherit pname version;
- sha256 = "70aa98a50ba7bc7f6bf17851f806c927107e7c44e7d21eb46bdbec07b99d23ae";
+ sha256 = "96d02120a3481e22d8a8eb5e4595ceec1930855749f6e4a06ef931881f59f562";
};
meta = {
diff --git a/pkgs/development/python-modules/pikepdf/default.nix b/pkgs/development/python-modules/pikepdf/default.nix
index 3db9a2642c7c..a5f512fae97f 100644
--- a/pkgs/development/python-modules/pikepdf/default.nix
+++ b/pkgs/development/python-modules/pikepdf/default.nix
@@ -7,11 +7,12 @@
, lxml
, pillow
, pybind11
-, pytest
+, pytestCheckHook
, pytest-helpers-namespace
, pytest-timeout
, pytest_xdist
, pytestrunner
+, python-dateutil
, python-xmp-toolkit
, python3
, qpdf
@@ -22,12 +23,12 @@
buildPythonPackage rec {
pname = "pikepdf";
- version = "1.18.0";
+ version = "2.2.0";
disabled = ! isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "4d0840a5c16b535f9b6e56fb4421a43f88760e6cabcf7fd44bdd0436107b61dc";
+ sha256 = "74300a32c41b3d578772f6933f23a88b19f74484185e71e5225ce2f7ea5aea78";
};
buildInputs = [
@@ -44,11 +45,12 @@ buildPythonPackage rec {
attrs
hypothesis
pillow
- pytest
+ pytestCheckHook
pytest-helpers-namespace
pytest-timeout
pytest_xdist
pytestrunner
+ python-dateutil
python-xmp-toolkit
];
diff --git a/pkgs/development/python-modules/pillow/default.nix b/pkgs/development/python-modules/pillow/default.nix
index ab971e4201b5..199bdae8fc25 100644
--- a/pkgs/development/python-modules/pillow/default.nix
+++ b/pkgs/development/python-modules/pillow/default.nix
@@ -8,13 +8,13 @@
buildPythonPackage rec {
pname = "Pillow";
- version = "7.2.0";
+ version = "8.0.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "97f9e7953a77d5a70f49b9a48da7776dc51e9b738151b22dacf101641594a626";
+ sha256 = "11c5c6e9b02c9dac08af04f093eb5a2f84857df70a7d4a6a6ad461aca803fb9e";
};
# Disable imagefont tests, because they don't work well with infinality:
diff --git a/pkgs/development/python-modules/pip-tools/default.nix b/pkgs/development/python-modules/pip-tools/default.nix
index 4eded1a6210a..0952c7056c31 100644
--- a/pkgs/development/python-modules/pip-tools/default.nix
+++ b/pkgs/development/python-modules/pip-tools/default.nix
@@ -7,7 +7,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "084z41f8mh9g7pnmbqd2cn5dq3v05qjcrnj1ifpn2nfny86rklx4";
+ sha256 = "a4d3990df2d65961af8b41dacc242e600fdc8a65a2e155ed3d2fc18a5c209f20";
};
LC_ALL = "en_US.UTF-8";
diff --git a/pkgs/development/python-modules/pip/default.nix b/pkgs/development/python-modules/pip/default.nix
index d451ca4a9b25..f35ed6b3d116 100644
--- a/pkgs/development/python-modules/pip/default.nix
+++ b/pkgs/development/python-modules/pip/default.nix
@@ -10,32 +10,23 @@
, pytest
, setuptools
, wheel
-, isPy27
-, fetchpatch
}:
buildPythonPackage rec {
pname = "pip";
- version = "20.2.4";
+ version = "20.3";
format = "other";
src = fetchFromGitHub {
owner = "pypa";
repo = pname;
rev = version;
- sha256 = "eMVV4ftgV71HLQsSeaOchYlfaJVgzNrwUynn3SA1/Do=";
+ sha256 = "e/2/0MrGY3myELmvuTAbNfXCBuT8kmvz9qTwITdDtQU=";
name = "${pname}-${version}-source";
};
nativeBuildInputs = [ bootstrapped-pip ];
- patches = lib.optionals isPy27 [
- (fetchpatch {
- url = "https://github.com/pypa/pip/commit/94fbb6cf78c267bf7cdf83eeeb2536ad56cfe639.patch";
- sha256 = "Z6x5yxBp8QkU/GOfb1ltI0dVt//MaI09XK3cdY42kFs=";
- })
- ];
-
# pip detects that we already have bootstrapped_pip "installed", so we need
# to force it a little.
pipInstallFlags = [ "--ignore-installed" ];
diff --git a/pkgs/development/python-modules/pkginfo/default.nix b/pkgs/development/python-modules/pkginfo/default.nix
index 55c954c20f94..7a0fc2080702 100644
--- a/pkgs/development/python-modules/pkginfo/default.nix
+++ b/pkgs/development/python-modules/pkginfo/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pkginfo";
- version = "1.5.0.1";
+ version = "1.6.1";
src = fetchPypi {
inherit pname version;
- sha256 = "7424f2c8511c186cd5424bbf31045b77435b37a8d604990b79d4e70d741148bb";
+ sha256 = "a6a4ac943b496745cec21f14f021bbd869d5e9b4f6ec06918cffea5a2f4b9193";
};
doCheck = false; # I don't know why, but with doCheck = true it fails.
diff --git a/pkgs/development/python-modules/plaid-python/default.nix b/pkgs/development/python-modules/plaid-python/default.nix
index 6d9756d11fba..aa329953a391 100644
--- a/pkgs/development/python-modules/plaid-python/default.nix
+++ b/pkgs/development/python-modules/plaid-python/default.nix
@@ -1,12 +1,12 @@
{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
buildPythonPackage rec {
- version = "7.1.0";
+ version = "7.2.0";
pname = "plaid-python";
src = fetchPypi {
inherit pname version;
- sha256 = "04mm1iqpmd6qwxmkm85k263avd42xvsmjsa24r8ggfjcw0w4lq6j";
+ sha256 = "bd599b384f94d8883344925f0ef223e1ab50f218872434aa40ba8c645937699c";
};
checkInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/plotly/default.nix b/pkgs/development/python-modules/plotly/default.nix
index cc33babd64ba..f11cf1c0984c 100644
--- a/pkgs/development/python-modules/plotly/default.nix
+++ b/pkgs/development/python-modules/plotly/default.nix
@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "plotly";
- version = "4.9.0";
+ version = "4.13.0";
src = fetchPypi {
inherit pname version;
- sha256 = "257f530ffd73754bd008454826905657b329053364597479bb9774437a396837";
+ sha256 = "20df14f7883807f57d96ac245841e086a1799f2c2778462a7f3bca704e369c66";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/plyvel/default.nix b/pkgs/development/python-modules/plyvel/default.nix
index 9b9b453e56a1..c768c606ca8a 100644
--- a/pkgs/development/python-modules/plyvel/default.nix
+++ b/pkgs/development/python-modules/plyvel/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "plyvel";
- version = "1.2.0";
+ version = "1.3.0";
src = fetchPypi {
inherit pname version;
- sha256 = "1xkgj58i66w4h6gwp6fn6xj5nkrad6kxz3byhy9q1j94jml1ns1x";
+ sha256 = "a7a09033a0fd33ca47094e8bbe01714abfcf644f4b7a337d3970e91a2599e2c4";
};
buildInputs = [ pkgs.leveldb ] ++ stdenv.lib.optional isPy3k pytest;
diff --git a/pkgs/development/python-modules/poetry-core/default.nix b/pkgs/development/python-modules/poetry-core/default.nix
index 6f96a611168c..d5d4e36d3a37 100644
--- a/pkgs/development/python-modules/poetry-core/default.nix
+++ b/pkgs/development/python-modules/poetry-core/default.nix
@@ -35,7 +35,6 @@ buildPythonPackage rec {
];
checkInputs = [
- isort
pep517
pytest-mock
pytestCheckHook
diff --git a/pkgs/development/python-modules/pony/default.nix b/pkgs/development/python-modules/pony/default.nix
index c69e4fc4867c..1ed0a7cafffb 100644
--- a/pkgs/development/python-modules/pony/default.nix
+++ b/pkgs/development/python-modules/pony/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pony";
- version = "0.7.13";
+ version = "0.7.14";
src = fetchPypi {
inherit pname version;
- sha256 = "1fqc45m106xfy4hhzzwb8p7s2fh5x2x7s143dib84lbszqwp77la";
+ sha256 = "2f01e84e79ea7a14040225cb6c079bb266e7ba147346356c266490b18c77ce82";
};
doCheck = true;
diff --git a/pkgs/development/python-modules/pooch/default.nix b/pkgs/development/python-modules/pooch/default.nix
index 378035bb7a51..6530cbd4a5d1 100644
--- a/pkgs/development/python-modules/pooch/default.nix
+++ b/pkgs/development/python-modules/pooch/default.nix
@@ -10,17 +10,19 @@
buildPythonPackage rec {
pname = "pooch";
- version = "1.0.0";
+ version = "1.3.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "1k2vinlhkzl7lzhvbz20x3a2r2zqqila0yxg3a3fax2r6qxbxxzi";
+ sha256 = "30d448e825904e2d763bbbe418831a788813c32f636b21c8d60ee5f474532898";
};
propagatedBuildInputs = [ packaging appdirs requests ];
+ preCheck = "HOME=$TMPDIR";
checkInputs = [ pytestCheckHook ];
+ # tries to touch network
disabledTests = [
"pooch_custom_url"
"pooch_download"
@@ -29,6 +31,8 @@ buildPythonPackage rec {
"pooch_corrupted"
"check_availability"
"downloader"
+ "test_retrieve"
+ "test_stream_download"
"test_fetch"
"decompress"
"extractprocessor_fails"
diff --git a/pkgs/development/python-modules/portend/default.nix b/pkgs/development/python-modules/portend/default.nix
index b5650f7dda01..280cadf4db4e 100644
--- a/pkgs/development/python-modules/portend/default.nix
+++ b/pkgs/development/python-modules/portend/default.nix
@@ -3,14 +3,13 @@
buildPythonPackage rec {
pname = "portend";
- version = "2.6";
+ version = "2.7.0";
src = fetchPypi {
inherit pname version;
- sha256 = "600dd54175e17e9347e5f3d4217aa8bcf4bf4fa5ffbc4df034e5ec1ba7cdaff5";
+ sha256 = "ac0e57ae557f75dc47467579980af152e8f60bc2139547eff8469777d9110379";
};
- patches = [ ./black-19.10b0.patch ];
postPatch = ''
substituteInPlace pytest.ini --replace "--flake8" ""
'';
diff --git a/pkgs/development/python-modules/preshed/default.nix b/pkgs/development/python-modules/preshed/default.nix
index c408782a423b..a544d6fab910 100644
--- a/pkgs/development/python-modules/preshed/default.nix
+++ b/pkgs/development/python-modules/preshed/default.nix
@@ -9,11 +9,11 @@
}:
buildPythonPackage rec {
pname = "preshed";
- version = "3.0.3";
+ version = "3.0.4";
src = fetchPypi {
inherit pname version;
- sha256 = "8ad47d5d2688fabc66850f32c7b6d3b4a97e6b653726309fe09603edd6fceb23";
+ sha256 = "13a779205d55ce323976ac06df597f9ec2d6f0563ebcf5652176cf4520c7d540";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/prettytable/default.nix b/pkgs/development/python-modules/prettytable/default.nix
index bf1035316a69..bc8bd3f835d6 100644
--- a/pkgs/development/python-modules/prettytable/default.nix
+++ b/pkgs/development/python-modules/prettytable/default.nix
@@ -2,23 +2,32 @@
, buildPythonPackage
, fetchPypi
, glibcLocales
+, setuptools_scm
+, wcwidth
}:
buildPythonPackage rec {
pname = "prettytable";
- version = "0.7.2";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "1ndckiniasacfqcdafzs04plskrcigk7vxprr2y34jmpkpf60m1d";
+ sha256 = "e37acd91976fe6119172771520e58d1742c8479703489321dc1d9c85e7259922";
};
+ nativeBuildInputs = [ setuptools_scm ];
buildInputs = [ glibcLocales ];
+ propagatedBuildInputs = [ wcwidth ];
+
preCheck = ''
export LANG="en_US.UTF-8"
'';
+ # no test no longer available in pypi package
+ doCheck = false;
+ pythonImportsCheck = [ "prettytable" ];
+
meta = with stdenv.lib; {
description = "Simple Python library for easily displaying tabular data in a visually appealing ASCII table format";
homepage = "http://code.google.com/p/prettytable/";
diff --git a/pkgs/development/python-modules/prometheus_client/default.nix b/pkgs/development/python-modules/prometheus_client/default.nix
index 8f608666d720..e4cf4e85af0f 100644
--- a/pkgs/development/python-modules/prometheus_client/default.nix
+++ b/pkgs/development/python-modules/prometheus_client/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "prometheus_client";
- version = "0.8.0";
+ version = "0.9.0";
src = fetchPypi {
inherit pname version;
- sha256 = "c6e6b706833a6bd1fd51711299edee907857be10ece535126a158f911ee80915";
+ sha256 = "9da7b32f02439d8c04f7777021c304ed51d9ec180604700c1ba72a4d44dceb03";
};
doCheck = false;
diff --git a/pkgs/development/python-modules/prov/default.nix b/pkgs/development/python-modules/prov/default.nix
index 1dfc671c532b..3844a0fade9e 100644
--- a/pkgs/development/python-modules/prov/default.nix
+++ b/pkgs/development/python-modules/prov/default.nix
@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "prov";
- version = "1.5.3";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "1a9h406laclxalmdny37m0yyw7y17n359akclbahimdggq853jd0";
+ sha256 = "b6438f2195ecb9f6e8279b58971e02bc51814599b5d5383366eef91d867422ee";
};
prePatch = ''
diff --git a/pkgs/development/python-modules/py3status/default.nix b/pkgs/development/python-modules/py3status/default.nix
index a99dacf6204b..03f142a8aba6 100644
--- a/pkgs/development/python-modules/py3status/default.nix
+++ b/pkgs/development/python-modules/py3status/default.nix
@@ -24,11 +24,11 @@
buildPythonPackage rec {
pname = "py3status";
- version = "3.28";
+ version = "3.31";
src = fetchPypi {
inherit pname version;
- sha256 = "103c63f43ddfd86e5a3f0bebb34b0f2eaaf6dbd58281d25c8a16937eb8e7f194";
+ sha256 = "426cff33c1d3a5ee6ae388089fd41dc47c4221800f43bd51779f823c781fb83b";
};
doCheck = false;
diff --git a/pkgs/development/python-modules/pyTelegramBotAPI/default.nix b/pkgs/development/python-modules/pyTelegramBotAPI/default.nix
index 2ecdfb17aa2d..ea5c93dbeaa1 100644
--- a/pkgs/development/python-modules/pyTelegramBotAPI/default.nix
+++ b/pkgs/development/python-modules/pyTelegramBotAPI/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pyTelegramBotAPI";
- version = "3.7.3";
+ version = "3.7.4";
src = fetchPypi {
inherit pname version;
- sha256 = "ce42d84442ff2ce4918de6550cf377253f61e28e4fac2634495683d12df66d00";
+ sha256 = "9b95f441c390fd30a4452a984406310f60a7f4803df57860ccb6a79881506c46";
};
propagatedBuildInputs = [ requests ];
diff --git a/pkgs/development/python-modules/pybids/default.nix b/pkgs/development/python-modules/pybids/default.nix
index d6d66e754952..9cca6cf57efc 100644
--- a/pkgs/development/python-modules/pybids/default.nix
+++ b/pkgs/development/python-modules/pybids/default.nix
@@ -16,12 +16,12 @@
}:
buildPythonPackage rec {
- version = "0.12.3";
+ version = "0.12.4";
pname = "pybids";
src = fetchPypi {
inherit pname version;
- sha256 = "a084172ae5b26a5f26b17186ade98400cda52d9244d9f0b329041741ea82b5db";
+ sha256 = "830f3f518ab0d2e058e9ba6d6ff9a942792909c874433b3ad58a3339a23f46bf";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/pybtex/default.nix b/pkgs/development/python-modules/pybtex/default.nix
index dd258f427188..a62e7e27f9cf 100644
--- a/pkgs/development/python-modules/pybtex/default.nix
+++ b/pkgs/development/python-modules/pybtex/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildPythonPackage, fetchPypi, latexcodec, pyyaml }:
buildPythonPackage rec {
- version = "0.22.2";
+ version = "0.23.0";
pname = "pybtex";
doCheck = false;
@@ -9,7 +9,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit version pname;
- sha256 = "00816e5f8570609d8ce3360cd23916bd3e50428a3508127578fdb4dc2b731c1c";
+ sha256 = "b92be18ccd5e9a37895949dcf359a1f6890246b73646dddf1129178ee12e4bef";
};
meta = {
diff --git a/pkgs/development/python-modules/pycapnp/default.nix b/pkgs/development/python-modules/pycapnp/default.nix
index 629fdd0114d8..1997021ce010 100644
--- a/pkgs/development/python-modules/pycapnp/default.nix
+++ b/pkgs/development/python-modules/pycapnp/default.nix
@@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "pycapnp";
- version = "0.6.4";
+ version = "1.0.0";
disabled = isPyPy || isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "44e14a5ace399cf1753acb8bbce558b8c895c48fd2102d266c34eaff286824cf";
+ sha256 = "9f6fcca349ebf2ec04ca7eacb076aea3e4fcdc010ac33c98b54f0a19d4e5d3e0";
};
buildInputs = [ capnproto cython ];
diff --git a/pkgs/development/python-modules/pydicom/default.nix b/pkgs/development/python-modules/pydicom/default.nix
index e6602ba9da2c..24186c09dcd5 100644
--- a/pkgs/development/python-modules/pydicom/default.nix
+++ b/pkgs/development/python-modules/pydicom/default.nix
@@ -10,13 +10,13 @@
}:
buildPythonPackage rec {
- version = "2.0.0";
+ version = "2.1.1";
pname = "pydicom";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "594c91f715c415ef439f498351ae68fb770c776fc5aa72f3c87eb500dc2a7470";
+ sha256 = "72a11086f6a277c1529a552583fde73e03256a912173f15e9bc256e5b28f28f1";
};
propagatedBuildInputs = [ numpy pillow ];
diff --git a/pkgs/development/python-modules/pyee/default.nix b/pkgs/development/python-modules/pyee/default.nix
index 0b2f4560d354..3c92dee783ad 100644
--- a/pkgs/development/python-modules/pyee/default.nix
+++ b/pkgs/development/python-modules/pyee/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pyee";
- version = "7.0.4";
+ version = "8.1.0";
src = fetchPypi {
inherit pname version;
- sha256 = "105n8jzw8vy6cm8mm5sm86mwyaqqr8zjh8w9xvcb7hp29p0vrihm";
+ sha256 = "92dacc5bd2bdb8f95aa8dd2585d47ca1c4840e2adb95ccf90034d64f725bfd31";
};
buildInputs = [
diff --git a/pkgs/development/python-modules/pyfakefs/default.nix b/pkgs/development/python-modules/pyfakefs/default.nix
index 7c1dc4fbb0d9..6f44b7fb2796 100644
--- a/pkgs/development/python-modules/pyfakefs/default.nix
+++ b/pkgs/development/python-modules/pyfakefs/default.nix
@@ -1,13 +1,13 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, python, pytest, glibcLocales }:
buildPythonPackage rec {
- version = "4.1.0";
+ version = "4.3.2";
pname = "pyfakefs";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
- sha256 = "bbbaa8b622fa50751a5839350fff3c1f8b1bbd364cd40fd0c7442e18fe5edc8e";
+ sha256 = "dfeed4715e2056e3e56b9c5f51a679ce2934897eef926f3d14e5364e43f19070";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/pygame/default.nix b/pkgs/development/python-modules/pygame/default.nix
index 8f9a9e5e59c3..81c4d4a4b9c1 100644
--- a/pkgs/development/python-modules/pygame/default.nix
+++ b/pkgs/development/python-modules/pygame/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "pygame";
- version = "1.9.6";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "301c6428c0880ecd4a9e3951b80e539c33863b6ff356a443db1758de4f297957";
+ sha256 = "63b038da116a643046181b02173fd894d87d2f85ecfd6aa7d5ece73c6ef501e9";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/pygit2/default.nix b/pkgs/development/python-modules/pygit2/default.nix
index c2c5ca826bcf..5326a1963aa8 100644
--- a/pkgs/development/python-modules/pygit2/default.nix
+++ b/pkgs/development/python-modules/pygit2/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pygit2";
- version = "1.3.0";
+ version = "1.4.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0be93f6a8d7cbf0cc79ae2f0afb1993fc055fc0018c27e2bd01ba143e51d4452";
+ sha256 = "cbeb38ab1df9b5d8896548a11e63aae8a064763ab5f1eabe4475e6b8a78ee1c8";
};
preConfigure = lib.optionalString stdenv.isDarwin ''
diff --git a/pkgs/development/python-modules/pygtrie/default.nix b/pkgs/development/python-modules/pygtrie/default.nix
index 5bfd991b4841..e22af4b52068 100644
--- a/pkgs/development/python-modules/pygtrie/default.nix
+++ b/pkgs/development/python-modules/pygtrie/default.nix
@@ -1,10 +1,10 @@
{ lib, fetchPypi, buildPythonPackage, ... }:
buildPythonPackage rec {
pname = "pygtrie";
- version = "2.3";
+ version = "2.4.1";
src = fetchPypi {
inherit pname version;
- sha256 = "00x7q4p9r75zdnw3a8vd0d0w0i5l28w408g5bsfl787yv6b1h9i8";
+ sha256 = "4367b87d92eaf475107421dce0295a9d4d72156702908c96c430a426b654aee7";
};
meta = {
homepage = "https://github.com/mina86/pygtrie";
diff --git a/pkgs/development/python-modules/pyhaversion/default.nix b/pkgs/development/python-modules/pyhaversion/default.nix
index b6ef4bc4a8ba..1a32851e6f38 100644
--- a/pkgs/development/python-modules/pyhaversion/default.nix
+++ b/pkgs/development/python-modules/pyhaversion/default.nix
@@ -15,14 +15,14 @@
}:
buildPythonPackage rec {
pname = "pyhaversion";
- version = "3.3.0";
+ version = "3.4.2";
# needs aiohttp which is py3k-only
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "376a1b232a26035bc82d64affa1c4f312d782234fe5453e8d0f9e1350a97be5b";
+ sha256 = "b4e49dfa0f9dae10edd072e630d902e5497daa312baad58b7df7618efe863377";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/pykdtree/default.nix b/pkgs/development/python-modules/pykdtree/default.nix
index f266d17bb460..9f355743ead2 100644
--- a/pkgs/development/python-modules/pykdtree/default.nix
+++ b/pkgs/development/python-modules/pykdtree/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pykdtree";
- version = "1.3.1";
+ version = "1.3.4";
src = fetchPypi {
inherit pname version;
- sha256 = "0d49d3bbfa0366dbe29176754ec86df75114a25525b530dcbbb75d3ac4c263e9";
+ sha256 = "bebe5c608129f2997e88510c00010b9a78581b394924c0e3ecd131d52415165d";
};
buildInputs = [ openmp ];
diff --git a/pkgs/development/python-modules/pylibacl/default.nix b/pkgs/development/python-modules/pylibacl/default.nix
index 08d598c72db6..6bc0d74b5bae 100644
--- a/pkgs/development/python-modules/pylibacl/default.nix
+++ b/pkgs/development/python-modules/pylibacl/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "pylibacl";
- version = "0.5.4";
+ version = "0.6.0";
src = fetchPypi {
inherit pname version;
- sha256 = "060f375aeff90a16fbc3a827b7e234694ad636485d8ecd6654e01e1fc4ea3b37";
+ sha256 = "88a0a4322e3a62d797d61f96ec7f38d1c471c48a3cc3cedb32ab5c20aa98d9ff";
};
# ERROR: testExtended (tests.test_acls.AclExtensions)
diff --git a/pkgs/development/python-modules/pymatgen/default.nix b/pkgs/development/python-modules/pymatgen/default.nix
index 635d951f56eb..6a059eae5bf6 100644
--- a/pkgs/development/python-modules/pymatgen/default.nix
+++ b/pkgs/development/python-modules/pymatgen/default.nix
@@ -1,17 +1,35 @@
-{ stdenv, buildPythonPackage, fetchPypi, glibcLocales, numpy, pydispatcher, sympy, requests, monty, ruamel_yaml, six, scipy, tabulate, enum34, matplotlib, palettable, spglib, pandas, plotly, networkx }:
+{ stdenv, buildPythonPackage, fetchPypi
+, enum34
+, glibcLocales
+, matplotlib
+, monty
+, networkx
+, numpy
+, palettable
+, pandas
+, plotly
+, pydispatcher
+, requests
+, ruamel_yaml
+, scipy
+, six
+, spglib
+, sympy
+, tabulate
+, uncertainties
+}:
buildPythonPackage rec {
pname = "pymatgen";
- version = "2020.8.13";
+ version = "2020.11.11";
src = fetchPypi {
inherit pname version;
- sha256 = "23e5885e15195b37ce4c16ef93f474f741cb98451fa8dd4c319ec121f4887256";
+ sha256 = "2c51c2c8862ea0d59346114f43be9e65ea134ed5b2bbd8dae766c4f6b02f5e3c";
};
nativeBuildInputs = [ glibcLocales ];
-
propagatedBuildInputs = [
enum34
matplotlib
@@ -29,6 +47,7 @@ buildPythonPackage rec {
spglib
sympy
tabulate
+ uncertainties
];
# No tests in pypi tarball.
diff --git a/pkgs/development/python-modules/pymediainfo/default.nix b/pkgs/development/python-modules/pymediainfo/default.nix
index a0575bbfede7..8438df73c1c4 100644
--- a/pkgs/development/python-modules/pymediainfo/default.nix
+++ b/pkgs/development/python-modules/pymediainfo/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "pymediainfo";
- version = "4.2.1";
+ version = "5.0.3";
src = fetchPypi {
inherit pname version;
- sha256 = "0vg2icmsc44k1ra898rjfp912xijsn96s0zplax6w13lpzb9jb9r";
+ sha256 = "ea61a3b0e0ed6de42ebb2233cf1a9312c57dce95101c025f9f081c10ecec48fb";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/pymongo/default.nix b/pkgs/development/python-modules/pymongo/default.nix
index 2838362f1dba..18c697fec445 100644
--- a/pkgs/development/python-modules/pymongo/default.nix
+++ b/pkgs/development/python-modules/pymongo/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pymongo";
- version = "3.11.0";
+ version = "3.11.1";
src = fetchPypi {
inherit pname version;
- sha256 = "076a7f2f7c251635cf6116ac8e45eefac77758ee5a77ab7bd2f63999e957613b";
+ sha256 = "a9c1a2538cd120283e7137ac97ce27ebdfcb675730c5055d6332b0043f4e5a55";
};
# Tests call a running mongodb instance
diff --git a/pkgs/development/python-modules/pynacl/default.nix b/pkgs/development/python-modules/pynacl/default.nix
index 5ce85acc194e..dfce6652d03a 100644
--- a/pkgs/development/python-modules/pynacl/default.nix
+++ b/pkgs/development/python-modules/pynacl/default.nix
@@ -5,7 +5,7 @@
, libsodium
, cffi
, six
-, hypothesis_4
+, hypothesis
}:
buildPythonPackage rec {
@@ -18,7 +18,7 @@ buildPythonPackage rec {
sha256 = "01b56hxrbif3hx8l6rwz5kljrgvlbj7shmmd2rjh0hn7974a5sal";
};
- checkInputs = [ pytest hypothesis_4 ];
+ checkInputs = [ pytest hypothesis ];
buildInputs = [ libsodium ];
propagatedBuildInputs = [ cffi six ];
diff --git a/pkgs/development/python-modules/pynisher/default.nix b/pkgs/development/python-modules/pynisher/default.nix
index 27e41f300c72..e2ead68d11b9 100644
--- a/pkgs/development/python-modules/pynisher/default.nix
+++ b/pkgs/development/python-modules/pynisher/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pynisher";
- version = "0.5.0";
+ version = "0.6.3";
src = fetchPypi {
inherit pname version;
- sha256 = "1b1079315ad1009de108c9ad701f6ae5274264e64503fc22c2de366d99953f34";
+ sha256 = "e4e1d9366fc4ca60b4b2354b6d12e65600600a8c7bf4392c84f2f4ff4abc85ff";
};
propagatedBuildInputs = [ psutil docutils ];
diff --git a/pkgs/development/python-modules/pynput/default.nix b/pkgs/development/python-modules/pynput/default.nix
index 2b83f4c1223b..b525f22b2d34 100644
--- a/pkgs/development/python-modules/pynput/default.nix
+++ b/pkgs/development/python-modules/pynput/default.nix
@@ -1,17 +1,20 @@
-{ stdenv, buildPythonPackage, fetchPypi, sphinx, setuptools-lint, xlib }:
+{ stdenv, buildPythonPackage, fetchPypi, sphinx, setuptools-lint, xlib, evdev }:
buildPythonPackage rec {
pname = "pynput";
- version = "1.6.8";
+ version = "1.7.1";
src = fetchPypi {
inherit pname version;
- sha256 = "16h4wn7f54rw30jrya7rmqkx3f51pxn8cplid95v880md8yqdhb8";
+ sha256 = "5a5598bfb14322eff980ac6ca820635fce9028faa4f64a8e1581243aaf6785ee";
};
nativeBuildInputs = [ sphinx ];
- propagatedBuildInputs = [ setuptools-lint xlib ];
+ propagatedBuildInputs = [ setuptools-lint xlib ]
+ ++ stdenv.lib.optionals stdenv.isLinux [
+ evdev
+ ];
doCheck = false;
diff --git a/pkgs/development/python-modules/pyobjc/default.nix b/pkgs/development/python-modules/pyobjc/default.nix
index a9acf1e5586a..9799cbaf0e8f 100644
--- a/pkgs/development/python-modules/pyobjc/default.nix
+++ b/pkgs/development/python-modules/pyobjc/default.nix
@@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "pyobjc";
- version = "6.2.2";
+ version = "7.0";
# Gives "No matching distribution found for
# pyobjc-framework-Collaboration==4.0b1 (from pyobjc==4.0b1)"
@@ -10,7 +10,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "d5b87e9fa4cc9b51bf37f9a461887e2d8b9ae7e6bb45675f8edbe35ea6770455";
+ sha256 = "2b6c3e98f1408564ace1df36927154d7827c8e2f382386ab5d2db95c891e35a0";
};
meta = {
diff --git a/pkgs/development/python-modules/pyopencl/default.nix b/pkgs/development/python-modules/pyopencl/default.nix
index 4552fab5b856..297757687688 100644
--- a/pkgs/development/python-modules/pyopencl/default.nix
+++ b/pkgs/development/python-modules/pyopencl/default.nix
@@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "pyopencl";
- version = "2020.2.2";
+ version = "2020.3.1";
checkInputs = [ pytest ];
buildInputs = [ opencl-headers ocl-icd pybind11 ];
@@ -25,7 +25,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "31fcc79fb6862998e98d91a624c0bd4f0ab4c5d418d199912d4d312c64e437ec";
+ sha256 = "abc689307cf34d3dcc94d43815f64e2265469b50ecce6c903a3180589666fb36";
};
# py.test is not needed during runtime, so remove it from `install_requires`
diff --git a/pkgs/development/python-modules/pyproj/default.nix b/pkgs/development/python-modules/pyproj/default.nix
index b23cb010f017..c000283e6de8 100644
--- a/pkgs/development/python-modules/pyproj/default.nix
+++ b/pkgs/development/python-modules/pyproj/default.nix
@@ -1,7 +1,7 @@
{ lib, buildPythonPackage, fetchFromGitHub, python, pkgs, pythonOlder, isPy27, substituteAll
, aenum
, cython
-, pytest
+, pytestCheckHook
, mock
, numpy
, shapely
@@ -34,20 +34,23 @@ buildPythonPackage rec {
numpy shapely
] ++ lib.optional (pythonOlder "3.6") aenum;
- checkInputs = [ pytest mock ];
+ checkInputs = [ pytestCheckHook mock ];
- # ignore rounding errors, and impure docgen
- # datadir is ignored because it does the proj look up logic, which isn't relevant
- checkPhase = ''
- pytest . -k 'not alternative_grid_name \
- and not transform_wgs84_to_alaska \
- and not transformer_group__unavailable \
- and not transform_group__missing_best \
- and not datum \
- and not repr' \
- --ignore=test/test_doctest_wrapper.py \
- --ignore=test/test_datadir.py
- '';
+ # prevent importing local directory
+ preCheck = "cd test";
+ pytestFlagsArray = [
+ "--ignore=test_doctest_wrapper.py"
+ "--ignore=test_datadir.py"
+ ];
+
+ disabledTests = [
+ "alternative_grid_name"
+ "transform_wgs84_to_alaska"
+ "transformer_group__unavailable"
+ "transform_group__missing_best"
+ "datum"
+ "repr"
+ ];
meta = {
description = "Python interface to PROJ.4 library";
diff --git a/pkgs/development/python-modules/pyramid/default.nix b/pkgs/development/python-modules/pyramid/default.nix
index 3de55f628c44..a7ba7728a355 100644
--- a/pkgs/development/python-modules/pyramid/default.nix
+++ b/pkgs/development/python-modules/pyramid/default.nix
@@ -18,11 +18,11 @@
buildPythonPackage rec {
pname = "pyramid";
- version = "1.10.4";
+ version = "1.10.5";
src = fetchPypi {
inherit pname version;
- sha256 = "d80ccb8cfa550139b50801591d4ca8a5575334adb493c402fce2312f55d07d66";
+ sha256 = "fe1bd1140e6b79fe07f0053981d49be2dc66656cc8b481dd7ffcaa872fc25467";
};
checkInputs = [ webtest zope_component ];
diff --git a/pkgs/development/python-modules/pyro-api/default.nix b/pkgs/development/python-modules/pyro-api/default.nix
index 78804941532a..aaf4571900b7 100644
--- a/pkgs/development/python-modules/pyro-api/default.nix
+++ b/pkgs/development/python-modules/pyro-api/default.nix
@@ -1,12 +1,12 @@
{ buildPythonPackage, fetchPypi, lib }:
buildPythonPackage rec {
- version = "0.1.1";
+ version = "0.1.2";
pname = "pyro-api";
src = fetchPypi {
inherit version pname;
- sha256 = "0rhd7p61pf2vvflbdixp7sygblvvl9qbqavxj27910lr79vl4fdz";
+ sha256 = "a1b900d9580aa1c2fab3b123ab7ff33413744da7c5f440bd4aadc4d40d14d920";
};
pythonImportsCheck = [ "pyroapi" ];
diff --git a/pkgs/development/python-modules/pyro4/default.nix b/pkgs/development/python-modules/pyro4/default.nix
index 3cf9d3f31437..713b257a195b 100644
--- a/pkgs/development/python-modules/pyro4/default.nix
+++ b/pkgs/development/python-modules/pyro4/default.nix
@@ -9,7 +9,7 @@
, msgpack
, isPy27
, selectors34
-, pytest
+, pytestCheckHook
}:
buildPythonPackage rec {
@@ -31,16 +31,16 @@ buildPythonPackage rec {
msgpack
];
- checkInputs = [ pytest ];
+ checkInputs = [ pytestCheckHook ];
# add testsupport.py to PATH
+ preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH";
# ignore network related tests, which fail in sandbox
- checkPhase = ''
- PYTHONPATH=tests/PyroTests:$PYTHONPATH
- pytest -k 'not StartNSfunc \
- and not Broadcast \
- and not GetIP' \
- --ignore=tests/PyroTests/test_naming.py
- '';
+ pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ];
+ disabledTests = [
+ "StartNSfunc"
+ "Broadcast"
+ "GetIP"
+ ];
meta = with stdenv.lib; {
description = "Distributed object middleware for Python (RPC)";
diff --git a/pkgs/development/python-modules/pyrsistent/default.nix b/pkgs/development/python-modules/pyrsistent/default.nix
index ae22dad1223d..a343db4f5540 100644
--- a/pkgs/development/python-modules/pyrsistent/default.nix
+++ b/pkgs/development/python-modules/pyrsistent/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "pyrsistent";
- version = "0.16.1";
+ version = "0.17.3";
src = fetchPypi {
inherit pname version;
- sha256 = "aa2ae1c2e496f4d6777f869ea5de7166a8ccb9c2e06ebcf6c7ff1b670c98c5ef";
+ sha256 = "2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e";
};
propagatedBuildInputs = [ six ];
diff --git a/pkgs/development/python-modules/pyserial-asyncio/default.nix b/pkgs/development/python-modules/pyserial-asyncio/default.nix
index cf90275cd19c..5e721504eda5 100644
--- a/pkgs/development/python-modules/pyserial-asyncio/default.nix
+++ b/pkgs/development/python-modules/pyserial-asyncio/default.nix
@@ -3,13 +3,13 @@
buildPythonPackage rec {
pname = "pyserial-asyncio";
- version = "0.4";
+ version = "0.5";
disabled = !isPy3k; # Doesn't support python older than 3.4
src = fetchPypi {
inherit pname version;
- sha256 = "1vlsb0d03krxlj7vpvyhpinnyxyy8s3lk5rs8ba2932dhyl7f1n4";
+ sha256 = "1641e5433a866eeaf6464b3ab88b741e7a89dd8cd0f851b3343b15f425138d33";
};
propagatedBuildInputs = [ pyserial ];
diff --git a/pkgs/development/python-modules/pysonos/default.nix b/pkgs/development/python-modules/pysonos/default.nix
index c51849d171c1..4a0fb1413bbe 100644
--- a/pkgs/development/python-modules/pysonos/default.nix
+++ b/pkgs/development/python-modules/pysonos/default.nix
@@ -13,13 +13,13 @@
buildPythonPackage rec {
pname = "pysonos";
- version = "0.0.35";
+ version = "0.0.37";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "3a0f8f6eb6ba0623b93a6995c1978cf72c4eedc5fbedac194e6d89e1b6b985e4";
+ sha256 = "43a046c1c6086500fb0f4be1094ca963f5b0f555a04b692832b2b88ab741824e";
};
propagatedBuildInputs = [ xmltodict requests ifaddr ];
diff --git a/pkgs/development/python-modules/pyspread/default.nix b/pkgs/development/python-modules/pyspread/default.nix
index cf62af03002d..2e7f458253ea 100644
--- a/pkgs/development/python-modules/pyspread/default.nix
+++ b/pkgs/development/python-modules/pyspread/default.nix
@@ -18,11 +18,11 @@
buildPythonPackage rec {
pname = "pyspread";
- version = "1.99.4";
+ version = "1.99.5";
src = fetchPypi {
inherit pname version;
- sha256 = "69edad3e4a3bcfb728beb3ad32e308096c29234cc0f7398ecd26a51e10b75978";
+ sha256 = "d396c2f94bf1ef6140877ab19205e6f2375bfe01d1bf50ff33bb63384744dd78";
};
propagatedBuildInputs = [ numpy wxPython matplotlib pycairo python-gnupg xlrd xlwt jedi pyenchant basemap pygtk ];
diff --git a/pkgs/development/python-modules/pysqueezebox/default.nix b/pkgs/development/python-modules/pysqueezebox/default.nix
index 33149e99e92f..11c9d9c40d06 100644
--- a/pkgs/development/python-modules/pysqueezebox/default.nix
+++ b/pkgs/development/python-modules/pysqueezebox/default.nix
@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "pysqueezebox";
- version = "0.4.0";
+ version = "0.5.5";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
- sha256 = "02d73e98314a63a38c314d40942a0b098fb59d2f08ac39b2627cfa73f785cf0d";
+ sha256 = "93e6a3824b560d4ea2b2e5f0a67fdf3b309b6194fbf9927e44fc0d12c7fdc6c0";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/pytest-django/default.nix b/pkgs/development/python-modules/pytest-django/default.nix
index 9763e074cee9..4b257b0a3d13 100644
--- a/pkgs/development/python-modules/pytest-django/default.nix
+++ b/pkgs/development/python-modules/pytest-django/default.nix
@@ -10,11 +10,11 @@
}:
buildPythonPackage rec {
pname = "pytest-django";
- version = "3.9.0";
+ version = "4.1.0";
src = fetchPypi {
inherit pname version;
- sha256 = "664e5f42242e5e182519388f01b9f25d824a9feb7cd17d8f863c8d776f38baf9";
+ sha256 = "26f02c16d36fd4c8672390deebe3413678d89f30720c16efb8b2a6bf63b9041f";
};
nativeBuildInputs = [ pytest setuptools_scm ];
diff --git a/pkgs/development/python-modules/pytest-flakes/default.nix b/pkgs/development/python-modules/pytest-flakes/default.nix
index 8c38544d8120..38156cc0ccf5 100644
--- a/pkgs/development/python-modules/pytest-flakes/default.nix
+++ b/pkgs/development/python-modules/pytest-flakes/default.nix
@@ -8,12 +8,12 @@ buildPythonPackage rec {
# upstream has abandoned project in favor of pytest-flake8
# retaining package to not break other packages
pname = "pytest-flakes";
- version = "4.0.2";
+ version = "4.0.3";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
- sha256 = "6733db47937d9689032876359e5ee0ee6926e3638546c09220e2f86b3581d4c1";
+ sha256 = "bf070c5485dad82d5b5f5d0eb08d269737e378492d9a68f5223b0a90924c7754";
};
checkInputs = [ pytestpep8 pytest ];
diff --git a/pkgs/development/python-modules/pytest-flask/default.nix b/pkgs/development/python-modules/pytest-flask/default.nix
index 61c9d37267ef..1e6c34aee3c0 100644
--- a/pkgs/development/python-modules/pytest-flask/default.nix
+++ b/pkgs/development/python-modules/pytest-flask/default.nix
@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "pytest-flask";
- version = "1.0.0";
+ version = "1.1.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "4d5678a045c07317618d80223ea124e21e8acc89dae109542dd1fdf6783d96c2";
+ sha256 = "9c136afd6d0fb045b0b8fd2363421b6670bfebd21d9141f79669d9051c9d2d05";
};
doCheck = false;
diff --git a/pkgs/development/python-modules/pytest-isort/default.nix b/pkgs/development/python-modules/pytest-isort/default.nix
index 869466c65001..fb65f8aceadb 100644
--- a/pkgs/development/python-modules/pytest-isort/default.nix
+++ b/pkgs/development/python-modules/pytest-isort/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pytest-isort";
- version = "1.1.0";
+ version = "1.2.0";
src = fetchPypi {
inherit pname version;
- sha256 = "01j0sx8yxd7sbmvwky68mvnwrxxs5bjkvi61043jzff1ga92kg9h";
+ sha256 = "f0fcf9674f3a627b36e07466d335e82b0f7c4f9e0f7ec39f2a1750b0189d5371";
};
propagatedBuildInputs = [ isort ];
diff --git a/pkgs/development/python-modules/pytest-mock/default.nix b/pkgs/development/python-modules/pytest-mock/default.nix
index c21175bf3381..ad82b389bee8 100644
--- a/pkgs/development/python-modules/pytest-mock/default.nix
+++ b/pkgs/development/python-modules/pytest-mock/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "pytest-mock";
- version = "3.2.0";
+ version = "3.3.1";
src = fetchPypi {
inherit pname version;
- sha256 = "7122d55505d5ed5a6f3df940ad174b3f606ecae5e9bc379569cdcbd4cd9d2b83";
+ sha256 = "a4d6d37329e4a893e77d9ffa89e838dd2b45d5dc099984cf03c703ac8411bb82";
};
propagatedBuildInputs = lib.optional (!isPy3k) mock;
diff --git a/pkgs/development/python-modules/pytest-mpl/default.nix b/pkgs/development/python-modules/pytest-mpl/default.nix
index a239c1dbe634..d238d7565f20 100644
--- a/pkgs/development/python-modules/pytest-mpl/default.nix
+++ b/pkgs/development/python-modules/pytest-mpl/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "pytest-mpl";
- version = "0.11";
+ version = "0.12";
src = fetchPypi {
inherit pname version;
- sha256 = "26c5a47a8fdbc04652f18b65c587da642c6cc0354680ee44b16c161d9800a2ce";
+ sha256 = "4a223909e5148c99bd18891848c7871457729322c752c9c470bd8dd6bdf9f940";
};
buildInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/pytest-mypy/default.nix b/pkgs/development/python-modules/pytest-mypy/default.nix
index 368d13a91394..2d2a3264e741 100644
--- a/pkgs/development/python-modules/pytest-mypy/default.nix
+++ b/pkgs/development/python-modules/pytest-mypy/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "pytest-mypy";
- version = "0.6.2";
+ version = "0.8.0";
src = fetchPypi {
inherit pname version;
- sha256 = "2560a9b27d59bb17810d12ec3402dfc7c8e100e40539a70d2814bcbb27240f27";
+ sha256 = "63d418a4fea7d598ac40b659723c00804d16a251d90a5cfbca213eeba5aaf01c";
};
nativeBuildInputs = [ setuptools_scm ];
diff --git a/pkgs/development/python-modules/pytest-quickcheck/default.nix b/pkgs/development/python-modules/pytest-quickcheck/default.nix
index f3a62a79db93..8db28159d9dc 100644
--- a/pkgs/development/python-modules/pytest-quickcheck/default.nix
+++ b/pkgs/development/python-modules/pytest-quickcheck/default.nix
@@ -1,11 +1,11 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytest-flakes, pytestpep8, tox }:
buildPythonPackage rec {
pname = "pytest-quickcheck";
- version = "0.8.5";
+ version = "0.8.6";
src = fetchPypi {
inherit pname version;
- sha256 = "2427808b54ccdec26a40cdba934a6c042fab9ebadb60d563a01f367bef87fe58";
+ sha256 = "3ef9bde7ba1fe6470c5b61631440186d1254e276c67a527242d91451ab7994e5";
};
buildInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/pytest-randomly/default.nix b/pkgs/development/python-modules/pytest-randomly/default.nix
index c4523ac728c6..be8d675fc1ea 100644
--- a/pkgs/development/python-modules/pytest-randomly/default.nix
+++ b/pkgs/development/python-modules/pytest-randomly/default.nix
@@ -5,13 +5,13 @@
buildPythonPackage rec {
pname = "pytest-randomly";
- version = "3.4.1";
+ version = "3.5.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "0s9cx692cdchfrjqx7fgf9wnm3fdac211a4hjq1cx9qqnbpdpl2z";
+ sha256 = "440cec143fd9b0adeb072006c71e0294402a2bc2ccd08079c2341087ba4cf2d1";
};
propagatedBuildInputs = [ numpy factory_boy faker ];
diff --git a/pkgs/development/python-modules/pytest-repeat/default.nix b/pkgs/development/python-modules/pytest-repeat/default.nix
index 768ad5967342..b90e8ebef385 100644
--- a/pkgs/development/python-modules/pytest-repeat/default.nix
+++ b/pkgs/development/python-modules/pytest-repeat/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "pytest-repeat";
- version = "0.8.0";
+ version = "0.9.1";
src = fetchPypi {
inherit pname version;
- sha256 = "1nbdmklpi0ra1jnfm032wz96y9nxdlcr4m9sjlnffwm7n4x43g2j";
+ sha256 = "5cd3289745ab3156d43eb9c8e7f7d00a926f3ae5c9cf425bec649b2fe15bad5b";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/pytest-services/default.nix b/pkgs/development/python-modules/pytest-services/default.nix
index 93b60ecbe415..761fe1d5d54e 100644
--- a/pkgs/development/python-modules/pytest-services/default.nix
+++ b/pkgs/development/python-modules/pytest-services/default.nix
@@ -5,19 +5,26 @@
, requests
, psutil
, pytest
+, setuptools_scm
, subprocess32
+, toml
, zc_lockfile
}:
buildPythonPackage rec {
pname = "pytest-services";
- version = "2.1.0";
+ version = "2.2.1";
src = fetchPypi {
inherit pname version;
- sha256 = "0037101eaa17e050542808ecb2e799e9b2b148f1867f62b2296329fdd2034cf5";
+ sha256 = "2da740487d08ea63dfdf718f5d4ba11e590c99ddf5481549edebf7a3a42ca536";
};
+ nativeBuildInputs = [
+ setuptools_scm
+ toml
+ ];
+
propagatedBuildInputs = [
requests
psutil
@@ -28,6 +35,8 @@ buildPythonPackage rec {
# no tests in PyPI tarball
doCheck = false;
+ pythonImportsCheck = [ "pytest_services" ];
+
meta = with lib; {
description = "Services plugin for pytest testing framework";
homepage = "https://github.com/pytest-dev/pytest-services";
diff --git a/pkgs/development/python-modules/pytest-testmon/default.nix b/pkgs/development/python-modules/pytest-testmon/default.nix
index 9d9add167829..b86947f5f758 100644
--- a/pkgs/development/python-modules/pytest-testmon/default.nix
+++ b/pkgs/development/python-modules/pytest-testmon/default.nix
@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "pytest-testmon";
- version = "1.0.2";
+ version = "1.0.3";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
- sha256 = "fdb016d953036051d1ef0e36569b7168cefa4914014789a65a4ffefc87f85ac5";
+ sha256 = "927a73dd510b90a2e4a48ea4d37e82c4490b56caa745663262024ea0cd278169";
};
propagatedBuildInputs = [ coverage ];
diff --git a/pkgs/development/python-modules/pytest-xdist/default.nix b/pkgs/development/python-modules/pytest-xdist/default.nix
index 6dc4b666db54..56e3f3cad59c 100644
--- a/pkgs/development/python-modules/pytest-xdist/default.nix
+++ b/pkgs/development/python-modules/pytest-xdist/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "pytest-xdist";
- version = "1.34.0";
+ version = "2.1.0";
src = fetchPypi {
inherit pname version;
- sha256 = "1vh4ps32lp5ignch5adbl3pgchvigdfmrl6qpmhxih54wa1qw3il";
+ sha256 = "82d938f1a24186520e2d9d3a64ef7d9ac7ecdf1a0659e095d18e596b8cbd0672";
};
nativeBuildInputs = [ setuptools_scm pytest ];
diff --git a/pkgs/development/python-modules/pytest-xprocess/default.nix b/pkgs/development/python-modules/pytest-xprocess/default.nix
index 1dd11133a629..124adb8b2a53 100644
--- a/pkgs/development/python-modules/pytest-xprocess/default.nix
+++ b/pkgs/development/python-modules/pytest-xprocess/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "pytest-xprocess";
- version = "0.14.0";
+ version = "0.17.0";
src = fetchPypi {
inherit pname version;
- sha256 = "06g1j5079ddl2sd3pxh2jg6g83b2z3l5hzbadiry2xg673dcncmb";
+ sha256 = "2506d637c4f54c65dd195c1d094abdeedacc9bf0689131d847a324ad0fc951c0";
};
nativeBuildInputs = [ setuptools_scm ];
diff --git a/pkgs/development/python-modules/python-dotenv/default.nix b/pkgs/development/python-modules/python-dotenv/default.nix
index dd9191835a44..e654826e0bc2 100644
--- a/pkgs/development/python-modules/python-dotenv/default.nix
+++ b/pkgs/development/python-modules/python-dotenv/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "python-dotenv";
- version = "0.14.0";
+ version = "0.15.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0gf3r4xvqk9ai1k3ka8c4dlblqhs7286zbd1b20adn953fdcj44c";
+ sha256 = "587825ed60b1711daea4832cf37524dfd404325b7db5e25ebe88c495c9f807a0";
};
propagatedBuildInputs = [ click ] ++ lib.optionals isPy27 [ typing ];
diff --git a/pkgs/development/python-modules/python-markdown-math/default.nix b/pkgs/development/python-modules/python-markdown-math/default.nix
index 6f18a47e13c7..0b6d01746b97 100644
--- a/pkgs/development/python-modules/python-markdown-math/default.nix
+++ b/pkgs/development/python-modules/python-markdown-math/default.nix
@@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "python-markdown-math";
- version = "0.7";
+ version = "0.8";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "17a12175e8b2052a1c3402fca410841c551c678046293b1f7c280ccfe7b302a0";
+ sha256 = "8564212af679fc18d53f38681f16080fcd3d186073f23825c7ce86fadd3e3635";
};
checkInputs = [ markdown ];
diff --git a/pkgs/development/python-modules/python-miio/default.nix b/pkgs/development/python-modules/python-miio/default.nix
index 6bd140ae5b4c..136483761cf8 100644
--- a/pkgs/development/python-modules/python-miio/default.nix
+++ b/pkgs/development/python-modules/python-miio/default.nix
@@ -19,11 +19,11 @@
buildPythonPackage rec {
pname = "python-miio";
- version = "0.5.3";
+ version = "0.5.4";
src = fetchPypi {
inherit pname version;
- sha256 = "3be5275b569844dfa267c80a1e23dc0957411dd501cae0ed3cccf43467031ceb";
+ sha256 = "5a6fd3bb2cc2f75cdfe5673f36a5a418144d08add6e53b384cb146e99f27bd39";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/python-periphery/default.nix b/pkgs/development/python-modules/python-periphery/default.nix
index 298fbaed0f86..e0461dd1efe6 100644
--- a/pkgs/development/python-modules/python-periphery/default.nix
+++ b/pkgs/development/python-modules/python-periphery/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "python-periphery";
- version = "2.1.0";
+ version = "2.1.1";
src = fetchPypi {
inherit pname version;
- sha256 = "57baa82e6bc59b67747317d16ad0cf9626826e8d43233af13bce924660500bd6";
+ sha256 = "ed07adc27c8b4df9cd40b2d935f86400a7b495b311df5bfaf9ecaeafc5413fd5";
};
# Some tests require physical probing and additional physical setup
diff --git a/pkgs/development/python-modules/python-prctl/default.nix b/pkgs/development/python-modules/python-prctl/default.nix
index 4da75195025d..2fd88858de75 100644
--- a/pkgs/development/python-modules/python-prctl/default.nix
+++ b/pkgs/development/python-modules/python-prctl/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "python-prctl";
- version = "1.7";
+ version = "1.8.1";
src = fetchPypi {
inherit pname version;
- sha256 = "1njgixnavmwq45r3gpkhn1y760sax204clagg4gzwvvdc5bdbssp";
+ sha256 = "b4ca9a25a7d4f1ace4fffd1f3a2e64ef5208fe05f929f3edd5e27081ca7e67ce";
};
patches = [ ./skip_bad_tests.patch ];
diff --git a/pkgs/development/python-modules/python-rapidjson/default.nix b/pkgs/development/python-modules/python-rapidjson/default.nix
index defd5430f2ee..b128e767d872 100644
--- a/pkgs/development/python-modules/python-rapidjson/default.nix
+++ b/pkgs/development/python-modules/python-rapidjson/default.nix
@@ -8,13 +8,13 @@
}:
buildPythonPackage rec {
- version = "0.9.3";
+ version = "0.9.4";
pname = "python-rapidjson";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
- sha256 = "4e339edfbba9e5feed0cf44043b6befba0c780b34cdf446888dbce44de362a8a";
+ sha256 = "d79a412d7df30f01d3cb12e0e8863a48cfecd2fd7612719e16bc76eb1b65b332";
};
LC_ALL="en_US.utf-8";
diff --git a/pkgs/development/python-modules/python-redis-lock/default.nix b/pkgs/development/python-modules/python-redis-lock/default.nix
index 2ee21137141a..32189495cdd4 100644
--- a/pkgs/development/python-modules/python-redis-lock/default.nix
+++ b/pkgs/development/python-modules/python-redis-lock/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "python-redis-lock";
- version = "3.6.0";
+ version = "3.7.0";
src = fetchPypi {
inherit pname version;
- sha256 = "6c79b87f2fefcf47bbcebea56056d324e9d7971c9b98123b79590e08cbb0a8f7";
+ sha256 = "4265a476e39d476a8acf5c2766485c44c75f3a1bd6cf73bb195f3079153b8374";
};
checkInputs = [ pytest process-tests pkgs.redis ];
diff --git a/pkgs/development/python-modules/python-socketio/default.nix b/pkgs/development/python-modules/python-socketio/default.nix
index cbddc023a152..cfa260205715 100644
--- a/pkgs/development/python-modules/python-socketio/default.nix
+++ b/pkgs/development/python-modules/python-socketio/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "python-socketio";
- version = "4.6.0";
+ version = "4.6.1";
src = fetchPypi {
inherit pname version;
- sha256 = "358d8fbbc029c4538ea25bcaa283e47f375be0017fcba829de8a3a731c9df25a";
+ sha256 = "cd1f5aa492c1eb2be77838e837a495f117e17f686029ebc03d62c09e33f4fa10";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/python-telegram-bot/default.nix b/pkgs/development/python-modules/python-telegram-bot/default.nix
index 0552b18f8002..f16f581ade3d 100644
--- a/pkgs/development/python-modules/python-telegram-bot/default.nix
+++ b/pkgs/development/python-modules/python-telegram-bot/default.nix
@@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "python-telegram-bot";
- version = "12.8";
+ version = "13.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "1hzdnjxqgqv868agaipga4padq2q5s4hd1yzvh3n48b9ck2qcw9j";
+ sha256 = "ca78a41626d728a8f51affa792270e210fa503ed298d395bed2bd1281842dca3";
};
checkInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/python_fedora/default.nix b/pkgs/development/python-modules/python_fedora/default.nix
index 8c9cac757615..2224c94ac6f7 100644
--- a/pkgs/development/python-modules/python_fedora/default.nix
+++ b/pkgs/development/python-modules/python_fedora/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "python-fedora";
- version = "1.0.0";
+ version = "1.1.1";
src = fetchPypi {
inherit pname version;
- sha256 = "efb675929ebf588c2deffa2058ff407e65d1889bca1b545a58f525135367c9e4";
+ sha256 = "56b9d841a39b4030e388e90c7b77dacd479f1ce5e2ff9b18c3954d97d5709a19";
};
propagatedBuildInputs = [ kitchen requests bunch paver lockfile
six munch urllib3 beautifulsoup4 openidc-client ];
diff --git a/pkgs/development/python-modules/pytz/default.nix b/pkgs/development/python-modules/pytz/default.nix
index 8680a4f8e1d4..0351840b3e0b 100644
--- a/pkgs/development/python-modules/pytz/default.nix
+++ b/pkgs/development/python-modules/pytz/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pytz";
- version = "2020.1";
+ version = "2020.4";
src = fetchPypi {
inherit pname version;
- sha256 = "c35965d010ce31b23eeb663ed3cc8c906275d6be1a34393a1d73a41febf4a048";
+ sha256 = "3e6b7dd2d1e0a59084bcee14a17af60c5c562cdc16d828e8eba2e683d3a7e268";
};
checkPhase = ''
diff --git a/pkgs/development/python-modules/pyusb/default.nix b/pkgs/development/python-modules/pyusb/default.nix
index 624090e98aa0..7e5fc90453ff 100644
--- a/pkgs/development/python-modules/pyusb/default.nix
+++ b/pkgs/development/python-modules/pyusb/default.nix
@@ -1,14 +1,18 @@
-{ stdenv, fetchPypi, buildPythonPackage, libusb1 }:
+{ stdenv, fetchPypi, buildPythonPackage, libusb1, setuptools_scm }:
buildPythonPackage rec {
pname = "pyusb";
- version = "1.0.2";
+ version = "1.1.0";
src = fetchPypi {
inherit pname version;
- sha256 = "0qkk2jn270jwwl1x26hmdhb14m9kkbrzzwzizdjcl1a29b6756sf";
+ sha256 = "d69ed64bff0e2102da11b3f49567256867853b861178689671a163d30865c298";
};
+ nativeBuildInputs = [
+ setuptools_scm
+ ];
+
# Fix the USB backend library lookup
postPatch =
''
@@ -20,6 +24,8 @@ buildPythonPackage rec {
# No tests included
doCheck = false;
+ pythonImportsCheck = [ "usb" ];
+
meta = with stdenv.lib; {
description = "Python USB access module (wraps libusb 1.0)"; # can use other backends
homepage = "https://pyusb.github.io/pyusb/";
diff --git a/pkgs/development/python-modules/pyxnat/default.nix b/pkgs/development/python-modules/pyxnat/default.nix
index 2c2557537228..700188f15dd1 100644
--- a/pkgs/development/python-modules/pyxnat/default.nix
+++ b/pkgs/development/python-modules/pyxnat/default.nix
@@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "pyxnat";
- version = "1.3";
+ version = "1.4";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "113d13cs5ab7wy4vmyqyh8isjhlgfvan7y2g8n25vcpn3j4j00h0";
+ sha256 = "22524120d744b50d25ef6bfc7052637e4ead9e2afac92563231ec89848f5adf5";
};
propagatedBuildInputs = [ lxml requests ];
diff --git a/pkgs/development/python-modules/pyzmq/default.nix b/pkgs/development/python-modules/pyzmq/default.nix
index 2d17e6a76e08..c80dfe93aee0 100644
--- a/pkgs/development/python-modules/pyzmq/default.nix
+++ b/pkgs/development/python-modules/pyzmq/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "pyzmq";
- version = "19.0.2";
+ version = "20.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "296540a065c8c21b26d63e3cea2d1d57902373b16e4256afe46422691903a438";
+ sha256 = "824ad5888331aadeac772bce27e1c2fbcab82fade92edbd234542c4e12f0dca9";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/qtconsole/default.nix b/pkgs/development/python-modules/qtconsole/default.nix
index 4d1123aaa78a..f29d33d25ae3 100644
--- a/pkgs/development/python-modules/qtconsole/default.nix
+++ b/pkgs/development/python-modules/qtconsole/default.nix
@@ -15,11 +15,11 @@
buildPythonPackage rec {
pname = "qtconsole";
- version = "4.7.7";
+ version = "5.0.1";
src = fetchPypi {
inherit pname version;
- sha256 = "f236ead8711dba0702507dd8fad473c7216a86eefa6098eff8ec4b54f57d7804";
+ sha256 = "4d7dd4eae8a90d0b2b19b31794b30f137238463998989734a3acb8a53b506bab";
};
checkInputs = [ nose ] ++ lib.optionals isPy27 [mock];
diff --git a/pkgs/development/python-modules/r2pipe/default.nix b/pkgs/development/python-modules/r2pipe/default.nix
index 998fa9296982..341d3f9660c5 100644
--- a/pkgs/development/python-modules/r2pipe/default.nix
+++ b/pkgs/development/python-modules/r2pipe/default.nix
@@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "r2pipe";
- version = "1.4.2";
+ version = "1.5.3";
postPatch = let
r2lib = "${lib.getOutput "lib" radare2}/lib";
@@ -27,7 +27,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "4020754e3263ef28d3e74288537847bd8ae5fc1ddd74f34fb262ef1282c4d23c";
+ sha256 = "8f3708195c8a6e91c5753940fd348cd821df1389d23b889b01b3e88acf407485";
};
# Tiny sanity check to make sure r2pipe finds radare2 (since r2pipe doesn't
diff --git a/pkgs/development/python-modules/re-assert/default.nix b/pkgs/development/python-modules/re-assert/default.nix
new file mode 100644
index 000000000000..9cf32d79802e
--- /dev/null
+++ b/pkgs/development/python-modules/re-assert/default.nix
@@ -0,0 +1,28 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, regex
+}:
+
+buildPythonPackage rec {
+ pname = "re_assert";
+ version = "1.1.0";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "5172dfbd2047a15dff2347735dea7e495479cc7e58841199a4a4973256b20464";
+ };
+
+ # No tests in archive
+ doCheck = false;
+
+ propagatedBuildInputs = [
+ regex
+ ];
+
+ meta = {
+ description = "Show where your regex match assertion failed";
+ license = lib.licenses.mit;
+ homepage = "https://github.com/asottile/re-assert";
+ };
+}
diff --git a/pkgs/development/python-modules/readme_renderer/default.nix b/pkgs/development/python-modules/readme_renderer/default.nix
index 9ffb986b9f5a..57a84e69d205 100644
--- a/pkgs/development/python-modules/readme_renderer/default.nix
+++ b/pkgs/development/python-modules/readme_renderer/default.nix
@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "readme_renderer";
- version = "26.0";
+ version = "28.0";
src = fetchPypi {
inherit pname version;
- sha256 = "cbe9db71defedd2428a1589cdc545f9bd98e59297449f69d721ef8f1cfced68d";
+ sha256 = "6b7e5aa59210a40de72eb79931491eaf46fefca2952b9181268bd7c7c65c260a";
};
checkInputs = [ pytest mock ];
diff --git a/pkgs/development/python-modules/regex/default.nix b/pkgs/development/python-modules/regex/default.nix
index 19cb7bd232bf..e4d6baeb425b 100644
--- a/pkgs/development/python-modules/regex/default.nix
+++ b/pkgs/development/python-modules/regex/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "regex";
- version = "2020.7.14";
+ version = "2020.11.13";
src = fetchPypi {
inherit pname version;
- sha256 = "3a3af27a8d23143c49a3420efe5b3f8cf1a48c6fc8bc6856b03f638abc1833bb";
+ sha256 = "83d6b356e116ca119db8e7c6fc2983289d87b27b3fac238cfe5dca529d884562";
};
postCheck = ''
diff --git a/pkgs/development/python-modules/requests-unixsocket/default.nix b/pkgs/development/python-modules/requests-unixsocket/default.nix
index a244b9ba30c4..5229dd96b75a 100644
--- a/pkgs/development/python-modules/requests-unixsocket/default.nix
+++ b/pkgs/development/python-modules/requests-unixsocket/default.nix
@@ -16,6 +16,7 @@ buildPythonPackage rec {
checkInputs = [ pytest pytestpep8 waitress ];
checkPhase = ''
+ rm pytest.ini
py.test
'';
diff --git a/pkgs/development/python-modules/responses/default.nix b/pkgs/development/python-modules/responses/default.nix
index 78daa0e24f31..624094e581e9 100644
--- a/pkgs/development/python-modules/responses/default.nix
+++ b/pkgs/development/python-modules/responses/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "responses";
- version = "0.10.16";
+ version = "0.12.1";
src = fetchPypi {
inherit pname version;
- sha256 = "fa125311607ab3e57d8fcc4da20587f041b4485bdfb06dd6bdf19d8b66f870c1";
+ sha256 = "2e5764325c6b624e42b428688f2111fea166af46623cb0127c05f6afb14d3457";
};
propagatedBuildInputs = [ cookies mock requests six ];
diff --git a/pkgs/development/python-modules/restrictedpython/default.nix b/pkgs/development/python-modules/restrictedpython/default.nix
index 09b713dc87cb..d7005e154504 100644
--- a/pkgs/development/python-modules/restrictedpython/default.nix
+++ b/pkgs/development/python-modules/restrictedpython/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "RestrictedPython";
- version = "5.0";
+ version = "5.1";
src = fetchPypi {
inherit pname version;
- sha256 = "1g0sffn6ifkl1w8gq15rpaqm8c7l68bsnm77wcd3flyzzydmd050";
+ sha256 = "9ae16e500782b41bd1abefd8554ccb26330817bba9ce090d385aa226f1ca83e8";
};
#propagatedBuildInputs = [ xmltodict requests ifaddr ];
diff --git a/pkgs/development/python-modules/restructuredtext_lint/default.nix b/pkgs/development/python-modules/restructuredtext_lint/default.nix
index 17bf5fbf2974..01c7a5e78c62 100644
--- a/pkgs/development/python-modules/restructuredtext_lint/default.nix
+++ b/pkgs/development/python-modules/restructuredtext_lint/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "restructuredtext_lint";
- version = "1.3.1";
+ version = "1.3.2";
src = fetchPypi {
inherit pname version;
- sha256 = "470e53b64817211a42805c3a104d2216f6f5834b22fe7adb637d1de4d6501fb8";
+ sha256 = "d3b10a1fe2ecac537e51ae6d151b223b78de9fafdd50e5eb6b08c243df173c80";
};
checkInputs = [ nose testtools ];
diff --git a/pkgs/development/python-modules/ripser/default.nix b/pkgs/development/python-modules/ripser/default.nix
index 9e2e76464d80..acd017a7a2e8 100644
--- a/pkgs/development/python-modules/ripser/default.nix
+++ b/pkgs/development/python-modules/ripser/default.nix
@@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "ripser";
- version = "0.5.4";
+ version = "0.6.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
- sha256 = "7a54750427e3f1bbb26c625075c831314760a9e5b5bcd3b797df668f020c9eb6";
+ sha256 = "5c47deffbf9e163186b0997f2d59486d96a7c65766e76500f754fadfbc89f5d9";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/rlp/default.nix b/pkgs/development/python-modules/rlp/default.nix
index 303a8bc6d7fd..eca38c08f014 100644
--- a/pkgs/development/python-modules/rlp/default.nix
+++ b/pkgs/development/python-modules/rlp/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "rlp";
- version = "1.2.0";
+ version = "2.0.1";
src = fetchPypi {
inherit pname version;
- sha256 = "27273fc2dbc3513c1e05ea6b8af28aac8745fb09c164e39e2ed2807bf7e1b342";
+ sha256 = "665e8312750b3fc5f7002e656d05b9dcb6e93b6063df40d95c49ad90c19d1f0e";
};
checkInputs = [ pytest hypothesis ];
diff --git a/pkgs/development/python-modules/robotframework-requests/default.nix b/pkgs/development/python-modules/robotframework-requests/default.nix
index 72f7aabb70ce..0a22dc1eec6c 100644
--- a/pkgs/development/python-modules/robotframework-requests/default.nix
+++ b/pkgs/development/python-modules/robotframework-requests/default.nix
@@ -8,12 +8,12 @@
}:
buildPythonPackage rec {
- version = "0.7.1";
+ version = "0.7.2";
pname = "robotframework-requests";
src = fetchPypi {
inherit pname version;
- sha256 = "501a1c7415f839d6837eedd57f2b6ed20576aab318bf14e3878a77c9b106aa45";
+ sha256 = "662e0ce5036a55bcb4cb46ff9741f40c78c670f4fb64cd37714cf83d5fd31774";
};
buildInputs = [ unittest2 ];
diff --git a/pkgs/development/python-modules/robotframework-sshlibrary/default.nix b/pkgs/development/python-modules/robotframework-sshlibrary/default.nix
index e9565cff1593..e5e2d022dc8a 100644
--- a/pkgs/development/python-modules/robotframework-sshlibrary/default.nix
+++ b/pkgs/development/python-modules/robotframework-sshlibrary/default.nix
@@ -7,12 +7,12 @@
}:
buildPythonPackage rec {
- version = "3.4.0";
+ version = "3.5.1";
pname = "robotframework-sshlibrary";
src = fetchPypi {
inherit pname version;
- sha256 = "21fa0183776e6061366f517765db479aaa634b707f3dd9d90ef6972adae6a755";
+ sha256 = "843af44722d1d4e39f616e5441d6f49e82202cd1a8cc9d16637a6475a8ecb023";
};
# unit tests are impure
diff --git a/pkgs/development/python-modules/routes/default.nix b/pkgs/development/python-modules/routes/default.nix
index 985f6244cc65..95eebe8ab69d 100644
--- a/pkgs/development/python-modules/routes/default.nix
+++ b/pkgs/development/python-modules/routes/default.nix
@@ -3,6 +3,7 @@
, fetchPypi
, repoze_lru
, six
+, soupsieve
, webob
, coverage
, webtest
@@ -10,15 +11,19 @@
buildPythonPackage rec {
pname = "Routes";
- version = "2.4.1";
+ version = "2.5.1";
src = fetchPypi {
inherit pname version;
- sha256 = "1zamff3m0kc4vyfniyhxpkkcqv1rrgnmh37ykxv34nna1ws47vi6";
+ sha256 = "b6346459a15f0cbab01a45a90c3d25caf980d4733d628b4cc1952b865125d053";
};
- propagatedBuildInputs = [ repoze_lru six webob ];
- checkInputs = [ coverage webtest ];
+ propagatedBuildInputs = [ repoze_lru six soupsieve webob ];
+ # incompatible with latest soupsieve
+ doCheck = false;
+ checkInputs = [ coverage soupsieve webtest ];
+
+ pythonImportsCheck = [ "routes" ];
meta = with stdenv.lib; {
description = "A Python re-implementation of the Rails routes system for mapping URLs to application actions";
diff --git a/pkgs/development/python-modules/s3fs/default.nix b/pkgs/development/python-modules/s3fs/default.nix
index 535f8efec916..9c900610e031 100644
--- a/pkgs/development/python-modules/s3fs/default.nix
+++ b/pkgs/development/python-modules/s3fs/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "s3fs";
- version = "0.4.2";
+ version = "0.5.1";
src = fetchPypi {
inherit pname version;
- sha256 = "2ca5de8dc18ad7ad350c0bd01aef0406aa5d0fff78a561f0f710f9d9858abdd0";
+ sha256 = "7396943cbc1cf92eb6f7aa93be5f64a3bfa59d76908262e89bae06e3c87fa59d";
};
buildInputs = [ docutils ];
diff --git a/pkgs/development/python-modules/scour/default.nix b/pkgs/development/python-modules/scour/default.nix
index 3d2e07226612..b38d095a845f 100644
--- a/pkgs/development/python-modules/scour/default.nix
+++ b/pkgs/development/python-modules/scour/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "scour";
- version = "0.38.1.post1";
+ version = "0.38.2";
src = fetchPypi {
inherit pname version;
- sha256 = "81b93dcfc57338f1260db4fb62697b653770a8a8bd756dcba3640c9b558a7145";
+ sha256 = "6881ec26660c130c5ecd996ac6f6b03939dd574198f50773f2508b81a68e0daf";
};
propagatedBuildInputs = [ six ];
diff --git a/pkgs/development/python-modules/secretstorage/default.nix b/pkgs/development/python-modules/secretstorage/default.nix
index d10ea9c8be2b..157876476761 100644
--- a/pkgs/development/python-modules/secretstorage/default.nix
+++ b/pkgs/development/python-modules/secretstorage/default.nix
@@ -2,14 +2,14 @@
buildPythonPackage rec {
pname = "secretstorage";
- version = "3.1.1";
+ version = "3.3.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
pname = "SecretStorage";
inherit version;
- sha256 = "14lznnn916ddn6yrd3w2nr2zq49zc8hw53yjz1k9yhd492p9gir0";
+ sha256 = "1aj669d5s8pmr6y2d286fxd13apnxzw0ivd1dr6xdni9i3rdxkrh";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/sentry-sdk/default.nix b/pkgs/development/python-modules/sentry-sdk/default.nix
index 8aa61748af86..9db28aef2e92 100644
--- a/pkgs/development/python-modules/sentry-sdk/default.nix
+++ b/pkgs/development/python-modules/sentry-sdk/default.nix
@@ -26,11 +26,11 @@
buildPythonPackage rec {
pname = "sentry-sdk";
- version = "0.16.5";
+ version = "0.19.4";
src = fetchPypi {
inherit pname version;
- sha256 = "e12eb1c2c01cd9e9cfe70608dbda4ef451f37ef0b7cbb92e5d43f87c341d6334";
+ sha256 = "1052f0ed084e532f66cb3e4ba617960d820152aee8b93fc6c05bd53861768c1c";
};
checkInputs = [ django flask tornado bottle rq falcon sqlalchemy werkzeug trytond
diff --git a/pkgs/development/python-modules/setproctitle/default.nix b/pkgs/development/python-modules/setproctitle/default.nix
index 5b678ee1d508..473ef25e162e 100644
--- a/pkgs/development/python-modules/setproctitle/default.nix
+++ b/pkgs/development/python-modules/setproctitle/default.nix
@@ -1,17 +1,23 @@
{ stdenv
, buildPythonPackage
, fetchPypi
+, pytestCheckHook
}:
buildPythonPackage rec {
pname = "setproctitle";
- version = "1.1.10";
+ version = "1.2";
src = fetchPypi {
inherit pname version;
- sha256 = "6283b7a58477dd8478fbb9e76defb37968ee4ba47b05ec1c053cb39638bd7398";
+ sha256 = "9b4e48722dd96cbd66d5bf2eab930fff8546cd551dd8d774c8a319448bd381a6";
};
+ checkInputs = [ pytestCheckHook ];
+
+ # tries to compile programs with dependencies that aren't available
+ pytestFlagsArray = [ "--ignore=tests/setproctitle_test.py" ];
+
meta = with stdenv.lib; {
description = "Allows a process to change its title (as displayed by system tools such as ps and top)";
homepage = "https://github.com/dvarrazzo/py-setproctitle";
diff --git a/pkgs/development/python-modules/setuptools/default.nix b/pkgs/development/python-modules/setuptools/default.nix
index 54eacea892ef..f30e8dd5cdb3 100644
--- a/pkgs/development/python-modules/setuptools/default.nix
+++ b/pkgs/development/python-modules/setuptools/default.nix
@@ -13,7 +13,7 @@
let
pname = "setuptools";
- version = "47.3.1";
+ version = "50.3.1";
# Create an sdist of setuptools
sdist = stdenv.mkDerivation rec {
@@ -23,7 +23,7 @@ let
owner = "pypa";
repo = pname;
rev = "v${version}";
- sha256 = "0sy3p4ibgqx67hzn1f254jh8070a8kl9g2la62p3c74k2x7p0r7f";
+ sha256 = "Z4KHB3Pv4wZPou/Vbp1DFDgDp47OTDfVChGP55GtIJE=";
name = "${pname}-${version}-source";
};
diff --git a/pkgs/development/python-modules/skorch/default.nix b/pkgs/development/python-modules/skorch/default.nix
index 8e3fcc12f552..bb41f61517fc 100644
--- a/pkgs/development/python-modules/skorch/default.nix
+++ b/pkgs/development/python-modules/skorch/default.nix
@@ -16,11 +16,11 @@
buildPythonPackage rec {
pname = "skorch";
- version = "0.8.0";
+ version = "0.9.0";
src = fetchPypi {
inherit pname version;
- sha256 = "1l576dws9drjakfsn0pfpbr48b21vpxv3vd3dz8lkbn8q71zs22r";
+ sha256 = "bdce9370153fd80c5c4ec499a639f55eef0620e45d4b15fbf7d7ff2a225a3d40";
};
propagatedBuildInputs = [ numpy pytorch scikitlearn scipy tabulate tqdm ];
diff --git a/pkgs/development/python-modules/slicer/default.nix b/pkgs/development/python-modules/slicer/default.nix
index 827894771778..8711055766c6 100644
--- a/pkgs/development/python-modules/slicer/default.nix
+++ b/pkgs/development/python-modules/slicer/default.nix
@@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "slicer";
- version = "0.0.4";
+ version = "0.0.5";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "21d53aac4e78c93fd83c0fd2f8f9d8a2195ac079dffdc0da81cd749da0f2f355";
+ sha256 = "8c0fe9845056207d7344d5850e93551f9be20656178d443332aa02da9c71ba44";
};
checkInputs = [ pytestCheckHook pandas pytorch ];
diff --git a/pkgs/development/python-modules/slither-analyzer/default.nix b/pkgs/development/python-modules/slither-analyzer/default.nix
index 1c300bee3947..19677a71eca3 100644
--- a/pkgs/development/python-modules/slither-analyzer/default.nix
+++ b/pkgs/development/python-modules/slither-analyzer/default.nix
@@ -4,7 +4,7 @@
buildPythonPackage rec {
pname = "slither-analyzer";
- version = "0.6.13";
+ version = "0.6.14";
disabled = pythonOlder "3.6";
@@ -13,7 +13,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "2b0fe48f07971f4104e2b66d70a7924a550b477405b8feed9c0d4db14bb2c87c";
+ sha256 = "79f5098d27c149ca9cce2b8008ed29e2e0c8cee8fa3414c7e5455cb73c90a9a8";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/development/python-modules/sniffio/default.nix b/pkgs/development/python-modules/sniffio/default.nix
index 82275762ce3d..5b91bade0098 100644
--- a/pkgs/development/python-modules/sniffio/default.nix
+++ b/pkgs/development/python-modules/sniffio/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "sniffio";
- version = "1.1.0";
+ version = "1.2.0";
src = fetchPypi {
inherit pname version;
- sha256 = "8e3810100f69fe0edd463d02ad407112542a11ffdc29f67db2bf3771afb87a21";
+ sha256 = "c4666eecec1d3f50960c6bdf61ab7bc350648da6c126e3cf6898d8cd4ddcd3de";
};
disabled = !isPy3k;
diff --git a/pkgs/development/python-modules/soco/default.nix b/pkgs/development/python-modules/soco/default.nix
index b56e43e13219..e5fe491939fb 100644
--- a/pkgs/development/python-modules/soco/default.nix
+++ b/pkgs/development/python-modules/soco/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "soco";
- version = "0.19";
+ version = "0.20";
src = fetchPypi {
inherit pname version;
- sha256 = "0dgca286vhrabm4r4jj545k895z6w2c70ars06vrjhf9cpgg7qck";
+ sha256 = "929d4fae20b32efc08bb9985798c592aa7268162885541513eddbff0a757418f";
};
propagatedBuildInputs = [ xmltodict requests toml ];
diff --git a/pkgs/development/python-modules/sopel/default.nix b/pkgs/development/python-modules/sopel/default.nix
index 0c4c3f9b7b22..706175dfaad3 100644
--- a/pkgs/development/python-modules/sopel/default.nix
+++ b/pkgs/development/python-modules/sopel/default.nix
@@ -14,12 +14,12 @@
buildPythonPackage rec {
pname = "sopel";
- version = "7.0.6";
+ version = "7.0.7";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
- sha256 = "5e394d9797e221f90a95e5eb9987e8c1faf4f2488964f521e8ca1628798f0a38";
+ sha256 = "84d42708d176aecfb7b95299af0e484896f5f80df61f43c92d8e7a53de0b2099";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/sorl_thumbnail/default.nix b/pkgs/development/python-modules/sorl_thumbnail/default.nix
index f62af59c4edc..03fbc638f160 100644
--- a/pkgs/development/python-modules/sorl_thumbnail/default.nix
+++ b/pkgs/development/python-modules/sorl_thumbnail/default.nix
@@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "sorl-thumbnail";
- version = "12.6.3";
+ version = "12.7.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "66771521f3c0ed771e1ce8e1aaf1639ebff18f7f5a40cfd3083da8f0fe6c7c99";
+ sha256 = "fbe6dfd66a1aceb7e0203895ff5622775e50266f8d8cfd841fe1500bd3e19018";
};
nativeBuildInputs = [ setuptools_scm ];
diff --git a/pkgs/development/python-modules/sortedcontainers/default.nix b/pkgs/development/python-modules/sortedcontainers/default.nix
index 9df3d809f2cb..3f4a68406726 100644
--- a/pkgs/development/python-modules/sortedcontainers/default.nix
+++ b/pkgs/development/python-modules/sortedcontainers/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "sortedcontainers";
- version = "2.2.2";
+ version = "2.3.0";
src = fetchPypi {
inherit pname version;
- sha256 = "4e73a757831fc3ca4de2859c422564239a31d8213d09a2a666e375807034d2ba";
+ sha256 = "59cc937650cf60d677c16775597c89a960658a09cf7c1a668f86e1e4464b10a1";
};
# pypi tarball does not come with tests
diff --git a/pkgs/development/python-modules/sphinxcontrib_plantuml/default.nix b/pkgs/development/python-modules/sphinxcontrib_plantuml/default.nix
index b5dd9e11db03..ce65822e3b1f 100644
--- a/pkgs/development/python-modules/sphinxcontrib_plantuml/default.nix
+++ b/pkgs/development/python-modules/sphinxcontrib_plantuml/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "sphinxcontrib-plantuml";
- version = "0.18.1";
+ version = "0.19";
src = fetchPypi {
inherit pname version;
- sha256 = "c69662d39e4ae214943d8c141dbfb1cf0a5f125d3b45d2c90849c5f37d0c5fb7";
+ sha256 = "98b9f02282907b0c5b7a93a446c4649909aaf5785d2da0dd263c8ad68e00e288";
};
# No tests included.
diff --git a/pkgs/development/python-modules/spyder-kernels/default.nix b/pkgs/development/python-modules/spyder-kernels/default.nix
index 868ce80558a6..8655d9cbbd5d 100644
--- a/pkgs/development/python-modules/spyder-kernels/default.nix
+++ b/pkgs/development/python-modules/spyder-kernels/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "spyder-kernels";
- version = "1.9.4";
+ version = "1.10.0";
src = fetchPypi {
inherit pname version;
- sha256 = "ca9d997c475b714b54d2fd67aa140837ec3630e91cbbc2e0cd190f1b0bd9fe9d";
+ sha256 = "588602b9f44961f4011a9ec83fe85f5d621126eee64835e407a7d41c54dccc74";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/spyder/default.nix b/pkgs/development/python-modules/spyder/default.nix
index 2b0276afc9d8..f0c4ea50e72e 100644
--- a/pkgs/development/python-modules/spyder/default.nix
+++ b/pkgs/development/python-modules/spyder/default.nix
@@ -7,13 +7,13 @@
buildPythonPackage rec {
pname = "spyder";
- version = "4.1.5";
+ version = "4.2.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "d467f020b694193873a237ce6744ae36bd5a59f4d2b7ffbeb15dda68b03f5aa1";
+ sha256 = "44f51473b81c1bfde76097bfb957ec14f580a262b229ae8e90d18f5b82104c95";
};
nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ];
diff --git a/pkgs/development/python-modules/sqlite-utils/default.nix b/pkgs/development/python-modules/sqlite-utils/default.nix
index 9fc4c328b2c9..6e17fc4f38e2 100644
--- a/pkgs/development/python-modules/sqlite-utils/default.nix
+++ b/pkgs/development/python-modules/sqlite-utils/default.nix
@@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "sqlite-utils";
- version = "2.22";
+ version = "3.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "0g8zzp4qw6miijirykjcd78ib027k7dmg6lb9m4xysvah5jh8vfv";
+ sha256 = "a158265fde85a6757b7f09b568b1f7d6eaf75eaae208be27336f09dc048e5bcf";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/sqlparse/default.nix b/pkgs/development/python-modules/sqlparse/default.nix
index b6aee633e0ea..635111b95d9e 100644
--- a/pkgs/development/python-modules/sqlparse/default.nix
+++ b/pkgs/development/python-modules/sqlparse/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "sqlparse";
- version = "0.3.1";
+ version = "0.4.1";
src = fetchPypi {
inherit pname version;
- sha256 = "e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d12c548";
+ sha256 = "0f91fd2e829c44362cbcfab3e9ae12e22badaa8a29ad5ff599f9ec109f0454e8";
};
checkInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/staticjinja/default.nix b/pkgs/development/python-modules/staticjinja/default.nix
index 29fd116c0d59..cba55e5aca28 100644
--- a/pkgs/development/python-modules/staticjinja/default.nix
+++ b/pkgs/development/python-modules/staticjinja/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "staticjinja";
- version = "0.3.5";
+ version = "0.4.0";
src = fetchPypi {
inherit pname version;
- sha256 = "fbd61cca1dad44b6891d1a1d72b11ae100e21b3909802e3ff1861ab55bf16603";
+ sha256 = "597837899008409359680ee9cd04779639b9c0eb3380b6545025d26a702ba36c";
};
propagatedBuildInputs = [ jinja2 docopt easywatch ];
diff --git a/pkgs/development/python-modules/strictyaml/default.nix b/pkgs/development/python-modules/strictyaml/default.nix
index 44345a9aa505..ee18a6ca6b22 100644
--- a/pkgs/development/python-modules/strictyaml/default.nix
+++ b/pkgs/development/python-modules/strictyaml/default.nix
@@ -7,13 +7,13 @@
}:
buildPythonPackage rec {
- version = "1.1.0";
+ version = "1.1.1";
pname = "strictyaml";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "6b07dbd4f77ab023ed4167c43ffc1b9f9354fb6075cc6ff3b91fefcbb80342ca";
+ sha256 = "ea2bb97aacc12fff7df11bd4cb4ae64b1418a0311fbd1611445cc59dc650bdd3";
};
propagatedBuildInputs = [ ruamel_yaml python-dateutil ];
diff --git a/pkgs/development/python-modules/stripe/default.nix b/pkgs/development/python-modules/stripe/default.nix
index 5070d7d1947e..b205f48cb6f9 100644
--- a/pkgs/development/python-modules/stripe/default.nix
+++ b/pkgs/development/python-modules/stripe/default.nix
@@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "stripe";
- version = "2.54.0";
+ version = "2.55.0";
# Tests require network connectivity and there's no easy way to disable
# them. ~ C.
@@ -10,7 +10,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "a622bce0d6d0ac99a53b6e6a6475c39250207d644f28ad0ed276af7b96d12617";
+ sha256 = "2eebf023595e8aa9d65d8b46ccc3c716185bb9625d0e39d3956282fd7525848d";
};
propagatedBuildInputs = [ requests ];
diff --git a/pkgs/development/python-modules/sybil/default.nix b/pkgs/development/python-modules/sybil/default.nix
index a6f604dea037..3bf6ed95ced1 100644
--- a/pkgs/development/python-modules/sybil/default.nix
+++ b/pkgs/development/python-modules/sybil/default.nix
@@ -7,11 +7,11 @@
buildPythonApplication rec {
pname = "sybil";
- version = "1.4.0";
+ version = "2.0.0";
src = fetchPypi {
inherit pname version;
- sha256 = "fc46117619f2f704d1d1b02634fa3285f40479a3008172763b9998fe964f4d11";
+ sha256 = "3e098ae96c4d3668cd5fb04c160334a4bc3ade9d29177e0206846b75f5ff3e91";
};
checkInputs = [ pytest nose ];
diff --git a/pkgs/development/python-modules/terminado/default.nix b/pkgs/development/python-modules/terminado/default.nix
index 51e9b98db5bb..400751529ab6 100644
--- a/pkgs/development/python-modules/terminado/default.nix
+++ b/pkgs/development/python-modules/terminado/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "terminado";
- version = "0.8.3";
+ version = "0.9.1";
src = fetchPypi {
inherit pname version;
- sha256 = "4804a774f802306a7d9af7322193c5390f1da0abb429e082a10ef1d46e6fb2c2";
+ sha256 = "3da72a155b807b01c9e8a5babd214e052a0a45a975751da3521a1c3381ce6d76";
};
propagatedBuildInputs = [ ptyprocess tornado ];
diff --git a/pkgs/development/python-modules/testfixtures/default.nix b/pkgs/development/python-modules/testfixtures/default.nix
index 7a52c4c41926..b9803b115083 100644
--- a/pkgs/development/python-modules/testfixtures/default.nix
+++ b/pkgs/development/python-modules/testfixtures/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "testfixtures";
- version = "6.14.2";
+ version = "6.15.0";
src = fetchPypi {
inherit pname version;
- sha256 = "14d9907390f5f9c7189b3d511b64f34f1072d07cc13b604a57e1bb79029376e3";
+ sha256 = "409f77cfbdad822d12a8ce5c4aa8fb4d0bb38073f4a5444fede3702716a2cec2";
};
checkInputs = [ pytest mock sybil zope_component twisted ];
diff --git a/pkgs/development/python-modules/tflearn/default.nix b/pkgs/development/python-modules/tflearn/default.nix
index 03185ae4d9fe..91a92d6b8de4 100644
--- a/pkgs/development/python-modules/tflearn/default.nix
+++ b/pkgs/development/python-modules/tflearn/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "tflearn";
- version = "0.3.2";
+ version = "0.5.0";
src = fetchPypi {
inherit pname version;
- sha256 = "034lvbslcivyj64r4w6xmr90ckmyxmrnkka9kal50x4175h02n1z";
+ sha256 = "818aa57667693810415dc203ba3f75f1541e931a8dc30b6e8b21563541a70388";
};
buildInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/tifffile/default.nix b/pkgs/development/python-modules/tifffile/default.nix
index 77187f42b5e4..9383cf947c20 100644
--- a/pkgs/development/python-modules/tifffile/default.nix
+++ b/pkgs/development/python-modules/tifffile/default.nix
@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "tifffile";
- version = "2020.8.25";
+ version = "2020.11.26";
src = fetchPypi {
inherit pname version;
- sha256 = "b51e496bd9ee9c6875170a018bdb7b6f67e3946c4ab57afdb95b18b2c6937783";
+ sha256 = "c712df6f201385fbd3500e26e45dc20fabcbb0c6c1fbfb4c1e44538a9d0269a8";
};
patches = lib.optional isPy27 ./python2-regex-compat.patch;
diff --git a/pkgs/development/python-modules/timezonefinder/default.nix b/pkgs/development/python-modules/timezonefinder/default.nix
index ca07b50ceff8..0ba9c4c53d8f 100644
--- a/pkgs/development/python-modules/timezonefinder/default.nix
+++ b/pkgs/development/python-modules/timezonefinder/default.nix
@@ -10,13 +10,13 @@
buildPythonPackage rec {
pname = "timezonefinder";
- version = "4.4.1";
+ version = "4.5.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "c84e0f4b501419349e67972d25c535d9b5fd6c100c319747049b67812a4c6b97";
+ sha256 = "99b0cea5abf304e8738ecf5cceae0c0e5182534843f19638a26a220fa212fbad";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/tld/default.nix b/pkgs/development/python-modules/tld/default.nix
index 6300111e4ce2..43a2e46dcfb9 100644
--- a/pkgs/development/python-modules/tld/default.nix
+++ b/pkgs/development/python-modules/tld/default.nix
@@ -2,11 +2,11 @@
python.pkgs.buildPythonPackage rec {
pname = "tld";
- version = "0.12.2";
+ version = "0.12.3";
src = fetchPypi {
inherit pname version;
- sha256 = "cf8410a7ed7b9477f563fa158dabef5117d8374cba55f65142ba0af6dcd15d4d";
+ sha256 = "1959d0db03b7644f5528748f348d5eecdcd27120a8bb4ef00d932b1b1acdf13d";
};
propagatedBuildInputs = with python.pkgs; [ six ];
diff --git a/pkgs/development/python-modules/tldextract/default.nix b/pkgs/development/python-modules/tldextract/default.nix
index b7df857533a0..02359ce67a59 100644
--- a/pkgs/development/python-modules/tldextract/default.nix
+++ b/pkgs/development/python-modules/tldextract/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "tldextract";
- version = "2.2.3";
+ version = "3.1.0";
src = fetchPypi {
inherit pname version;
- sha256 = "ab0e38977a129c72729476d5f8c85a8e1f8e49e9202e1db8dca76e95da7be9a8";
+ sha256 = "cfae9bc8bda37c3e8c7c8639711ad20e95dc85b207a256b60b0b23d7ff5540ea";
};
propagatedBuildInputs = [ requests requests-file idna ];
diff --git a/pkgs/development/python-modules/tornado/default.nix b/pkgs/development/python-modules/tornado/default.nix
index 8d9cadeb3e54..893943cbc720 100644
--- a/pkgs/development/python-modules/tornado/default.nix
+++ b/pkgs/development/python-modules/tornado/default.nix
@@ -6,7 +6,7 @@
buildPythonPackage rec {
pname = "tornado";
- version = "6.0.4";
+ version = "6.1";
# We specify the name of the test files to prevent
# https://github.com/NixOS/nixpkgs/issues/14634
@@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "0fe2d45ba43b00a41cd73f8be321a44936dc1aba233dee979f17a042b83eb6dc";
+ sha256 = "33c6e81d7bd55b468d2e793517c909b139960b6c790a60b7991b9b6b76fb9791";
};
__darwinAllowLocalNetworking = true;
diff --git a/pkgs/development/python-modules/tox/default.nix b/pkgs/development/python-modules/tox/default.nix
index 40883928f565..9dad7d77ff90 100644
--- a/pkgs/development/python-modules/tox/default.nix
+++ b/pkgs/development/python-modules/tox/default.nix
@@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "tox";
- version = "3.19.0";
+ version = "3.20.1";
buildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ packaging pluggy py six virtualenv toml filelock ];
@@ -22,7 +22,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "17e61a93afe5c49281fb969ab71f7a3f22d7586d1c56f9a74219910f356fe7d3";
+ sha256 = "4321052bfe28f9d85082341ca8e233e3ea901fdd14dab8a5d3fbd810269fbaf6";
};
meta = with lib; {
diff --git a/pkgs/development/python-modules/tqdm/default.nix b/pkgs/development/python-modules/tqdm/default.nix
index c83f6159fde8..5df20826dc76 100644
--- a/pkgs/development/python-modules/tqdm/default.nix
+++ b/pkgs/development/python-modules/tqdm/default.nix
@@ -5,31 +5,31 @@
, coverage
, glibcLocales
, flake8
+, setuptools_scm
+, pytestCheckHook
}:
buildPythonPackage rec {
pname = "tqdm";
- version = "4.48.2";
+ version = "4.54.0";
src = fetchPypi {
inherit pname version;
- sha256 = "564d632ea2b9cb52979f7956e093e831c28d441c11751682f84c86fc46e4fd21";
+ sha256 = "5c0d04e06ccc0da1bd3fa5ae4550effcce42fcad947b4a6cafa77bdc9b09ff22";
};
- checkInputs = [ nose coverage glibcLocales flake8 ];
+ nativeBuildInputs = [
+ setuptools_scm
+ ];
- postPatch = ''
- # Remove performance testing.
- # Too sensitive for on Hydra.
- rm tqdm/tests/tests_perf.py
- '';
+ checkInputs = [ nose coverage glibcLocales flake8 pytestCheckHook ];
+
+ # Remove performance testing.
+ # Too sensitive for on Hydra.
+ PYTEST_ADDOPTS = "-k \"not perf\"";
LC_ALL="en_US.UTF-8";
-# doCheck = !stdenv.isDarwin;
- # Test suite is too big and slow.
- doCheck = false;
-
meta = {
description = "A Fast, Extensible Progress Meter";
homepage = "https://github.com/tqdm/tqdm";
diff --git a/pkgs/development/python-modules/traitlets/default.nix b/pkgs/development/python-modules/traitlets/default.nix
index 001106328085..bfbb297cdc08 100644
--- a/pkgs/development/python-modules/traitlets/default.nix
+++ b/pkgs/development/python-modules/traitlets/default.nix
@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "traitlets";
- version = "4.3.3";
+ version = "5.0.5";
src = fetchPypi {
inherit pname version;
- sha256 = "d023ee369ddd2763310e4c3eae1ff649689440d4ae59d7485eb4cfbbe3e359f7";
+ sha256 = "178f4ce988f69189f7e523337a3e11d91c786ded9360174a3d9ca83e79bc5396";
};
checkInputs = [ glibcLocales pytest mock ];
diff --git a/pkgs/development/python-modules/traitsui/default.nix b/pkgs/development/python-modules/traitsui/default.nix
index 01788f63d4f4..e76a36bcf4f9 100644
--- a/pkgs/development/python-modules/traitsui/default.nix
+++ b/pkgs/development/python-modules/traitsui/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "traitsui";
- version = "7.0.1";
+ version = "7.1.0";
src = fetchPypi {
inherit pname version;
- sha256 = "74fb4db848ac1343241fa4dc5d9bf3fab561f309826c602e8a3568309df91fe3";
+ sha256 = "b699aeea588b55723860ddc6b2bd9b5013c4a72e18d1bbf51c6689cc7c6a562a";
};
propagatedBuildInputs = [ traits pyface six ];
diff --git a/pkgs/development/python-modules/transitions/default.nix b/pkgs/development/python-modules/transitions/default.nix
index a372e492f9f6..2691890a5ee1 100644
--- a/pkgs/development/python-modules/transitions/default.nix
+++ b/pkgs/development/python-modules/transitions/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "transitions";
- version = "0.8.4";
+ version = "0.8.5";
src = fetchPypi {
inherit pname version;
- sha256 = "9a2841b24789dfd345267cb92e26b79da75fd03f6021d1a5222c71b5c9ae3c16";
+ sha256 = "e441c66a0c753d56c01c3e5e547f21dbe4a5569c939f12477475c5e81d79769b";
};
postPatch = ''
diff --git a/pkgs/development/python-modules/tvnamer/default.nix b/pkgs/development/python-modules/tvnamer/default.nix
index 2dc819ac63e0..81fa2e61b02a 100644
--- a/pkgs/development/python-modules/tvnamer/default.nix
+++ b/pkgs/development/python-modules/tvnamer/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "tvnamer";
- version = "3.0.1";
+ version = "3.0.2";
src = fetchPypi {
inherit pname version;
- sha256 = "5512cebb1e49103a1e4ea9629398092b4bbabef35a91007ae0dbed961ebe17dd";
+ sha256 = "a5ff916e104b2c0b567c2c7f2d8ae15a66a7ac57d67390e7c67207a33b79022f";
};
checkInputs = [ pytest ];
diff --git a/pkgs/development/python-modules/typeguard/default.nix b/pkgs/development/python-modules/typeguard/default.nix
index 2f0617731e10..ee36a6dab810 100644
--- a/pkgs/development/python-modules/typeguard/default.nix
+++ b/pkgs/development/python-modules/typeguard/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "typeguard";
- version = "2.9.1";
+ version = "2.10.0";
src = fetchPypi {
inherit pname version;
- sha256 = "123jnq7igm26a5347jf2j60bww9g84l80f208dzlbk49h7cg77jj";
+ sha256 = "d830132dcd544d3f8a2a842ea739eaa0d7c099fcebb9dcdf3802f4c9929d8191";
};
buildInputs = [ setuptools_scm ];
diff --git a/pkgs/development/python-modules/ujson/default.nix b/pkgs/development/python-modules/ujson/default.nix
index 9df71ee49c3e..e7a9ee8f35a7 100644
--- a/pkgs/development/python-modules/ujson/default.nix
+++ b/pkgs/development/python-modules/ujson/default.nix
@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "ujson";
- version = "3.1.0";
+ version = "4.0.1";
disabled = isPyPy || (!isPy3k);
src = fetchPypi {
inherit pname version;
- sha256 = "00bda1de275ed6fe81817902189c75dfd156b4fa29b44dc1f4620775d2f50cf7";
+ sha256 = "26cf6241b36ff5ce4539ae687b6b02673109c5e3efc96148806a7873eaa229d3";
};
nativeBuildInputs = [ setuptools_scm ];
diff --git a/pkgs/development/python-modules/uncompyle6/default.nix b/pkgs/development/python-modules/uncompyle6/default.nix
index 5d1a32a29655..425b2e31ca61 100644
--- a/pkgs/development/python-modules/uncompyle6/default.nix
+++ b/pkgs/development/python-modules/uncompyle6/default.nix
@@ -1,6 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
+, pythonAtLeast
, spark_parser
, xdis
, nose
@@ -12,6 +13,7 @@
buildPythonPackage rec {
pname = "uncompyle6";
version = "3.7.4";
+ disabled = pythonAtLeast "3.9"; # See: https://github.com/rocky/python-uncompyle6/issues/331
src = fetchPypi {
inherit pname version;
diff --git a/pkgs/development/python-modules/uproot-methods/default.nix b/pkgs/development/python-modules/uproot-methods/default.nix
index 1e382629e899..3c268ed7ed4f 100644
--- a/pkgs/development/python-modules/uproot-methods/default.nix
+++ b/pkgs/development/python-modules/uproot-methods/default.nix
@@ -6,12 +6,12 @@
}:
buildPythonPackage rec {
- version = "0.8.0";
+ version = "0.9.1";
pname = "uproot-methods";
src = fetchPypi {
inherit pname version;
- sha256 = "57da3d67e1a42b548020debdd23285b5710e3bb2aac20eb7b2d2a686822aa1ab";
+ sha256 = "accb4392c59a1485ce3ee6d78a6fd163731ade8b9b5208e7bde8fa1767aef097";
};
propagatedBuildInputs = [ numpy awkward ];
diff --git a/pkgs/development/python-modules/uproot/default.nix b/pkgs/development/python-modules/uproot/default.nix
index 81b6f276289c..eadd6c36de1a 100644
--- a/pkgs/development/python-modules/uproot/default.nix
+++ b/pkgs/development/python-modules/uproot/default.nix
@@ -16,11 +16,11 @@
buildPythonPackage rec {
pname = "uproot";
- version = "3.12.0";
+ version = "3.13.1";
src = fetchPypi {
inherit pname version;
- sha256 = "1603140896b9d3495cedeee2b872e97759085777c1299317072ad3f415211abc";
+ sha256 = "099b0b274dc000faf724df835579c76306e60200a5ba7b600a0c4b76dabbf344";
};
nativeBuildInputs = [ pytestrunner ];
diff --git a/pkgs/development/python-modules/urllib3/default.nix b/pkgs/development/python-modules/urllib3/default.nix
index 96bb2a0e5325..aafa11720a22 100644
--- a/pkgs/development/python-modules/urllib3/default.nix
+++ b/pkgs/development/python-modules/urllib3/default.nix
@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "urllib3";
- version = "1.25.11";
+ version = "1.26.2";
src = fetchPypi {
inherit pname version;
- sha256 = "8d7eaa5a82a1cac232164990f04874c594c9453ec55eef02eab885aa02fc17a2";
+ sha256 = "19188f96923873c92ccb987120ec4acaa12f0461fa9ce5d3d0772bc965a39e08";
};
NOSE_EXCLUDE = stdenv.lib.concatStringsSep "," [
diff --git a/pkgs/development/python-modules/urwid-readline/default.nix b/pkgs/development/python-modules/urwid-readline/default.nix
index 1ded152cba91..1c5f1c8307ef 100644
--- a/pkgs/development/python-modules/urwid-readline/default.nix
+++ b/pkgs/development/python-modules/urwid-readline/default.nix
@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "urwid_readline";
- version = "0.11";
+ version = "0.12";
src = fetchPypi {
inherit pname version;
- sha256 = "24e376d4b75940d19e8bc81c264be5d383f8d4da560f68f648dd16c85f6afdb5";
+ sha256 = "f7384e03017c3fb07bfba0d829d70287793326d9f6dac145dd09e0d693d7bf9c";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/uvicorn/default.nix b/pkgs/development/python-modules/uvicorn/default.nix
index dbfdcec142dd..55511be4926c 100644
--- a/pkgs/development/python-modules/uvicorn/default.nix
+++ b/pkgs/development/python-modules/uvicorn/default.nix
@@ -45,7 +45,8 @@ buildPythonPackage rec {
# watchgod required the watchgod package, which isn't available in nixpkgs
checkPhase = ''
- pytest --ignore=tests/supervisors/test_watchgodreload.py
+ pytest --ignore=tests/supervisors/test_watchgodreload.py \
+ -k 'not test_supported_upgrade_request and not test_invalid_upgrade[WSProtocol]'
'';
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/uvloop/default.nix b/pkgs/development/python-modules/uvloop/default.nix
index b06f41ce5a31..a37e6a3675ba 100644
--- a/pkgs/development/python-modules/uvloop/default.nix
+++ b/pkgs/development/python-modules/uvloop/default.nix
@@ -72,5 +72,6 @@ buildPythonPackage rec {
homepage = "https://github.com/MagicStack/uvloop";
license = licenses.mit;
maintainers = with maintainers; [ costrouc ];
+ broken = pythonAtLeast "3.9"; # see: https://github.com/MagicStack/uvloop/issues/365
};
}
diff --git a/pkgs/development/python-modules/validators/default.nix b/pkgs/development/python-modules/validators/default.nix
index 6ec8db340681..1bc9b1777ff6 100644
--- a/pkgs/development/python-modules/validators/default.nix
+++ b/pkgs/development/python-modules/validators/default.nix
@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "validators";
- version = "0.17.1";
+ version = "0.18.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "401cb441dd61bb1a03b10c8a3a884642409e22a2a19e03bbfc4891e0ddbc7268";
+ sha256 = "1a653b33c0ab091790f65f42b61aa191e354ed5fdedfeb17d24a86d0789966d7";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/vega_datasets/default.nix b/pkgs/development/python-modules/vega_datasets/default.nix
index 5845557c54c1..70235aa95bd7 100644
--- a/pkgs/development/python-modules/vega_datasets/default.nix
+++ b/pkgs/development/python-modules/vega_datasets/default.nix
@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "vega_datasets";
- version = "0.8.0";
+ version = "0.9.0";
src = fetchPypi {
inherit pname version;
- sha256 = "db8883dab72b6f414e1fafdbf1e8db7543bba6ed77912a4e0c197d74fcfa1c20";
+ sha256 = "9dbe9834208e8ec32ab44970df315de9102861e4cda13d8e143aab7a80d93fc0";
};
propagatedBuildInputs = [ pandas ];
diff --git a/pkgs/development/python-modules/vine/default.nix b/pkgs/development/python-modules/vine/default.nix
index ce5756656bcb..1f4933d7dd8a 100644
--- a/pkgs/development/python-modules/vine/default.nix
+++ b/pkgs/development/python-modules/vine/default.nix
@@ -3,13 +3,13 @@
buildPythonPackage rec {
pname = "vine";
- version = "1.3.0";
+ version = "5.0.0";
disable = pythonOlder "2.7";
src = fetchPypi {
inherit pname version;
- sha256 = "133ee6d7a9016f177ddeaf191c1f58421a1dcc6ee9a42c58b34bed40e1d2cd87";
+ sha256 = "7d3b1624a953da82ef63462013bbd271d3eb75751489f9807598e8f340bd637e";
};
buildInputs = [ case pytest ];
diff --git a/pkgs/development/python-modules/virtualenv/default.nix b/pkgs/development/python-modules/virtualenv/default.nix
index 4642a44762aa..233101728f85 100644
--- a/pkgs/development/python-modules/virtualenv/default.nix
+++ b/pkgs/development/python-modules/virtualenv/default.nix
@@ -17,11 +17,11 @@
buildPythonPackage rec {
pname = "virtualenv";
- version = "20.0.35";
+ version = "20.2.1";
src = fetchPypi {
inherit pname version;
- sha256 = "2a72c80fa2ad8f4e2985c06e6fc12c3d60d060e410572f553c90619b0f6efaf3";
+ sha256 = "e0aac7525e880a429764cefd3aaaff54afb5d9f25c82627563603f5d7de5a6e5";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/watchdog/default.nix b/pkgs/development/python-modules/watchdog/default.nix
index 17f7b540c605..ffec68785260 100644
--- a/pkgs/development/python-modules/watchdog/default.nix
+++ b/pkgs/development/python-modules/watchdog/default.nix
@@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "watchdog";
- version = "0.10.3";
+ version = "0.10.4";
src = fetchPypi {
inherit pname version;
- sha256 = "4214e1379d128b0588021880ccaf40317ee156d4603ac388b9adcf29165e0c04";
+ sha256 = "e38bffc89b15bafe2a131f0e1c74924cf07dcec020c2e0a26cccd208831fcd43";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin
diff --git a/pkgs/development/python-modules/web/default.nix b/pkgs/development/python-modules/web/default.nix
index bf21d7ed5c36..769ac6d2e5fa 100644
--- a/pkgs/development/python-modules/web/default.nix
+++ b/pkgs/development/python-modules/web/default.nix
@@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
- version = "0.61";
+ version = "0.62";
pname = "web.py";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "c7a9081aeb086cd3e703c7553a47ee75188d1d325f25eec7654d9bb00b5eccbb";
+ sha256 = "5ce684caa240654cae5950da8b4b7bc178812031e08f990518d072bd44ab525e";
};
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/west/default.nix b/pkgs/development/python-modules/west/default.nix
index 686ba1196b1f..8958f37b0f85 100644
--- a/pkgs/development/python-modules/west/default.nix
+++ b/pkgs/development/python-modules/west/default.nix
@@ -3,14 +3,14 @@
}:
buildPythonPackage rec {
- version = "0.7.3";
+ version = "0.8.0";
pname = "west";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "86a36049ae3c8b1ce12d3183911b3082b38b2998e858285309581e37dc22d8fa";
+ sha256 = "672053c3392248846694e5619a7fe6ab4c40f010a8f5be6350821b39f6132a26";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/wheel/default.nix b/pkgs/development/python-modules/wheel/default.nix
index fd93cbdcea37..4f51fb486ebc 100644
--- a/pkgs/development/python-modules/wheel/default.nix
+++ b/pkgs/development/python-modules/wheel/default.nix
@@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "wheel";
- version = "0.34.2";
+ version = "0.35.1";
format = "other";
src = fetchFromGitHub {
owner = "pypa";
repo = pname;
rev = version;
- sha256 = "1mwh35ycv07ajnpcjc4rjdmndh6nyg03gdgag5m8c2af7z1xlcmj";
+ sha256 = "uS+9a47ZopI0yGlEnJi421WyzS//8BxUvH25hX4BBL8=";
name = "${pname}-${version}-source";
};
diff --git a/pkgs/development/python-modules/wsproto/default.nix b/pkgs/development/python-modules/wsproto/default.nix
index 95ed95cb860b..d4dd7d089997 100644
--- a/pkgs/development/python-modules/wsproto/default.nix
+++ b/pkgs/development/python-modules/wsproto/default.nix
@@ -6,12 +6,12 @@
buildPythonPackage rec {
pname = "wsproto";
- version = "0.15.0";
+ version = "1.0.0";
disabled = pythonOlder "3.6"; # python versions <3.6
src = fetchPypi {
inherit pname version;
- sha256 = "17gsxlli4w8am1wwwl3k90hpdfa213ax40ycbbvb7hjx1v1rhiv1";
+ sha256 = "868776f8456997ad0d9720f7322b746bbe9193751b5b290b7f924659377c8c38";
};
propagatedBuildInputs = [ h11 ] ++ lib.optional isPy36 dataclasses;
diff --git a/pkgs/development/python-modules/xcffib/default.nix b/pkgs/development/python-modules/xcffib/default.nix
index 8f949f20e92a..b75179bdc2a4 100644
--- a/pkgs/development/python-modules/xcffib/default.nix
+++ b/pkgs/development/python-modules/xcffib/default.nix
@@ -8,12 +8,12 @@
}:
buildPythonPackage rec {
- version = "0.10.1";
+ version = "0.11.0";
pname = "xcffib";
src = fetchPypi {
inherit pname version;
- sha256 = "cab1630a51076b11819c97e6da461ddd4cb21bdf65c071d1c57a846c9b129c12";
+ sha256 = "a751081d816a63d02a4c63f91fd9c0112c1e0061af7ccf79c4e7c18517a75406";
};
patchPhase = ''
diff --git a/pkgs/development/python-modules/xdot/default.nix b/pkgs/development/python-modules/xdot/default.nix
index 6a4d7f01cc11..e8b95e5d09cc 100644
--- a/pkgs/development/python-modules/xdot/default.nix
+++ b/pkgs/development/python-modules/xdot/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "xdot";
- version = "1.1";
+ version = "1.2";
src = fetchPypi {
inherit pname version;
- sha256 = "0cr4rh7dz4dfzyxrk5pzhm0d15gkrgkfp3i5lw178xy81pc56p71";
+ sha256 = "3df91e6c671869bd2a6b2a8883fa3476dbe2ba763bd2a7646cf848a9eba71b70";
};
disabled = !isPy3k;
diff --git a/pkgs/development/python-modules/xml2rfc/default.nix b/pkgs/development/python-modules/xml2rfc/default.nix
index d02b7e2e066a..9f32a6de2d89 100644
--- a/pkgs/development/python-modules/xml2rfc/default.nix
+++ b/pkgs/development/python-modules/xml2rfc/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "xml2rfc";
- version = "2.47.0";
+ version = "3.5.0";
src = fetchPypi {
inherit pname version;
- sha256 = "7f621ed0e5a30c2b67c0e50778627b7a35e1ccfea9db19ea89b4c72a8faf42c0";
+ sha256 = "3ec836a9545f549707a8c8176038160185b9d08c1dd80304a906527da21bff68";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/xstatic-bootstrap/default.nix b/pkgs/development/python-modules/xstatic-bootstrap/default.nix
index 83b33dc3edf4..0d9962e5faf5 100644
--- a/pkgs/development/python-modules/xstatic-bootstrap/default.nix
+++ b/pkgs/development/python-modules/xstatic-bootstrap/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "XStatic-Bootstrap";
- version = "4.1.3.1";
+ version = "4.5.3.1";
src = fetchPypi {
inherit version pname;
- sha256 = "1800e6bb5fc687604d8a893eee8c7882d800a6f3d6721799016f99a47d1dac0f";
+ sha256 = "cf67d205437b32508a88b69a7e7c5bbe2ca5a8ae71097391a6a6f510ebfd2820";
};
# no tests implemented
diff --git a/pkgs/development/python-modules/xstatic-jquery-file-upload/default.nix b/pkgs/development/python-modules/xstatic-jquery-file-upload/default.nix
index 3eac03299109..0316a8493762 100644
--- a/pkgs/development/python-modules/xstatic-jquery-file-upload/default.nix
+++ b/pkgs/development/python-modules/xstatic-jquery-file-upload/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "XStatic-jQuery-File-Upload";
- version = "9.23.0.1";
+ version = "10.31.0.1";
src = fetchPypi {
inherit version pname;
- sha256 = "649a500870b5f5d9cc71d1c1dc4c4d2242f459b02d811a771336217e4e91bfda";
+ sha256 = "7d716f26aca14732c35c54f0ba6d38187600ab472fc98a91d972d12c5a70db27";
};
# no tests implemented
diff --git a/pkgs/development/python-modules/xstatic-pygments/default.nix b/pkgs/development/python-modules/xstatic-pygments/default.nix
index c71fce169d9d..8542747d2dd6 100644
--- a/pkgs/development/python-modules/xstatic-pygments/default.nix
+++ b/pkgs/development/python-modules/xstatic-pygments/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "XStatic-Pygments";
- version = "2.2.0.1";
+ version = "2.7.2.1";
src = fetchPypi {
inherit version pname;
- sha256 = "1rm073ag1hgwlazl52mng62wvnayz7ckr5ki341shvp9db1x2n51";
+ sha256 = "b22b0a59ce17bf06e26508fdd264fff74409ebd9968af87a0a63402fce838dc2";
};
# no tests implemented
diff --git a/pkgs/development/python-modules/yarl/default.nix b/pkgs/development/python-modules/yarl/default.nix
index 3ab7fb49c43a..7a15907e59be 100644
--- a/pkgs/development/python-modules/yarl/default.nix
+++ b/pkgs/development/python-modules/yarl/default.nix
@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "yarl";
- version = "1.5.1";
+ version = "1.6.3";
src = fetchPypi {
inherit pname version;
- sha256 = "c22c75b5f394f3d47105045ea551e08a3e804dc7e01b37800ca35b58f856c3d6";
+ sha256 = "8a9066529240171b68893d60dca86a763eae2139dd42f42106b03cf4b426bf10";
};
checkInputs = [ pytest pytestrunner ];
diff --git a/pkgs/development/python-modules/yt/default.nix b/pkgs/development/python-modules/yt/default.nix
index 353400120f3c..42bde9909b8c 100644
--- a/pkgs/development/python-modules/yt/default.nix
+++ b/pkgs/development/python-modules/yt/default.nix
@@ -15,12 +15,12 @@
buildPythonPackage rec {
pname = "yt";
- version = "3.6.0";
+ version = "3.6.1";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
- sha256 = "effb00536f19fd2bdc18f67dacd5550b82066a6adce5b928f27a01d7505109ec";
+ sha256 = "be454f9d05dcbe0623328b4df43a1bfd1f0925e516be97399710452931a19bb0";
};
buildInputs = [
diff --git a/pkgs/development/python-modules/zfec/default.nix b/pkgs/development/python-modules/zfec/default.nix
index dbcd8303ef2f..b365438a1c97 100644
--- a/pkgs/development/python-modules/zfec/default.nix
+++ b/pkgs/development/python-modules/zfec/default.nix
@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "zfec";
- version = "1.5.4";
+ version = "1.5.5";
src = fetchPypi {
inherit pname version;
- sha256 = "222a2d84898db792b28f993cb663e940668bfbd844992a82351fd40dc1680883";
+ sha256 = "6033b2f3cc3edacf3f7eeed5f258c1ebf8a1d7e5e35b623db352512ce564e5ca";
};
buildInputs = [ setuptoolsDarcs ];
diff --git a/pkgs/development/python-modules/zha-quirks/default.nix b/pkgs/development/python-modules/zha-quirks/default.nix
index 4554ffa58e2f..0c6ac7dbf499 100644
--- a/pkgs/development/python-modules/zha-quirks/default.nix
+++ b/pkgs/development/python-modules/zha-quirks/default.nix
@@ -4,14 +4,14 @@
buildPythonPackage rec {
pname = "zha-quirks";
- version = "0.0.46";
+ version = "0.0.47";
propagatedBuildInputs = [ aiohttp zigpy ];
checkInputs = [ pytestCheckHook conftest asynctest ];
src = fetchPypi {
inherit pname version;
- sha256 = "OpkOMvxiPBCVagSv8Jxvth3gwVv4idFSlKoBaOO5JVg=";
+ sha256 = "bf7dbd5d1c1a3849b059e62afcef248b6955f5ceef78f87201ae2fc8420738de";
};
meta = with lib; {
diff --git a/pkgs/development/python-modules/zigpy-deconz/default.nix b/pkgs/development/python-modules/zigpy-deconz/default.nix
index af52e9425307..12964652752f 100644
--- a/pkgs/development/python-modules/zigpy-deconz/default.nix
+++ b/pkgs/development/python-modules/zigpy-deconz/default.nix
@@ -4,14 +4,14 @@
buildPythonPackage rec {
pname = "zigpy-deconz";
- version = "0.9.2";
+ version = "0.11.0";
propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ];
checkInputs = [ pytest pytest-asyncio asynctest ];
src = fetchPypi {
inherit pname version;
- sha256 = "f4256136d714c00d22f6d2abf975438e2bc080cc43b8afef0decb80ed8066ef6";
+ sha256 = "a2263f8bc5807ebac55bb665eca553b514384ce270b66f83df02c39184193020";
};
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/zipp/default.nix b/pkgs/development/python-modules/zipp/default.nix
index 5d4bc589d361..1dafe8cbb0c5 100644
--- a/pkgs/development/python-modules/zipp/default.nix
+++ b/pkgs/development/python-modules/zipp/default.nix
@@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "zipp";
- version = "3.1.0";
+ version = "3.4.0";
src = fetchPypi {
inherit pname version;
- sha256 = "c599e4d75c98f6798c509911d08a22e6c021d074469042177c8c86fb92eefd96";
+ sha256 = "ed5eee1974372595f9e416cc7bbeeb12335201d8081ca8a0743c954d4446e5cb";
};
nativeBuildInputs = [ setuptools_scm toml ];
diff --git a/pkgs/development/python-modules/zm-py/default.nix b/pkgs/development/python-modules/zm-py/default.nix
index 3ce071156936..65f5ec1fa7af 100644
--- a/pkgs/development/python-modules/zm-py/default.nix
+++ b/pkgs/development/python-modules/zm-py/default.nix
@@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "zm-py";
- version = "0.4.0";
+ version = "0.5.2";
src = fetchPypi {
inherit pname version;
- sha256 = "f9693ca046de4ea12c1afb5c67709ec0c2a48744566c0a1a9327348e1a1617b0";
+ sha256 = "b391cca0e52f2a887aa7a46c314b73335b7e3341c428b425fcf314983e5ebb36";
};
disabled = !isPy3k;
diff --git a/pkgs/development/python-modules/zope_event/default.nix b/pkgs/development/python-modules/zope_event/default.nix
index 4f9e14ba20d3..b5481ae2e2b7 100644
--- a/pkgs/development/python-modules/zope_event/default.nix
+++ b/pkgs/development/python-modules/zope_event/default.nix
@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "zope.event";
- version = "4.4";
+ version = "4.5.0";
src = fetchPypi {
inherit pname version;
- sha256 = "69c27debad9bdacd9ce9b735dad382142281ac770c4a432b533d6d65c4614bcf";
+ sha256 = "5e76517f5b9b119acf37ca8819781db6c16ea433f7e2062c4afc2b6fbedb1330";
};
meta = with stdenv.lib; {
diff --git a/pkgs/development/python-modules/zope_interface/default.nix b/pkgs/development/python-modules/zope_interface/default.nix
index 1d86d6a8f14e..919c3ade3c28 100644
--- a/pkgs/development/python-modules/zope_interface/default.nix
+++ b/pkgs/development/python-modules/zope_interface/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "zope.interface";
- version = "5.1.2";
+ version = "5.2.0";
src = fetchPypi {
inherit pname version;
- sha256 = "c9c8e53a5472b77f6a391b515c771105011f4b40740ce53af8428d1c8ca20004";
+ sha256 = "8251f06a77985a2729a8bdbefbae79ee78567dddc3acbd499b87e705ca59fe24";
};
propagatedBuildInputs = [ zope_event ];
diff --git a/pkgs/development/tools/build-managers/cmake/default.nix b/pkgs/development/tools/build-managers/cmake/default.nix
index 01c97305807f..ef8a5324487d 100644
--- a/pkgs/development/tools/build-managers/cmake/default.nix
+++ b/pkgs/development/tools/build-managers/cmake/default.nix
@@ -20,12 +20,12 @@ stdenv.mkDerivation rec {
+ lib.optionalString useNcurses "-cursesUI"
+ lib.optionalString withQt5 "-qt5UI"
+ lib.optionalString useQt4 "-qt4UI";
- version = "3.18.4";
+ version = "3.19.1";
src = fetchurl {
url = "${meta.homepage}files/v${lib.versions.majorMinor version}/cmake-${version}.tar.gz";
# compare with https://cmake.org/files/v${lib.versions.majorMinor version}/cmake-${version}-SHA-256.txt
- sha256 = "0xsg5lw3i4bw610q987cwz3iz06x3lrbbaa2mnzyr4kaiqsn2z2r";
+ sha256 = "1fisi9rlijw9wd0yjzk1c6j7ljnb2yiq5iqnrz6m1xkflyinw9hx";
};
patches = [
diff --git a/pkgs/development/tools/build-managers/ninja/default.nix b/pkgs/development/tools/build-managers/ninja/default.nix
index bc5ad7744d68..8fc81a1a979d 100644
--- a/pkgs/development/tools/build-managers/ninja/default.nix
+++ b/pkgs/development/tools/build-managers/ninja/default.nix
@@ -4,13 +4,13 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "ninja";
- version = "1.10.1";
+ version = "1.10.2";
src = fetchFromGitHub {
owner = "ninja-build";
repo = "ninja";
rev = "v${version}";
- sha256 = "1bmv7zfqwp48ga6vnqvy0gzkclv40xgq19q4ihl58r6cn4swccn3";
+ sha256 = "0mspq4mvx41qri2v2zlg2y3znx5gfw6d8s3czbcfpr2218qbpz55";
};
nativeBuildInputs = [ python3 re2c ] ++ optionals buildDocs [ asciidoc docbook_xml_dtd_45 docbook_xsl libxslt.bin ];
diff --git a/pkgs/development/tools/database/pgcli/default.nix b/pkgs/development/tools/database/pgcli/default.nix
index b6d7f65896e8..36a85e6361cb 100644
--- a/pkgs/development/tools/database/pgcli/default.nix
+++ b/pkgs/development/tools/database/pgcli/default.nix
@@ -1,4 +1,4 @@
-{ buildPythonApplication, lib, fetchPypi, isPy3k
+{ buildPythonApplication, lib, fetchPypi, isPy3k, fetchpatch
, cli-helpers, click, configobj, humanize, prompt_toolkit, psycopg2
, pygments, sqlparse, pgspecial, setproctitle, keyring, pytest, mock
}:
@@ -19,6 +19,15 @@ buildPythonApplication rec {
pygments sqlparse pgspecial setproctitle keyring
];
+ patches = [
+ (fetchpatch {
+ name = "enable-sqlparse-4.patch";
+ url = "https://github.com/dbcli/pgcli/pull/1224/commits/55d534d41051887c637b6300e08a9f70e6656020.patch";
+ sha256 = "01r8qc7qzb6mz0xq2xnrgyackbapf43ng6l88qpzd9lw2pwksc8w";
+ includes = [ "pgcli/packages/parseutils/ctes.py" "tests/test_sqlcompletion.py" "setup.py" ];
+ })
+ ];
+
postPatch = ''
substituteInPlace setup.py \
--replace "prompt_toolkit>=2.0.6,<3.0.0" "prompt_toolkit"
diff --git a/pkgs/development/tools/misc/automake/automake-1.16.x.nix b/pkgs/development/tools/misc/automake/automake-1.16.x.nix
index d6353fc0b9cf..58c559fcc566 100644
--- a/pkgs/development/tools/misc/automake/automake-1.16.x.nix
+++ b/pkgs/development/tools/misc/automake/automake-1.16.x.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, perl, autoconf }:
stdenv.mkDerivation rec {
- name = "automake-1.16.2";
+ name = "automake-1.16.3";
src = fetchurl {
url = "mirror://gnu/automake/${name}.tar.xz";
- sha256 = "1l7dkqbsmbf94ax29jj1jf6a0r6ikc8jybg1p5m0c3ki7pg5ki6c";
+ sha256 = "0fmz2fhmzcpacnprl5msphvaflwiy0hvpgmqlgfny72ddijzfazz";
};
nativeBuildInputs = [ autoconf perl ];
diff --git a/pkgs/development/tools/misc/binutils/R_ARM_COPY.patch b/pkgs/development/tools/misc/binutils/R_ARM_COPY.patch
new file mode 100644
index 000000000000..874809863523
--- /dev/null
+++ b/pkgs/development/tools/misc/binutils/R_ARM_COPY.patch
@@ -0,0 +1,29 @@
+@@ -, +, @@
+---
+ bfd/elf32-arm.c | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+--- a/bfd/elf32-arm.c
++++ a/bfd/elf32-arm.c
+@@ -15398,7 +15398,11 @@ elf32_arm_adjust_dynamic_symbol (struct bfd_link_info * info,
+ linker to copy the initial value out of the dynamic object and into
+ the runtime process image. We need to remember the offset into the
+ .rel(a).bss section we are going to use. */
+- if ((h->root.u.def.section->flags & SEC_READONLY) != 0)
++ if (info->nocopyreloc == 0
++ && (h->root.u.def.section->flags & SEC_ALLOC) != 0
++ /* PR 16177: A copy is only needed if the input section is readonly. */
++ && (h->root.u.def.section->flags & SEC_READONLY) != 0
++ && h->size != 0)
+ {
+ s = globals->root.sdynrelro;
+ srel = globals->root.sreldynrelro;
+@@ -15410,6 +15414,8 @@ elf32_arm_adjust_dynamic_symbol (struct bfd_link_info * info,
+ }
+ if (info->nocopyreloc == 0
+ && (h->root.u.def.section->flags & SEC_ALLOC) != 0
++ /* PR 16177: A copy is only needed if the input section is readonly. */
++ && (h->root.u.def.section->flags & SEC_READONLY) != 0
+ && h->size != 0)
+ {
+ elf32_arm_allocate_dynrelocs (info, srel, 1);
+
diff --git a/pkgs/development/tools/misc/binutils/default.nix b/pkgs/development/tools/misc/binutils/default.nix
index c0846fce45cc..978ec3f2f99f 100644
--- a/pkgs/development/tools/misc/binutils/default.nix
+++ b/pkgs/development/tools/misc/binutils/default.nix
@@ -101,6 +101,14 @@ stdenv.mkDerivation {
./patches/2.31/0001-x86-Properly-add-X86_ISA_1_NEEDED-property.patch
]
++ lib.optional stdenv.targetPlatform.isiOS ./support-ios.patch
+ ++ # This patch was suggested by Nick Clifton to fix
+ # https://sourceware.org/bugzilla/show_bug.cgi?id=16177
+ # It can be removed when that 7-year-old bug is closed.
+ # This binutils bug causes GHC to emit broken binaries on armv7, and
+ # indeed GHC will refuse to compile with a binutils suffering from it. See
+ # this comment for more information:
+ # https://gitlab.haskell.org/ghc/ghc/issues/4210#note_78333
+ lib.optional stdenv.targetPlatform.isAarch32 ./R_ARM_COPY.patch
;
outputs = [ "out" "info" "man" ];
diff --git a/pkgs/development/tools/parsing/bison/default.nix b/pkgs/development/tools/parsing/bison/default.nix
index 2fe17a23fc2b..aa8d8df2c1d1 100644
--- a/pkgs/development/tools/parsing/bison/default.nix
+++ b/pkgs/development/tools/parsing/bison/default.nix
@@ -7,11 +7,11 @@
stdenv.mkDerivation rec {
pname = "bison";
- version = "3.7.3";
+ version = "3.7.4";
src = fetchurl {
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
- sha256 = "1ixk4wglpign8glpil9qziph96ki7flqiy4xlpjb8ai1y89fjkqh";
+ sha256 = "1qkp2rfi5njyp5c5avajab00aj74pkmkgzkvshv4p2ydkhswgazv";
};
nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optional stdenv.isSunOS help2man;
diff --git a/pkgs/os-specific/linux/libaio/default.nix b/pkgs/os-specific/linux/libaio/default.nix
index ac000976a680..b9aa6b5de56c 100644
--- a/pkgs/os-specific/linux/libaio/default.nix
+++ b/pkgs/os-specific/linux/libaio/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, fetchpatch }:
stdenv.mkDerivation rec {
- version = "0.3.111";
+ version = "0.3.112";
pname = "libaio";
src = fetchurl {
url = "https://pagure.io/libaio/archive/${pname}-${version}/${pname}-${pname}-${version}.tar.gz";
- sha256 = "1fih2y2js0dl9qshpyb14m0nnxlms2527shgcxg0hnbflv5igg76";
+ sha256 = "0wi2myh191sja13qj3claxhpfkngvy10x30f78hm9cxzkfr97kxp";
};
postPatch = ''
diff --git a/pkgs/os-specific/linux/rdma-core/default.nix b/pkgs/os-specific/linux/rdma-core/default.nix
index 13f48405cd1d..042a54ff1575 100644
--- a/pkgs/os-specific/linux/rdma-core/default.nix
+++ b/pkgs/os-specific/linux/rdma-core/default.nix
@@ -4,7 +4,7 @@
} :
let
- version = "31.1";
+ version = "31.2";
in stdenv.mkDerivation {
pname = "rdma-core";
@@ -14,7 +14,7 @@ in stdenv.mkDerivation {
owner = "linux-rdma";
repo = "rdma-core";
rev = "v${version}";
- sha256 = "1xkmdix6mgv6kjjj6wi844bfddhl0ybalrp5g8pf5izasc43brg7";
+ sha256 = "0njfn8ziip57a2s435d4s0p3yylb85y7hdgbq660vwpsia9fb4sq";
};
nativeBuildInputs = [ cmake pkgconfig pandoc docutils makeWrapper ];
diff --git a/pkgs/servers/x11/xorg/default.nix b/pkgs/servers/x11/xorg/default.nix
index 020ceb65e9f6..27a2b47387ff 100644
--- a/pkgs/servers/x11/xorg/default.nix
+++ b/pkgs/servers/x11/xorg/default.nix
@@ -703,11 +703,11 @@ lib.makeScope newScope (self: with self; {
}) {};
libX11 = callPackage ({ stdenv, pkgconfig, fetchurl, xorgproto, libxcb, xtrans }: stdenv.mkDerivation {
- name = "libX11-1.6.12";
+ name = "libX11-1.7.0";
builder = ./builder.sh;
src = fetchurl {
- url = "mirror://xorg/individual/lib/libX11-1.6.12.tar.bz2";
- sha256 = "1ivfzl1qwk8zh7gc0m5vb58gdxz11jwg7w3d356w16j1d5s2427i";
+ url = "mirror://xorg/individual/lib/libX11-1.7.0.tar.bz2";
+ sha256 = "0m6bfwllr3pq2c00l51y62yiq15kphc8dw69zf67qhwmclxzkj1n";
};
hardeningDisable = [ "bindnow" "relro" ];
nativeBuildInputs = [ pkgconfig ];
@@ -2731,11 +2731,11 @@ lib.makeScope newScope (self: with self; {
}) {};
xprop = callPackage ({ stdenv, pkgconfig, fetchurl, libX11, xorgproto }: stdenv.mkDerivation {
- name = "xprop-1.2.4";
+ name = "xprop-1.2.5";
builder = ./builder.sh;
src = fetchurl {
- url = "mirror://xorg/individual/app/xprop-1.2.4.tar.bz2";
- sha256 = "0lzp7kyhpwd5hm83j2zm6j3w3z1z5i4ykgg2nwr01ij6dq4znxwc";
+ url = "mirror://xorg/individual/app/xprop-1.2.5.tar.bz2";
+ sha256 = "18ckr8g1z50zkc01hprkpm1npwbq32yqib4b3l98c95z2q1yv4lv";
};
hardeningDisable = [ "bindnow" "relro" ];
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/servers/x11/xorg/tarballs.list b/pkgs/servers/x11/xorg/tarballs.list
index 7d01af8307e4..d4773075a251 100644
--- a/pkgs/servers/x11/xorg/tarballs.list
+++ b/pkgs/servers/x11/xorg/tarballs.list
@@ -60,7 +60,7 @@ mirror://xorg/individual/app/xmessage-1.0.5.tar.bz2
mirror://xorg/individual/app/xmodmap-1.0.10.tar.bz2
mirror://xorg/individual/app/xmore-1.0.3.tar.bz2
mirror://xorg/individual/app/xpr-1.0.5.tar.bz2
-mirror://xorg/individual/app/xprop-1.2.4.tar.bz2
+mirror://xorg/individual/app/xprop-1.2.5.tar.bz2
mirror://xorg/individual/app/xrandr-1.5.0.tar.bz2
mirror://xorg/individual/app/xrdb-1.2.0.tar.bz2
mirror://xorg/individual/app/xrefresh-1.0.6.tar.bz2
@@ -175,7 +175,7 @@ mirror://xorg/individual/lib/libICE-1.0.10.tar.bz2
mirror://xorg/individual/lib/libpciaccess-0.16.tar.bz2
mirror://xorg/individual/lib/libSM-1.2.3.tar.bz2
mirror://xorg/individual/lib/libWindowsWM-1.0.1.tar.bz2
-mirror://xorg/individual/lib/libX11-1.6.12.tar.bz2
+mirror://xorg/individual/lib/libX11-1.7.0.tar.bz2
mirror://xorg/individual/lib/libXau-1.0.9.tar.bz2
mirror://xorg/individual/lib/libXaw-1.0.13.tar.bz2
mirror://xorg/individual/lib/libXaw3d-1.6.3.tar.bz2
diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh
index 2617a8f74ab5..4ff0a6caf760 100644
--- a/pkgs/stdenv/generic/setup.sh
+++ b/pkgs/stdenv/generic/setup.sh
@@ -483,10 +483,14 @@ activatePackage() {
# the transition, we do include everything in thatcase.
#
# TODO(@Ericson2314): Don't special-case native compilation
- if [[ ( -z "${strictDeps-}" || "$hostOffset" -le -1 ) && -d "$pkg/bin" ]]; then
+ if [[ -z "${strictDeps-}" || "$hostOffset" -le -1 ]]; then
addToSearchPath _PATH "$pkg/bin"
fi
+ if [[ "$hostOffset" -le -1 ]]; then
+ addToSearchPath _XDG_DATA_DIRS "$pkg/share"
+ fi
+
if [[ "$hostOffset" -eq 0 && -d "$pkg/bin" ]]; then
addToSearchPath _HOST_PATH "$pkg/bin"
fi
@@ -602,13 +606,16 @@ fi
PATH="${_PATH-}${_PATH:+${PATH:+:}}$PATH"
HOST_PATH="${_HOST_PATH-}${_HOST_PATH:+${HOST_PATH:+:}}$HOST_PATH"
+export XDG_DATA_DIRS="${_XDG_DATA_DIRS-}${_XDG_DATA_DIRS:+${XDG_DATA_DIRS:+:}}${XDG_DATA_DIRS-}"
if (( "${NIX_DEBUG:-0}" >= 1 )); then
echo "final path: $PATH"
echo "final host path: $HOST_PATH"
+ echo "final data dirs: $XDG_DATA_DIRS"
fi
unset _PATH
unset _HOST_PATH
+unset _XDG_DATA_DIRS
# Make GNU Make produce nested output.
diff --git a/pkgs/tools/misc/parted/default.nix b/pkgs/tools/misc/parted/default.nix
index 693e99c46452..b00a0836021f 100644
--- a/pkgs/tools/misc/parted/default.nix
+++ b/pkgs/tools/misc/parted/default.nix
@@ -8,7 +8,7 @@
, dosfstools
, e2fsprogs
, perl
-, python2
+, python3
, util-linux
, check
, enableStatic ? false
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
# Tests were previously failing due to Hydra running builds as uid 0.
# That should hopefully be fixed now.
doCheck = !stdenv.hostPlatform.isMusl; /* translation test */
- checkInputs = [ check dosfstools e2fsprogs perl python2 util-linux ];
+ checkInputs = [ check dosfstools e2fsprogs perl python3 util-linux ];
meta = {
description = "Create, destroy, resize, check, and copy partitions";
diff --git a/pkgs/tools/networking/drill/default.nix b/pkgs/tools/networking/drill/default.nix
index 78ba291b1519..176062ed314b 100644
--- a/pkgs/tools/networking/drill/default.nix
+++ b/pkgs/tools/networking/drill/default.nix
@@ -8,16 +8,16 @@
rustPlatform.buildRustPackage rec {
pname = "drill";
- version = "0.6.0";
+ version = "0.7.0";
src = fetchFromGitHub {
owner = "fcsonline";
repo = pname;
rev = version;
- sha256 = "0pcc91nk68z7hlhj7xvh6v3rybxpy6bzv3pzjcyaq7l0szjljrpw";
+ sha256 = "07zz0dj0wjwrc1rmayz7s8kpcv03i0ygl4vfwsam72qd4nf6v538";
};
- cargoSha256 = "1611w8b60d3x16ik8v96za0mkr5p0f9gdpz0awprfgj6c3r6s16m";
+ cargoSha256 = "1nbfbmm9v1yp7380zdzz7qrc7x6krwlvgn5x5yzb8yn1rc99jzx4";
nativeBuildInputs = stdenv.lib.optionals stdenv.isLinux [ pkg-config ];
buildInputs = [ ]
diff --git a/pkgs/tools/security/gnupg/22.nix b/pkgs/tools/security/gnupg/22.nix
index 605947e3ab26..9acd64a2c86e 100644
--- a/pkgs/tools/security/gnupg/22.nix
+++ b/pkgs/tools/security/gnupg/22.nix
@@ -16,11 +16,11 @@ assert guiSupport -> pinentry != null && enableMinimal == false;
stdenv.mkDerivation rec {
pname = "gnupg";
- version = "2.2.23";
+ version = "2.2.24";
src = fetchurl {
url = "mirror://gnupg/gnupg/${pname}-${version}.tar.bz2";
- sha256 = "0p6ss4f3vlkf91pmp27bmvfr5bdxxi0pb3dmxpqljglbsx4mxd8h";
+ sha256 = "0ilcp7m1dvwnri3i7q9wanf5pvhwxk7h106pd62g0d5fz80b944h";
};
depsBuildBuild = [ buildPackages.stdenv.cc ];
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 6e07ba7b0e1d..efaa40725a50 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -546,6 +546,8 @@ in
wrapGAppsHook = callPackage ../build-support/setup-hooks/wrap-gapps-hook { };
+ wrapGAppsNoGuiHook = wrapGAppsHook.override { isGraphical = false; };
+
separateDebugInfo = makeSetupHook { } ../build-support/setup-hooks/separate-debug-info.sh;
setupDebugInfoDirs = makeSetupHook { } ../build-support/setup-hooks/setup-debug-info-dirs.sh;
@@ -14314,7 +14316,18 @@ in
libjpeg_original = callPackage ../development/libraries/libjpeg { };
# also known as libturbojpeg
- libjpeg_turbo = callPackage ../development/libraries/libjpeg-turbo { };
+ libjpeg_turbo = callPackage ../development/libraries/libjpeg-turbo (lib.optionalAttrs stdenv.isDarwin {
+ # cmake 3.19.1 has a bug. So far only noticed with this package.
+ # https://github.com/NixOS/nixpkgs/issues/105854
+ cmake = cmake.overrideAttrs(oldAttrs: {
+ patches = oldAttrs.patches ++ [
+ (fetchpatch {
+ url = "https://gitlab.kitware.com/cmake/cmake/-/commit/fcabf4a47e0c441ff80fad8f34e388b16738bd33.patch";
+ sha256 = "bVrjY8omtAEKe8G76hGtmO54LKJvhx3RTW6OF6Y7rsU=";
+ })
+ ];
+ });
+ });
libjpeg = libjpeg_turbo;
libjreen = callPackage ../development/libraries/libjreen { };
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 9173bb539262..40ec8314d9e8 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -2274,7 +2274,10 @@ in {
freetype-py = callPackage ../development/python-modules/freetype-py { };
- freezegun = callPackage ../development/python-modules/freezegun { };
+ freezegun = if isPy27 then
+ callPackage ../development/python-modules/freezegun/0.3.nix { }
+ else
+ callPackage ../development/python-modules/freezegun { };
fritzconnection = callPackage ../development/python-modules/fritzconnection { };
@@ -3062,7 +3065,11 @@ in {
isodate = callPackage ../development/python-modules/isodate { };
- isort = callPackage ../development/python-modules/isort { };
+ isort = if isPy3k then
+ callPackage ../development/python-modules/isort { }
+ else
+ callPackage ../development/python-modules/isort/4.nix {
+ };
isoweek = callPackage ../development/python-modules/isoweek { };
@@ -3233,6 +3240,8 @@ in {
jupyterlab_launcher = callPackage ../development/python-modules/jupyterlab_launcher { };
+ jupyterlab-pygments = callPackage ../development/python-modules/jupyterlab-pygments { };
+
jupyterlab_server = callPackage ../development/python-modules/jupyterlab_server { };
jupyter-repo2docker = callPackage ../development/python-modules/jupyter-repo2docker { pkgs-docker = pkgs.docker; };
@@ -4352,7 +4361,9 @@ in {
oyaml = callPackage ../development/python-modules/oyaml { };
- packaging = callPackage ../development/python-modules/packaging { };
+ packaging = if isPy3k
+ then callPackage ../development/python-modules/packaging { }
+ else callPackage ../development/python-modules/packaging/2.nix { };
packet-python = callPackage ../development/python-modules/packet-python { };
@@ -5644,7 +5655,7 @@ in {
pytesseract = callPackage ../development/python-modules/pytesseract { };
# pytest>=6 is too new for most packages
- pytest = if isPy3k then self.pytest_5 else self.pytest_4;
+ pytest = if isPy3k then self.pytest_6 else self.pytest_4;
pytest_4 = callPackage
../development/python-modules/pytest/4.nix { # hypothesis tests require pytest that causes dependency cycle
@@ -5816,7 +5827,7 @@ in {
pytest_xdist_2 = callPackage ../development/python-modules/pytest-xdist/2.nix { };
- pytest_xdist = self.pytest_xdist_1;
+ pytest_xdist = self.pytest_xdist_2;
pytest-xprocess = callPackage ../development/python-modules/pytest-xprocess { };
@@ -6235,6 +6246,8 @@ in {
rdflib-jsonld = callPackage ../development/python-modules/rdflib-jsonld { };
+ re-assert = callPackage ../development/python-modules/re-assert { };
+
readchar = callPackage ../development/python-modules/readchar { };
readme = callPackage ../development/python-modules/readme { };