diff --git a/pkgs/development/python-modules/datasette/default.nix b/pkgs/development/python-modules/datasette/default.nix index fd31d3bbf189..29cf78eeed88 100644 --- a/pkgs/development/python-modules/datasette/default.nix +++ b/pkgs/development/python-modules/datasette/default.nix @@ -79,7 +79,12 @@ buildPythonPackage rec { # takes 30-180 mins to run entire test suite, not worth the CPU resources, slows down reviews # with pytest-xdist, it still takes around 10 mins with 32 cores # just run the csv tests, as this should give some indictation of correctness - pytestFlagsArray = [ "tests/test_csv.py" ]; + pytestFlagsArray = [ + # datasette/app.py:14: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html + "-W" + "ignore::DeprecationWarning" + "tests/test_csv.py" + ]; disabledTests = [ "facet"