python3Packages.django-stubs-ext: 5.2.0 -> 5.2.2
https://github.com/typeddjango/django-stubs/releases/tag/5.2.2 This commit was automatically generated using update-python-libraries.
This commit is contained in:
@@ -2,29 +2,34 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
django,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
oracledb,
|
||||
pytest-mypy-plugins,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
redis,
|
||||
setuptools,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-stubs-ext";
|
||||
version = "5.2.0";
|
||||
version = "5.2.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "django_stubs_ext";
|
||||
inherit version;
|
||||
hash = "sha256-AMSuMHtTj1ZDr3YakUw/jk4/JfTnxtcJjxkGwNjyqsk=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "typeddjango";
|
||||
repo = "django-stubs";
|
||||
tag = version;
|
||||
hash = "sha256-kF5g0/rkMQxYTfSrTqzZ6BuqGlE42K/AVhc1/ARc+/c=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
postPatch = ''
|
||||
cd ext
|
||||
ln -s ../scripts
|
||||
'';
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
django
|
||||
@@ -36,7 +41,16 @@ buildPythonPackage rec {
|
||||
oracle = [ oracledb ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [
|
||||
pytest-mypy-plugins
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# error: Skipping analyzing "django.db": module is installed, but missing library stubs or py.typed marker [import-untyped] (diff)
|
||||
"tests/typecheck"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "django_stubs_ext" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user