python310Packages.limits: 2.6.2 -> 2.6.3
This commit is contained in:
parent
a45f138a41
commit
c146fde7a0
|
@ -17,7 +17,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "limits";
|
||||
version = "2.6.2";
|
||||
version = "2.6.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -32,7 +32,7 @@ buildPythonPackage rec {
|
|||
postFetch = ''
|
||||
rm "$out/limits/_version.py"
|
||||
'';
|
||||
hash = "sha256-1TfwGxEgf6LFYSaNLyVRtJVOnTVNxvswoKMFNWrNOv0=";
|
||||
hash = "sha256-YAuq8QycQ55emU2S0rQHxdHCD+jSRmzUKeYFdrV9NzM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -56,9 +56,6 @@ buildPythonPackage rec {
|
|||
substituteInPlace pytest.ini \
|
||||
--replace "--cov=limits" "" \
|
||||
--replace "-K" ""
|
||||
# redis-py-cluster doesn't support redis > 4
|
||||
substituteInPlace tests/conftest.py \
|
||||
--replace "import rediscluster" ""
|
||||
|
||||
# Recreate _version.py, deleted at fetch time due to non-reproducibility.
|
||||
echo 'def get_versions(): return {"version": "${version}"}' > limits/_version.py
|
||||
|
|
Loading…
Reference in a new issue