Merge pull request #194878 from fabaff/marshmallow-dataclass-bump
python310Packages.marshmallow-dataclass: 8.5.8 -> 8.5.9
This commit is contained in:
@@ -1,35 +1,40 @@
|
||||
{ lib
|
||||
, fetchzip
|
||||
, buildPythonPackage
|
||||
, setuptools
|
||||
, ecdsa
|
||||
, fastecdsa
|
||||
, sympy
|
||||
, frozendict
|
||||
, marshmallow
|
||||
, marshmallow-enum
|
||||
, marshmallow-dataclass
|
||||
, marshmallow-oneofschema
|
||||
, pipdeptree
|
||||
, eth-hash
|
||||
, web3
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, cachetools
|
||||
, ecdsa
|
||||
, eth-hash
|
||||
, fastecdsa
|
||||
, fetchzip
|
||||
, frozendict
|
||||
, gmp
|
||||
, lark
|
||||
, marshmallow
|
||||
, marshmallow-dataclass
|
||||
, marshmallow-enum
|
||||
, marshmallow-oneofschema
|
||||
, mpmath
|
||||
, numpy
|
||||
, pipdeptree
|
||||
, prometheus-client
|
||||
, typeguard
|
||||
, lark
|
||||
, pyyaml
|
||||
, pytest-asyncio
|
||||
, pytest
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, gmp
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, pyyaml
|
||||
, setuptools
|
||||
, sympy
|
||||
, typeguard
|
||||
, web3
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cairo-lang";
|
||||
version = "0.10.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/starkware-libs/cairo-lang/releases/download/v${version}/cairo-lang-${version}.zip";
|
||||
@@ -37,13 +42,9 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
# TODO: remove a substantial part when https://github.com/starkware-libs/cairo-lang/pull/88/files is merged.
|
||||
# TODO: pytest and pytest-asyncio must be removed as they are check inputs in fact.
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace 'frozendict==1.2' 'frozendict>=1.2' \
|
||||
--replace 'lark-parser' 'lark' \
|
||||
--replace 'pytest-asyncio' ''' \
|
||||
--replace "pytest" '''
|
||||
--replace "lark-parser" "lark"
|
||||
|
||||
substituteInPlace starkware/cairo/lang/compiler/parser_transformer.py \
|
||||
--replace 'value, meta' 'meta, value' \
|
||||
@@ -52,7 +53,13 @@ buildPythonPackage rec {
|
||||
--replace 'standard' 'basic'
|
||||
'';
|
||||
|
||||
buildInputs = [ gmp ];
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gmp
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
@@ -74,23 +81,33 @@ buildPythonPackage rec {
|
||||
lark
|
||||
web3
|
||||
eth-hash
|
||||
eth-hash.optional-dependencies.pycryptodome
|
||||
pyyaml
|
||||
];
|
||||
] ++ eth-hash.optional-dependencies.pycryptodome;
|
||||
|
||||
checkInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"frozendict"
|
||||
];
|
||||
|
||||
pythonRemoveDeps = [
|
||||
# TODO: pytest and pytest-asyncio must be removed as they are check inputs
|
||||
"pytest"
|
||||
"pytest-asyncio"
|
||||
];
|
||||
|
||||
# There seems to be no test included in the ZIP release…
|
||||
# Cloning from GitHub is harder because they use a custom CMake setup
|
||||
# TODO(raitobezarius): upstream was pinged out of band about it.
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/starkware/cairo-lang";
|
||||
meta = with lib; {
|
||||
description = "Tooling for Cairo language";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ raitobezarius ];
|
||||
homepage = "https://github.com/starkware/cairo-lang";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ raitobezarius ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,10 +2,12 @@
|
||||
, babel
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, deprecated
|
||||
, exifread
|
||||
, fetchFromGitHub
|
||||
, filetype
|
||||
, flask
|
||||
, importlib-metadata
|
||||
, inifile
|
||||
, jinja2
|
||||
, marshmallow
|
||||
@@ -21,13 +23,14 @@
|
||||
, python-slugify
|
||||
, requests
|
||||
, setuptools
|
||||
, typing-inspect
|
||||
, watchdog
|
||||
, werkzeug
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lektor";
|
||||
version = "3.3.5";
|
||||
version = "3.4.0b2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -36,12 +39,13 @@ buildPythonPackage rec {
|
||||
owner = "lektor";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-i3SuvRREuq0EENDtXjQegdmz30RmH1HVqBwdjq/mkTM=";
|
||||
hash = "sha256-5w3tT0celHgjmLlsM3sdBdYlXx57z3kMePVGSQkOP7M=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
babel
|
||||
click
|
||||
deprecated
|
||||
exifread
|
||||
filetype
|
||||
flask
|
||||
@@ -55,8 +59,11 @@ buildPythonPackage rec {
|
||||
python-slugify
|
||||
requests
|
||||
setuptools
|
||||
typing-inspect
|
||||
watchdog
|
||||
werkzeug
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
@@ -65,6 +72,11 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "typing.inspect < 0.8.0" "typing.inspect"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"lektor"
|
||||
];
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "marshmallow-dataclass";
|
||||
version = "8.5.8";
|
||||
version = "8.5.9";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "lovasoa";
|
||||
repo = "marshmallow_dataclass";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-3kd/V3U3+/HfUmzwkp3/ChwSjknQ8rIYnTUsRH3WoP4=";
|
||||
sha256 = "sha256-gA5GxE2as/P5yT3ymvXmLQfG2GyZE7Fj+zBaT88O4vY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -20,36 +20,32 @@
|
||||
# , py-geth
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "web3";
|
||||
version = "5.30.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
version = "5.31.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ethereum";
|
||||
repo = "web3.py";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-HajumvOG18r7TslkmCfI0iiLsEddevGrRZQFWICGeYE=";
|
||||
hash = "sha256-YsAbPI9Y6z+snKZ9NsA0YSpB38n+ra4+Ei6COYFe8v4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "eth-account>=0.5.7,<0.6.0" "eth-account>=0.5.7,<0.7" \
|
||||
--replace "eth-utils>=1.9.5,<2.0.0" "eth-utils>=1.9.5,<3" \
|
||||
--replace "eth-rlp<0.3" "eth-rlp<0.4" \
|
||||
--replace "websockets>=9.1,<10" "websockets>=9.1,<11" \
|
||||
--replace "eth-abi>=2.0.0b6,<3.0.0" "eth-abi>=2.0.0b6,<4" \
|
||||
--replace "eth-typing>=2.0.0,<3.0.0" "eth-typing>=2.0.0,<4"
|
||||
'';
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
eth-abi
|
||||
eth-account
|
||||
eth-hash
|
||||
eth-hash.optional-dependencies.pycryptodome
|
||||
eth-rlp
|
||||
eth-typing
|
||||
eth-utils
|
||||
@@ -60,7 +56,11 @@ buildPythonPackage rec {
|
||||
protobuf
|
||||
requests
|
||||
websockets
|
||||
] ++ lib.optional (pythonOlder "3.8") [ typing-extensions ];
|
||||
] ++ lib.optional (pythonOlder "3.8") [
|
||||
typing-extensions
|
||||
] ++ eth-hash.optional-dependencies.pycryptodome;
|
||||
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
# TODO: package eth-tester
|
||||
#checkInputs = [
|
||||
@@ -72,7 +72,9 @@ buildPythonPackage rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "web3" ];
|
||||
pythonImportsCheck = [
|
||||
"web3"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Web3 library for interactions";
|
||||
|
||||
Reference in New Issue
Block a user