Skip to content

Commit 587b6be

Browse files
committed
Add support for CMake 4.2 and Pytest 9.
1 parent f01f87a commit 587b6be

6 files changed

Lines changed: 14 additions & 8 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
pytest: [ "7", "8" ]
20-
cmake: [ "3.20", "4.1" ]
19+
pytest: [ "8", "9" ]
20+
cmake: [ "3.20", "4.2" ]
2121
os: [ "ubuntu", "macos", "windows" ]
22-
python: [ "3.8", "3.12", "3.13" ]
22+
python: [ "3.10", "3.14" ]
2323
bundled: [ false, true ]
2424

2525
name: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Pytest CMake
22

33
[![PyPi version](https://img.shields.io/pypi/v/pytest-cmake.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.python.org/pypi/pytest-cmake)
4-
[![CMake](https://img.shields.io/badge/CMake-3.20...4.1-blue.svg?logo=CMake&logoColor=blue)](https://cmake.org)
4+
[![CMake](https://img.shields.io/badge/CMake-3.20...4.2-blue.svg?logo=CMake&logoColor=blue)](https://cmake.org)
55
[![Test](https://github.com/python-cmake/pytest-cmake/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/python-cmake/pytest-cmake/actions/workflows/test.yml)
66
[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
77

cmake/FindPytest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# prepend a custom search path.
1818
# (https://cmake.org/cmake/help/latest/policy/CMP0074.html)
1919

20-
cmake_minimum_required(VERSION 3.20...4.1)
20+
cmake_minimum_required(VERSION 3.20...4.2)
2121

2222
include(FindPackageHandleStandardArgs)
2323

cmake/PytestAddTests.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Wrapper used to create individual CTest tests from Pytest tests.
2-
cmake_minimum_required(VERSION 3.20...4.1)
2+
cmake_minimum_required(VERSION 3.20...4.2)
33

44
if(CMAKE_SCRIPT_MODE_FILE)
55

doc/release/release_notes.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
Release Notes
55
*************
66

7+
.. release:: Upcoming
8+
9+
.. change:: new
10+
11+
Added compatibility with CMake 4.2 and Pytest v9.
12+
713
.. release:: 1.1.0
814
:date: 2025-08-14
915

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
requires = [
33
"hatchling >= 1.4",
4-
"cmake >= 3.20, < 4.2"
4+
"cmake >= 3.20, < 4.3"
55
]
66
build-backend = "hatchling.build"
77

@@ -17,7 +17,7 @@ authors = [
1717
{name = "Jeremy Retailleau", email = "jeremy.retailleau@gmail.com" }
1818
]
1919
dependencies = [
20-
"pytest >= 4, < 9",
20+
"pytest >= 4, < 10",
2121
]
2222
classifiers = [
2323
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)