Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyqt-builder for 
openSUSE:Factory checked in at 2026-11-17 17:16:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyqt-builder (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyqt-builder.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyqt-builder"

Tue Nov 17 17:16:10 2026 rev:30 rq:1397728 version:1.21.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyqt-builder/python-pyqt-builder.changes  
2026-10-18 19:22:26.253555234 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyqt-builder.new.1251/python-pyqt-builder.changes
        2026-11-17 17:16:34.700951980 +0100
@@ -1,0 +2,9 @@
+Sun Nov 15 10:40:58 UTC 2026 - Ben Greiner <[email protected]>
+
+- Update to 1.21.0
+  * The PyQt6-Pdf package has been added containing the QtPdf and
+    QtPdfWidgets modules from PyQt6-WebEngine.
+  * pyqt-qt-wheel: The `--package-version` option has been renamed
+    `--qt-module-version`.
+
+-------------------------------------------------------------------

Old:
----
  pyqt_builder-1.20.1.tar.gz

New:
----
  pyqt_builder-1.21.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyqt-builder.spec ++++++
--- /var/tmp/diff_new_pack.TVd8cJ/_old  2026-11-17 17:16:35.776997254 +0100
+++ /var/tmp/diff_new_pack.TVd8cJ/_new  2026-11-17 17:16:35.778997338 +0100
@@ -23,7 +23,7 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-pyqt-builder
-Version:        1.20.1
+Version:        1.21.0
 Release:        0
 Summary:        The PEP 517 compliant PyQt build system
 License:        BSD-2-Clause

++++++ pyqt_builder-1.20.1.tar.gz -> pyqt_builder-1.21.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyqt_builder-1.20.1/PKG-INFO 
new/pyqt_builder-1.21.0/PKG-INFO
--- old/pyqt_builder-1.20.1/PKG-INFO    2026-10-16 15:49:26.343230200 +0200
+++ new/pyqt_builder-1.21.0/PKG-INFO    2026-11-02 11:41:58.289870000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: PyQt-builder
-Version: 1.20.1
+Version: 1.21.0
 Summary: The PyQt build system
 Author-email: Phil Thompson <[email protected]>
 License-Expression: BSD-2-Clause
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyqt_builder-1.20.1/PyQt_builder.egg-info/PKG-INFO 
new/pyqt_builder-1.21.0/PyQt_builder.egg-info/PKG-INFO
--- old/pyqt_builder-1.20.1/PyQt_builder.egg-info/PKG-INFO      2026-10-16 
15:49:26.257868500 +0200
+++ new/pyqt_builder-1.21.0/PyQt_builder.egg-info/PKG-INFO      2026-11-02 
11:41:58.218158500 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: PyQt-builder
-Version: 1.20.1
+Version: 1.21.0
 Summary: The PyQt build system
 Author-email: Phil Thompson <[email protected]>
 License-Expression: BSD-2-Clause
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyqt_builder-1.20.1/PyQt_builder.egg-info/SOURCES.txt 
new/pyqt_builder-1.21.0/PyQt_builder.egg-info/SOURCES.txt
--- old/pyqt_builder-1.20.1/PyQt_builder.egg-info/SOURCES.txt   2026-10-16 
15:49:26.295604000 +0200
+++ new/pyqt_builder-1.21.0/PyQt_builder.egg-info/SOURCES.txt   2026-11-02 
11:41:58.250091000 +0100
@@ -70,6 +70,7 @@
 pyqtbuild/bundle/packages/pyqt6_datavisualization.py
 pyqtbuild/bundle/packages/pyqt6_graphs.py
 pyqtbuild/bundle/packages/pyqt6_networkauth.py
+pyqtbuild/bundle/packages/pyqt6_pdf.py
 pyqtbuild/bundle/packages/pyqt6_webengine.py
 pyqtbuild/bundle/packages/pyqtchart.py
 pyqtbuild/bundle/packages/pyqtdatavisualization.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyqt_builder-1.20.1/PyQt_builder.egg-info/scm_file_list.json 
new/pyqt_builder-1.21.0/PyQt_builder.egg-info/scm_file_list.json
--- old/pyqt_builder-1.20.1/PyQt_builder.egg-info/scm_file_list.json    
2026-10-16 15:49:26.255824000 +0200
+++ new/pyqt_builder-1.21.0/PyQt_builder.egg-info/scm_file_list.json    
2026-11-02 11:41:58.216362500 +0100
@@ -71,6 +71,7 @@
     "pyqtbuild/bundle/packages/pyqt6_datavisualization.py",
     "pyqtbuild/bundle/packages/pyqt6_graphs.py",
     "pyqtbuild/bundle/packages/pyqt6_networkauth.py",
+    "pyqtbuild/bundle/packages/pyqt6_pdf.py",
     "pyqtbuild/bundle/packages/pyqt6_webengine.py",
     "pyqtbuild/bundle/packages/pyqtchart.py",
     "pyqtbuild/bundle/packages/pyqtdatavisualization.py",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyqt_builder-1.20.1/PyQt_builder.egg-info/scm_version.json 
new/pyqt_builder-1.21.0/PyQt_builder.egg-info/scm_version.json
--- old/pyqt_builder-1.20.1/PyQt_builder.egg-info/scm_version.json      
2026-10-16 15:49:26.223970200 +0200
+++ new/pyqt_builder-1.21.0/PyQt_builder.egg-info/scm_version.json      
2026-11-02 11:41:58.186381300 +0100
@@ -1,8 +1,8 @@
 {
-  "tag": "1.20.1",
+  "tag": "1.21.0",
   "distance": 0,
-  "node": "g612565940bd8d348b8e6c92b500f415b4229543a",
+  "node": "g10ccbea8617b4605c5aa809e69864d39e02cd994",
   "dirty": false,
   "branch": "main",
-  "node_date": "2026-10-16"
+  "node_date": "2026-11-02"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyqt_builder-1.20.1/pyqtbuild/_version.py 
new/pyqt_builder-1.21.0/pyqtbuild/_version.py
--- old/pyqt_builder-1.20.1/pyqtbuild/_version.py       2026-10-16 
15:49:26.207632000 +0200
+++ new/pyqt_builder-1.21.0/pyqtbuild/_version.py       2026-11-02 
11:41:58.171788700 +0100
@@ -18,7 +18,7 @@
 commit_id: str | None
 __commit_id__: str | None
 
-__version__ = version = '1.20.1'
-__version_tuple__ = version_tuple = (1, 20, 1)
+__version__ = version = '1.21.0'
+__version_tuple__ = version_tuple = (1, 21, 0)
 
-__commit_id__ = commit_id = 'g612565940'
+__commit_id__ = commit_id = 'g10ccbea86'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyqt_builder-1.20.1/pyqtbuild/bundle/abstract_package.py 
new/pyqt_builder-1.21.0/pyqtbuild/bundle/abstract_package.py
--- old/pyqt_builder-1.20.1/pyqtbuild/bundle/abstract_package.py        
2026-05-30 14:13:41.913778000 +0200
+++ new/pyqt_builder-1.21.0/pyqtbuild/bundle/abstract_package.py        
2026-11-02 11:38:12.632812000 +0100
@@ -16,12 +16,17 @@
 class AbstractPackage(ABC):
     """ This specifies the API of a package. """
 
+    # This is set if the version of the Qt module is not the same as the
+    # version of the Qt installation and so must be specified on the command
+    # line.
+    qt_module_version_required = False
+
     def __init__(self, qt_dir, version_str=None):
         """ Initialise the package. """
 
         self._qt_dir = os.path.abspath(qt_dir)
 
-        # Get the Qt version.
+        # Get the Qt installation version.
         self.qt_version = self._parse_version(
                 os.path.basename(os.path.dirname(self._qt_dir)))
 
@@ -30,21 +35,26 @@
             raise UserException(
                     "Version of Qt older than v5.15 are not supported")
 
-        # Parse any package version string.
+        # Parse any Qt module version string.
         if version_str:
             self._version = self._parse_version(version_str)
 
-            # If we set the maintenance number to 0 then this will be the
-            # version of Qt the wheel was built against.  (This is not a valid
-            # assumption on Windows because of the QAxContainer problem but
-            # this is handled elsewhere.)
-            min_qt_version = (self._version[0], self._version[1], 0)
-
-            # Check the versions are compatible.
-            if self.qt_version < min_qt_version:
-                raise UserException(
-                        "The version of Qt being bundled is too old")
+            if not self.qt_module_version_required:
+                # If we set the maintenance number to 0 then this will be the
+                # version of Qt the wheel was built against.  (This is not a
+                # valid assumption on Windows because of the QAxContainer
+                # problem but this is handled elsewhere.)
+                min_qt_version = (self._version[0], self._version[1], 0)
+
+                # Check the versions are compatible.
+                if self.qt_version < min_qt_version:
+                    raise UserException(
+                            "The version of Qt being bundled is too old")
         else:
+            if self.qt_module_version_required:
+                raise UserException(
+                        "The version of the Qt module must be specified")
+
             self._version = None
 
     def bundle_msvc_runtime(self, target_qt_dir, platform_tag):
@@ -82,12 +92,12 @@
             if name in exclude:
                 continue
 
-            # Get the metadata for the Qt version.
+            # Get the metadata for the Qt module version.
             if isinstance(metadata, VersionedMetadata):
                 metadata = [metadata]
 
             metadata = [md for md in metadata
-                    if md.is_applicable(self.qt_version)]
+                    if md.is_applicable(self._version)]
 
             if len(metadata) == 0:
                 continue
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyqt_builder-1.20.1/pyqtbuild/bundle/packages/__init__.py 
new/pyqt_builder-1.21.0/pyqtbuild/bundle/packages/__init__.py
--- old/pyqt_builder-1.20.1/pyqtbuild/bundle/packages/__init__.py       
2026-05-30 14:13:41.950727500 +0200
+++ new/pyqt_builder-1.21.0/pyqtbuild/bundle/packages/__init__.py       
2026-11-02 11:38:12.633104800 +0100
@@ -1,15 +1,17 @@
 # SPDX-License-Identifier: BSD-2-Clause
 
-# Copyright (c) 2024 Phil Thompson <[email protected]>
+# Copyright (c) 2026 Phil Thompson <[email protected]>
 
 
 # Publish the API.
 from .pyqt6 import PyQt6
 from .pyqt6_3d import PyQt6_3D
+from .pyqt6_canvaspainter import PyQt6_CanvasPainter
 from .pyqt6_charts import PyQt6_Charts
 from .pyqt6_datavisualization import PyQt6_DataVisualization
 from .pyqt6_graphs import PyQt6_Graphs
 from .pyqt6_networkauth import PyQt6_NetworkAuth
+from .pyqt6_pdf import PyQt6_Pdf
 from .pyqt6_webengine import PyQt6_WebEngine
 
 from .pyqt5 import PyQt5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyqt_builder-1.20.1/pyqtbuild/bundle/packages/pyqt6.py 
new/pyqt_builder-1.21.0/pyqtbuild/bundle/packages/pyqt6.py
--- old/pyqt_builder-1.20.1/pyqtbuild/bundle/packages/pyqt6.py  2026-10-16 
15:48:31.697518300 +0200
+++ new/pyqt_builder-1.21.0/pyqtbuild/bundle/packages/pyqt6.py  2026-10-26 
17:25:31.385872000 +0100
@@ -253,6 +253,86 @@
     ),
 
     'QtQuick': (
+        VersionedMetadata(version=(6, 12, 0),
+            lib_deps={
+                'linux': (
+                    'QtQuickControls2',
+                    'QtQuickControls2Basic', 'QtQuickControls2BasicStyleImpl',
+                    'QtQuickControls2FluentWinUI3',
+                    'QtQuickControls2FluentWinUI3StyleImpl',
+                    'QtQuickControls2Fusion',
+                    'QtQuickControls2FusionStyleImpl',
+                    'QtQuickControls2Imagine',
+                    'QtQuickControls2ImagineStyleImpl',
+                    'QtQuickControls2Impl',
+                    'QtQuickControls2Material',
+                    'QtQuickControls2MaterialStyleImpl',
+                    'QtQuickControls2Native',
+                    'QtQuickControls2Universal',
+                    'QtQuickControls2UniversalStyleImpl',
+                    'QtQuickDialogs2', 'QtQuickDialogs2QuickImpl',
+                    'QtQuickDialogs2Utils',
+                    'QtQuickEffects', 'QtQuickLayouts', 'QtQuickNativeStyle',
+                    'QtQuickParticles', 'QtQuickShapes', 'QtQuickTemplates2',
+                    'QtQuickTest',
+                    'QtQuickTimeline', 'QtQuickTimelineBlendTrees',
+                    'QtQuickVectorImage', 'QtQuickVectorImageGenerator',
+                    'QtQuickVectorImageHelpers',
+                ),
+                'macos': (
+                    'QtQuickControls2',
+                    'QtQuickControls2Basic', 'QtQuickControls2BasicStyleImpl',
+                    'QtQuickControls2FluentWinUI3',
+                    'QtQuickControls2FluentWinUI3StyleImpl',
+                    'QtQuickControls2Fusion',
+                    'QtQuickControls2FusionStyleImpl',
+                    'QtQuickControls2Imagine',
+                    'QtQuickControls2ImagineStyleImpl',
+                    'QtQuickControls2Impl',
+                    'QtQuickControls2IOS', 'QtQuickControls2IOSStyleImpl',
+                    'QtQuickControls2MacOS', 'QtQuickControls2MacOSStyleImpl',
+                    'QtQuickControls2Material',
+                    'QtQuickControls2MaterialStyleImpl',
+                    'QtQuickControls2Native',
+                    'QtQuickControls2Universal',
+                    'QtQuickControls2UniversalStyleImpl',
+                    'QtQuickDialogs2', 'QtQuickDialogs2QuickImpl',
+                    'QtQuickDialogs2Utils',
+                    'QtQuickEffects', 'QtQuickLayouts', 'QtQuickNativeStyle',
+                    'QtQuickParticles', 'QtQuickShapes', 'QtQuickTemplates2',
+                    'QtQuickTest',
+                    'QtQuickTimeline', 'QtQuickTimelineBlendTrees',
+                    'QtQuickVectorImage', 'QtQuickVectorImageGenerator',
+                    'QtQuickVectorImageHelpers',
+                ),
+                'win': (
+                    'QtQuickControls2',
+                    'QtQuickControls2Basic', 'QtQuickControls2BasicStyleImpl',
+                    'QtQuickControls2FluentWinUI3',
+                    'QtQuickControls2FluentWinUI3StyleImpl',
+                    'QtQuickControls2Fusion',
+                    'QtQuickControls2FusionStyleImpl',
+                    'QtQuickControls2Imagine',
+                    'QtQuickControls2ImagineStyleImpl',
+                    'QtQuickControls2Impl',
+                    'QtQuickControls2Material',
+                    'QtQuickControls2MaterialStyleImpl',
+                    'QtQuickControls2Native',
+                    'QtQuickControls2Universal',
+                    'QtQuickControls2UniversalStyleImpl',
+                    'QtQuickControls2Windows',
+                    'QtQuickControls2WindowsStyleImpl',
+                    'QtQuickDialogs2', 'QtQuickDialogs2QuickImpl',
+                    'QtQuickDialogs2Utils',
+                    'QtQuickEffects', 'QtQuickLayouts', 'QtQuickNativeStyle',
+                    'QtQuickParticles', 'QtQuickShapes', 'QtQuickTemplates2',
+                    'QtQuickTest',
+                    'QtQuickTimeline', 'QtQuickTimelineBlendTrees',
+                    'QtQuickVectorImage', 'QtQuickVectorImageGenerator',
+                    'QtQuickVectorImageHelpers',
+                ),
+            },
+        ),
         VersionedMetadata(version=(6, 8, 0),
             lib_deps={
                 '': (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyqt_builder-1.20.1/pyqtbuild/bundle/packages/pyqt6_pdf.py 
new/pyqt_builder-1.21.0/pyqtbuild/bundle/packages/pyqt6_pdf.py
--- old/pyqt_builder-1.20.1/pyqtbuild/bundle/packages/pyqt6_pdf.py      
1970-01-01 01:00:00.000000000 +0100
+++ new/pyqt_builder-1.21.0/pyqtbuild/bundle/packages/pyqt6_pdf.py      
2026-11-02 11:38:12.633281500 +0100
@@ -0,0 +1,33 @@
+# SPDX-License-Identifier: BSD-2-Clause
+
+# Copyright (c) 2026 Phil Thompson <[email protected]>
+
+
+from ..abstract_package import AbstractPackage
+from ..qt_metadata import VersionedMetadata
+
+
+# The Qt meta-data for this package.
+_QT_METADATA = {
+    'QtPdf':
+        VersionedMetadata(version=(6, 140, 0),
+                lib_deps={'': ('QtPdfQuick', )}),
+
+    'QtPdfWidgets':
+        VersionedMetadata(version=(6, 140, 0)),
+}
+
+
+class PyQt6_Pdf(AbstractPackage):
+    """ The PyQt6-Pdf package. """
+
+    # The Qt module version is not the same as the Qt version and so must be
+    # specified on the command line.
+    qt_module_version_required = True
+
+    def get_qt_metadata(self):
+        """ Return the package-specific meta-data describing the parts of Qt to
+        install.
+        """
+
+        return _QT_METADATA
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyqt_builder-1.20.1/pyqtbuild/bundle/packages/pyqt6_webengine.py 
new/pyqt_builder-1.21.0/pyqtbuild/bundle/packages/pyqt6_webengine.py
--- old/pyqt_builder-1.20.1/pyqtbuild/bundle/packages/pyqt6_webengine.py        
2026-10-04 13:04:08.001138400 +0200
+++ new/pyqt_builder-1.21.0/pyqtbuild/bundle/packages/pyqt6_webengine.py        
2026-11-02 11:38:12.633515600 +0100
@@ -9,12 +9,6 @@
 
 # The Qt meta-data for this package.
 _QT_METADATA = {
-    'QtPdf':
-        VersionedMetadata(version=(6, 12, 0),
-                lib_deps={'': ('QtPdfQuick', )}),
-
-    'QtPdfWidgets':
-        VersionedMetadata(version=(6, 12, 0)),
     'QtWebEngineCore': (
         VersionedMetadata(version=(6, 2, 0),
             translations=('qtwebengine', ),
@@ -63,6 +57,10 @@
 class PyQt6_WebEngine(AbstractPackage):
     """ The PyQt6-WebEngine package. """
 
+    # The Qt module version is no longer the same as the Qt version and so must
+    # be specified on the command line.
+    qt_module_version_required = True
+
     def get_qt_metadata(self):
         """ Return the package-specific meta-data describing the parts of Qt to
         install.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyqt_builder-1.20.1/pyqtbuild/bundle/qt_metadata.py 
new/pyqt_builder-1.21.0/pyqtbuild/bundle/qt_metadata.py
--- old/pyqt_builder-1.20.1/pyqtbuild/bundle/qt_metadata.py     2026-10-04 
13:04:08.001487500 +0200
+++ new/pyqt_builder-1.21.0/pyqtbuild/bundle/qt_metadata.py     2026-11-02 
11:38:12.633828600 +0100
@@ -215,15 +215,15 @@
                             platform_tag, macos_thin_arch, ignore_missing,
                             skip_files=skip_files, might_be_code=False)
 
-    def is_applicable(self, qt_version):
-        """ Returns True if this meta-data is applicable for a particular Qt
+    def is_applicable(self, version):
+        """ Returns True if this meta-data is applicable for a Qt module
         version.
         """
 
-        if self._until_version is not None and qt_version >= 
self._until_version:
+        if self._until_version is not None and version >= self._until_version:
             return False
 
-        return self._version is None or qt_version >= self._version
+        return self._version is None or version >= self._version
 
     @classmethod
     def _bundle_nondebug(cls, src_dir, target_qt_dir, qt_dir, platform_tag,
@@ -234,6 +234,8 @@
             exclude = ()
 
         for dirpath, dirnames, filenames in os.walk(os.path.join(qt_dir, 
src_dir)):
+            dirnames.sort()
+
             for ignore in exclude:
                 if ignore in dirnames:
                     verbose(f"Excluding {ignore} plugin directory.")
@@ -244,7 +246,7 @@
                     verbose(f"Excluding {name} plugin directory.")
                     dirnames.remove(name)
 
-            for name in filenames:
+            for name in sorted(filenames):
                 if cls._is_debug(name, platform_tag):
                     continue
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyqt_builder-1.20.1/pyqtbuild/bundle/qt_wheel.py 
new/pyqt_builder-1.21.0/pyqtbuild/bundle/qt_wheel.py
--- old/pyqt_builder-1.20.1/pyqtbuild/bundle/qt_wheel.py        2026-10-16 
15:48:31.699053800 +0200
+++ new/pyqt_builder-1.21.0/pyqtbuild/bundle/qt_wheel.py        2026-11-02 
11:38:12.634143600 +0100
@@ -14,7 +14,8 @@
 
 
 def qt_wheel(package, qt_dir, build_tag, suffix, msvc_runtime, openssl,
-        openssl_dir, exclude, arch, subwheel, package_version):
+        openssl_dir, exclude, arch, subwheel, qt_module_version,
+        ignore_missing):
     """ Create a wheel containing the subset of a Qt installation required for
     a particular PyQt package.
     """
@@ -31,15 +32,15 @@
     if package_factory is None:
         raise UserException(f"'{package}' is not a supported package")
 
-    package = package_factory(qt_dir)
+    package = package_factory(qt_dir, qt_module_version)
 
     version_str = package.qt_version_str
     if suffix:
         version_str += suffix
 
-    # The package version defaults to the Qt version.
-    if not package_version:
-        package_version = version_str
+    # The Qt module version defaults to the Qt installation version.
+    if not qt_module_version:
+        qt_module_version = version_str
 
     # Construct the tag.
     qt_arch = os.path.basename(qt_dir)
@@ -116,7 +117,7 @@
 
     # Construct the name of the wheel.
     name_parts = [package_full_name.replace('-', '_').lower()]
-    name_parts.append(package_version)
+    name_parts.append(qt_module_version)
 
     distinfo_dir = '-'.join(name_parts) + '.dist-info'
 
@@ -138,7 +139,7 @@
     # Bundle the relevant parts of the Qt installation.
     target_qt_dir = package.get_target_qt_dir()
     lgpl = package.bundle_qt(target_qt_dir, platform_tag, exclude,
-            ignore_missing=True, bindings=False, subwheel=subwheel)
+            ignore_missing=ignore_missing, bindings=False, subwheel=subwheel)
 
     if platform_tag in ('win32', 'win_amd64', 'win_arm64'):
         # Bundle the MSVC runtime if required.
@@ -165,7 +166,7 @@
             metadata = metadata.replace('@RB_PACKAGE_NAME@', package_full_name)
             metadata = metadata.replace('@RB_PACKAGE_REQUIRES@',
                     package_requires)
-            metadata = metadata.replace('@RB_VERSION@', package_version)
+            metadata = metadata.replace('@RB_VERSION@', qt_module_version)
             metadata = metadata.replace('@RB_LICENSE@',
                     "LGPL v3" if lgpl else "GPL v3")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyqt_builder-1.20.1/pyqtbuild/bundle/qt_wheel_main.py 
new/pyqt_builder-1.21.0/pyqtbuild/bundle/qt_wheel_main.py
--- old/pyqt_builder-1.20.1/pyqtbuild/bundle/qt_wheel_main.py   2026-10-16 
15:48:31.699438600 +0200
+++ new/pyqt_builder-1.21.0/pyqtbuild/bundle/qt_wheel_main.py   2026-11-02 
11:38:12.634352000 +0100
@@ -37,6 +37,9 @@
     parser.add_argument('--exclude', metavar="NAME", default=[],
             action='append', help="exclude the NAME library from the wheel")
 
+    parser.add_argument('--ignore-missing', default=False, action='store_true',
+            help="ignore any missing files in the Qt installation")
+
     parser.add_argument('--no-msvc-runtime', dest='msvc_runtime', default=True,
             action='store_false',
             help="don't include msvcp140.dll, concrt140.dll and "
@@ -49,8 +52,9 @@
     parser.add_argument('--openssl-dir', metavar='DIR',
             help="replace the OpenSSL DLLs with the versions in DIR")
 
-    parser.add_argument('--package-version', metavar='VERSION',
-            help="use VERSION in the wheel name instead of the Qt version")
+    parser.add_argument('--qt-module-version', metavar='VERSION',
+            help="use VERSION as the Qt module version instead of the Qt "
+                    "installation version")
 
     parser.add_argument('--qt-dir', metavar='DIR', required=True,
             help="the Qt installation in DIR to be copied to the wheel")
@@ -88,7 +92,8 @@
                 build_tag=args.build_tag, suffix=args.suffix,
                 msvc_runtime=args.msvc_runtime, openssl=args.openssl,
                 openssl_dir=args.openssl_dir, exclude=args.exclude, arch=arch,
-                subwheel=subwheel, package_version=args.package_version)
+                subwheel=subwheel, qt_module_version=args.qt_module_version,
+                ignore_missing=args.ignore_missing)
     except Exception as e:
         handle_exception(e)
 

Reply via email to