From b589619eda01f928dcbb862103ce6be25f1188fd Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Mon, 15 Apr 2019 14:50:52 -0700 Subject: [PATCH 1/3] python37Packages.asgiref: 2.3.2 -> 3.1.2 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-asgiref/versions --- pkgs/development/python-modules/asgiref/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/asgiref/default.nix b/pkgs/development/python-modules/asgiref/default.nix index 155ddf8c9f8b..a07d370761a5 100644 --- a/pkgs/development/python-modules/asgiref/default.nix +++ b/pkgs/development/python-modules/asgiref/default.nix @@ -1,6 +1,6 @@ { stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, async-timeout, pytest, pytest-asyncio }: buildPythonPackage rec { - version = "2.3.2"; + version = "3.1.2"; pname = "asgiref"; disabled = pythonOlder "3.5"; @@ -10,7 +10,7 @@ buildPythonPackage rec { owner = "django"; repo = pname; rev = version; - sha256 = "1ljymmcscyp3bz33kjbhf99k04fbama87vg4069gbgj6lnxjpzav"; + sha256 = "1y32ys1q07nyri0b053mx24qvkw305iwvqvqgi2fdhx0va8d7qfy"; }; propagatedBuildInputs = [ async-timeout ]; From fbdb9ce78716d9fb07b4d50fd90f18f1647a3805 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 11 May 2019 13:21:33 -0500 Subject: [PATCH 2/3] python3Packages.daphne: 2.2.5 -> 2.3.0 --- pkgs/development/python-modules/daphne/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/daphne/default.nix b/pkgs/development/python-modules/daphne/default.nix index da85fbb1d9b7..e577617c4780 100644 --- a/pkgs/development/python-modules/daphne/default.nix +++ b/pkgs/development/python-modules/daphne/default.nix @@ -1,10 +1,10 @@ -{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub +{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, fetchpatch , asgiref, autobahn, twisted, pytestrunner , hypothesis, pytest, pytest-asyncio }: buildPythonPackage rec { pname = "daphne"; - version = "2.2.5"; + version = "2.3.0"; disabled = !isPy3k; @@ -12,9 +12,17 @@ buildPythonPackage rec { owner = "django"; repo = pname; rev = version; - sha256 = "0ixgq1rr3s60bmrwx8qwvlvs3lag1c2nrmg4iy7wcmb8i1ddylqr"; + sha256 = "020afrvbnid13gkgjpqznl025zpynisa96kybmf8q7m3wp1iq1nl"; }; + patches = [ + # Fix compatibility with Hypothesis 4. See: https://github.com/django/daphne/pull/261 + (fetchpatch { + url = "https://github.com/django/daphne/commit/2df5096c5b63a791c209e12198ad89c998869efd.patch"; + sha256 = "0046krzcn02mihqmsjd80kk5h5flv44nqxpapa17g6dvq3jnb97n"; + }) + ]; + nativeBuildInputs = [ pytestrunner ]; propagatedBuildInputs = [ asgiref autobahn twisted ]; From 788471b177ebd10b89edc98ed8d62a2ce2fb6821 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 11 May 2019 13:22:49 -0500 Subject: [PATCH 3/3] python3Packages.channels: 2.1.7 -> 2.2.0 --- pkgs/development/python-modules/channels/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/channels/default.nix b/pkgs/development/python-modules/channels/default.nix index ef8456d376c6..a3b7e54c57a5 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.1.7"; + version = "2.2.0"; src = fetchPypi { inherit pname version; - sha256 = "e13ba874d854ac493ece329dcd9947e82357c15437ac1a90ed1040d0e5b87aad"; + sha256 = "af7cdba9efb3f55b939917d1b15defb5d40259936013e60660e5e9aff98db4c5"; }; # Files are missing in the distribution