Skip to content

Commit

Permalink
Add support for Python
Browse files Browse the repository at this point in the history
versions 3.10, 3.11, 3.12
  • Loading branch information
gregorjerse committed Jun 19, 2024
1 parent f0a0204 commit 35816c6
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 7 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
tox-env: [py36, py37, py38, py39, py310, py311, linters, packaging]
tox-env: [py36, py37, py38, py39, py310, py311, py312, linters, packaging]
include:
- tox-env: py36
python-version: 3.6
Expand All @@ -35,6 +35,8 @@ jobs:
python-version: "3.10"
- tox-env: py311
python-version: "3.11"
- tox-env: py312
python-version: "3.12"
- tox-env: linters
python-version: "3.8"
- tox-env: packaging
Expand All @@ -54,16 +56,16 @@ jobs:
tox -e ${{ matrix.tox-env }}
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: test
if: "startsWith(github.ref, 'refs/tags')"

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.11"
python-version: "3.12"
- name: Install build
run: python -m pip install --user build
- name: Build a binary wheel and a source tarball
Expand Down
11 changes: 11 additions & 0 deletions docs/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ file.
This project adheres to `Semantic Versioning <http://semver.org/>`_.


==================
3.3.0 - 2024-06-18
==================

Added
-----
- Add support for Python 3.10
- Add support for Python 3.11
- Add support for Python 3.12


==================
3.2.0 - 2023-10-24
==================
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
keywords='resolwe runtime utilities library',
py_modules=['resolwe_runtime_utils'],
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist = py{36,37,38,39},docs,linters,packaging
envlist = py3{6,7,8,9,10,11,12},docs,linters,packaging
skip_missing_interpreters = True
minversion = 3.5.0
minversion = 3.5.0
isolated_build = true

# Configure special Tox environment used for isolated building of the source
Expand All @@ -20,6 +20,7 @@ basepython =
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
docs,linters,packaging: python3.8

extras =
Expand All @@ -36,7 +37,7 @@ commands_pre =
commands =
# General tests commands:
# Run tests.
py{36,37,38,39,310,311}: pytest --verbose --cov=resolwe_runtime_utils
py3{6,7,8,9,10,11,12}: pytest --verbose --cov=resolwe_runtime_utils

# Docs commands:
# Build documentation.
Expand Down

0 comments on commit 35816c6

Please sign in to comment.