Merge pull request #302537 from r-ryantm/auto-update/python311Packages.mkdocstrings

python311Packages.mkdocstrings: 0.24.2 -> 0.24.3
This commit is contained in:
Nick Cao 2024-04-08 10:10:59 -04:00 committed by GitHub
commit bde77e7479
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,22 +1,23 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, importlib-metadata
, jinja2
, markdown
, markupsafe
, mkdocs
, mkdocs-autorefs
, pdm-backend
, pymdown-extensions
, pytestCheckHook
, pythonOlder
, typing-extensions
{
lib,
buildPythonPackage,
fetchFromGitHub,
importlib-metadata,
jinja2,
markdown,
markupsafe,
mkdocs,
mkdocs-autorefs,
pdm-backend,
pymdown-extensions,
pytestCheckHook,
pythonOlder,
typing-extensions,
}:
buildPythonPackage rec {
pname = "mkdocstrings";
version = "0.24.2";
version = "0.24.3";
pyproject = true;
disabled = pythonOlder "3.8";
@ -25,7 +26,7 @@ buildPythonPackage rec {
owner = "mkdocstrings";
repo = "mkdocstrings";
rev = "refs/tags/${version}";
hash = "sha256-RlEr9NA6GV/XXjGvX/Yipu6FQAi7HuE9SvIH/snQJRM=";
hash = "sha256-L3QQ2ll2sDbQwrmw88iwTW6WS2SNsiMR2TvuV4P1uj4=";
};
postPatch = ''
@ -33,29 +34,25 @@ buildPythonPackage rec {
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
'';
build-system = [
pdm-backend
];
build-system = [ pdm-backend ];
dependencies = [
jinja2
markdown
markupsafe
mkdocs
mkdocs-autorefs
pymdown-extensions
] ++ lib.optionals (pythonOlder "3.10") [
importlib-metadata
typing-extensions
];
dependencies =
[
jinja2
markdown
markupsafe
mkdocs
mkdocs-autorefs
pymdown-extensions
]
++ lib.optionals (pythonOlder "3.10") [
importlib-metadata
typing-extensions
];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"mkdocstrings"
];
pythonImportsCheck = [ "mkdocstrings" ];
disabledTestPaths = [
# Circular dependencies