mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 00:24:13 +00:00
Fix PyPy.
This commit is contained in:
parent
b52f0251d5
commit
f2f7c1dd48
@ -30,12 +30,12 @@
|
||||
{ lib, fetchPypi, python, buildPythonPackage, rustPlatform }:
|
||||
buildPythonPackage rec {
|
||||
pname = "pycddl";
|
||||
version = "0.6.0";
|
||||
version = "0.6.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-kmXXJAHkP4Wltp01Os5DPlygEI7nxd0FdaFqdD43X3g=";
|
||||
sha256 = "sha256-63fe8UJXEH6t4l7ujV8JDvlGb7q3kL6fHHATFdklzFc=";
|
||||
};
|
||||
|
||||
# Without this, when building for PyPy, `maturin build` seems to fail to
|
||||
@ -52,6 +52,6 @@ buildPythonPackage rec {
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-PjAcAf7T03hKmBhDlXJdkwCkiGNfzc1ajukhf+tFpMo=";
|
||||
hash = "sha256-ssDEKRd3Y9/10oXBZHCxvlRkl9KMh3pGYbCkM4rXThQ=";
|
||||
};
|
||||
}
|
||||
|
4
setup.py
4
setup.py
@ -146,8 +146,8 @@ install_requires = [
|
||||
# 5.6.0 excluded because https://github.com/agronholm/cbor2/issues/208
|
||||
"cbor2 != 5.6.0",
|
||||
|
||||
# 0.6 adds the ability to decode CBOR.
|
||||
"pycddl >= 0.6",
|
||||
# 0.6 adds the ability to decode CBOR. 0.6.1 fixes PyPy.
|
||||
"pycddl >= 0.6.1",
|
||||
|
||||
# Command-line parsing
|
||||
"click >= 8.1.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user