Merge pull request #290038 from dotlambda/structlog-24.1.0

python311Packages.structlog: 23.2.0 -> 24.1.0
This commit is contained in:
Robert Schütz 2024-02-26 00:01:49 +00:00 committed by GitHub
commit 75f9d4f7cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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