From b69f3fe190a4d0a80dab33b0e53c1cdcfcb699da Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 4 Sep 2024 23:17:23 +0000 Subject: [PATCH] python312Packages.sphinx-autoapi: 3.2.1 -> 3.3.1 --- .../python-modules/sphinx-autoapi/default.nix | 32 +++++++++---------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/pkgs/development/python-modules/sphinx-autoapi/default.nix b/pkgs/development/python-modules/sphinx-autoapi/default.nix index 931f08e8068e..54bd85583803 100644 --- a/pkgs/development/python-modules/sphinx-autoapi/default.nix +++ b/pkgs/development/python-modules/sphinx-autoapi/default.nix @@ -9,52 +9,50 @@ # dependencies astroid, - anyascii, jinja2, pyyaml, sphinx, + stdlib-list, # tests beautifulsoup4, - mock, pytestCheckHook, }: buildPythonPackage rec { pname = "sphinx-autoapi"; - version = "3.2.1"; + version = "3.3.1"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchPypi { pname = "sphinx_autoapi"; inherit version; - hash = "sha256-H51Ws6mNVlPR+tVkSr7tLAQs7DBKEm73LCNtrkrxa5A="; + hash = "sha256-5EoiWCfQ73F4dIIlpm8wyVRU39AO48Iq+9+4BW99/7U="; }; build-system = [ setuptools ]; - dependencies = [ - anyascii - astroid - jinja2 - pyyaml - sphinx - ]; + dependencies = + [ + astroid + jinja2 + pyyaml + sphinx + ] + ++ lib.optionals (pythonOlder "3.10") [ + stdlib-list + ]; nativeCheckInputs = [ beautifulsoup4 - mock pytestCheckHook ]; disabledTests = [ - # failing typing assertions + # require network access "test_integration" - "test_annotations" - # sphinx.errors.SphinxWarning: cannot cache unpickable configuration value: 'autoapi_prepare_jinja_env' (because it contains a function, class, or module object) - "test_custom_jinja_filters" ]; pythonImportsCheck = [ "autoapi" ];