From dd1e5548d6a1ced4bfafb826f639d9a059abc2ad Mon Sep 17 00:00:00 2001 From: Gary Malouf <982483+gmalouf@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:21:34 -0500 Subject: [PATCH 1/5] Bump Circle runner image. --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e8b39724..c8105e29 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,7 +33,7 @@ jobs: python-version: type: string machine: - image: "ubuntu-2204:2022.04.2" + image: "ubuntu-2004:2023.04.2" steps: - checkout - run: PYTHON_VERSION=<< parameters.python-version >> make docker-test From f060c930cfa2764411c4237aa099b64dfaf28b5f Mon Sep 17 00:00:00 2001 From: Gary Malouf <982483+gmalouf@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:22:42 -0500 Subject: [PATCH 2/5] Remove CODEOWNERS. --- CODEOWNERS | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 CODEOWNERS diff --git a/CODEOWNERS b/CODEOWNERS deleted file mode 100644 index 3c88c6e7..00000000 --- a/CODEOWNERS +++ /dev/null @@ -1,2 +0,0 @@ -.github/ @algorand/devops -.circleci/ @algorand/devops From edb145c13cddfbc88192106c07852faaf9ae86fc Mon Sep 17 00:00:00 2001 From: Gary Malouf <982483+gmalouf@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:56:51 -0500 Subject: [PATCH 3/5] Install setuptools explicitly. --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 803ff6a0..a45e6cbf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,3 +5,4 @@ pytest==6.2.5 mypy==1.0 msgpack-types==0.2.0 git+https://github.com/behave/behave +setuptools==75.6.0 From 999f5e837c9eadd86f311d8e53beb8a0a609cf78 Mon Sep 17 00:00:00 2001 From: Gary Malouf <982483+gmalouf@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:40:09 -0500 Subject: [PATCH 4/5] Set min Python version to 3.10. --- .circleci/config.yml | 6 +++--- .readthedocs.yaml | 2 +- Makefile | 2 +- setup.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c8105e29..761a5225 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,11 +9,11 @@ workflows: - unit-test: matrix: parameters: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] - integration-test: matrix: parameters: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] - docset jobs: @@ -40,7 +40,7 @@ jobs: docset: docker: # NOTE: We might eventually need Docker authentication here. - - image: cimg/python:3.8 + - image: cimg/python:3.10 steps: - checkout - run: diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 2803cb2e..3413637f 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -5,7 +5,7 @@ version: 2 build: os: ubuntu-20.04 tools: - python: "3.8" + python: "3.10" sphinx: configuration: docs/conf.py diff --git a/Makefile b/Makefile index 2080fd77..3a49de31 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ harness: harness-down: ./test-harness.sh down -PYTHON_VERSION ?= 3.8 +PYTHON_VERSION ?= 3.10 docker-pysdk-build: docker build -t py-sdk-testing --build-arg PYTHON_VERSION="${PYTHON_VERSION}" . diff --git a/setup.py b/setup.py index a30301cf..656031cb 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ "algosdk.*", ) ), - python_requires=">=3.8", + python_requires=">=3.10", package_data={"": ["*.pyi", "py.typed"]}, include_package_data=True, ) From 943b8299c10552a11604637881349c1eff13db2d Mon Sep 17 00:00:00 2001 From: Gary Malouf <982483+gmalouf@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:44:54 -0500 Subject: [PATCH 5/5] Bump sphinx version for 3.10 compatibility. --- docs/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 88b9acb6..d9795bde 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,3 @@ -sphinx==4.2.0 +sphinx==5.3.0 sphinx-rtd-theme==1.0.0 m2r2