From c5ede78a1667a14bf8891307e9225a8e3e1c1309 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Thu, 5 Oct 2023 10:12:54 -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 24ffea0..002d26b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,6 +23,7 @@ long_description = file: README.rst keywords = colcon [options] +python_requires = >=3.6 install_requires = colcon-core>=0.5.2 packages = find: diff --git a/stdeb.cfg b/stdeb.cfg index a3e5b35..23e63eb 100644 --- a/stdeb.cfg +++ b/stdeb.cfg @@ -1,5 +1,5 @@ [colcon-ed] No-Python2: Depends3: python3-colcon-core (>= 0.5.2) -Suite: bionic focal jammy stretch buster bullseye -X-Python3-Version: >= 3.5 +Suite: focal jammy bullseye bookworm +X-Python3-Version: >= 3.6