Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python312 for openSUSE:Factory checked in at 2023-10-04 22:30:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python312 (Old) and /work/SRC/openSUSE:Factory/.python312.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python312" Wed Oct 4 22:30:53 2023 rev:9 rq:1114870 version:3.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python312/python312.changes 2023-09-21 22:14:36.750496202 +0200 +++ /work/SRC/openSUSE:Factory/.python312.new.28202/python312.changes 2023-10-04 22:31:33.531874081 +0200 @@ -1,0 +2,88 @@ +Mon Oct 2 17:15:53 UTC 2023 - Matej Cepl <mc...@suse.com> + +- Update to the final release of 3.12.0: + Python 3.12 is the latest stable release of the Python + programming language, with a mix of changes to the language and + the standard library. The library changes focus on cleaning up + deprecated APIs, usability, and correctness. Of note, the + distutils package has been removed from the standard library. + Filesystem support in os and pathlib has seen a number of + improvements, and several modules have better performance. + The language changes focus on usability, as f-strings have had + many limitations removed and âDid you mean â¦â suggestions + continue to improve. The new type parameter syntax and type + statement improve ergonomics for using generic types and type + aliases with static type checkers. + This article doesnât attempt to provide a complete + specification of all new features, but instead gives + a convenient overview. For full details, you should refer to + the documentation, such as the Library Reference and Language + Reference. If you want to understand the complete + implementation and design rationale for a change, refer to the + PEP for a particular new feature; but note that PEPs usually + are not kept up-to-date once a feature has been fully + implemented. + - New syntax features: + - PEP 695, type parameter syntax and the type statement + - New grammar features: + - PEP 701, f-strings in the grammar + - Interpreter improvements: + - PEP 684, a unique per-interpreter GIL + - PEP 669, low impact monitoring + - Improved âDid you mean â¦â suggestions for NameError, + ImportError, and SyntaxError exceptions + - Python data model improvements: + - PEP 688, using the buffer protocol from Python + - Significant improvements in the standard library: + - The pathlib.Path class now supports subclassing + - The os module received several improvements for Windows + support + - A command-line interface has been added to the sqlite3 + module + - isinstance() checks against runtime-checkable protocols + enjoy a speed up of between two and 20 times + - The asyncio package has had a number of performance + improvements, with some benchmarks showing a 75% speed + up. + - A command-line interface has been added to the uuid + module + - Due to the changes in PEP 701, producing tokens via the + tokenize module is up to up to 64% faster. + - Security improvements: + - Replace the builtin hashlib implementations of SHA1, + SHA3, SHA2-384, SHA2-512, and MD5 with formally verified + code from the HACL* project. These builtin + implementations remain as fallbacks that are only used + when OpenSSL does not provide them. + - C API improvements: + - PEP 697, unstable C API tier + - PEP 683, immortal objects + - CPython implementation improvements: + - PEP 709, comprehension inlining + - CPython support for the Linux perf profiler + - Implement stack overflow protection on supported + platforms + - New typing features: + - PEP 692, using TypedDict to annotate **kwargs + - PEP 698, typing.override() decorator + - Important deprecations, removals or restrictions: + - PEP 623: Remove wstr from Unicode objects in Pythonâs + C API, reducing the size of every str object by at least + 8 bytes. + - PEP 632: Remove the distutils package. See the migration + guide for advice replacing the APIs it provided. The + third-party Setuptools package continues to provide + distutils, if you still require it in Python 3.12 and + beyond. + - gh-95299: Do not pre-install setuptools in virtual + environments created with venv. This means that + distutils, setuptools, pkg_resources, and easy_install + will no longer available by default; to access these run + pip install setuptools in the activated virtual + environment. + - The asynchat, asyncore, and imp modules have been + removed, along with several unittest.TestCase method + aliases. +- Refresh bluez-devel-vendor.tar.xz from bluez-devel 5.69-1.1. + +------------------------------------------------------------------- Old: ---- Python-3.12.0rc3.tar.xz Python-3.12.0rc3.tar.xz.asc New: ---- Python-3.12.0.tar.xz Python-3.12.0.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python312.spec ++++++ --- /var/tmp/diff_new_pack.MljTR4/_old 2023-10-04 22:31:36.499981359 +0200 +++ /var/tmp/diff_new_pack.MljTR4/_new 2023-10-04 22:31:36.503981503 +0200 @@ -105,7 +105,7 @@ %define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so %bcond_without profileopt Name: %{python_pkg_name}%{psuffix} -Version: 3.12.0rc3 +Version: 3.12.0 Release: 0 Summary: Python 3 Interpreter License: Python-2.0 ++++++ Python-3.12.0rc3.tar.xz -> Python-3.12.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/python312/Python-3.12.0rc3.tar.xz /work/SRC/openSUSE:Factory/.python312.new.28202/Python-3.12.0.tar.xz differ: char 26, line 1 ++++++ bluez-devel-vendor.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Vendor/bluetooth/bluetooth.h new/Vendor/bluetooth/bluetooth.h --- old/Vendor/bluetooth/bluetooth.h 2022-05-10 16:34:17.114252134 +0200 +++ new/Vendor/bluetooth/bluetooth.h 2023-10-02 19:07:44.953002185 +0200 @@ -6,6 +6,7 @@ * Copyright (C) 2000-2001 Qualcomm Incorporated * Copyright (C) 2002-2003 Maxim Krasnyansky <m...@qualcomm.com> * Copyright (C) 2002-2010 Marcel Holtmann <mar...@holtmann.org> + * Copyright 2023 NXP * * */ @@ -37,6 +38,7 @@ #define BTPROTO_CMTP 5 #define BTPROTO_HIDP 6 #define BTPROTO_AVDTP 7 +#define BTPROTO_ISO 8 #define SOL_HCI 0 #define SOL_L2CAP 6 @@ -140,7 +142,68 @@ #define BT_SCM_PKT_STATUS 0x03 -#define BT_CODEC 19 +#define BT_ISO_QOS 17 + +#define BT_ISO_QOS_CIG_UNSET 0xff +#define BT_ISO_QOS_CIS_UNSET 0xff + +#define BT_ISO_QOS_BIG_UNSET 0xff +#define BT_ISO_QOS_BIS_UNSET 0xff + +#define BT_ISO_QOS_GROUP_UNSET 0xff +#define BT_ISO_QOS_STREAM_UNSET 0xff + +struct bt_iso_io_qos { + uint32_t interval; + uint16_t latency; + uint16_t sdu; + uint8_t phy; + uint8_t rtn; +}; + +struct bt_iso_ucast_qos { + uint8_t cig; + uint8_t cis; + uint8_t sca; + uint8_t packing; + uint8_t framing; + struct bt_iso_io_qos in; + struct bt_iso_io_qos out; +}; + +struct bt_iso_bcast_qos { + uint8_t big; + uint8_t bis; + uint8_t sync_interval; + uint8_t packing; + uint8_t framing; + struct bt_iso_io_qos in; + struct bt_iso_io_qos out; + uint8_t encryption; + uint8_t bcode[16]; + uint8_t options; + uint16_t skip; + uint16_t sync_timeout; + uint8_t sync_cte_type; + uint8_t mse; + uint16_t timeout; +}; + +/* (HCI_MAX_PER_AD_LENGTH - EIR_SERVICE_DATA_LENGTH) */ +#define BASE_MAX_LENGTH 248 +struct bt_iso_base { + uint8_t base_len; + uint8_t base[BASE_MAX_LENGTH]; +}; + +struct bt_iso_qos { + union { + struct bt_iso_ucast_qos ucast; + struct bt_iso_bcast_qos bcast; + }; +}; + +#define BT_CODEC 19 struct bt_codec { uint8_t id; uint16_t cid; @@ -158,6 +221,7 @@ struct bt_codec codecs[]; } __attribute__((packed)); + /* Connection and socket states */ enum { BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */ @@ -171,6 +235,8 @@ BT_CLOSED }; +#define BT_ISO_BASE 20 + /* Byte order conversions */ #if __BYTE_ORDER == __LITTLE_ENDIAN #define htobs(d) (d) @@ -378,6 +444,10 @@ const char *bt_compidtostr(int id); typedef struct { + uint8_t data[3]; +} uint24_t; + +typedef struct { uint8_t data[16]; } uint128_t; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Vendor/bluetooth/l2cap.h new/Vendor/bluetooth/l2cap.h --- old/Vendor/bluetooth/l2cap.h 2022-05-10 16:34:17.114252134 +0200 +++ new/Vendor/bluetooth/l2cap.h 2023-10-02 19:07:44.956335545 +0200 @@ -184,6 +184,8 @@ #define L2CAP_MODE_FLOWCTL 0x02 #define L2CAP_MODE_ERTM 0x03 #define L2CAP_MODE_STREAMING 0x04 +#define L2CAP_MODE_LE_FLOWCTL 0x80 +#define L2CAP_MODE_ECRED 0x81 #define L2CAP_SERVTYPE_NOTRAFFIC 0x00 #define L2CAP_SERVTYPE_BESTEFFORT 0x01 ++++++ bpo-31046_ensurepip_honours_prefix.patch ++++++ --- /var/tmp/diff_new_pack.MljTR4/_old 2023-10-04 22:31:36.687988154 +0200 +++ /var/tmp/diff_new_pack.MljTR4/_new 2023-10-04 22:31:36.687988154 +0200 @@ -13,10 +13,10 @@ 5 files changed, 34 insertions(+), 9 deletions(-) create mode 100644 Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst -Index: Python-3.12.0rc1/Doc/library/ensurepip.rst +Index: Python-3.12.0/Doc/library/ensurepip.rst =================================================================== ---- Python-3.12.0rc1.orig/Doc/library/ensurepip.rst -+++ Python-3.12.0rc1/Doc/library/ensurepip.rst +--- Python-3.12.0.orig/Doc/library/ensurepip.rst ++++ Python-3.12.0/Doc/library/ensurepip.rst @@ -59,8 +59,9 @@ is at least as recent as the one availab By default, ``pip`` is installed into the current virtual environment (if one is active) or into the system site packages (if there is no @@ -25,7 +25,7 @@ +through some additional command line options: +* ``--prefix <dir>``: Installs ``pip`` using the given directory prefix. - * ``--root <dir>``: Installs ``pip`` relative to the given root directory + * :samp:`--root {dir}`: Installs ``pip`` relative to the given root directory rather than the root of the currently active virtual environment (if any) or the default root for the current Python installation. @@ -92,7 +93,7 @@ Module API @@ -55,10 +55,10 @@ .. audit-event:: ensurepip.bootstrap root ensurepip.bootstrap .. note:: -Index: Python-3.12.0rc1/Lib/ensurepip/__init__.py +Index: Python-3.12.0/Lib/ensurepip/__init__.py =================================================================== ---- Python-3.12.0rc1.orig/Lib/ensurepip/__init__.py -+++ Python-3.12.0rc1/Lib/ensurepip/__init__.py +--- Python-3.12.0.orig/Lib/ensurepip/__init__.py ++++ Python-3.12.0/Lib/ensurepip/__init__.py @@ -120,27 +120,27 @@ def _disable_pip_configuration_settings( os.environ['PIP_CONFIG_FILE'] = os.devnull @@ -121,10 +121,10 @@ upgrade=args.upgrade, user=args.user, verbosity=args.verbosity, -Index: Python-3.12.0rc1/Lib/test/test_ensurepip.py +Index: Python-3.12.0/Lib/test/test_ensurepip.py =================================================================== ---- Python-3.12.0rc1.orig/Lib/test/test_ensurepip.py -+++ Python-3.12.0rc1/Lib/test/test_ensurepip.py +--- Python-3.12.0.orig/Lib/test/test_ensurepip.py ++++ Python-3.12.0/Lib/test/test_ensurepip.py @@ -105,6 +105,17 @@ class TestBootstrap(EnsurepipMixin, unit unittest.mock.ANY, ) @@ -143,10 +143,10 @@ def test_bootstrapping_with_user(self): ensurepip.bootstrap(user=True) -Index: Python-3.12.0rc1/Makefile.pre.in +Index: Python-3.12.0/Makefile.pre.in =================================================================== ---- Python-3.12.0rc1.orig/Makefile.pre.in -+++ Python-3.12.0rc1/Makefile.pre.in +--- Python-3.12.0.orig/Makefile.pre.in ++++ Python-3.12.0/Makefile.pre.in @@ -1909,7 +1909,7 @@ install: @FRAMEWORKINSTALLFIRST@ commoni install|*) ensurepip="" ;; \ esac; \ @@ -165,10 +165,10 @@ fi .PHONY: commoninstall -Index: Python-3.12.0rc1/Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst +Index: Python-3.12.0/Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst =================================================================== --- /dev/null -+++ Python-3.12.0rc1/Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst ++++ Python-3.12.0/Misc/NEWS.d/next/Build/2019-12-16-17-50-42.bpo-31046.XA-Qfr.rst @@ -0,0 +1 @@ +A directory prefix can now be specified when using :mod:`ensurepip`. ++++++ fix_configure_rst.patch ++++++ --- /var/tmp/diff_new_pack.MljTR4/_old 2023-10-04 22:31:36.707988876 +0200 +++ /var/tmp/diff_new_pack.MljTR4/_new 2023-10-04 22:31:36.711989021 +0200 @@ -3,11 +3,11 @@ Misc/NEWS | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) -Index: Python-3.12.0rc1/Doc/using/configure.rst +Index: Python-3.12.0/Doc/using/configure.rst =================================================================== ---- Python-3.12.0rc1.orig/Doc/using/configure.rst -+++ Python-3.12.0rc1/Doc/using/configure.rst -@@ -599,13 +599,11 @@ macOS Options +--- Python-3.12.0.orig/Doc/using/configure.rst ++++ Python-3.12.0/Doc/using/configure.rst +@@ -622,13 +622,11 @@ macOS Options See ``Mac/README.rst``. @@ -21,11 +21,11 @@ .. cmdoption:: --enable-framework=INSTALLDIR Create a Python.framework rather than a traditional Unix install. Optional -Index: Python-3.12.0rc1/Misc/NEWS +Index: Python-3.12.0/Misc/NEWS =================================================================== ---- Python-3.12.0rc1.orig/Misc/NEWS -+++ Python-3.12.0rc1/Misc/NEWS -@@ -11530,7 +11530,7 @@ C API +--- Python-3.12.0.orig/Misc/NEWS ++++ Python-3.12.0/Misc/NEWS +@@ -11953,7 +11953,7 @@ C API - bpo-40939: Removed documentation for the removed ``PyParser_*`` C API. - bpo-43795: The list in :ref:`limited-api-list` now shows the public name ++++++ subprocess-raise-timeout.patch ++++++ --- /var/tmp/diff_new_pack.MljTR4/_old 2023-10-04 22:31:36.815992780 +0200 +++ /var/tmp/diff_new_pack.MljTR4/_new 2023-10-04 22:31:36.819992925 +0200 @@ -2,11 +2,11 @@ Lib/test/test_subprocess.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -Index: Python-3.12.0rc1/Lib/test/test_subprocess.py +Index: Python-3.12.0/Lib/test/test_subprocess.py =================================================================== ---- Python-3.12.0rc1.orig/Lib/test/test_subprocess.py -+++ Python-3.12.0rc1/Lib/test/test_subprocess.py -@@ -280,7 +280,8 @@ class ProcessTestCase(BaseTestCase): +--- Python-3.12.0.orig/Lib/test/test_subprocess.py ++++ Python-3.12.0/Lib/test/test_subprocess.py +@@ -281,7 +281,8 @@ class ProcessTestCase(BaseTestCase): "time.sleep(3600)"], # Some heavily loaded buildbots (sparc Debian 3.x) require # this much time to start and print.