pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-QtPy: Update to 2.4.1



Module Name:	pkgsrc-wip
Committed By:	Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Mon Jul 15 06:31:07 2024 -0600
Changeset:	5f724fd42507a42c71b8db0897becb242094e9e4

Modified Files:
	py-qtpy/Makefile
	py-qtpy/PLIST
	py-qtpy/distinfo

Log Message:
py-QtPy: Update to 2.4.1

Version 2.4.1 (2023-10-23)
Issues Closed

    Issue 462 - Release QtPy 2.4.1
    Issue 458 - Typo causes failed QWebEngineScript with PySide6

In this release 2 issues were closed.
Pull Requests Merged

    PR 459 - [pre-commit.ci] pre-commit autoupdate, by @pre-commit-ci[bot]
    PR 456 - [pre-commit.ci] pre-commit autoupdate, by @pre-commit-ci[bot]
    PR 455 - PR: Fix bug when importing from PySide6.QtWebEngineCore/QtWebEngineWidgets (QWebEngineScrip vs QWebEngineScript) , by @damonlynch

In this release 3 pull requests were closed.
Version 2.4.0 (2023-08-29)
Issues Closed

    Issue 453 - Release QtPy 2.4.0
    Issue 447 - Type hints not working for qtpy specific imports (PR 450 by @wkrasnicki)
    Issue 442 - Some compatibility issues when using latest PyQt6 or PySide6 (6.5+) (PR 448 by @dalthviz)
    Issue 439 - qtpy.uic.loadUiType failing for PySide6 (PR 440 by @JaRoSchm)
    Issue 432 - Add compatibility layer for keywords arguments of QFileDialog get* class methods (PR 433 by @Czaki)
    Issue 423 - Fix flaky importlib error on Ubuntu Python 3.7 conda CI job (PR 425 by @CAM-Gerlach)
    Issue 383 - Add extra packages available for PyQt to CI for testing (PR 446 by @dalthviz)
    Issue 345 - Use pre-commit to automatically format code with Black and imports with isort (PR 451 by @Czaki)

In this release 8 issues were closed.
Pull Requests Merged

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

In this release 21 pull requests were closed.
Version 2.3.1 (2023-03-28)
Issues Closed

    Issue 416 - Release QtPy 2.3.1
    Issue 412 - How to catch QtBindingsNotFoundError (PR 413 by @cbrnr)
    Issue 405 - Remove patch that "may be limited to PySide-5.11a1 only"
    Issue 402 - QTextStreamManipulator has no exec method on PyQt5/6
    Issue 394 - Differences in QEvent subclass APIs in PyQt6 cause attribute and/or type errors
    Issue 390 - QtBindingsNotFoundError is not raised correctly (from None) in init (PR 391 by @CAM-Gerlach)
    Issue 389 - Make QtWidgets and QtGui modules compatible with PySide6/PyQt6 import locations for PySide2/PyQt5 (PR 410 by @StSav012)
    Issue 386 - Add official support for Python 3.11 (PR 392 by @CAM-Gerlach)

In this release 8 issues were closed.
Pull Requests Merged

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

In this release 13 pull requests were closed.
Version 2.3.0 (2022-11-07)
Issues Closed

    Issue 384 - Release QtPy 2.3.0
    Issue 381 - Add QtPdf, QtPdfWidgets (PR 382 by @jschueller)
    Issue 375 - Test PySide6 6.4.x (PR 376 by @CAM-Gerlach)
    Issue 373 - PySide6 6.4.0 support - AttributeError: Cannot reassign members when aliasing enum values (PR 374 by @astrofrog)
    Issue 367 - Import behaviour if no Qt bindings are installed (PR 379 by @dalthviz)
    Issue 134 - QScintilla Support (PR 372 by @dgoeries)

In this release 6 issues were closed.
Pull Requests Merged

    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)

In this release 7 pull requests were closed.
Version 2.2.1 (2022-10-03)
Issues Closed

    Issue 369 - Release QtPy 2.2.1
    Issue 365 - Additions needed for PySide6/PyQt6 support (QFontMetricsF.width, QLineEdit.getTextMargins and QtWidgets.QUndoCommand) (PR 366 by @random-developer)

In this release 2 issues were closed.
Pull Requests Merged

    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

