Skip to content
Snippets Groups Projects
Commit 5b1facb2 authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Add testing with Python 3.11

parent f477a591
No related branches found
No related tags found
1 merge request!130Add testing with Python 3.11
Pipeline #88511 passed
...@@ -71,6 +71,20 @@ run-test-3.10-pyqt5: ...@@ -71,6 +71,20 @@ run-test-3.10-pyqt5:
image: python:3.10 image: python:3.10
extends: ".run-test" extends: ".run-test"
# PySide2 does not seem to have support for 3.11, "almost works" though
#run-test-3.11-pyside2:
# variables:
# QT_API: pyside2
# image: python:3.11
# extends: ".run-test"
# allow_failure: true
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(?) # Seemingly works with Qt6, but tests stall on closing scheduler GUI due to modal dialog(?)
#run-test-3.10-pyside6: #run-test-3.10-pyside6:
# variables: # variables:
...@@ -94,10 +108,6 @@ run-doc-test: ...@@ -94,10 +108,6 @@ run-doc-test:
script: script:
- sphinx-build -b html docs_sphinx public - sphinx-build -b html docs_sphinx public
#run-test-3.11:
# image: python:3.11
# extends: ".run-test"
pages: pages:
variables: variables:
QT_API: pyqt5 QT_API: pyqt5
......
...@@ -2,7 +2,7 @@ message(STATUS "Fetching fmt...") ...@@ -2,7 +2,7 @@ message(STATUS "Fetching fmt...")
FetchContent_Declare(fmt FetchContent_Declare(fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt GIT_REPOSITORY https://github.com/fmtlib/fmt
GIT_TAG d141cdbeb0fb422a3fb7173b285fd38e0d1772dc # 8.0.1 GIT_TAG 9.1.0
) )
FetchContent_MakeAvailable(fmt) FetchContent_MakeAvailable(fmt)
......
...@@ -2,6 +2,6 @@ message(STATUS "Fetching pybind11...") ...@@ -2,6 +2,6 @@ message(STATUS "Fetching pybind11...")
FetchContent_Declare(pybind11 FetchContent_Declare(pybind11
GIT_REPOSITORY https://github.com/pybind/pybind11 GIT_REPOSITORY https://github.com/pybind/pybind11
GIT_TAG f7b499615e14d70ab098a20deb0cdb3889998a1a # 2.8.1 GIT_TAG v2.10.3
) )
FetchContent_MakeAvailable(pybind11) FetchContent_MakeAvailable(pybind11)
...@@ -22,7 +22,7 @@ classifiers = [ ...@@ -22,7 +22,7 @@ classifiers = [
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
# "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: C++", "Programming Language :: C++",
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment