python3Packages.coredis: 5.6.0 -> 6.6.1
Diff: https://github.com/alisaifee/coredis/compare/5.6.0...6.6.1 Changelog: https://github.com/alisaifee/coredis/blob/6.6.1/HISTORY.rst
This commit is contained in:
committed by
Martin Weinelt
parent
62a2015059
commit
e8a86698fb
@@ -1,6 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
async-timeout,
|
||||
anyio,
|
||||
beartype,
|
||||
buildPythonPackage,
|
||||
hatchling,
|
||||
@@ -8,36 +8,35 @@
|
||||
hatch-vcs,
|
||||
types-deprecated,
|
||||
deprecated,
|
||||
exceptiongroup,
|
||||
fetchFromGitHub,
|
||||
packaging,
|
||||
pympler,
|
||||
pytest-asyncio,
|
||||
pytest-lazy-fixtures,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
redis,
|
||||
typing-extensions,
|
||||
wrapt,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "coredis";
|
||||
version = "5.6.0";
|
||||
version = "6.6.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alisaifee";
|
||||
repo = "coredis";
|
||||
tag = version;
|
||||
hash = "sha256-84mFHEPvCv7c1u2giTwTmC+56KCB/3snl8vJ4c+sE2s=";
|
||||
hash = "sha256-Jn6tqMpyk849/hwYM0DHuQnGbMltRpTXAVcN5Kt6lk4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/mypy==/d' pyproject.toml
|
||||
sed -i '/packaging/d' pyproject.toml
|
||||
sed -i '/pympler/d' pyproject.toml
|
||||
sed -i '/types_deprecated/d' pyproject.toml
|
||||
substituteInPlace pytest.ini \
|
||||
--replace-fail "-K" ""
|
||||
sed -i '/hatch-mypy/d' pyproject.toml
|
||||
sed -i '/opentelemetry-sdk/d' pyproject.toml
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail '"-K"' ""
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
@@ -48,13 +47,12 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
async-timeout
|
||||
anyio
|
||||
beartype
|
||||
deprecated
|
||||
exceptiongroup
|
||||
packaging
|
||||
pympler
|
||||
typing-extensions
|
||||
wrapt
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
@@ -62,6 +60,7 @@ buildPythonPackage rec {
|
||||
redis
|
||||
pytest-asyncio
|
||||
pytest-lazy-fixtures
|
||||
pytest-mock
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "coredis" ];
|
||||
|
||||
Reference in New Issue
Block a user