From ea1b691297b53e7290f37b3b13647bc74ebe4250 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Wed, 4 Oct 2023 10:57:26 -0500 Subject: [PATCH] Update target platforms for debs, python requirement * Bionic is in ESM and does not package importlib-metadata * Buster does not package importlib-metadata * Stretch has Python 3.5 and hasn't been support for a long time now * Bookworm is the current "stable" Debian * Upstream packages require Python 3.6, so this one should too --- publish-python.yaml | 4 +--- setup.cfg | 1 + stdeb.cfg | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/publish-python.yaml b/publish-python.yaml index 4b25540..3a0a1f1 100644 --- a/publish-python.yaml +++ b/publish-python.yaml @@ -8,9 +8,7 @@ artifacts: config: repository: dirk-thomas/colcon distributions: - - ubuntu:bionic - ubuntu:focal - ubuntu:jammy - - debian:stretch - - debian:buster - debian:bullseye + - debian:bookworm diff --git a/setup.cfg b/setup.cfg index 517c592..60a547a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -25,6 +25,7 @@ long_description = file: README.rst keywords = colcon [options] +python_requires = >=3.6 install_requires = colcon-core>=0.5.6 # to set an environment variable when a package installs a library diff --git a/stdeb.cfg b/stdeb.cfg index a65660e..7aa27bd 100644 --- a/stdeb.cfg +++ b/stdeb.cfg @@ -1,5 +1,5 @@ [colcon-cmake] No-Python2: Depends3: cmake, python3-colcon-core (>= 0.5.6), python3-colcon-library-path, python3-colcon-test-result (>= 0.3.3), python3-packaging -Suite: bionic focal jammy stretch buster bullseye -X-Python3-Version: >= 3.5 +Suite: focal jammy bullseye bookworm +X-Python3-Version: >= 3.6