commit python-PyQt6 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-PyQt6 for openSUSE:Factory checked in at 2021-11-01 18:35:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PyQt6 (Old) and /work/SRC/openSUSE:Factory/.python-PyQt6.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-PyQt6" Mon Nov 1 18:35:40 2021 rev:5 rq:928221 version:6.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PyQt6/python-PyQt6.changes 2021-10-11 15:31:36.566844217 +0200 +++ /work/SRC/openSUSE:Factory/.python-PyQt6.new.1890/python-PyQt6.changes 2021-11-01 18:35:52.849341561 +0100 @@ -1,0 +2,6 @@ +Fri Oct 29 15:07:23 UTC 2021 - Ben Greiner <code@bnavigator.de> + +- Update to version 6.2.1 + * Bug fixes. + +------------------------------------------------------------------- Old: ---- PyQt6-6.2.0.tar.gz New: ---- PyQt6-6.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PyQt6.spec ++++++ --- /var/tmp/diff_new_pack.RZBWgc/_old 2021-11-01 18:35:53.357341851 +0100 +++ /var/tmp/diff_new_pack.RZBWgc/_new 2021-11-01 18:35:53.361341853 +0100 @@ -21,7 +21,7 @@ %define mname PyQt6 %define pyqt_build_for_qt6 1 Name: python-%{mname} -Version: 6.2.0 +Version: 6.2.1 Release: 0 Summary: Python bindings for Qt 6 License: GPL-3.0-only OR SUSE-GPL-2.0-with-FLOSS-exception OR NonFree @@ -36,7 +36,7 @@ BuildRequires: %{python_module dbus-python-devel >= 0.8} BuildRequires: %{python_module devel} BuildRequires: %{python_module pyqt-builder >= 1.11} -BuildRequires: %{python_module sip-devel >= 6.2} +BuildRequires: %{python_module sip-devel >= 6.4} BuildRequires: dbus-1-devel BuildRequires: dos2unix BuildRequires: fdupes @@ -79,7 +79,7 @@ Requires: python-%{mname} = %{version} Requires: python-dbus-python-devel >= 0.8 Requires: python-devel -Requires: python-sip-devel >= 6.2 +Requires: python-sip-devel >= 6.4 Requires: qt6-base-devel Requires: qt6-macros Requires: cmake(Qt6Bluetooth) @@ -127,6 +127,7 @@ %prep %autosetup -p1 -n PyQt6-%{version} dos2unix examples/quick/models/*/view.qml +dos2unix examples/multimedia*/*/*.ui %build %{pyqt_build -v \ ++++++ PyQt6-6.2.0.tar.gz -> PyQt6-6.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6-6.2.0/ChangeLog new/PyQt6-6.2.1/ChangeLog --- old/PyQt6-6.2.0/ChangeLog 2021-09-30 18:06:14.934907000 +0200 +++ new/PyQt6-6.2.1/ChangeLog 2021-10-28 12:18:08.722375400 +0200 @@ -1,5 +1,56 @@ +2021-10-28 Phil Thompson <phil@riverbankcomputing.com> + + * NEWS, PyQt6.msp: + Added the QLowEnergyController.mtuChanged() signal which is now + documented in Qtv v6.2.1. + [a2c450b78bfa] [6.2.1] <6.2-maint> + +2021-10-24 Phil Thompson <phil@riverbankcomputing.com> + + * extras/uic/Compiler/qtproxies.py: + Generate typing information to ignore connect() in pyuic generated + code. + [9c0e41c7ff2e] <6.2-maint> + + * NEWS, PyQt6.msp, pyproject.toml: + Fixed pickling of QByteArray with Python v3.10. + [a0e71847dd24] <6.2-maint> + + * test/classes/test_QByteArray.py: + Added the QByteArray pickle test. + [5030955cccde] <6.2-maint> + +2021-10-23 Phil Thompson <phil@riverbankcomputing.com> + + * NEWS, PyQt6.msp: + Remove QObject.__getattr__() from QtCore.pyi as it hides + missing/mistyped attribute names. + [57b7422b71ce] <6.2-maint> + +2021-10-22 Phil Thompson <phil@riverbankcomputing.com> + + * NEWS, extras/uic/enum_map.py: + Fixed pyuic's handling of QAction::MenuRole. + [8810cca5e9b4] <6.2-maint> + +2021-10-16 Phil Thompson <phil@riverbankcomputing.com> + + * NEWS, pyproject.toml: + SIP v6.3.2 is required to fix the /KeepReference/ in QImage ctors. + [cb499c4af6b0] <6.2-maint> + +2021-10-04 Phil Thompson <phil@riverbankcomputing.com> + + * NEWS, extras/lupdate/python_source.py: + Fixed QCoreApplication.translate() when the third argument is None. + [5133bf2070f2] <6.2-maint> + 2021-09-30 Phil Thompson <phil@riverbankcomputing.com> + * .hgtags: + Added tag 6.2.0 for changeset 0bb49dbf5c8b + [15bf52145355] + * NEWS, PyQt6.msp: Updated for Qt v6.2.0. [0bb49dbf5c8b] [6.2.0] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6-6.2.0/NEWS new/PyQt6-6.2.1/NEWS --- old/PyQt6-6.2.0/NEWS 2021-09-30 18:06:14.937673000 +0200 +++ new/PyQt6-6.2.1/NEWS 2021-10-28 12:18:08.723260200 +0200 @@ -1,3 +1,6 @@ +v6.2.1 28th October 2021 + - Bug fixes. + v6.2.0 30th September 2021 - Added support for Qt v6.2 including the QtBluetooth, QtMultimedia, QtMultimediaWidgets, QtNfc, QtPositioning, QtRemoteObjects, QtSensors, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6-6.2.0/PKG-INFO new/PyQt6-6.2.1/PKG-INFO --- old/PyQt6-6.2.0/PKG-INFO 2021-09-30 18:06:27.975430500 +0200 +++ new/PyQt6-6.2.1/PKG-INFO 2021-10-28 12:18:16.577184700 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: PyQt6 -Version: 6.2.0 +Version: 6.2.1 Requires-Python: >=3.6.1 Summary: Python bindings for the Qt cross platform application toolkit Home-Page: https://www.riverbankcomputing.com/software/pyqt/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6-6.2.0/lupdate/python_source.py new/PyQt6-6.2.1/lupdate/python_source.py --- old/PyQt6-6.2.0/lupdate/python_source.py 2021-09-30 18:06:15.355131000 +0200 +++ new/PyQt6-6.2.1/lupdate/python_source.py 2021-10-28 12:18:08.872813200 +0200 @@ -216,7 +216,7 @@ return context @staticmethod - def _get_str(node): + def _get_str(node, allow_none=False): """ Return the str from a node or None if it wasn't an appropriate node. """ @@ -224,8 +224,12 @@ if isinstance(node, ast.Str): return node.s - if isinstance(node, ast.Constant) and isinstance(node.value, str): - return node.value + if isinstance(node, ast.Constant): + if isinstance(node.value, str): + return node.value + + if allow_none and node.value is None: + return '' return None @@ -305,11 +309,11 @@ return None if len(args) > 1: - disambiguation = self._get_str(args[1]) + disambiguation = self._get_str(args[1], allow_none=True) else: for kw in keywords: if kw.arg == 'disambiguation': - disambiguation = self._get_str(kw.value) + disambiguation = self._get_str(kw.value, allow_none=True) break else: disambiguation = '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6-6.2.0/pyproject.toml new/PyQt6-6.2.1/pyproject.toml --- old/PyQt6-6.2.0/pyproject.toml 2021-09-30 18:06:15.482639000 +0200 +++ new/PyQt6-6.2.1/pyproject.toml 2021-10-28 12:18:08.905485900 +0200 @@ -1,12 +1,12 @@ # Specify the build system for the project. [build-system] -requires = ["sip >=6.2, <7", "PyQt-builder >=1.11, <2"] +requires = ["sip >=6.4, <7", "PyQt-builder >=1.11, <2"] build-backend = "sipbuild.api" # Specify the PEP 566 metadata for the project. [tool.sip.metadata] name = "PyQt6" -version = "6.2.0" +version = "6.2.1" summary = "Python bindings for the Qt cross platform application toolkit" home-page = "https://www.riverbankcomputing.com/software/pyqt/" author = "Riverbank Computing Limited" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6-6.2.0/sip/QtBluetooth/qlowenergycontroller.sip new/PyQt6-6.2.1/sip/QtBluetooth/qlowenergycontroller.sip --- old/PyQt6-6.2.0/sip/QtBluetooth/qlowenergycontroller.sip 2021-09-30 18:06:24.506956000 +0200 +++ new/PyQt6-6.2.1/sip/QtBluetooth/qlowenergycontroller.sip 2021-10-28 12:18:14.877577500 +0200 @@ -83,6 +83,7 @@ void serviceDiscovered(const QBluetoothUuid &newService); void discoveryFinished(); void connectionUpdated(const QLowEnergyConnectionParameters ¶meters); + void mtuChanged(int mtu); public: enum Role diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6-6.2.0/sip/QtCore/QtCoremod.sip new/PyQt6-6.2.1/sip/QtCore/QtCoremod.sip --- old/PyQt6-6.2.0/sip/QtCore/QtCoremod.sip 2021-09-30 18:06:26.078592000 +0200 +++ new/PyQt6-6.2.1/sip/QtCore/QtCoremod.sip 2021-10-28 12:18:15.533343000 +0200 @@ -20,7 +20,7 @@ // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -%Module(name=PyQt6.QtCore, call_super_init=True, default_VirtualErrorHandler=PyQt6, keyword_arguments="Optional", use_limited_api=True) +%Module(name=PyQt6.QtCore, call_super_init=True, default_VirtualErrorHandler=PyQt6, keyword_arguments="Optional", use_limited_api=True, py_ssize_t_clean=True) %Timeline {Qt_6_0_0 Qt_6_1_0 Qt_6_2_0} @@ -73,8 +73,8 @@ const char *PYQT_VERSION_STR; %ModuleCode -static int PYQT_VERSION = 0x060200; -static const char *PYQT_VERSION_STR = "6.2.0"; +static int PYQT_VERSION = 0x060201; +static const char *PYQT_VERSION_STR = "6.2.1"; %End %Include qglobal.sip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6-6.2.0/sip/QtCore/qbytearray.sip new/PyQt6-6.2.1/sip/QtCore/qbytearray.sip --- old/PyQt6-6.2.0/sip/QtCore/qbytearray.sip 2021-09-30 18:06:26.273179000 +0200 +++ new/PyQt6-6.2.1/sip/QtCore/qbytearray.sip 2021-10-28 12:18:15.593770500 +0200 @@ -109,7 +109,7 @@ %End %PickleCode - sipRes = Py_BuildValue("(y#)", sipCpp->data(), sipCpp->size()); + sipRes = Py_BuildValue("(y#)", sipCpp->data(), static_cast<Py_ssize_t>(sipCpp->size())); %End public: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6-6.2.0/sip/QtCore/qobject.sip new/PyQt6-6.2.1/sip/QtCore/qobject.sip --- old/PyQt6-6.2.0/sip/QtCore/qobject.sip 2021-09-30 18:06:25.999845000 +0200 +++ new/PyQt6-6.2.1/sip/QtCore/qobject.sip 2021-10-28 12:18:15.488357000 +0200 @@ -362,7 +362,7 @@ return qpycore_pyqtconfigure(sipSelf, sipArgs, sipKwds); %End - SIP_PYOBJECT __getattr__(const char *name /Encoding="UTF-8"/) const; + SIP_PYOBJECT __getattr__(const char *name /Encoding="UTF-8"/) const /NoTypeHint/; %MethodCode sipRes = qpycore_qobject_getattr(sipCpp, sipSelf, a0); %End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6-6.2.0/uic/Compiler/qtproxies.py new/PyQt6-6.2.1/uic/Compiler/qtproxies.py --- old/PyQt6-6.2.0/uic/Compiler/qtproxies.py 2021-09-30 18:06:15.426112000 +0200 +++ new/PyQt6-6.2.1/uic/Compiler/qtproxies.py 2021-10-28 12:18:08.894364000 +0200 @@ -1,6 +1,6 @@ ############################################################################# ## -## Copyright (C) 2020 Riverbank Computing Limited. +## Copyright (C) 2021 Riverbank Computing Limited. ## Copyright (C) 2006 Thorsten Marek. ## All right reserved. ## @@ -129,6 +129,9 @@ if needs_translation: i18n_print(func_call) else: + if self.function_name == 'connect': + func_call += ' # type: ignore' + write_code(func_call) def __getattribute__(self, attribute): @@ -169,7 +172,7 @@ self._signal_index = "'%s'" % signal_index def connect(self, slot): - write_code("%s.%s[%s].connect(%s)" % (self._sender, self._signal_name, self._signal_index, slot)) + write_code("%s.%s[%s].connect(%s) # type: ignore" % (self._sender, self._signal_name, self._signal_index, slot)) class ProxyBase(metaclass=ProxyMetaclass): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/PyQt6-6.2.0/uic/enum_map.py new/PyQt6-6.2.1/uic/enum_map.py --- old/PyQt6-6.2.0/uic/enum_map.py 2021-09-30 18:06:15.410165000 +0200 +++ new/PyQt6-6.2.1/uic/enum_map.py 2021-10-28 12:18:08.884650500 +0200 @@ -225,6 +225,14 @@ 'QAbstractSpinBox::AdaptiveDecimalStepType': 'QAbstractSpinBox::StepType::AdaptiveDecimalStepType', 'QAbstractSpinBox::DefaultStepType': 'QAbstractSpinBox::StepType::DefaultStepType', + 'QAction::NoRole': 'QAction::MenuRole::NoRole', + 'QAction::TextHeuristicRole': 'QAction::MenuRole::TextHeuristicRole', + 'QAction::ApplicationSpecificRole': 'QAction::MenuRole::ApplicationSpecificRole', + 'QAction::AboutQtRole': 'QAction::MenuRole::AboutQtRole', + 'QAction::AboutRole': 'QAction::MenuRole::AboutRole', + 'QAction::PreferencesRole': 'QAction::MenuRole::PreferencesRole', + 'QAction::QuitRole': 'QAction::MenuRole::QuitRole', + 'QCalendarWidget::LongDayNames': 'QCalendarWidget::HorizontalHeaderFormat::LongDayNames', 'QCalendarWidget::NoHorizontalHeader': 'QCalendarWidget::HorizontalHeaderFormat::NoHorizontalHeader', 'QCalendarWidget::ShortDayNames': 'QCalendarWidget::HorizontalHeaderFormat::ShortDayNames',
participants (1)
-
Source-Sync