lol

Merge pull request #198084 from fabaff/aiopg-bump

python310Packages.psycopg2: 2.9.3 -> 2.9.5, python310Packages.aiopg: 1.3.5 -> 1.4.0

authored by

Fabian Affolter and committed by
GitHub
d3a76a9a 42be0c4f

+18 -10
+8 -4
pkgs/development/python-modules/aiopg/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "aiopg"; 11 - version = "1.3.5"; 12 - disabled = pythonOlder "3.6"; 13 14 src = fetchFromGitHub { 15 owner = "aio-libs"; 16 repo = pname; 17 rev = "v${version}"; 18 - sha256 = "sha256-ZHfwuDtQm7SlLX3sAoYONgCIWnafOj/L8bXjAdwYDKI="; 19 }; 20 21 propagatedBuildInputs = [ ··· 31 # Tests requires a PostgreSQL Docker instance 32 doCheck = false; 33 34 - pythonImportsCheck = [ "aiopg" ]; 35 36 meta = with lib; { 37 description = "Python library for accessing a PostgreSQL database";
··· 8 9 buildPythonPackage rec { 10 pname = "aiopg"; 11 + version = "1.4.0"; 12 + format = "setuptools"; 13 + 14 + disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "aio-libs"; 18 repo = pname; 19 rev = "v${version}"; 20 + hash = "sha256-GD5lRSUjASTwBk5vEK8v3xD8eNyxpwSrO3HHvtwubmk="; 21 }; 22 23 propagatedBuildInputs = [ ··· 33 # Tests requires a PostgreSQL Docker instance 34 doCheck = false; 35 36 + pythonImportsCheck = [ 37 + "aiopg" 38 + ]; 39 40 meta = with lib; { 41 description = "Python library for accessing a PostgreSQL database";
+10 -6
pkgs/development/python-modules/psycopg2/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "psycopg2"; 15 - version = "2.9.3"; 16 - outputs = [ "out" "doc" ]; 17 18 # Extension modules don't work well with PyPy. Use psycopg2cffi instead. 19 # c.f. https://github.com/NixOS/nixpkgs/pull/104151#issuecomment-729750892 ··· 21 22 src = fetchPypi { 23 inherit pname version; 24 - sha256 = "8e841d1bf3434da985cc5ef13e6f75c8981ced601fd70cc6bf33351b91562981"; 25 }; 26 27 nativeBuildInputs = [ 28 postgresql ··· 36 37 sphinxRoot = "doc/src"; 38 39 - # requires setting up a postgresql database 40 doCheck = false; 41 42 - pythonImportsCheck = [ "psycopg2" ]; 43 44 meta = with lib; { 45 description = "PostgreSQL database adapter for the Python programming language"; 46 homepage = "https://www.psycopg.org"; 47 - license = with licenses; [ lgpl3 zpl20 ]; 48 maintainers = with maintainers; [ ]; 49 }; 50 }
··· 12 13 buildPythonPackage rec { 14 pname = "psycopg2"; 15 + version = "2.9.5"; 16 + format = "setuptools"; 17 18 # Extension modules don't work well with PyPy. Use psycopg2cffi instead. 19 # c.f. https://github.com/NixOS/nixpkgs/pull/104151#issuecomment-729750892 ··· 21 22 src = fetchPypi { 23 inherit pname version; 24 + sha256 = "sha256-pSRtLmg6ly4hh6hxS1ws+BVsBkYp+amxqHPBcw2eJFo="; 25 }; 26 + 27 + outputs = [ "out" "doc" ]; 28 29 nativeBuildInputs = [ 30 postgresql ··· 38 39 sphinxRoot = "doc/src"; 40 41 + # Requires setting up a PostgreSQL database 42 doCheck = false; 43 44 + pythonImportsCheck = [ 45 + "psycopg2" 46 + ]; 47 48 meta = with lib; { 49 description = "PostgreSQL database adapter for the Python programming language"; 50 homepage = "https://www.psycopg.org"; 51 + license = with licenses; [ lgpl3Plus zpl20 ]; 52 maintainers = with maintainers; [ ]; 53 }; 54 }