Skip to content

Commit

Permalink
Drop support for Python 3.6 (dask#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
lesteve authored Feb 24, 2022
1 parent 4980e74 commit 3a9fc2d
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ci/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
- defaults
dependencies:
- python=3.6
- python=3.7
- dask
- distributed
- flake8
Expand Down
1 change: 1 addition & 0 deletions ci/htcondor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ function jobqueue_before_install {
# start htcondor cluster
cd ./ci/htcondor
docker-compose pull
docker-compose build
./start-htcondor.sh
cd -

Expand Down
1 change: 1 addition & 0 deletions ci/pbs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ function jobqueue_before_install {
# start pbs cluster
cd ./ci/pbs
docker-compose pull
docker-compose build
./start-pbs.sh
cd -

Expand Down
2 changes: 1 addition & 1 deletion ci/pbs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN curl -o miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-L
bash miniconda.sh -f -b -p /opt/anaconda && \
/opt/anaconda/bin/conda clean -tipy && \
rm -f miniconda.sh
RUN conda install --yes -c conda-forge python=3.6 dask distributed flake8 pytest pytest-asyncio
RUN conda install --yes -c conda-forge python=3.7 dask distributed flake8 pytest pytest-asyncio

# Copy entrypoint and other needed scripts
COPY ./*.sh /
Expand Down
1 change: 1 addition & 0 deletions ci/sge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ function jobqueue_before_install {
# start sge cluster
cd ./ci/sge
docker-compose pull
docker-compose build
./start-sge.sh
cd -

Expand Down
6 changes: 3 additions & 3 deletions ci/sge/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
context: .
target: master
args:
PYTHON_VERSION: 3.6
PYTHON_VERSION: 3.7
container_name: sge_master
hostname: sge_master
#network_mode: host
Expand All @@ -22,7 +22,7 @@ services:
context: .
target: slave
args:
PYTHON_VERSION: 3.6
PYTHON_VERSION: 3.7
container_name: slave_one
hostname: slave_one
#network_mode: host
Expand All @@ -40,7 +40,7 @@ services:
context: .
target: slave
args:
PYTHON_VERSION: 3.6
PYTHON_VERSION: 3.7
container_name: slave_two
hostname: slave_two
#network_mode: host
Expand Down
1 change: 1 addition & 0 deletions ci/slurm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ function jobqueue_before_install {
# start slurm cluster
cd ./ci/slurm
docker-compose pull
docker-compose build
./start-slurm.sh
cd -

Expand Down
2 changes: 1 addition & 1 deletion ci/slurm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN curl -o miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-L
/opt/anaconda/bin/conda clean -tipy && \
rm -f miniconda.sh
ENV PATH /opt/anaconda/bin:$PATH
RUN conda install --yes -c conda-forge python=3.6 dask distributed flake8 pytest pytest-asyncio
RUN conda install --yes -c conda-forge python=3.7 dask distributed flake8 pytest pytest-asyncio

ENV LC_ALL en_US.UTF-8

Expand Down
2 changes: 1 addition & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: dask-jobqueue-docs
channels:
- conda-forge
dependencies:
- python=3.6
- python=3.7
- distributed
- numpydoc
- ipython
Expand Down
2 changes: 2 additions & 0 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Changelog
Development version
-------------------

- Drop support for Python 3.6 (:pr:`279`)

0.7.3 / 2021-07-22
------------------

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
cmdclass=versioneer.get_cmdclass(),
description="Deploy Dask on job queuing systems like PBS, Slurm, SGE or LSF",
url="https://jobqueue.dask.org",
python_requires=">=3.6",
python_requires=">=3.7",
license="BSD 3-Clause",
packages=["dask_jobqueue"],
include_package_data=True,
Expand Down

0 comments on commit 3a9fc2d

Please sign in to comment.