Skip to content

Drop support for Python 3.6 - #545

Merged
lesteve merged 6 commits into
dask:mainfrom
lesteve:drop-python3.6
Feb 24, 2022
Merged

lesteve merged 6 commits into
dask:mainfrom
lesteve:drop-python3.6

Conversation

@lesteve

@lesteve lesteve commented Feb 18, 2022 •

Copy link
Copy Markdown
Member

The docker builds have been failing for a few days, see e.g. https://github.com/dask/dask-jobqueue/runs/5240847715?check_suite_focus=true. For the record Dask has moved to 3.8 in the dev version: dask/dask#8572 so we are lagging a bit behind.

Fix #541.

I am pretty sure this error should go away with using 3.7.

For now, the condor build is still using 3.6 (this is the system python in the image). Probably we could install a conda env like in the other scheduler images.

@jacobtomlinson jacobtomlinson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just FYI we've just dropped Python 3.7 in dask/community#213. So it might be best to jump to 3.8/3.9/3.10 here.

@lesteve

lesteve commented Feb 18, 2022 •

Copy link
Copy Markdown
Member Author

Hmmm CI fails because it is using the Docker images and the Docker images still have Python 3.6. This setup is a bit fragile when we need to update something in the Docker images. I see two possible quick fixes:

  • merge this PR and wait for the daily scheduled build to update the Docker images
  • update the docker image by hand which should get this PR green

There is probably a better way to do it, it seems like using daskdev/dask Docker image for the conda environment may be something we want to look at.

@jacobtomlinson yep I saw afterwards that Dask had dropped 3.7 in the development version.

@lesteve

lesteve commented Feb 18, 2022 •

Copy link
Copy Markdown
Member Author

Hmmm there appears to be real test failures, maybe because we were using an old dask and distributed versions in our Docker image for quite a while (yep using 2021.3.0 in the last succesful docker build image https://github.com/dask/dask-jobqueue/runs/5192788586?check_suite_focus=true#step:4:430, which is probably the last version supporting python 3.6)

@lesteve

lesteve commented Feb 24, 2022

Copy link
Copy Markdown
Member Author

I am going to merge this one to at least get the docker images build and open an issue about the problems we have in the CI

Also I think it is better to do docker-compose pull + docker-compose build to take into account changes in the docker images in a PR.

@lesteve
lesteve merged commit 3a9fc2d into dask:main Feb 24, 2022
@lesteve
lesteve deleted the drop-python3.6 branch February 24, 2022 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Push python ci dependency to python=3.7

2 participants