python3.pkgs.pyrate-limiter: 3.9.0 -> 4.0.2
Diff: https://github.com/vutran1710/PyrateLimiter/compare/v3.9.0...v4.0.2 Changelog: https://github.com/vutran1710/PyrateLimiter/blob/v4.0.2/CHANGELOG.md
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
poetry-core,
|
||||
hatchling,
|
||||
uv-dynamic-versioning,
|
||||
|
||||
# optional dependencies
|
||||
filelock,
|
||||
@@ -21,14 +22,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyrate-limiter";
|
||||
version = "3.9.0";
|
||||
version = "4.0.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vutran1710";
|
||||
repo = "PyrateLimiter";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-CAN3OWxXQaAzrh2q6z0OxPs4i02L/g2ISYFdUMHsHpg=";
|
||||
hash = "sha256-xWxe70J69g9Tq35GjdJeT7MjUdoSEGj8w1cIKvLxJss=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -36,7 +37,10 @@ buildPythonPackage rec {
|
||||
sed -i "/create_postgres_bucket,/d" tests/conftest.py
|
||||
'';
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
build-system = [
|
||||
hatchling
|
||||
uv-dynamic-versioning
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
all = [
|
||||
@@ -73,6 +77,7 @@ buildPythonPackage rec {
|
||||
"tests/test_bucket_factory.py"
|
||||
"tests/test_limiter.py"
|
||||
"tests/test_multiprocessing.py"
|
||||
"tests/test_postgres_concurrent.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyrate_limiter" ];
|
||||
|
||||
Reference in New Issue
Block a user