Skip to content

Commit

Permalink
Added Python 3.13 CI test target to templates (#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz authored Oct 13, 2024
1 parent d0d7da1 commit 877aaeb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions data/rpm_templates/opensearch-py.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Vendor: Honza Král <honza.kral@gmail.com>
Url: https://github.com/open/opensearch-py
BuildRequires: python3-setuptools, python3-devel

%{{?python_disable_dependency_generator}}

%description
Python client for OpenSearch.

Expand Down
2 changes: 1 addition & 1 deletion data/rpm_templates/pyzmq.spec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ BuildRequires: gcc, gcc-c++, python3-devel, python3-packaging, python3-scikit-bu

%{{?python_disable_dependency_generator}}

%global debug_package %{nil}
%global debug_package %{{nil}}

%description
PyZMQ is the official Python binding for the ZeroMQ
Expand Down
2 changes: 2 additions & 0 deletions data/templates/github_actions/test_tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
toxenv: 'py311,wheel'
- python-version: '3.12'
toxenv: 'py312,wheel'
- python-version: '3.13'
toxenv: 'py313,wheel'
container:
image: ubuntu:22.04
steps:
Expand Down
2 changes: 1 addition & 1 deletion data/templates/tox.ini/header
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ deps =
setuptools >= 65
wheel
commands =
py3{8,9,10,11,12}: ./run_tests.py
py3{8,9,10,11,12,13}: ./run_tests.py
coverage: coverage erase
coverage: coverage run --source=${python_module_name} --omit="*_test*,*__init__*,*test_lib*" run_tests.py
coverage: coverage xml
Expand Down
2 changes: 1 addition & 1 deletion l2tdevtools/dependency_writers/tox_ini.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def Write(self):
if os.path.isdir('tools'):
paths_to_lint_python.append('tools')

envlist = ['py3{8,9,10,11,12}', 'coverage', 'docformatter']
envlist = ['py3{8,9,10,11,12,13}', 'coverage', 'docformatter']
if os.path.isdir('docs'):
envlist.append('docs')

Expand Down

0 comments on commit 877aaeb

Please sign in to comment.