Skip to content

Commit

Permalink
Python: Remove 3.8 and 3.9 Support, Bump Runner Dependencies to Stabi…
Browse files Browse the repository at this point in the history
…lize Build (#550)

* Bump Circle runner image.

* Remove CODEOWNERS.

* Install setuptools explicitly.

* Set min Python version to 3.10.

* Bump sphinx version for 3.10 compatibility.
  • Loading branch information
gmalouf authored Dec 19, 2024
1 parent ad1e0bf commit b2188e0
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -33,14 +33,14 @@ 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
docset:
docker:
# NOTE: We might eventually need Docker authentication here.
- image: cimg/python:3.8
- image: cimg/python:3.10
steps:
- checkout
- run:
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version: 2
build:
os: ubuntu-20.04
tools:
python: "3.8"
python: "3.10"

sphinx:
configuration: docs/conf.py
Expand Down
2 changes: 0 additions & 2 deletions CODEOWNERS

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}" .

Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sphinx==4.2.0
sphinx==5.3.0
sphinx-rtd-theme==1.0.0
m2r2
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"algosdk.*",
)
),
python_requires=">=3.8",
python_requires=">=3.10",
package_data={"": ["*.pyi", "py.typed"]},
include_package_data=True,
)

0 comments on commit b2188e0

Please sign in to comment.