summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2021-11-10 13:44:30 -0300
committerGitHub <noreply@github.com>2021-11-10 13:44:30 -0300
commitbe68a55228764841b552468cd86f73ee5c5b4807 (patch)
tree14f6b1e3ee97f9c259fecf8ee3ccf625456af95c /pkgs/development/python-modules
parentc9211af93a0c6e2c1cf2018d465d9a7013f1f8f6 (diff)
parent7d9f89fb0543375b62766e44952312e84f00bd31 (diff)
downloadnixpkgs-be68a55228764841b552468cd86f73ee5c5b4807.tar
nixpkgs-be68a55228764841b552468cd86f73ee5c5b4807.tar.gz
nixpkgs-be68a55228764841b552468cd86f73ee5c5b4807.tar.bz2
nixpkgs-be68a55228764841b552468cd86f73ee5c5b4807.tar.lz
nixpkgs-be68a55228764841b552468cd86f73ee5c5b4807.tar.xz
nixpkgs-be68a55228764841b552468cd86f73ee5c5b4807.tar.zst
nixpkgs-be68a55228764841b552468cd86f73ee5c5b4807.zip
Merge pull request #145349 from fabaff/bump-aiorecollect
python3Packages.aiorecollect: 1.0.8 -> 2021.10.0
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/aiorecollect/default.nix18
1 files changed, 12 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/aiorecollect/default.nix b/pkgs/development/python-modules/aiorecollect/default.nix
index 2f62a31e129..79bc2a787b9 100644
--- a/pkgs/development/python-modules/aiorecollect/default.nix
+++ b/pkgs/development/python-modules/aiorecollect/default.nix
@@ -6,20 +6,22 @@
 , freezegun
 , poetry-core
 , pytest-asyncio
-, pytest-cov
 , pytestCheckHook
+, pythonOlder
 }:
 
 buildPythonPackage rec {
   pname = "aiorecollect";
-  version = "1.0.8";
+  version = "2021.10.0";
   format = "pyproject";
 
+  disabled = pythonOlder "3.7";
+
   src = fetchFromGitHub {
     owner = "bachya";
     repo = pname;
     rev = version;
-    sha256 = "sha256-5+v+TlLOgaIA8svpbgFSEWZAUVBRq3zqf8QbidKgygI=";
+    sha256 = "sha256-cLutszJ8VXGcqb8kZv7Qn1ZD/LRYjVgQWQxNMHNd0UQ=";
   };
 
   nativeBuildInputs = [
@@ -34,13 +36,17 @@ buildPythonPackage rec {
     aresponses
     freezegun
     pytest-asyncio
-    pytest-cov
     pytestCheckHook
   ];
 
-  disabledTestPaths = [ "examples/" ];
+  disabledTestPaths = [
+    # Ignore the examples directory as the files are prefixed with test_.
+    "examples/"
+  ];
 
-  pythonImportsCheck = [ "aiorecollect" ];
+  pythonImportsCheck = [
+    "aiorecollect"
+  ];
 
   meta = with lib; {
     description = "Python library for the Recollect Waste API";