From 2082ff5802d17999e01a25b2ee16bb873d7ff92e Mon Sep 17 00:00:00 2001 From: Stefan Wojcik Date: Tue, 14 Jan 2025 12:48:06 +0100 Subject: [PATCH 1/3] Drop old Python versions that we no longer use. --- .circleci/config.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 87fc76bd5..6aff05389 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,8 +4,6 @@ workflows: version: 2 workflow: jobs: - - test-3.8 - - test-3.9 - test-3.10 defaults: &defaults @@ -20,16 +18,6 @@ defaults: &defaults command: pytest tests/ jobs: - test-3.8: - <<: *defaults - docker: - - image: circleci/python:3.8 - - image: mongo:3.2.19 - test-3.9: - <<: *defaults - docker: - - image: circleci/python:3.9 - - image: mongo:3.2.19 test-3.10: <<: *defaults docker: From 975b6b78de459a38c6c118bbca6f5207294ebd01 Mon Sep 17 00:00:00 2001 From: Stefan Wojcik Date: Tue, 14 Jan 2025 12:51:09 +0100 Subject: [PATCH 2/3] Add Python v3.11 to the test matrix. --- .circleci/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6aff05389..97cb8190d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,6 +5,7 @@ workflows: workflow: jobs: - test-3.10 + - test-3.11 defaults: &defaults working_directory: ~/code @@ -23,3 +24,8 @@ jobs: docker: - image: circleci/python:3.10 - image: mongo:3.2.19 + test-3.11: + <<: *defaults + docker: + - image: circleci/python:3.11 + - image: mongo:3.2.19 From 3a17802ffbc0340e10a21206371a475e05848413 Mon Sep 17 00:00:00 2001 From: Stefan Wojcik Date: Tue, 14 Jan 2025 12:53:12 +0100 Subject: [PATCH 3/3] Try `cimg/python:3.11` instead of `circleci/python:3.11`. The latter doesn't exist. Looking at https://circleci.com/developer/images, it seems that Python is now available via `cimg/` on Circle. The fact that `circleci/python:3.10` works is probably just backward compatibility. --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 97cb8190d..9bb57a69d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,5 +27,5 @@ jobs: test-3.11: <<: *defaults docker: - - image: circleci/python:3.11 + - image: cimg/python:3.11 - image: mongo:3.2.19