Skip to content
Snippets Groups Projects
Commit af715a5b authored by Daniel Hornung's avatar Daniel Hornung
Browse files

Merge branch 'f-py312' into 'dev'

MAINT: Add support for Python 3.12 and experimental support for 3.13

See merge request !166
parents 91f9bd56 5741f3d3
Branches
Tags
2 merge requests!178FIX: #96 Better error output for crawl.py script.,!166MAINT: Add support for Python 3.12 and experimental support for 3.13
Checking pipeline status
......@@ -146,6 +146,31 @@ unittest_py3.11:
stage: test
image: python:3.11
script: *python_test_script
unittest_py3.12:
tags: [cached-dind]
stage: test
image: python:3.12
script: *python_test_script
unittest_py3.13:
allow_failure: true
tags: [cached-dind]
stage: test
image: python:3.13-rc
script:
# TODO: Replace by '*python_test_script' as soon as 3.13 has been officially released.
- apt update && apt install -y cargo
# install dependencies
- pip install pytest pytest-cov
# TODO: Use f-branch logic here
- pip install git+https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git@dev
- pip install git+https://gitlab.indiscale.com/caosdb/src/caosdb-advanced-user-tools.git@dev
- pip install .[h5-crawler]
# actual test
- caosdb-crawler --help
- pytest --cov=caosdb -vv ./unittests
inttest:
tags: [docker]
......
......@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ###
* Support for Python 3.12 and experimental support for 3.13
### Changed ###
### Deprecated ###
......
[tox]
envlist = py38, py39, py310, py311
envlist = py38, py39, py310, py311, py312, py313
skip_missing_interpreters = true
[testenv]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment