Merge pull request #290038 from dotlambda/structlog-24.1.0
python311Packages.structlog: 23.2.0 -> 24.1.0
This commit is contained in:
commit
75f9d4f7cf
@ -11,13 +11,12 @@
|
|||||||
, pythonOlder
|
, pythonOlder
|
||||||
, simplejson
|
, simplejson
|
||||||
, twisted
|
, twisted
|
||||||
, typing-extensions
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "structlog";
|
pname = "structlog";
|
||||||
version = "23.2.0";
|
version = "24.1.0";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
@ -25,7 +24,7 @@ buildPythonPackage rec {
|
|||||||
owner = "hynek";
|
owner = "hynek";
|
||||||
repo = "structlog";
|
repo = "structlog";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-KSHKgkv+kObKCdWZDg5o6QYe0AMND9VLdEuseY/GyDY=";
|
hash = "sha256-0Yc28UEeozK2+IqILFTqHoTiM5L2SA4t6jld4qTBSzQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -34,10 +33,6 @@ buildPythonPackage rec {
|
|||||||
hatchling
|
hatchling
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
|
|
||||||
typing-extensions
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
freezegun
|
freezegun
|
||||||
pretend
|
pretend
|
||||||
@ -47,11 +42,6 @@ buildPythonPackage rec {
|
|||||||
twisted
|
twisted
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
|
||||||
# _pickle.PicklingError: Only BytesLoggers to sys.stdout and sys.stderr can be pickled.
|
|
||||||
"test_pickle"
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"structlog"
|
"structlog"
|
||||||
];
|
];
|
||||||
@ -61,6 +51,6 @@ buildPythonPackage rec {
|
|||||||
homepage = "https://github.com/hynek/structlog";
|
homepage = "https://github.com/hynek/structlog";
|
||||||
changelog = "https://github.com/hynek/structlog/blob/${version}/CHANGELOG.md";
|
changelog = "https://github.com/hynek/structlog/blob/${version}/CHANGELOG.md";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ dotlambda ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user