In this release 6 pull requests were closed.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5f724fd42507a42c71b8db0897becb242094e9e4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-qtpy/Makefile |  7 ++++---
 py-qtpy/PLIST    | 44 +++++++++++++++++++++++++++++++++++++-------
 py-qtpy/distinfo |  6 +++---
 3 files changed, 44 insertions(+), 13 deletions(-)

diffs:
diff --git a/py-qtpy/Makefile b/py-qtpy/Makefile
index bdbe6125f9..d69c657b90 100644
--- a/py-qtpy/Makefile
+++ b/py-qtpy/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	QtPy-2.2.0
+DISTNAME=	QtPy-2.4.1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	python
 MASTER_SITES=	${MASTER_SITE_PYPI:=Q/QtPy/}
@@ -10,12 +10,13 @@ HOMEPAGE=	https://pypi.org/project/QtPy/
 COMMENT=	Abstraction layer for PyQt5/PySide2/PyQt6/PySide6
 LICENSE=	mit
 
-DEPENDS+=	${PYPKGPREFIX}-packaging>0:../../devel/py-packaging
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=70.0:../../devel/py-setuptools
+TEST_DEPENDS+=	${PYPKGPREFIX}-qt6>=6.7.0:../../x11/py-qt6
 
 USE_LANGUAGES=	# none
 
 post-extract:
 	${CHMOD} -R o-w,g-w ${WRKSRC}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-qtpy/PLIST b/py-qtpy/PLIST
index 4fc6d9009b..fa35d8d5c7 100644
--- a/py-qtpy/PLIST
+++ b/py-qtpy/PLIST
@@ -1,12 +1,15 @@
 @comment $NetBSD$
 bin/qtpy
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.md
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/qtpy/Qsci.py
+${PYSITELIB}/qtpy/Qsci.pyc
+${PYSITELIB}/qtpy/Qsci.pyo
 ${PYSITELIB}/qtpy/Qt3DAnimation.py
 ${PYSITELIB}/qtpy/Qt3DAnimation.pyc
 ${PYSITELIB}/qtpy/Qt3DAnimation.pyo
@@ -82,6 +85,12 @@ ${PYSITELIB}/qtpy/QtOpenGL.pyo
 ${PYSITELIB}/qtpy/QtOpenGLWidgets.py
 ${PYSITELIB}/qtpy/QtOpenGLWidgets.pyc
 ${PYSITELIB}/qtpy/QtOpenGLWidgets.pyo
+${PYSITELIB}/qtpy/QtPdf.py
+${PYSITELIB}/qtpy/QtPdf.pyc
+${PYSITELIB}/qtpy/QtPdf.pyo
+${PYSITELIB}/qtpy/QtPdfWidgets.py
+${PYSITELIB}/qtpy/QtPdfWidgets.pyc
+${PYSITELIB}/qtpy/QtPdfWidgets.pyo
 ${PYSITELIB}/qtpy/QtPositioning.py
 ${PYSITELIB}/qtpy/QtPositioning.pyc
 ${PYSITELIB}/qtpy/QtPositioning.pyo
@@ -178,6 +187,9 @@ ${PYSITELIB}/qtpy/__init__.pyo
 ${PYSITELIB}/qtpy/__main__.py
 ${PYSITELIB}/qtpy/__main__.pyc
 ${PYSITELIB}/qtpy/__main__.pyo
+${PYSITELIB}/qtpy/_utils.py
+${PYSITELIB}/qtpy/_utils.pyc
+${PYSITELIB}/qtpy/_utils.pyo
 ${PYSITELIB}/qtpy/cli.py
 ${PYSITELIB}/qtpy/cli.pyc
 ${PYSITELIB}/qtpy/cli.pyo
@@ -200,6 +212,12 @@ ${PYSITELIB}/qtpy/tests/__init__.pyo
 ${PYSITELIB}/qtpy/tests/conftest.py
 ${PYSITELIB}/qtpy/tests/conftest.pyc
 ${PYSITELIB}/qtpy/tests/conftest.pyo
