From c4d2f7242ff3925b8fbb34ba05a85cf98da29de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 22 May 2025 12:34:31 -0700 Subject: [PATCH] python3Packages.cx-freeze: 8.2.0 -> 8.3.0 Diff: https://github.com/marcelotduarte/cx_Freeze/compare/refs/tags/8.2.0...refs/tags/8.3.0 Changelog: https://github.com/marcelotduarte/cx_Freeze/releases/tag/8.3.0 --- .../python-modules/cx-freeze/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/cx-freeze/default.nix b/pkgs/development/python-modules/cx-freeze/default.nix index 7d56ee98f2c8..161bd77a5c76 100644 --- a/pkgs/development/python-modules/cx-freeze/default.nix +++ b/pkgs/development/python-modules/cx-freeze/default.nix @@ -11,7 +11,6 @@ filelock, packaging, tomli, - typing-extensions, distutils, pythonOlder, @@ -29,14 +28,14 @@ buildPythonPackage rec { pname = "cx-freeze"; - version = "8.2.0"; + version = "8.3.0"; pyproject = true; src = fetchFromGitHub { owner = "marcelotduarte"; repo = "cx_Freeze"; tag = version; - hash = "sha256-xrSMW7z3XblwAuaC18Rju/XuBZvU+5+xAW+MO6u32EE="; + hash = "sha256-PhUzHSn9IqUcb11D0kRT8zhmZ/KusTBDpAempiDN4Rc="; }; patches = [ @@ -45,6 +44,11 @@ buildPythonPackage rec { ./fix-tests-relative-path.patch ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "setuptools>=77.0.3,<=80.4.0" "setuptools>=77.0.3" + ''; + build-system = [ setuptools ]; @@ -63,9 +67,6 @@ buildPythonPackage rec { ++ lib.optionals (pythonOlder "3.11") [ tomli ] - ++ lib.optionals (pythonOlder "3.10") [ - typing-extensions - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ dmgbuild ]; @@ -97,6 +98,7 @@ buildPythonPackage rec { disabledTests = [ # Require internet access + "test_bdist_appimage_download_appimagetool" "test_bdist_appimage_target_name" "test_bdist_appimage_target_name_and_version" "test_bdist_appimage_target_name_and_version_none" @@ -150,7 +152,7 @@ buildPythonPackage rec { meta = { description = "Set of scripts and modules for freezing Python scripts into executables"; homepage = "https://marcelotduarte.github.io/cx_Freeze"; - changelog = "https://github.com/marcelotduarte/cx_Freeze/releases/tag/${version}"; + changelog = "https://github.com/marcelotduarte/cx_Freeze/releases/tag/${src.tag}"; license = lib.licenses.psfl; maintainers = [ ]; mainProgram = "cxfreeze";