* 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
Version: 1.9.0-bp153.2.18
* 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.
* Thu May 23 2019 pgajdos@suse.com
- version update to 1.7.1
* Skip testing PyQt4 and PySide in Python 3.5
* Trivial maintenance tweaks
* Avoid deprecated "from collections import MutableMapping"
* Tue Mar 19 2019 Tomá? Chvátal <tchvatal@suse.com>
- Update to 1.7.0:
* Add support for QtCharts.
* Wed Mar 06 2019 Tomá? Chvátal <tchvatal@suse.com>
- Update to 1.6.0:
* Add support for QtQuickWidgets
* Issue 178 - Error when import QtCore.version in PySide2
* Tue Dec 04 2018 Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
* Thu Nov 08 2018 Todd R <toddrme2178@gmail.com>
- Update to Version 1.5.2
* Fix tests
* Add support for PySide2.QtOpenGL
- Update to Version 1.5.1
* Make PythonQtError inherit from RuntimeError to be easily
catchable
- Update to Version 1.5
+ New features
* Add support for QtLocation, QtMultimediaWidgets, QtQml,
QtQuick, QtWebChannel, QtWebSockets and QtXmlPatterns.
* Raise an error when trying to use the wrong combination of
macOS and Qt versions.
+ Issues Closed
* Issue 155 - Add warnings for Qt 5.9 in macOS 10.9 and
Qt 5.11 and macOS 10.11 (PR 168)
* Issue 153 - Shim PyQt5 ToPyDateTime for compatibility with
PySide2 (PR 169)
* Issue 123 - Wrap QWebChannel module (PR 157)
+ Pull Requests Merged
* PR 169 - Shim PyQt5 QDateTime.toPyDateTime to
QDateTime.toPython for compatibility with PySide2 (153)
* PR 168 - Raise error when trying to use the wrong
combination of macOS and Qt versions (155)
* PR 167 - Migrate to CircleCI 2.0
* PR 163 - Add QtLocation
* PR 162 - Update readme to remove funding appeal, harmonize
with other readmes and minor fixes
* PR 161 - Fix pyside2 wheels install
* PR 157 - Add more Qt modules (123)
* Thu May 31 2018 toddrme2178@gmail.com
- Update to version 1.4.2
+ Issues Closed
* Issue 150 - PySide2-5.11 alpha2 compatibility (PR 151)
* Issue 144 - ValueError: API 'QString' has already been set to version 1 at line 141 in init.py file. (PR 152)
+ Pull Requests Merged
* PR 152 - PR: Catch ValueError when trying to set sip API (144)
* PR 151 - PR: Add a preventive change for PySide-5.11a2 (150)
* PR 149 - PR: Use Qt official wheels to run tests for PySide2
* PR 148 - PR: Remove internal conda recipe
* Sat Apr 28 2018 toddrme2178@gmail.com
- Update to Version 1.4.1
+ New features
* Show a warning when QT_API is changed automatically by qtpy.
+ Issues Closed
* Raise a warning if QT_API value is changed automatically
* On OSX qtpy applications are forcing discrete graphics
+ Pull Requests Merged
* Add better compatibility with PySide2
* Add a warning if API is changed automatically
* Avoid using PyQt5.Qt, which imports unneeded stuff and forces
discrete GPU on OSX
- Update to Version 1.4 (2018-03-11)
+ New features
* Add support for QtHelp
* Add support for QtSql
* Use already imported bindings
+ Issues Closed
* If one binding has already been imported,
then qtpy should just use it
* Add Wrapper for QtSql
* Methods missing from QStandardPaths when QT_API=pyqt4
* Add Wrapper for QtHelp
+ Pull Requests Merged
* Pin PyQt5 to 5.9.2 in CircleCI because 5.10 is generating segfaults
* If a Qt binding is already imported, then use it.
* Add QtSql wrapper (incl. test)
* Changes to QDesktop split
* Add QtHelp Wrapper
* Mon Aug 28 2017 toddrme2178@gmail.com
- Update to Version 1.3.1
+ Bugs fixed
* Spurious cache files in PyPI tarball
* Importing qtpy should not raise exceptions
* No cache files included in the release tarball
* Remove Quantified Code badge because the service doesn't exist anymore
* Warn if QHeaderView deprecated methods are used
- Update to Version 1.3
+ New features
* Add support for PySide2
* Add support for QtMultimedia
* Add support for PyQt 4.6
+ Bugs fixed
* Typo in readme title
* Update Readme for 1.3 release
* Add tests for untested modules
* Missing: QtOpenGL Module
* QDesktopServices split into QDesktopServices and QStandardPaths
* qInstallMessageHandler <-> qInstallMsgHandler
* Feature Request: PySide2 support
* Fix typo in Readme.
* Add compatibility for the rename of qInstallMsgHandler to qInstallMessageHandler
* Update Readme to reflect that we actually use the PySide2 layout
* Update Readme to mention that we now support PySide2.
* Add tests for Qtdesigner, QtNetwork, QtPrintSupport, QtSvg and QtTest.
* Follow QStandardPaths location in Qt5 for PyQt4/PySide
* Add a coveragerc file
* Add support for PyQt 4.6
* Add a new QtOpenGL module
* Add PySide2 support
* Fri Apr 28 2017 toddrme2178@gmail.com
- Implement single-spec version.
* Thu Feb 16 2017 joerg.lorenzen@ki.tng.de
- Update to version 1.2.1
- Bugs fixed:
Pull requests
+ PR 98 - PR: Don't use Travis to test macOS because it slows
down the entire spyder-ide organization
+ PR 97 - PR: Update Appveyor badge in Readme because of moving
to an org account
+ PR 94 - PR: Include test suite in sdist
- Version 1.2
- New features:
+ Add support for QtMultimedia
+ Use relative imports so its vendored more easily
- Bugs fixed:
Issues
+ Issue 83 - Include core doc files in PyPi releases
+ Issue 78 - Request for a new bugfix release
+ Issue 75 - Missing copyright headers
+ Issue 67 - uic.loadUiType is missing
+ Issue 64 - QHeaderView.setSectionResizeMode
+ Issue 49 - QtMultimedia support
Pull requests
+ PR 93 - Restore uic full namespace for PyQt5 and PyQt4
+ PR 92 - Add missing copyright header in _patch/qheaderview.py
+ PR 91 - Use star imports in QtSvg again instead of direct
ones (reverts PR #55)
+ PR 88 - PR: Add manifest
+ PR 74 - Move QStringListModel to QtCore
+ PR 71 - PR: Use relative imports so its vendored more easily
+ PR 65 - Introduce renamed methods of QHeaderView in PyQt4 and
PySide
+ PR 59 - Don't install qtpy as a conda package in CircleCI
+ PR 58 - Remove reference to how qtpy is pronounced in README
+ PR 55 - PR: Add explicit imports to QtSvg module
+ PR 50 - Add support for QtMultimedia
- Removed source file LICENSE.txt, fixed upstream.
* Thu Oct 13 2016 toddrme2178@gmail.com
- Initial version