Skip to content

Commit

Permalink
Revert "Bump up minimum Python version to 3.10 (#313)" (#315)
Browse files Browse the repository at this point in the history
This reverts commit 006b3a0.
  • Loading branch information
michaeldiamant authored Apr 21, 2022
1 parent 006b3a0 commit ee24b9e
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 38 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ workflows:
jobs:
unit-test:
docker:
- image: python:3.10
- image: python:3.7.9
steps:
- checkout
- run: pip install -r requirements.txt
Expand All @@ -26,7 +26,7 @@ jobs:
docset:
docker:
# NOTE: We might eventually need Docker authentication here.
- image: cimg/python:3.10
- image: cimg/python:3.9
steps:
- checkout
- run:
Expand Down
29 changes: 0 additions & 29 deletions .readthedocs.yaml

This file was deleted.

10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
dist: bionic
language: python
python:
- "3.7"
script:
- black --check .
- set -e
- if [ -n "$DOCKER_PASSWORD" ]; then echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin ; fi
- python3 test_unit.py
- make docker-test
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10
FROM python:3.7.9

# Copy SDK code into the container
RUN mkdir -p $HOME/py-algorand-sdk
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ Run `$ pip3 install py-algorand-sdk` to install the package.

Alternatively, choose a [distribution file](https://pypi.org/project/py-algorand-sdk/#files), and run `$ pip3 install [file name]`.

The py-algorand-sdk requires Python `3.10` to be installed. Please upgrade your Python version or consider using tools to manage multiple Python versions like [pyenv](https://github.com/pyenv/pyenv).

## SDK Development

Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# -- Project information -----------------------------------------------------

project = "algosdk"
copyright = "2022 Algorand"
copyright = "2020 Algorand"
author = "Algorand"


Expand Down
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sphinx==4.2.0
sphinx-rtd-theme==1.0.0
sphinx==4.0.1
sphinx-rtd-theme
m2r2
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"msgpack>=1.0.0,<2",
],
packages=setuptools.find_packages(),
python_requires=">=3.10",
python_requires=">=3.5",
package_data={"": ["data/langspec.json"]},
include_package_data=True,
)

0 comments on commit ee24b9e

Please sign in to comment.