From 5fe7efc0d779fc28553fe0a01861cbe4b31535a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Fri, 1 Aug 2025 14:14:10 +0200 Subject: [PATCH 1/2] TST: add explicit support for CPython 3.12 and 3.13 --- .github/workflows/ci.yml | 2 ++ README.rst | 4 ++-- docs/source/index.rst | 2 +- pyproject.toml | 2 ++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8782d0a..b6310225 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,8 @@ jobs: python-version: - "3.10" - "3.11" + - "3.12" + - "3.13" group: [1, 2, 3] steps: diff --git a/README.rst b/README.rst index 2f9fd5fb..30068180 100644 --- a/README.rst +++ b/README.rst @@ -6,7 +6,7 @@ VIP - Vortex Image Processing package .. |VIP| image:: https://badge.fury.io/py/vip-hci.svg :target: https://pypi.python.org/pypi/vip-hci -.. |Versions| image:: https://img.shields.io/badge/Python-3.7%2C%203.8%2C%203.9%2C%203.10%2C%203.11-brightgreen.svg +.. |Versions| image:: https://img.shields.io/badge/Python-3.10%2C%203.11%2C%203.12%2C%203.13-brightgreen.svg :target: https://pypi.python.org/pypi/vip-hci .. |License| image:: https://img.shields.io/badge/license-MIT-blue.svg?style=flat @@ -49,7 +49,7 @@ Introduction ------------ VIP is a python package for high-contrast imaging of exoplanets and circumstellar disks. -VIP is compatible with Python 3.10 and 3.11 (Python 2 compatibility dropped with VIP 0.9.9, and Python 3.7 compatibility dropped with VIP 1.4.3). +VIP is compatible with Python 3.10 to 3.13 (Python 2 compatibility dropped with VIP 0.9.9, and Python 3.7 compatibility dropped with VIP 1.4.3). The goal of VIP is to integrate open-source, efficient, easy-to-use and well-documented implementations of high-contrast image processing algorithms to diff --git a/docs/source/index.rst b/docs/source/index.rst index e0654d03..2a718c9c 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -11,7 +11,7 @@ What is VIP? ------------ ``VIP`` stands for Vortex Image Processing. It is a python package for high-contrast imaging of exoplanets and circumstellar disks. -VIP is compatible with Python 3.10 and 3.11 (Python 2 compatibility dropped with VIP 0.9.9, and Python 3.7 compatibility dropped with VIP 1.4.3). +VIP is compatible with Python 3.10 to 3.13 (Python 2 compatibility dropped with VIP 0.9.9, and Python 3.7 compatibility dropped with VIP 1.4.3). The goal of VIP is to integrate open-source, efficient, easy-to-use and well-documented implementations of high-contrast image processing algorithms to diff --git a/pyproject.toml b/pyproject.toml index bd59bbd9..4ffc5dd2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,8 @@ classifiers = [ "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering :: Astronomy", ] urls.Homepage = "https://github.com/vortex-exoplanet/VIP" From fcf5a769ed0b2ad4f36a0507a934d45bda8bb851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Fri, 15 Aug 2025 23:29:00 +0200 Subject: [PATCH 2/2] TST: enable low-overhead coverage measurement on Python 3.12 and newer --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6310225..d970a930 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,10 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +env: + # drastically reduce overhead from coverage measurement (on Python 3.12+) + COVERAGE_CORE: sysmon + jobs: no_object_checks: