···33, fetchPypi
44, writeText
55, buildPythonPackage
66+, isPyPy
67, pythonOlder
7889# https://github.com/matplotlib/matplotlib/blob/main/doc/devel/dependencies.rst
···4041, pygobject3
41424243# Tk
4343-, enableTk ? !stdenv.isDarwin # darwin has its own "MacOSX" backend
4444+# Darwin has its own "MacOSX" backend, PyPy has tkagg backend and does not support tkinter
4545+, enableTk ? (!stdenv.isDarwin && !isPyPy)
4446, tcl
4547, tk
4648, tkinter
+3-2
pkgs/development/python-modules/nose3/default.nix
···33, coverage
44, fetchPypi
55, isPyPy
66+, isPy311
67, python
78, stdenv
89}:
···1920 propagatedBuildInputs = [ coverage ];
20212122 # PyPy hangs for unknwon reason
2222- # darwin fails an assertion and I didn't find a way to find skip that test
2323- doCheck = !isPyPy && !stdenv.isDarwin;
2323+ # Darwin and python 3.11 fail at various assertions and I didn't find an easy way to find skip those tests
2424+ doCheck = !isPyPy && !stdenv.isDarwin && !isPy311;
24252526 checkPhase = ''
2627 ${python.pythonForBuild.interpreter} selftest.py
···5050 ];
51515252 # the install script wants to install mod_tile.so into apache's modules dir
5353+ # also mapnik pkg-config config is missing this patch: https://github.com/mapnik/mapnik/commit/692c2faa0ef168a8c908d262c2bbfe51a74a8336.patch
5354 postPatch = ''
5455 sed -i "s|\''${HTTPD_MODULES_DIR}|$out/modules|" CMakeLists.txt
5656+ sed -i -e "s|@MAPNIK_FONTS_DIR@|$(mapnik-config --fonts)|" -e "s|@MAPNIK_PLUGINS_DIR@|$(mapnik-config --input-plugins)|" tests/renderd.conf.in
5557 '';
56585759 enableParallelBuilding = true;
58605959- # We need to either disable the `render_speedtest` and `download_tile` tests
6060- # or fix the URLs they try to download from
6161- #cmakeFlags = [ "-DENABLE_TESTS=1" ];
6262- #doCheck = true;
6161+ cmakeFlags = [ "-DENABLE_TESTS=1" ];
6262+ doCheck = true;
63636464 meta = with lib; {
6565 homepage = "https://github.com/openstreetmap/mod_tile";
···210210 pur = throw "pur has been renamed to pkgs.pur"; # added 2021-11-08
211211 pushbullet = pushbullet-py; # Added 2022-10-15
212212 Pweave = pweave; # added 2023-02-19
213213+ py-radix = throw "py-radix has been removed, since it abandoned"; # added 2023-07-07
213214 pyalmond = throw "pyalmond has been removed, since its API endpoints have been shutdown"; # added 2023-02-02
214215 pyblake2 = throw "pyblake2 is deprecated in favor of hashlib"; # added 2023-04-23
215216 pyblock = throw "pyblock has been removed, since it is abandoned and broken"; # added 2023-06-20
···340341 unittest2 = throw "unittest2 has been removed as it's a backport of unittest that's unmaintained and not needed beyond Python 3.4."; # added 2022-12-01
341342 uproot3 = throw "uproot3 has been removed, use uproot instead"; # added 2022-12-13
342343 uproot3-methods = throw "uproot3-methods has been removed"; # added 2022-12-13
344344+ validictory = throw "validictory has been removed, since it abandoned"; # added 2023-07-07
343345 virtual-display = throw "virtual-display has been renamed to PyVirtualDisplay"; # added 2023-01-07
344346 Wand = wand; # added 2022-11-13
345347 wasm = throw "wasm has been removed because it no longer builds and is unmaintained"; # added 2023-05-20