From 3d6f8e56985591dd0f4106b83acd6c01b1d511d6 Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson <oscar.gustafsson@gmail.com> Date: Tue, 31 Jan 2023 09:45:31 +0100 Subject: [PATCH] Add testing with Python 3.11 --- .gitlab-ci.yml | 18 +++++++++++++----- pyproject.toml | 2 +- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3c1b5250..bee6ced0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -71,7 +71,19 @@ run-test-3.10-pyqt5: image: python:3.10 extends: ".run-test" -# Seemingly works with Qt6, but tests stall on closing scheduler GUI due to modal dialog(?) +run-test-3.11-pyside2: + variables: + QT_API: pyside2 + image: python:3.11 + extends: ".run-test" + +run-test-3.11-pyqt5: + variables: + QT_API: pyqt5 + image: python:3.11 + extends: ".run-test" + + # Seemingly works with Qt6, but tests stall on closing scheduler GUI due to modal dialog(?) #run-test-3.10-pyside6: # variables: # QT_API: pyside6 @@ -94,10 +106,6 @@ run-doc-test: script: - sphinx-build -b html docs_sphinx public -#run-test-3.11: -# image: python:3.11 -# extends: ".run-test" - pages: variables: QT_API: pyqt5 diff --git a/pyproject.toml b/pyproject.toml index 261237dc..a574167f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ classifiers = [ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", -# "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.11", "Programming Language :: C++", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", -- GitLab