Skip to content

Commit

Permalink
python3Packages.geoip2: Disable tests broken on Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
hesiod committed Feb 15, 2023
1 parent e120649 commit 58fd39a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/python-modules/geoip2/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ buildPythonPackage, lib, fetchPypi, pythonOlder
{ buildPythonPackage, lib, fetchPypi, pythonOlder, pythonAtLeast
, aiohttp
, maxminddb
, mocket
Expand Down Expand Up @@ -30,6 +30,8 @@ buildPythonPackage rec {
pytestCheckHook
];

disabledTests = lib.optional (pythonAtLeast "3.11") "TestAsyncClient";

pythonImportsCheck = [ "geoip2" ];

meta = with lib; {
Expand Down

0 comments on commit 58fd39a

Please sign in to comment.