From b6164bfd5afc0235b8a7a73d5b349dc903baf87c Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Thu, 5 Oct 2023 12:29:43 -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 | 6 +++--- 3 files changed, 5 insertions(+), 6 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 5aba4a8..3fae76a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,6 +24,7 @@ long_description = file: README.rst keywords = colcon [options] +python_requires = >=3.6 install_requires = colcon-core>=0.4.0 packages = find: diff --git a/stdeb.cfg b/stdeb.cfg index bf59a65..9f6fd51 100644 --- a/stdeb.cfg +++ b/stdeb.cfg @@ -1,5 +1,5 @@ [colcon-zsh] No-Python2: -Depends3: python3-colcon-core (>= 0.3.18) -Suite: bionic focal jammy stretch buster bullseye -X-Python3-Version: >= 3.5 +Depends3: python3-colcon-core (>= 0.4.0) +Suite: focal jammy bullseye bookworm +X-Python3-Version: >= 3.6