Merge pull request #145370 from fabaff/bump-pyopenuv

Sandro 611818ee 0ae1a8ac

Changed files
+16 -7
pkgs
development
python-modules
pyopenuv
+16 -7
pkgs/development/python-modules/pyopenuv/default.nix
···
, poetry-core
, pytest-aiohttp
, pytest-asyncio
-
, pytest-cov
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyopenuv";
-
version = "2.2.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "bachya";
repo = pname;
rev = version;
-
sha256 = "sha256-9hpXVKCpVbUAoTxd5mHP9NK1dZxbrQUxrQrOEVHpaPo=";
};
-
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
aiohttp
···
asynctest
pytest-asyncio
pytest-aiohttp
-
pytest-cov
pytestCheckHook
];
# Ignore the examples as they are prefixed with test_
-
pytestFlagsArray = [ "--ignore examples/" ];
-
pythonImportsCheck = [ "pyopenuv" ];
meta = with lib; {
description = "Python API to retrieve data from openuv.io";
···
, poetry-core
, pytest-aiohttp
, pytest-asyncio
, pytestCheckHook
+
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyopenuv";
+
version = "2021.10.0";
format = "pyproject";
+
+
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "bachya";
repo = pname;
rev = version;
+
sha256 = "sha256-3zTyW3eXOA9frSAy4g7iWhymc1hBo0hrxIgPLMqrLTs=";
};
+
nativeBuildInputs = [
+
poetry-core
+
];
propagatedBuildInputs = [
aiohttp
···
asynctest
pytest-asyncio
pytest-aiohttp
pytestCheckHook
];
# Ignore the examples as they are prefixed with test_
+
disabledTestPaths = [
+
# Ignore the examples as they are prefixed with test_
+
"examples/"
+
];
+
+
pythonImportsCheck = [
+
"pyopenuv"
+
];
meta = with lib; {
description = "Python API to retrieve data from openuv.io";