Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Bump Python max version #108

Merged
merged 1 commit into from
May 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ aliases:
only:
- master
requires:
- test
- test-py-min
- test-py-max

jobs:
test:
test-py-min: &test-template
docker:
- image: cimg/python:3.7.12-node
resource_class: medium
Expand Down Expand Up @@ -42,13 +43,20 @@ jobs:
poetry run pytest -s --junitxml=test-results/junit.xml -vv $TESTFILES
- store_test_results:
path: test-results

test-py-max:
<<: *test-template
docker:
- image: cimg/python:3.9-node

package_build_and_publish:
docker:
- image: cimg/python:3.7.12
resource_class: medium
steps:
- checkout
- run: ./scripts/package_build_and_publish.sh

image_build_and_push:
docker:
- image: cimg/base:2021.04
Expand Down Expand Up @@ -79,7 +87,8 @@ workflows:
version: 2
test_and_publish:
jobs:
- test
- test-py-min
- test-py-max
- package_build_and_publish:
<<: *on_master_after_test
- image_build_and_push:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pip install starknet-devnet

### Requirements

Works with Python versions >=3.7.2 and <=3.9.10.
Works with Python versions >=3.7.2 and <3.10.

On Ubuntu/Debian, first run:

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ homepage = "https://github.com/Shard-Labs/starknet-devnet"
keywords = ["starknet", "cairo", "testnet", "local", "server"]

[tool.poetry.dependencies]
python = "^3.7.2"
python = ">=3.7.2,<3.10"
Flask = {extras = ["async"], version = "~2.0.3"}
flask-cors = "~3.0.10"
cairo-lang = "0.8.2.1"
Expand Down