Skip to content

Conversation

@nabenabe0928
Copy link
Contributor

Motivation

As we dropped Python 3.7, I updated the docker image recipes to Python 3.11.

Description of the changes

  • Replace Python 3.7 with Python 3.11
  • Update torch install command

@nabenabe0928
Copy link
Contributor Author

@not522 Could you review this PR?

@nabenabe0928 nabenabe0928 added the document Documentation related. label Oct 30, 2024
@@ -1,13 +1,11 @@
# NOTE(crcrpar): optuna/optuna:py3.7-dev can be used as base instead.
FROM python:3.7-slim-buster
FROM python:3.11-slim-buster
Copy link
Member

Choose a reason for hiding this comment

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

buster means that this image uses Debian 10. It has been EOL https://www.debian.org/releases/index.en.html, so I think a newer version is preferred. How about python:3.11-slim?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry for the late response, but I applied your suggestion!

@github-actions
Copy link

This pull request has not seen any recent activity.

@github-actions github-actions bot added the stale Exempt from stale bot labeling. label Nov 10, 2024
@nabenabe0928 nabenabe0928 removed the stale Exempt from stale bot labeling. label Nov 11, 2024
Copy link
Member

@not522 not522 left a comment

Choose a reason for hiding this comment

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

LGTM!

@not522 not522 merged commit 419aed1 into optuna:main Nov 15, 2024
1 check passed
@not522 not522 added this to the v4.2.0 milestone Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

document Documentation related.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants