Skip to content

Releases: spyder-ide/qtpy

QtPy 2.4.1

23 Oct 23:57
Compare
Choose a tag to compare

What's Changed

  • [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

New Contributors

Full Changelog: v2.4.0...v2.4.1

QtPy 2.4.0

29 Aug 16:24
Compare
Choose a tag to compare

What's Changed

  • PR: Add missing issue closed for v2.3.1 changelog entry by @dalthviz in #419
  • PR: Symmetrize path and location of QLibraryInfo by @StSav012 in #420
  • PR: Improve import modularity between QtGui, QtWidgets and QtOpenGL* related modules by @DaelonSuzuka in #387
  • PR: Make CI jobs much faster & less flaky w/Mamba, 1-pass solve & other tweaks by @CAM-Gerlach in #425
  • PR: Symmetrize QDateTime.toPython and toPyDateTime, etc. by @StSav012 in #421
  • PR: Use static calls of exec_ elsewhere where needed, and test them by @StSav012 in #422
  • PR: Enable more tests on CI by @Czaki in #434
  • PR: Add wrapers to fix argument name in QFileDialog get*methods by @Czaki in #433
  • PR: Rename utils.py to _utils.py to make it private by @StSav012 in #431
  • PR: Make exec() for PySide2 by @StSav012 in #438
  • PR: Replace custom implementation with loadUiType from PySide6 by @JaRoSchm in #440
  • PR: Update bindings upper bound version to 6.5 and ignore DeprecationWarning (CI) by @dalthviz in #443
  • PR: Make QMenu.addAction and QToolBar.addAction compatible with Qt6 arguments' order by @StSav012 in #437
  • PR: Restore Qt.ItemFlags access as Qt.ItemFlag alias (PyQt6) by @dalthviz in #444
  • PR: Add mappings for deprecated QDropEvent pos and posF methods by @dalthviz in #445
  • PR: Restore QtWidgets.QFileDialog.Options access as QtWidgets.QFileDialog.Option alias (PyQt6) by @dalthviz in #448
  • PR: Add QEnum macro for PyQt bindings by @phil65 in #424
  • PR: Improve enum to flags aliasing for PyQt6 and PySide6 > 6.3 and QFileDialog static methods kwarg compatibility by @dalthviz in #449
  • PR: Update README with information on Pyright/Pylance integration and add CLI subcommand to help generate the related config by @wkrasnicki in #450
  • PR: Setup pre-commit and format all code with Black by @Czaki in #451
  • PR: Test using PyQt extra packages by @dalthviz in #446

New Contributors

  • @JaRoSchm made their first contribution in #440
  • @wkrasnicki made their first contribution in #450

Full Changelog: v2.3.1...v2.4.0

QtPy 2.3.1

28 Mar 23:06
Compare
Choose a tag to compare

What's Changed

  • PR: Use raise from None when raising QtBindingsNotFoundError in init by @CAM-Gerlach in #391
  • PR: Fix LibraryLocation -> LibraryPath renaming due to deprecation with Qt6 by @StSav012 in #393
  • PR: Add Python 3.11 to CIs/tags & overhaul CI config by @CAM-Gerlach in #392
  • Simplify CI script following Qt 5.15.6 feedstock update by @CAM-Gerlach in #397
  • PR: Make warning usage consistant and refine messages by @CAM-Gerlach in #398
  • PR: Unskip PySide2 5.15 on Python 3.11 with Conda on CIs by @CAM-Gerlach in #401
  • PR: Don't make QTextStreamManipulator.exec_ on PyQt5/6 by @StSav012 in #404
  • PR: Remove patch that may be limited to PySide-5.11a1 only by @StSav012 in #407
  • PR: Add mappings for QMouseEvent methods by @StSav012 in #408
  • PR: Skip QtPositioning tests on Conda Qt >=6.4.3 where its not included by @CAM-Gerlach in #414
  • PR: Improve compatibility for QtWidgets and QtGui modules between Qt5 and Qt6 bindings by @StSav012 in #410
  • PR: Make QtBindingsNotFoundError also inherit from ImportError by @cbrnr in #413
  • PR: Add compatibility mappings between bindings for all children of QSinglePointEvent by @StSav012 in #417

New Contributors

Full Changelog: v2.3.0...v2.3.1

QtPy 2.3.0

07 Nov 22:02
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.1...v2.3.0

QtPy 2.2.1

03 Oct 19:34
Compare
Choose a tag to compare

What's Changed

  • CI: Ensure conda-forge channel usage when testing with conda by @dalthviz in #360
  • PR: toPython helpers for QDate and QTime by @bob-schumaker in #361
  • PR: Fix various minor typos found with Codespell by @luzpaz in #362
  • PR: Fix typo in Qt flags in Readme by @Czaki in #363
  • PR: Aliased QUndoCommand, provided QLineEdit.getTextMargins() and QFontMetricsF.width() by @random-developer in #366
  • PR: Add missing self for QtBindingsNotFoundError definition by @dalthviz in #368

New Contributors

Full commits list between this release and the previous one: v2.2.0...v2.2.1
Full Changelog: CHANGELOG.md - Version 2.2.0 (2022-08-10)

QtPy 2.2.0

10 Aug 17:29
Compare
Choose a tag to compare

What's Changed

  • PR: Add workaround for mode argument in QTextCursor.movePosition (PySide6) by @rear1019 in #346
  • PR: Add missing imports and modules by @DaelonSuzuka in #344
  • PR: Restore WEBENGINE constant in QtWebEngineWidgets by @ccordoba12 in #350
  • PR: Add note to readme about use with Pyright by @CAM-Gerlach in #353
  • PR: Add wrapper around sip/shiboken isdeleted/isvalid (compat.py) by @zjp in #354
  • PR: Fix PyQt6 typing import for Qt by @tlambert03 in #358
  • PR: Add initial Methods, helpers and QtPy namespace specifics section to the README by @dalthviz in #357

New Contributors

Full commits list between this release and the previous one: v2.1.0...v2.2.0
Full Changelog: CHANGELOG.md - Version 2.2.0 (2022-08-10)

QtPy 2.1.0

02 May 17:05
Compare
Choose a tag to compare

What's Changed

  • 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

New Contributors

Full commits list between this release and the previous one: v2.0.1...v2.1.0
Full Changelog: CHANGELOG.md - Version 2.1.0 (2022-05-02)

QtPy 2.0.1

02 Feb 16:06
Compare
Choose a tag to compare

What's Changed

  • PR: Set CI job's timeout to 10 min to force a stalled test to terminate by @kumattau in #309
  • PR: Add missing imports in QtOpenGL by @renefritze in #307
  • PR: Add "New features" section for version 2.0 to changelog by @ccordoba12 in #312
  • 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

New Contributors

Full commits list between this release and the previous one: v2.0.0...v2.0.1
Full Changelog: CHANGELOG.md - Version 2.0.1 (2022-02-02)

QtPy 2.0.0

22 Dec 17:26
Compare
Choose a tag to compare

What's Changed

  • 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

New Contributors

Full commits list between this release and the previous one: v1.11.3...v2.0.0
Full Changelog: CHANGELOG.md - Version 2.0.0 (2021-12-22)

QtPy 1.11.3

03 Dec 17:30
Compare
Choose a tag to compare

What's Changed

  • 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

Full commits list between this release and the previous one: v1.11.2...v1.11.3

Full Changelog: CHANGELOG.md - Version 1.11.3 (2021-12-03)