Merge pull request #310172 from fabaff/fakeredis-bump

python312Packages.fakeredis: 2.21.3 -> 2.23.0
This commit is contained in:
Fabian Affolter 2024-05-14 20:08:30 +02:00 committed by GitHub
commit ecb1b930ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,23 +1,24 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, hypothesis
, jsonpath-ng
, lupa
, poetry-core
, pybloom-live
, pyprobables
, pytest-asyncio
, pytest-mock
, pytestCheckHook
, pythonOlder
, redis
, sortedcontainers
{
lib,
buildPythonPackage,
fetchFromGitHub,
hypothesis,
jsonpath-ng,
lupa,
poetry-core,
pybloom-live,
pyprobables,
pytest-asyncio,
pytest-mock,
pytestCheckHook,
pythonOlder,
redis,
sortedcontainers,
}:
buildPythonPackage rec {
pname = "fakeredis";
version = "2.21.3";
version = "2.23.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -26,14 +27,12 @@ buildPythonPackage rec {
owner = "dsoftwareinc";
repo = "fakeredis-py";
rev = "refs/tags/v${version}";
hash = "sha256-GIg+a8G5S0dmbvMKqS/Vn+wzNM6iNIs3bKPqhecsQt4=";
hash = "sha256-qiqJO8uZ3vy9TpTHmExlUoQ78avPVqlKn0jgvDsKdP0=";
};
nativeBuildInputs = [
poetry-core
];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
redis
sortedcontainers
];
@ -46,25 +45,18 @@ buildPythonPackage rec {
];
passthru.optional-dependencies = {
lua = [
lupa
];
json = [
jsonpath-ng
];
bf = [
pyprobables
];
cf = [
pyprobables
];
probabilistic = [
pyprobables
];
lua = [ lupa ];
json = [ jsonpath-ng ];
bf = [ pyprobables ];
cf = [ pyprobables ];
probabilistic = [ pyprobables ];
};
pythonImportsCheck = [
"fakeredis"
pythonImportsCheck = [ "fakeredis" ];
disabledTests = [
# AssertionError
"test_command"
];
meta = with lib; {