From 2b45b346f0fd4555cd03837d5d8f37da81978af4 Mon Sep 17 00:00:00 2001 From: Scott Kruyswyk Date: Thu, 29 Jan 2026 15:48:17 -0700 Subject: [PATCH] Drop 3.9 support --- .circleci/config.yml | 3 +-- DEV_SETUP.md | 2 +- compute_modules/logging/common.py | 1 + pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ab5b420..10164cb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -67,7 +67,7 @@ workflows: name: python-<< matrix.python_version>> matrix: parameters: - python_version: ["3.9", "3.10", "3.11", "3.12"] + python_version: ["3.10", "3.11", "3.12"] - mypy: <<: *always-run - check_format: @@ -77,7 +77,6 @@ workflows: - circle-all: <<: *always-run requires: - - python-3.9 - python-3.10 - python-3.11 - python-3.12 diff --git a/DEV_SETUP.md b/DEV_SETUP.md index 6ae6f2e..3ebbf00 100644 --- a/DEV_SETUP.md +++ b/DEV_SETUP.md @@ -4,7 +4,7 @@ ## Requirements -* python >= 3.9 +* python >= 3.10 * [poetry](https://python-poetry.org/docs/) ## Commands diff --git a/compute_modules/logging/common.py b/compute_modules/logging/common.py index b1edadd..9494521 100644 --- a/compute_modules/logging/common.py +++ b/compute_modules/logging/common.py @@ -114,6 +114,7 @@ def __init__( logger_name: str, ) -> None: # Need to pass empty dict as `extra` param for 3.9 support + # TODO: update since 3.9 is no longer supported super().__init__(_create_logger(logger_name), dict()) def process(self, msg: Any, kwargs: MutableMapping[str, Any]) -> Tuple[Any, MutableMapping[str, Any]]: diff --git a/pyproject.toml b/pyproject.toml index 6bf418d..bb32aa7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ keywords = ["Palantir", "Foundry", "Compute Modules"] packages = [{ include = "compute_modules" }] [tool.poetry.dependencies] -python = "^3.9" +python = "^3.10" requests = "^2.32.3" external-systems = {version = "^0.108.0", extras = ["sources"]} pyyaml = { version = "^6.0.1", optional = true }