enthought / pyface

pyface: traits-capable windowing framework
Other
105 stars 55 forks source link

pyface doesn't support python3.9 and qt5? #1159

Closed hitbuyi closed 1 year ago

hitbuyi commented 1 year ago

from setup.py, I found

        classifiers=[
            c.strip()
            for c in """\
              Development Status :: 5 - Production/Stable
              Intended Audience :: Developers
              Intended Audience :: Science/Research
              License :: OSI Approved :: BSD License
              Operating System :: MacOS
              Operating System :: Microsoft :: Windows
              Operating System :: OS Independent
              Operating System :: POSIX
              Operating System :: Unix
              Programming Language :: Python
              Programming Language :: Python :: 3
              Programming Language :: Python :: 3.6
              Programming Language :: Python :: 3.7
              Programming Language :: Python :: 3.8
              Topic :: Scientific/Engineering
              Topic :: Software Development
              Topic :: Software Development :: Libraries
              """.splitlines()
            if len(c.split()) > 0
        ],
        description="traits-capable windowing framework",
        long_description=LONG_DESCRIPTION,
        long_description_content_type="text/x-rst",
        download_url="https://github.com/enthought/pyface",
        install_requires=__requires__,
        extras_require=__extras_require__,
        license="BSD",
        maintainer="ETS Developers",
        maintainer_email="enthought-dev@enthought.com",
        package_data={
            "": [
                "image/library/*.zip",
                "images/*",
                "action/images/*",
                "dock/images/*",
                "tree/images/*",
                "tests/images/*",
                "ui/qt4/images/*",
                "ui/wx/images/*",
                "ui/wx/grid/images/*",
            ]
        },
        packages=find_packages(),
        entry_points={
            "pyface.toolkits": [
                "qt4 = pyface.ui.qt4.init:toolkit_object",
                "qt = pyface.ui.qt4.init:toolkit_object",
                "wx = pyface.ui.wx.init:toolkit_object",
                "null = pyface.ui.null.init:toolkit_object",
            ]
        },
        platforms=["Windows", "Linux", "Mac OS-X", "Unix", "Solaris"],
        python_requires=">=3.6",
        zip_safe=False,

so doesn't support python3.9 and qt5?

corranwebster commented 1 year ago

Thanks for noticing - we missed updating these on the last release.

Pyface (and TraitsUI) should work on 3.9 and 3.10 (and presumably 3.11 when it comes out), supports Qt5 via PySide2 and PyQt5, and it supports Qt6 via PySide6 (and may work with PyQt6 - changes to the way PyQt5 handles enums are more difficult to adapt to).

We are dropping support for Qt4

Edit: updated incorrect versions.

corranwebster commented 1 year ago

Closing in favour of #1160