Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change requirements to optuna>=3.1.0 #747

Merged

Conversation

keisuke-umezawa
Copy link
Member

Contributor License Agreement

This repository (optuna-dashboard) and Goptuna share common code.
This pull request may therefore be ported to Goptuna.
Make sure that you understand the consequences concerning licenses and check the box below if you accept the term before creating this pull request.

  • I agree this patch may be ported to Goptuna by other Goptuna contributors.

Reference Issues/PRs

NA

What does this implement/fix? Explain your changes.

Change requirements to optuna>=3.1.0

Copy link

codecov bot commented Jan 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ce5fe78) 69.48% compared to head (736d2ee) 69.48%.
Report is 28 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #747   +/-   ##
=======================================
  Coverage   69.48%   69.48%           
=======================================
  Files          35       35           
  Lines        2353     2353           
=======================================
  Hits         1635     1635           
  Misses        718      718           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@c-bata c-bata left a comment

Choose a reason for hiding this comment

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

Thank you for your pull request. I left some suggestions.

Comment on lines 35 to 36
# Add Python '3.11' after released Optuna v3.1
# since Optuna v3.0.4 depends on scipy<1.9.0 and >=1.7.0
Copy link
Member

Choose a reason for hiding this comment

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

Could you remove this comment?

@@ -34,37 +34,22 @@ jobs:
matrix:
# Add Python '3.11' after released Optuna v3.1
# since Optuna v3.0.4 depends on scipy<1.9.0 and >=1.7.0
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
optuna-version: ['optuna>=3.1.0', 'git+https://github.com/optuna/optuna.git']
Copy link
Member

Choose a reason for hiding this comment

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

I would suggest that there's no need to run unit tests with Optuna's master branch and Python versions 3.7-3.10. Could you skip these cases?

@@ -21,7 +21,7 @@ jobs:
# python_tests requires optuna>=3.0.0 since it imports FloatDistribution
Copy link
Member

Choose a reason for hiding this comment

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

Could you update this as well?

@c-bata c-bata self-assigned this Jan 11, 2024
Skip artifact tests

Fix error

Fix error

Fix error

Fix error

Fix error
@keisuke-umezawa keisuke-umezawa force-pushed the feature/deprecate-optuna-v2 branch from 12a2171 to db6dcab Compare January 22, 2024 14:54
Copy link
Member

@c-bata c-bata left a comment

Choose a reason for hiding this comment

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

LGTM. I left two minor comments though.

.github/workflows/python-tests.yml Outdated Show resolved Hide resolved
.github/workflows/python-coverage.yml Outdated Show resolved Hide resolved
Co-authored-by: c-bata <c-bata@users.noreply.github.com>
@keisuke-umezawa keisuke-umezawa merged commit 44f690e into optuna:main Jan 23, 2024
13 checks passed
@keisuke-umezawa keisuke-umezawa deleted the feature/deprecate-optuna-v2 branch January 23, 2024 00:38
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.

2 participants