Merge pull request #254374 from fabaff/nats-py-bump
python311Packages.nats-py: 2.2.0 -> 2.3.1
This commit is contained in:
@@ -7,13 +7,14 @@
|
||||
, nats-server
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, uvloop
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nats-py";
|
||||
version = "2.2.0";
|
||||
format = "setuptools";
|
||||
version = "2.3.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@@ -21,9 +22,18 @@ buildPythonPackage rec {
|
||||
owner = "nats-io";
|
||||
repo = "nats.py";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-w+YySX9RNXUttt7iLg/Efh8bNzmhIQTKMXcoPO1k4lI=";
|
||||
hash = "sha256-vcTkQeaWBsPlPCp53VqI3inH0PkdxkKWDTW/vtrD/xw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '"--cov=nats", "--cov-report=html"' ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
ed25519
|
||||
@@ -35,11 +45,6 @@ buildPythonPackage rec {
|
||||
uvloop
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=nats --cov-report html" ""
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError: assert 5 == 0
|
||||
"test_pull_subscribe_limits"
|
||||
|
||||
Reference in New Issue
Block a user