Skip to content

Commit

Permalink
Drop python 37 (#335)
Browse files Browse the repository at this point in the history
* Release 2022.1.0

* Drop Python 3.7 support

* Ping azure-cli-core
  • Loading branch information
jacobtomlinson committed Mar 15, 2022
1 parent d888714 commit 51e06a6
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: true
matrix:
os: ["ubuntu-latest"]
python-version: ["3.7", "3.8"]
python-version: ["3.8", "3.9", "3.10"]

steps:
- name: Checkout source
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
python-version: "3.7"
python-version: "3.8"

- name: Run import tests
shell: bash -l {0}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
- name: Checkout source
uses: actions/checkout@v2

- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.8

- name: Install pypa/build
run: python -m pip install build wheel
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sphinx:
formats: all

python:
version: 3.7
version: "3.8"
install:
- method: pip
path: .
Expand Down
38 changes: 38 additions & 0 deletions ci/environment-3.10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: dask-cloudprovider-test
channels:
- defaults
- conda-forge
dependencies:
- python=3.10
- nomkl
- pip
# Dask
- dask
# testing / CI
- flake8
- ipywidgets
- pytest
- pytest-asyncio
- black >=20.8b1
- pyyaml
# dask dependencies
- cloudpickle
- toolz
- cytoolz
- numpy
- partd
# distributed dependencies
- click >=6.6
- msgpack-python
- psutil >=5.0
- six
- sortedcontainers !=2.0.0,!=2.0.1
- tblib
- tornado >=5
- zict >=0.1.3
# `event_loop_policy` change See https://github.com/dask/distributed/pull/4212
- pytest-asyncio >=0.14.0
- pytest-timeout
- pip:
- git+https://github.com/dask/dask.git@main
- git+https://github.com/dask/distributed@main
4 changes: 3 additions & 1 deletion ci/environment-3.7.yml → ci/environment-3.9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ channels:
- defaults
- conda-forge
dependencies:
- python=3.7
- python=3.9
- nomkl
- pip
# Dask
- dask
# testing / CI
- flake8
- ipywidgets
Expand Down
4 changes: 2 additions & 2 deletions ci/scripts/test_imports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ set -o errexit


test_import () {
echo "Create environment: python=3.7 $1"
echo "Create environment: python=3.8 $1"
# Create an empty environment
conda create -q -y -n test-imports -c conda-forge python=3.7
conda create -q -y -n test-imports -c conda-forge python=3.8
conda activate test-imports
pip install -e .[$1]
echo "python -c '$2'"
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"azure": [
"azure-mgmt-compute>=18.0.0,<19",
"azure-mgmt-network>=16.0.0,<17",
"azure-cli-core>=2.15.1,<3",
"azure-cli-core>=2.15.1,<2.21.0",
"msrestazure",
"azure-identity",
],
Expand Down Expand Up @@ -39,5 +39,5 @@
[console_scripts]
dask-ecs=dask_cloudprovider.cli.ecs:go
""",
python_requires=">=3.7",
python_requires=">=3.8",
)

0 comments on commit 51e06a6

Please sign in to comment.