+${PYSITELIB}/qtpy/tests/optional_deps/__init__.py
+${PYSITELIB}/qtpy/tests/optional_deps/__init__.pyc
+${PYSITELIB}/qtpy/tests/optional_deps/__init__.pyo
+${PYSITELIB}/qtpy/tests/optional_deps/optional_dep.py
+${PYSITELIB}/qtpy/tests/optional_deps/optional_dep.pyc
+${PYSITELIB}/qtpy/tests/optional_deps/optional_dep.pyo
 ${PYSITELIB}/qtpy/tests/test.ui
 ${PYSITELIB}/qtpy/tests/test_cli.py
 ${PYSITELIB}/qtpy/tests/test_cli.pyc
@@ -214,9 +232,15 @@ ${PYSITELIB}/qtpy/tests/test_macos_checks.pyo
 ${PYSITELIB}/qtpy/tests/test_main.py
 ${PYSITELIB}/qtpy/tests/test_main.pyc
 ${PYSITELIB}/qtpy/tests/test_main.pyo
+${PYSITELIB}/qtpy/tests/test_missing_optional_deps.py
+${PYSITELIB}/qtpy/tests/test_missing_optional_deps.pyc
+${PYSITELIB}/qtpy/tests/test_missing_optional_deps.pyo
 ${PYSITELIB}/qtpy/tests/test_qdesktopservice_split.py
 ${PYSITELIB}/qtpy/tests/test_qdesktopservice_split.pyc
 ${PYSITELIB}/qtpy/tests/test_qdesktopservice_split.pyo
+${PYSITELIB}/qtpy/tests/test_qsci.py
+${PYSITELIB}/qtpy/tests/test_qsci.pyc
+${PYSITELIB}/qtpy/tests/test_qsci.pyo
 ${PYSITELIB}/qtpy/tests/test_qt3danimation.py
 ${PYSITELIB}/qtpy/tests/test_qt3danimation.pyc
 ${PYSITELIB}/qtpy/tests/test_qt3danimation.pyo
@@ -289,6 +313,12 @@ ${PYSITELIB}/qtpy/tests/test_qtopengl.pyo
 ${PYSITELIB}/qtpy/tests/test_qtopenglwidgets.py
 ${PYSITELIB}/qtpy/tests/test_qtopenglwidgets.pyc
 ${PYSITELIB}/qtpy/tests/test_qtopenglwidgets.pyo
+${PYSITELIB}/qtpy/tests/test_qtpdf.py
+${PYSITELIB}/qtpy/tests/test_qtpdf.pyc
+${PYSITELIB}/qtpy/tests/test_qtpdf.pyo
+${PYSITELIB}/qtpy/tests/test_qtpdfwidgets.py
+${PYSITELIB}/qtpy/tests/test_qtpdfwidgets.pyc
+${PYSITELIB}/qtpy/tests/test_qtpdfwidgets.pyo
 ${PYSITELIB}/qtpy/tests/test_qtpositioning.py
 ${PYSITELIB}/qtpy/tests/test_qtpositioning.pyc
 ${PYSITELIB}/qtpy/tests/test_qtpositioning.pyo
diff --git a/py-qtpy/distinfo b/py-qtpy/distinfo
index 4f4b7e8c86..14dc83c6b5 100644
--- a/py-qtpy/distinfo
+++ b/py-qtpy/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (QtPy-2.2.0.tar.gz) = 357b8e1139c686bc42a14d12303110d8579ad569b826b5212e1e5dba14bad666
-SHA512 (QtPy-2.2.0.tar.gz) = b0e7696c7861942c16749dc5f5ccbfd038f7fc2b1defbf372885223c4100805cada9bbb2f5bdae1f1c642b52d480d6e0048e221d9efd3f3103da54e6e2bfd0ff
-Size (QtPy-2.2.0.tar.gz) = 51573 bytes
+BLAKE2s (QtPy-2.4.1.tar.gz) = 77cfbec8e3edac07092950fa2a21b87e63048fdc367526c63c2a3b5e926eb554
+SHA512 (QtPy-2.4.1.tar.gz) = cb7c65cfec5aba9bdc4942b95108ac0300eac5ca8f0c984e8ea789b77fded3a1817f591d43bc45e9aa4feb3cb3da64c0d42ae67f12121a807cf7c247e7612e7d
+Size (QtPy-2.4.1.tar.gz) = 65492 bytes


Home | Main Index | Thread Index | Old Index