Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-cx_Freeze for
openSUSE:Factory checked in at 2025-04-10 21:59:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cx_Freeze (Old)
and /work/SRC/openSUSE:Factory/.python-cx_Freeze.new.1907 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cx_Freeze"
Thu Apr 10 21:59:48 2025 rev:19 rq:1266734 version:8.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cx_Freeze/python-cx_Freeze.changes
2025-03-20 19:26:31.761451338 +0100
+++
/work/SRC/openSUSE:Factory/.python-cx_Freeze.new.1907/python-cx_Freeze.changes
2025-04-10 22:00:34.883940086 +0200
@@ -1,0 +2,16 @@
+Thu Apr 3 01:23:28 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Update to 8.0.0:
+ * Python 3.13 support.
+ * Python 3.13 free-threaded support for Linux and macOS.
+ * Download and extract the MSVC Redistributable files.
+ * Implement bases using PEP587 - Python Initialization Configuration.
+ * Drop Python 3.8 support.
+ * New and Improved hooks.
+ * Bug fixes and improvements.
+- Add patch use-only-console-on-python-313.patch:
+ * Only build legacy console for Python 3.12 and earlier.
+- Stop skipping Python 3.13, it's supported upstream.
+- Normalize metadata directory name.
+
+-------------------------------------------------------------------
Old:
----
7.2.10.tar.gz
New:
----
8.0.0.tar.gz
use-only-console-on-python-313.patch
BETA DEBUG BEGIN:
New: * Bug fixes and improvements.
- Add patch use-only-console-on-python-313.patch:
* Only build legacy console for Python 3.12 and earlier.
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cx_Freeze.spec ++++++
--- /var/tmp/diff_new_pack.60652S/_old 2025-04-10 22:00:35.395961468 +0200
+++ /var/tmp/diff_new_pack.60652S/_new 2025-04-10 22:00:35.399961635 +0200
@@ -16,16 +16,16 @@
#
-# https://github.com/marcelotduarte/cx_Freeze/issues/2568
-%define skip_python313 1
%define oldpython python
Name: python-cx_Freeze
-Version: 7.2.10
+Version: 8.0.0
Release: 0
Summary: Scripts to create standalone executables from Python scripts
License: Python-2.0
URL: https://github.com/anthony-tuininga/cx_Freeze
Source:
https://github.com/anthony-tuininga/cx_Freeze/archive/%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#marcelotduarte/cx_Freeze#2842
+Patch0: use-only-console-on-python-313.patch
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module filelock >= 3.12.3}
@@ -101,5 +101,5 @@
%python_alternative %{_bindir}/cxfreeze
%python_alternative %{_bindir}/cxfreeze-quickstart
%{python_sitearch}/cx_Freeze
-%{python_sitearch}/cx_Freeze-%{version}.dist-info
+%{python_sitearch}/cx_[Ff]reeze-%{version}.dist-info
++++++ 7.2.10.tar.gz -> 8.0.0.tar.gz ++++++
++++ 12139 lines of diff (skipped)
++++++ use-only-console-on-python-313.patch ++++++
>From 4d1325fedc01defcc5053672fc8eeb47ef81db57 Mon Sep 17 00:00:00 2001
From: Marcelo Duarte <[email protected]>
Date: Fri, 21 Mar 2025 18:27:46 -0300
Subject: [PATCH] fix: use only console based on PEP587 on Python 3.13
---
cx_Freeze/executable.py | 11 +++--------
setup.py | 6 +-----
tests/test_executables.py | 8 +-------
3 files changed, 5 insertions(+), 20 deletions(-)
diff --git a/cx_Freeze/executable.py b/cx_Freeze/executable.py
index b19b50555..56cc0f041 100644
--- a/cx_Freeze/executable.py
+++ b/cx_Freeze/executable.py
@@ -11,7 +11,6 @@
from typing import TYPE_CHECKING
from cx_Freeze._compat import (
- ABI_THREAD,
EXE_SUFFIX,
IS_MACOS,
IS_MINGW,
@@ -75,14 +74,10 @@ def base(self) -> Path:
@base.setter
def base(self, name: str | Path | None) -> None:
- # The default base is the legacy console, except for Python 3.13t and
- # Python 3.13 on macOS, that supports only the new console
+ # The default base is the legacy console, except for
+ # Python 3.13, that supports only the new console
version = sys.version_info[:2]
- if (
- version <= (3, 13)
- and ABI_THREAD == ""
- and not (IS_MACOS and version == (3, 13))
- ):
+ if version < (3, 13):
name = name or "console_legacy"
else:
name = name or "console"
diff --git a/setup.py b/setup.py
index 7185a255a..8278a42f4 100644
--- a/setup.py
+++ b/setup.py
@@ -285,11 +285,7 @@ def get_extensions() -> list[Extension]:
optional=optional,
)
]
- if (
- version <= (3, 13)
- and abi_thread == ""
- and not (IS_MACOS and version == (3, 13))
- ):
+ if version < (3, 13):
extensions += [
Extension(
"cx_Freeze.bases.console_legacy",
diff --git a/tests/test_executables.py b/tests/test_executables.py
index cdba2c9de..7e95bf161 100644
--- a/tests/test_executables.py
+++ b/tests/test_executables.py
@@ -12,10 +12,8 @@
from cx_Freeze import Executable
from cx_Freeze._compat import (
- ABI_THREAD,
BUILD_EXE_DIR,
EXE_SUFFIX,
- IS_MACOS,
IS_MINGW,
IS_WINDOWS,
)
@@ -242,11 +240,7 @@ def test_executables(
("icon.ico", "icon.icns", "icon.png", "icon.svg"),
),
]
-if (
- sys.version_info[:2] <= (3, 13)
- and ABI_THREAD == ""
- and not (IS_MACOS and sys.version_info[:2] == (3, 13))
-):
+if sys.version_info[:2] < (3, 13):
TEST_VALID_PARAMETERS += [
("base", None, "console_legacy-"),
("base", "console_legacy", "console_legacy-"),