From 275baa6af0d153abe1c8ad3b3fcfa2d03705813f Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Thu, 5 Oct 2023 11:05:25 -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 dcd26ab..516295c 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.3.7 notify2; sys_platform == 'linux' diff --git a/stdeb.cfg b/stdeb.cfg index 71e6380..34a75d3 100644 --- a/stdeb.cfg +++ b/stdeb.cfg @@ -2,6 +2,6 @@ No-Python2: Build-Depends: python3-setuptools (>= 53.1.0) Depends3: python3-colcon-core (>= 0.3.7), python3-notify2 -Suite: bionic focal jammy stretch buster bullseye -X-Python3-Version: >= 3.5 +Suite: focal jammy bullseye bookworm +X-Python3-Version: >= 3.6 Setup-Env-Vars: BUILD_DEBIAN_PACKAGE=1