From 0782e8370d591d45765e321ad7998daf5164e230 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Thu, 5 Oct 2023 10:53:04 -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 1be4797..f927160 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 packages = find: diff --git a/stdeb.cfg b/stdeb.cfg index 63feb15..cbd3626 100644 --- a/stdeb.cfg +++ b/stdeb.cfg @@ -1,5 +1,5 @@ [colcon-library-path] No-Python2: Depends3: python3-colcon-core -Suite: bionic focal jammy stretch buster bullseye -X-Python3-Version: >= 3.5 +Suite: focal jammy bullseye bookworm +X-Python3-Version: >= 3.6