* Tue Apr 16 2024 Max Lin <mlin@suse.com>
- Make sure to use pytest-3.11 on Leap15.6
- To buildrequires python 3.11 version of pyside6 and pyside2
* Tue Nov 21 2023 Dirk Müller <dmueller@suse.com>
- add qt6.6-deprecations.patch to avoid deprecation warnings
with qt 6.6
* Tue Nov 21 2023 ecsos <ecsos@opensuse.org>
- Update to 2.4.1
* [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #456
* PR: Fix bug when importing from PySide6.QtWebEngineCore/QtWebEngineWidgets
(QWebEngineScrip vs QWebEngineScript) by @damonlynch in #455
* [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #459
* Sun Sep 24 2023 Ben Greiner <code@bnavigator.de>
- Update to 2.4.0
* Add missing issue closed for v2.3.1 changelog entry by
@dalthviz in #419
* Symmetrize path and location of QLibraryInfo by @StSav012 in
[#420]
* Improve import modularity between QtGui, QtWidgets and
QtOpenGL* related modules by @DaelonSuzuka in #387
* Make CI jobs much faster & less flaky w/Mamba, 1-pass solve &
other tweaks by @CAM-Gerlach in #425
* Symmetrize QDateTime.toPython and toPyDateTime, etc. by
@StSav012 in #421
* Use static calls of exec_ elsewhere where needed, and test them
by @StSav012 in #422
* Enable more tests on CI by @Czaki in #434
* Add wrapers to fix argument name in QFileDialog get*methods by
@Czaki in #433
* Rename utils.py to _utils.py to make it private by @StSav012 in
[#431]
* Make exec() for PySide2 by @StSav012 in #438
* Replace custom implementation with loadUiType from PySide6 by
@JaRoSchm in #440
* Update bindings upper bound version to 6.5 and ignore
DeprecationWarning (CI) by @dalthviz in #443
* Make QMenu.addAction and QToolBar.addAction compatible with Qt6
arguments' order by @StSav012 in #437
* Restore Qt.ItemFlags access as Qt.ItemFlag alias (PyQt6) by
@dalthviz in #444
* Add mappings for deprecated QDropEvent pos and posF methods by
@dalthviz in #445
* Restore QtWidgets.QFileDialog.Options access as
QtWidgets.QFileDialog.Option alias (PyQt6) by @dalthviz in #448
* Add QEnum macro for PyQt bindings by @phil65 in #424
* Improve enum to flags aliasing for PyQt6 and PySide6 > 6.3 and
QFileDialog static methods kwarg compatibility by @dalthviz in
[#449]
* Update README with information on Pyright/Pylance integration
and add CLI subcommand to help generate the related config by
@wkrasnicki in #450
* Test using PyQt extra packages by @dalthviz in #446
- Release 2.3.1
* Use raise from None when raising QtBindingsNotFoundError in
init by @CAM-Gerlach in #391
* Fix LibraryLocation -> LibraryPath renaming due to deprecation
with Qt6 by @StSav012 in #393
* Make warning usage consistant and refine messages by
@CAM-Gerlach in #398
* Don't make QTextStreamManipulator.exec_ on PyQt5/6 by @StSav012
in #404
* Remove patch that may be limited to PySide-5.11a1 only by
@StSav012 in #407
* Add mappings for QMouseEvent methods by @StSav012 in #408
* Improve compatibility for QtWidgets and QtGui modules between
Qt5 and Qt6 bindings by @StSav012 in #410
* Make QtBindingsNotFoundError also inherit from ImportError by
@cbrnr in #413
* Add compatibility mappings between bindings for all children of
QSinglePointEvent by @StSav012 in #417
* Sat Jun 10 2023 ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
* Sun Nov 20 2022 Ben Greiner <code@bnavigator.de>
- Update to 2.3.0
* PR 382 - PR: Add QtPdf and QtPdfWidgets, by @jschueller (381)
* PR 380 - PR: Enable more qt6 tests, by @jschueller
* PR 379 - PR: Raise error when no bindings are found at
__init__, by @dalthviz (367)
* PR 378 - PR: Try PySide6 on conda, by @jschueller
* PR 376 - PR: Expand the CI test matrix with Qt/bindings 6.4 and
fix tests with PyQt 5.9, by @CAM-Gerlach (375)
* PR 374 - Don't re-assign Qt.MouseButton.MiddleButton on
PySide6, by @astrofrog (373)
* PR 372 - PR: Add Qsci to the imports, by @dgoeries (134)
- Release 2.2.1
* PR 368 - PR: Add missing self for QtBindingsNotFoundError
definition, by @dalthviz
* PR 366 - PR: Aliased QUndoCommand, provided
QLineEdit.getTextMargins() and QFontMetricsF.width(), by
@random-developer (365)
* PR 363 - PR: Fix typo in Qt flags in Readme, by @Czaki
* PR 362 - PR: Fix various minor typos found with Codespell, by
@luzpaz
* PR 361 - PR: toPython helpers for QDate and QTime, by
@bob-schumaker
* PR 360 - CI: Ensure conda-forge channel usage when testing with
conda, by @dalthviz
* Thu Aug 18 2022 Ben Greiner <code@bnavigator.de>
- Update to 2.2.0
* Add workaround for mode argument in QTextCursor.movePosition
(PySide6) by @rear1019 in #346
* Add missing imports and modules by @DaelonSuzuka in #344
* Restore WEBENGINE constant in QtWebEngineWidgets by @ccordoba12
in #350
* Add note to readme about use with Pyright by @CAM-Gerlach in
[#353]
* Add wrapper around sip/shiboken isdeleted/isvalid (compat.py)
by @zjp in #354
* Fix PyQt6 typing import for Qt by @tlambert03 in #358
* Add initial Methods, helpers and QtPy namespace specifics
section to the README by @dalthviz in #357
- Revert last change: Removing Python2 from build requirements of
libqt5-qtwebengine and crippling the testsuite of a package not
even in ring1 are orthogonal to each other.
- Enable PySide6 tests: Segfaults are gone.
* Mon Aug 08 2022 Stephan Kulow <coolo@suse.com>
- Disable Qt5 bindings as they require python2 (for chromium within
qtwebengine) and we want to get rid of it in ring1
* Fri Jun 03 2022 Ben Greiner <code@bnavigator.de>
- Update to 2.1.0
* PR: Restrict broken Pytest versions to those not affected by
the Pytest 7.0.0 import-mode=importlib behavior regression by
@CAM-Gerlach in #324
* PR: Monkey patch pyside2uic UIParser.readResources for Python
3.9 compatibility by @n-elie in #325
* PR: Add missing QWebEngineScript support for PyQt5/6 and
PySide2/6 by @EasyIsrael in #326
* PR: Add missing Qt.MidButton on PyQt6 by @dalthviz in #328
* PR: Drop support for Python 3.6 by @dalthviz in #329
* PR: Fix typo in constant name by @eyllanesc in #330
* PR: Use QFileDialog.Option to be compatiable with Qt6 by
@frmdstryr in #331
* PR: Skip import of QOpenGLTime* on architectures where not
available by @juliangilbey in #333
* PR: Remove QHeaderView patch related files by @dalthviz in #334
* PR: Fix uic skipped tests and PyQt 6.3.0 segfaulting tests by
@dalthviz in #335
* PR: Add command line support for Mypy by @CAM-Gerlach in #337
* PR: Add workaround for mode argument in
QTextCursor.movePosition (Pyside2) by @rear1019 in #341
* PR: Fix bug with environ handling by @larsoner in #340
* PR: Change bindings try order to be PyQt5, PySide2, PyQt6,
PySide6 by @dalthviz in #343
* Mon Apr 11 2022 Ben Greiner <code@bnavigator.de>
- Disable PyQt6-WebEngine tests for 32-bit platforms
* QtWebEngine 6.3.0 disabled 32-bit support
* Needs multibuild flavor for platform specific conditions
* Sat Apr 09 2022 Ben Greiner <code@bnavigator.de>
- Update to 2.0.1
* PR: Add missing imports in QtOpenGL by @renefritze in #307
* PR: Add missing QtGui utility function to QtCore.Qt for PySide
bindings by @dalthviz in #313
* PR: Add mapping for missing enum values aliases on QtCore.Qt by
@dalthviz in #314
* PR: Fix mappings of instance method and slot alias (PyQt6 and
PySide6) by @kumattau in #308
* PR: Add QtCharts alias for backward compatibility with 1.x by
@dalthviz in #315
* PR: Promote enum aliases by @MatthieuDartiailh in #319
* PR: Add missing tests for aliased methods by @dalthviz in #317
- Release 2.0.0
* PR: Add support for PySide6 by @jschueller in #225
* PR: Add QShortcut class to QtWidgets module by @kumattau in
[#254]
* PR: Remove Qt4 support by @jschueller in #252
* PR: Drop Python 2 by @dalthviz in #251
* PR: Fix fallback API by @benoit-pierre in #256
* PR: Add additional Qt modules and more support and tests for
PyQt6/PySide6 by @jschueller in #255
* PR: Reorganize QtCharts module import and add missing skip
validation for QtNetworkAuth test with PyQt6 by @dalthviz in
[#260]
* PR: [PyQt6] Add exec_/print_, and add QOpenGLWidget/QShortcut
to QtWidgets by @kumattau in #259
* PR: Remove accidentally-duplicated lines of code in QtCore by
@kumattau in #263
* PR: [PyQt6] Add missing tabStopWidth/setTabStopWidth same as
PySide6 by @kumattau in #264
* PR: Use modern packaging instead of deprecated distutils for
version parse by @CAM-Gerlach in #266
* PR: Unify and cleanup CI infra, improve robustness and test
Python 3.9 and PyQt6 by @CAM-Gerlach in #262
* PR: Fix and improve Coveralls reporting by @CAM-Gerlach in #268
* PR: Avoid future deprecations and decrease general technical
debt by @CAM-Gerlach in #273
* PR: Fix regression in FORCE_QT_API behavior from merging
PySide6 support by @tlambert03 in #276
* PR: Add back legacy PYQT4 and PYSIDE package-level constants
for compat by @CAM-Gerlach in #279
* PR: Add Contributing Guide based on other Spyder projects by
@CAM-Gerlach in #277
* PR: Update README sponsors section by @dalthviz in #282
* PR: Unscoped enums access for PyQt6 and other missing PyQt6
compatibility changes by @dalthviz in #271
* PR: Upgrade packaging to avoid legacy/deprecated behavior and
follow PEP 517 by @CAM-Gerlach in #272
* PR: Map exec_ to their non-deprecated alternatives by @kumattau
in #287
* PR: Add QtTextToSpeech Module by @kumattau in #291
* PR: Import all classes in QtTest module. by @kumattau in #290
* PR: Define Qt/binding versions at top level, fix warnings if
versions not found, and fix test dir on CIs by @CAM-Gerlach in
[#292]
* PR: Update gitignore, gitattributes, license, authors and
security policy by @CAM-Gerlach in #278
* PR: Add minimum version check for Qt6 >=6.2.0 by @CAM-Gerlach
in #294
* PR: Add support for Python 3.10 on CIs and packaging by
@CAM-Gerlach in #296
* PR: Make QLibraryInfo.location work for PyQt6 by @stonebig in
[#298]
* PR: 'width' needed for PyQt6 by @stonebig in #299
* PR: Update README.md adding a line for QtPy usefulness when
migrating between Qt bindings/versions by @dalthviz in #301
* PR: Fix QFileSystemModel for PyQt6 by @almarklein in #303
- Release 1.11.3
* PR: Catch PythonQtError when trying to do alias for
QtDataVisualization and dev version correction by @dalthviz in
[#281]
* PR: Add a warning for developers still running legacy Qt4-based
APIs by @CAM-Gerlach in #283
* PR: Import Callable and MutableMapping in py3compat for Python
2 compat by @davvid in #285
* PR: Add warning for deprecated/EoL Qt5 & PyQt5/PySide2 versions
to fix #284 by @CAM-Gerlach in #289
* PR: Update RELEASE.md for 1.x version by @dalthviz in #293
- Release 1.11.2
* Issue 248 - Missing QtDataVisualization (PR 249 by @dalthviz)
* Tue Sep 14 2021 Ben Greiner <code@bnavigator.de>
- Update to 1.11.1
* Wrap pysideuic and pyside2uic imports since they could be
unavailable
* qtpy/tests/test_uic.py: skip if pyside2uic not installed
- Release 1.11.0
* Add QtWebEngineWidgets.QWebEngineProfile for PyQt5 and PySide2
* Rename QtDatavisualization to use uppercase v
* Add support for QStyleOptionFrameV3 from PyQt4
* Add QtWinExtras module
* Add support for QtSerialPort add-on
* Add support for the QtPositioning module
* Add loadUiType implementation for PySide2
- Drop patch merged upstream gh#spyder-ide/QtPy#228
* 0001-Add-QtDatavisualization-alias-to-QtDataVisualization.patch
* Tue Aug 17 2021 Ben Greiner <code@bnavigator.de>
- Update to 1.10.0
* PR 241 - PR: Update setup.py classifiers, by @dalthviz
* PR 230 - PR: Fix imported modules logic if 'FORCE_QT_API' is
empty, by @hiaselhans
* PR 224 - PR: Support python 3.9 custom_widgets iteration, by
@irrcombat (206)
* PR 215 - PR: Slight typo fix, by @altendky
* PR 214 - PR: Handle QtCore.SignalInstance/pyqtBoundSignal, by
@altendky
* PR 208 - PR: Move CI to Github Actions, by @goanpeca
* PR 204 - PR: Add Python 3.9 compatibility for collections.abc
module, by @tirkarthi
* PR 199 - PR: Add support to PyQt4-sip 4.19.13, by @milanmatic
- Update description
- Clarify the requirements policy
- Test Pyside2 and Qtcharts
- Remove extra mock requirement
* Tue Aug 17 2021 Fabian Vogt <fvogt@suse.com>
- Minimize Recommends and Suggests, dep chain is too big
(WebEngine, Qt3D) for the TW DVD
* Thu Jan 21 2021 Antonio Larrosa <alarrosa@suse.com>
- Add patch so the renaming of QtDataVisualization doesn't cause
a problem on applications using the old name
(gh#spyder-ide/qtpy#228):
* 0001-Add-QtDatavisualization-alias-to-QtDataVisualization.patch
* Thu Jan 14 2021 Antonio Larrosa <alarrosa@suse.com>
- Add also BuildRequires for qt3d-qt5 and qtdatavis3d-qt5 so
those tests are not skipped.
- qtcharts-qt5 is not added because the python-qt5 package is
always pulled in automatically and QtPy uses it by default
while QtCharts is only available with PySide2.
- Replace the Requires with Recommends since not even PyQt is
really required (PySide2 can also be used with QtPy, and is now
added as a Suggested package).
- Rename QtDatavisualization.py to QtDataVisualization.py
(uppercase v) to fix the test which was skipped because the
imported module didn't exist and to keep the name consistent
with both PyQt and PySide2 (gh#spyder-ide/qtpy#228)
* Wed Jan 13 2021 Antonio Larrosa <alarrosa@suse.com>
- BuildRequires (and Require) the webengine bindings so it uses
them (which is the default) instead of using qtwebkit (which
was used only as a fallback).
* Fri Aug 28 2020 Benjamin Greiner <code@bnavigator.de>
- SIP is only used for PyQt4 which we don't use
* Mon Jul 29 2019 pgajdos@suse.com
- version update to 1.9.0
* Add the FORCE_QT_API environment variable to keep using the Qt
bindings selected with the QT_API variable and avoid switching
to the currently imported bindings. This allows to have
applications that import PySide and PyQt bindings at the same
time (which is possible if both bindings are compiled for the
same Qt version).
* Errors in the Qt3D modules with PySide2 5.12.4+ and Python 2
* Binding Selection Logic
* PR: Don't load Qt3D modules for buggy versions of PySide2
* PR: Add FORCE_QT_API environment variable
* Mon Jul 22 2019 Todd R <toddrme2178@gmail.com>
- Update to 1.8.0
* Add support for several Qt 3D modules.