Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
strategy:
fail-fast: false
matrix:
pytest: [ "7", "8" ]
cmake: [ "3.20", "4.1" ]
pytest: [ "8", "9" ]
cmake: [ "3.20", "4.2" ]
os: [ "ubuntu", "macos", "windows" ]
python: [ "3.8", "3.12", "3.13" ]
python: [ "3.10", "3.14" ]
bundled: [ false, true ]

name: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Pytest CMake

[![PyPi version](https://img.shields.io/pypi/v/pytest-cmake.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.python.org/pypi/pytest-cmake)
[![CMake](https://img.shields.io/badge/CMake-3.20...4.1-blue.svg?logo=CMake&logoColor=blue)](https://cmake.org)
[![CMake](https://img.shields.io/badge/CMake-3.20...4.2-blue.svg?logo=CMake&logoColor=blue)](https://cmake.org)
[![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)
[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Expand Down
2 changes: 1 addition & 1 deletion cmake/FindPytest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# prepend a custom search path.
# (https://cmake.org/cmake/help/latest/policy/CMP0074.html)

cmake_minimum_required(VERSION 3.20...4.1)
cmake_minimum_required(VERSION 3.20...4.2)

include(FindPackageHandleStandardArgs)

Expand Down
2 changes: 1 addition & 1 deletion cmake/PytestAddTests.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Wrapper used to create individual CTest tests from Pytest tests.
cmake_minimum_required(VERSION 3.20...4.1)
cmake_minimum_required(VERSION 3.20...4.2)

if(CMAKE_SCRIPT_MODE_FILE)

Expand Down
6 changes: 6 additions & 0 deletions doc/release/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
Release Notes
*************

.. release:: Upcoming

.. change:: new

Added compatibility with CMake 4.2 and Pytest v9.

.. release:: 1.1.0
:date: 2025-08-14

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"hatchling >= 1.4",
"cmake >= 3.20, < 4.2"
"cmake >= 3.20, < 4.3"
]
build-backend = "hatchling.build"

Expand All @@ -17,7 +17,7 @@ authors = [
{name = "Jeremy Retailleau", email = "jeremy.retailleau@gmail.com" }
]
dependencies = [
"pytest >= 4, < 9",
"pytest >= 4, < 10",
]
classifiers = [
"Intended Audience :: Developers",
Expand Down