iredis: 1.12.1 -> 1.13.0
This commit is contained in:
parent
e3e7a85fbd
commit
17596cbdb3
|
@ -4,20 +4,24 @@ with python3Packages;
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "iredis";
|
pname = "iredis";
|
||||||
version = "1.12.1";
|
version = "1.13.0";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-nLwu47wV5QqgtiyiN9bbKzjlZdgd6Qt5KjBlipwRW1Q=";
|
sha256 = "d1e4e7936d0be456f70a39abeb1c97d931f66ccd60e891f4fd796ffb06dfeaf9";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace pyproject.toml \
|
||||||
--replace "click>=7.0,<8.0" "click" \
|
--replace 'click = "^7.0"' 'click = "*"' \
|
||||||
--replace "wcwidth==0.1.9" "wcwidth" \
|
--replace 'wcwidth = "0.1.9"' 'wcwidth = "*"'
|
||||||
--replace "redis>=3.4.0,<4.0.0" "redis"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pygments
|
pygments
|
||||||
click
|
click
|
||||||
|
@ -41,6 +45,7 @@ buildPythonApplication rec {
|
||||||
"--ignore=tests/unittests/test_client.py"
|
"--ignore=tests/unittests/test_client.py"
|
||||||
"--deselect=tests/unittests/test_render_functions.py::test_render_unixtime_config_raw"
|
"--deselect=tests/unittests/test_render_functions.py::test_render_unixtime_config_raw"
|
||||||
"--deselect=tests/unittests/test_render_functions.py::test_render_time"
|
"--deselect=tests/unittests/test_render_functions.py::test_render_time"
|
||||||
|
"--deselect=tests/unittests/test_entry.py::test_command_shell_options_higher_priority"
|
||||||
# Only execute unittests, because cli tests require a running Redis
|
# Only execute unittests, because cli tests require a running Redis
|
||||||
"tests/unittests/"
|
"tests/unittests/"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue