Skip to content

Commit c862ed5

Browse files
ardilaUbuntu
andauthored
Make dependencies work for python 3.6 (#196)
Co-authored-by: Ubuntu <diego.ardila@scale.com>
1 parent 117ab14 commit c862ed5

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.circleci/config.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ orbs:
77
jobs:
88
build_test:
99
docker:
10-
- image: python:3.7-buster
10+
# Important: Don't change this otherwise we will stop testing the earliest
11+
# python version we have to support.
12+
- image: python:3.6-buster
1113
resource_class: small
1214
parallelism: 6
1315
steps:
@@ -23,7 +25,7 @@ jobs:
2325
- run:
2426
name: Black Formatting Check # Only validation, without re-formatting
2527
command: |
26-
poetry run black --check -t py37 .
28+
poetry run black --check -t py36 .
2729
- run:
2830
name: Flake8 Lint Check # Uses setup.cfg for configuration
2931
command: |

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ nest-asyncio = "^1.5.1"
4141
Sphinx = "^4.2.0"
4242
pydantic = "^1.8.2"
4343
isort = "^5.10.1"
44+
numpy = "^1.19.5"
45+
scipy = "^1.5.4"
46+
Shapely = "^1.8.0"
4447

4548
[tool.poetry.dev-dependencies]
4649
poetry = "^1.1.5"
@@ -58,9 +61,7 @@ sphinx-autobuild = "^2021.3.14"
5861
furo = "^2021.10.9"
5962
sphinx-autoapi = "^1.8.4"
6063
pytest-xdist = "^2.5.0"
61-
Shapely = { version = "^1.8.0", python = ">=3.7,<3.11" }
62-
scipy = { version = "^1.7.3", python = ">=3.7,<3.11" }
63-
numpy = { version = "^1.21.5", python = ">=3.7,<3.11" }
64+
6465

6566
[tool.pytest.ini_options]
6667
markers = [

0 commit comments

Comments
 (0)