0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-13 19:21:50 +02:00

ci: drop python/3.9

This commit is contained in:
2024-02-27 15:59:53 +01:00
parent 38d056570f
commit 814768525f
5 changed files with 11 additions and 18 deletions

View File

@ -1,7 +1,7 @@
# This file is a template, and might need editing before it works on your project. # This file is a template, and might need editing before it works on your project.
# Official language image. Look for the different tagged releases at: # Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/python/tags/ # https://hub.docker.com/r/library/python/tags/
image: $CI_DOCKER_REGISTRY/python:3.9 image: $CI_DOCKER_REGISTRY/python:3.10
#commands to run in the Docker container before starting each job. #commands to run in the Docker container before starting each job.
variables: variables:
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""
@ -91,23 +91,16 @@ tests:
coverage_format: cobertura coverage_format: cobertura
path: coverage.xml path: coverage.xml
#tests-3.9-pyqt5: #todo enable when we decide what qt distributions we want to support #tests-3.10-pyqt5: #todo enable when we decide what qt distributions we want to support
# extends: "tests" # extends: "tests"
# stage: AdditionalTests # stage: AdditionalTests
# image: $CI_DOCKER_REGISTRY/python:3.9 # image: $CI_DOCKER_REGISTRY/python:3.10
# script: # script:
# - apt-get update # - apt-get update
# - apt-get install -y libgl1-mesa-glx libegl1-mesa x11-utils libxkbcommon-x11-0 libdbus-1-3 # - apt-get install -y libgl1-mesa-glx libegl1-mesa x11-utils libxkbcommon-x11-0 libdbus-1-3
# - pip install .[dev,pyqt5] # - pip install .[dev,pyqt5]
# - pytest -v --random-order ./tests # - pytest -v --random-order ./tests
tests-3.10:
extends: "tests"
stage: AdditionalTests
image: $CI_DOCKER_REGISTRY/python:3.10
allow_failure: true
tests-3.11: tests-3.11:
extends: "tests" extends: "tests"
stage: AdditionalTests stage: AdditionalTests

View File

@ -52,7 +52,7 @@ persistent=yes
# Minimum Python version to use for version dependent checks. Will default to # Minimum Python version to use for version dependent checks. Will default to
# the version used to run pylint. # the version used to run pylint.
py-version=3.9 py-version=3.10
# When enabled, pylint would attempt to guess common misconfiguration and emit # When enabled, pylint would attempt to guess common misconfiguration and emit
# user-friendly hints instead of false-positive error messages. # user-friendly hints instead of false-positive error messages.

View File

@ -9,7 +9,7 @@ version: 2
build: build:
os: ubuntu-20.04 os: ubuntu-20.04
tools: tools:
python: "3.9" python: "3.10"
# Build documentation in the docs/ directory with Sphinx # Build documentation in the docs/ directory with Sphinx
sphinx: sphinx:

View File

@ -6,7 +6,7 @@
Before installing BEC Widgets, please ensure the following requirements are met: Before installing BEC Widgets, please ensure the following requirements are met:
1. **Python Version:** BEC Widgets requires Python version 3.9 or higher. Verify your Python version to ensure compatibility. 1. **Python Version:** BEC Widgets requires Python version 3.10 or higher. Verify your Python version to ensure compatibility.
2. **BEC Installation:** BEC Widgets works in conjunction with BEC. While BEC is a dependency and will be installed automatically, you can find more information about BEC and its installation process in the [BEC documentation](https://beamline-experiment-control.readthedocs.io/en/latest/). 2. **BEC Installation:** BEC Widgets works in conjunction with BEC. While BEC is a dependency and will be installed automatically, you can find more information about BEC and its installation process in the [BEC documentation](https://beamline-experiment-control.readthedocs.io/en/latest/).
**Standard Installation** **Standard Installation**

View File

@ -15,7 +15,7 @@ classifiers =
package_dir = package_dir =
= . = .
packages = find: packages = find:
python_requires = >=3.9 python_requires = >=3.10
[options.packages.find] [options.packages.find]
where = . where = .