python3Packages.python-multipart: 0.0.22 -> 0.0.29
Diff: https://github.com/Kludex/python-multipart/compare/0.0.22...0.0.29
Changelog: https://github.com/Kludex/python-multipart/blob/0.0.29/CHANGELOG.md
(cherry picked from commit 83594b9031)
(cherry picked from commit 5010b8e892a3e3d0a514051904f89e330c7252f9)
This commit is contained in:
@@ -2,10 +2,8 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
hatchling,
|
||||
pytestCheckHook,
|
||||
mock,
|
||||
pyyaml,
|
||||
|
||||
# for passthru.tests
|
||||
@@ -18,32 +16,22 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "python-multipart";
|
||||
version = "0.0.22";
|
||||
version = "0.0.29";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Kludex";
|
||||
repo = "python-multipart";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-UegnwGxiXQalbp18t1dl2JOQH6BY975cpBa9uo3SOuk=";
|
||||
hash = "sha256-1aV7gWLuulINesm3L8Wm3+prmeD9+OY/ihm36rtQPRs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2026-40347-part-1.patch";
|
||||
url = "https://github.com/Kludex/python-multipart/commit/6a7b76dd2653d99d8e5981d7ff09a4a047750b37.patch";
|
||||
hash = "sha256-W1nyYMMoaf+lsNze3ppPeAXN+swG1dScDibazePSt+k=";
|
||||
})
|
||||
./CVE-2026-40347-part-2.patch
|
||||
];
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
pythonImportsCheck = [ "python_multipart" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
mock
|
||||
pyyaml
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user