From b226f2c70d23732a1b73aaf88e4cd8ada4963b93 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 3 Mar 2025 09:25:10 +0100 Subject: [PATCH] python313Packages.beautifulsoup4: 4.12.3 -> 4.13.3 https://git.launchpad.net/beautifulsoup/tree/CHANGELOG?h=4.13.3 --- .../python-modules/beautifulsoup4/default.nix | 24 +++++++------------ 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/beautifulsoup4/default.nix b/pkgs/development/python-modules/beautifulsoup4/default.nix index a0fbb4ade834..c04050c54d81 100644 --- a/pkgs/development/python-modules/beautifulsoup4/default.nix +++ b/pkgs/development/python-modules/beautifulsoup4/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchPypi, - fetchpatch, chardet, hatchling, html5lib, @@ -11,6 +10,7 @@ pythonOlder, soupsieve, sphinxHook, + typing-extensions, # for passthru.tests html-sanitizer, @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "beautifulsoup4"; - version = "4.12.3"; + version = "4.13.3"; pyproject = true; outputs = [ @@ -35,25 +35,17 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-dOPRko7cBw0hdIGFxG4/szSQ8i9So63e6a7g9Pd4EFE="; + hash = "sha256-G9MkBdrMkgtCuDugFkR0ftd0VqZXYOKF+8R2M87dr4s="; }; - patches = [ - (fetchpatch { - name = "tests.patch"; - url = "https://git.launchpad.net/beautifulsoup/patch/?id=9786a62726de5a8caba10021c4d4a58c8a3e9e3f"; - hash = "sha256-FOMoJjT0RgqKjbTLN/qCuc0HjhKeenMcgwb9Fp8atAY="; - }) - ]; + build-system = [ hatchling ]; - nativeBuildInputs = [ - hatchling - sphinxHook - ]; + nativeBuildInputs = [ sphinxHook ]; - propagatedBuildInputs = [ + dependencies = [ chardet soupsieve + typing-extensions ]; optional-dependencies = { @@ -63,7 +55,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook - ] ++ lib.flatten (builtins.attrValues optional-dependencies); + ] ++ lib.flatten (lib.attrValues optional-dependencies); pythonImportsCheck = [ "bs4" ];