Skip to content

Commit 877aaeb

Browse files
authored
Added Python 3.13 CI test target to templates (#1238)
1 parent d0d7da1 commit 877aaeb

5 files changed

Lines changed: 7 additions & 3 deletions

File tree

data/rpm_templates/opensearch-py.spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Vendor: Honza Král <honza.kral@gmail.com>
1818
Url: https://github.com/open/opensearch-py
1919
BuildRequires: python3-setuptools, python3-devel
2020

21+
%{{?python_disable_dependency_generator}}
22+
2123
%description
2224
Python client for OpenSearch.
2325

data/rpm_templates/pyzmq.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ BuildRequires: gcc, gcc-c++, python3-devel, python3-packaging, python3-scikit-bu
1515

1616
%{{?python_disable_dependency_generator}}
1717

18-
%global debug_package %{nil}
18+
%global debug_package %{{nil}}
1919

2020
%description
2121
PyZMQ is the official Python binding for the ZeroMQ

data/templates/github_actions/test_tox.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
toxenv: 'py311,wheel'
2525
- python-version: '3.12'
2626
toxenv: 'py312,wheel'
27+
- python-version: '3.13'
28+
toxenv: 'py313,wheel'
2729
container:
2830
image: ubuntu:22.04
2931
steps:

data/templates/tox.ini/header

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ deps =
1919
setuptools >= 65
2020
wheel
2121
commands =
22-
py3{8,9,10,11,12}: ./run_tests.py
22+
py3{8,9,10,11,12,13}: ./run_tests.py
2323
coverage: coverage erase
2424
coverage: coverage run --source=${python_module_name} --omit="*_test*,*__init__*,*test_lib*" run_tests.py
2525
coverage: coverage xml

l2tdevtools/dependency_writers/tox_ini.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def Write(self):
7373
if os.path.isdir('tools'):
7474
paths_to_lint_python.append('tools')
7575

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

0 commit comments

Comments
 (0)