python3Packages.cattrs: 23.1.2 -> 23.2.3
https://github.com/python-attrs/cattrs/blob/refs/tags/v23.2.3/HISTORY.md
This commit is contained in:
@@ -4,12 +4,13 @@
|
||||
, cbor2
|
||||
, fetchFromGitHub
|
||||
, exceptiongroup
|
||||
, hatchling
|
||||
, hatch-vcs
|
||||
, hypothesis
|
||||
, immutables
|
||||
, motor
|
||||
, msgpack
|
||||
, orjson
|
||||
, poetry-core
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
@@ -21,7 +22,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cattrs";
|
||||
version = "23.1.2";
|
||||
version = "23.2.3";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -29,12 +30,13 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-attrs";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-YO4Clbo5fmXbysxwwM2qCHJwO5KwDC05VctRVFruJcw=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-zWM5zmZr2EiJb/4Dc6KjDL89p0C1V0Dsz949byz5OVM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
hatchling
|
||||
hatch-vcs
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -62,9 +64,7 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "-l --benchmark-sort=fullname --benchmark-warmup=true --benchmark-warmup-iterations=5 --benchmark-group-by=fullname" "" \
|
||||
--replace 'orjson = "^3.5.2"' "" \
|
||||
--replace "[tool.poetry.group.dev.dependencies]" "[tool.poetry.dev-dependencies]"
|
||||
--replace "-l --benchmark-sort=fullname --benchmark-warmup=true --benchmark-warmup-iterations=5 --benchmark-group-by=fullname" ""
|
||||
substituteInPlace tests/test_preconf.py \
|
||||
--replace "from orjson import dumps as orjson_dumps" "" \
|
||||
--replace "from orjson import loads as orjson_loads" ""
|
||||
|
||||
Reference in New Issue
Block a user