From 32078f03d053c5a7b78474f9f33f847af91011c8 Mon Sep 17 00:00:00 2001 From: Pierre Raybaut <1311787+PierreRaybaut@users.noreply.github.com> Date: Fri, 23 Oct 2026 13:46:43 +0200 Subject: [PATCH] chore: require Python 3.10 or newer Refs DataLab-Platform/datalab-tango#1 Assisted-by: GPT-6.1 Sol --- CHANGELOG.md | 2 ++ README.md | 2 ++ pyproject.toml | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14989f7..e5e91f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. ## Unreleased +Python 3.10 or later is required. + First version of the TANGO Instruments example plugin: a demonstration of DataLab with TANGO-controlled instruments, not a finished or supported feature. - **TANGO instrument** tool: live view of a device attribute (spectrum as a signal, image as an image) in DataLab's instrument window, with calibrated axes and units, and acquisition into a new workspace group. diff --git a/README.md b/README.md index ca36c1e..8f95e65 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ A [DataLab](https://datalab-platform.com/) plugin to observe [TANGO](https://www ## What it does +The plugin requires Python 3.10 or later; the standalone DataLab application supplies its own interpreter. + - **TANGO instrument...** opens a DataLab instrument window: a live view of the selected attribute, refreshed in **Live** mode, and its settings. - A spectrum (`SPECTRUM` attribute) becomes a signal, an image (`IMAGE` attribute) an image, with the units and axis calibrations of the device profile. Integer counts are kept exactly. - **Acquire** copies values into a new group of the workspace, in one of three modes: the last received value, the value measured after running the trigger command of the profile, or the next received values (a series fails, instead of silently missing values, if some were lost). diff --git a/pyproject.toml b/pyproject.toml index b47a6fa..f4f4f5d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ description = "Example DataLab plugin: observe and acquire TANGO device attribut readme = "README.md" license = "BSD-3-Clause" license-files = ["LICENSE"] -requires-python = ">=3.9" +requires-python = ">=3.10" dependencies = ["datalab-platform >= 1.4, < 2", "pytango >= 9.5"] keywords = ["datalab", "datalab-plugin", "example", "tango", "acquisition", "instrument"] classifiers = ["Development Status :: 2 - Pre-Alpha"] @@ -35,7 +35,7 @@ pythonpath = ["src", "tests"] [tool.ruff] line-length = 88 -target-version = "py39" +target-version = "py310" [tool.ruff.lint] select = ["E", "F", "I"]