Skip to content

requirements: update optuna requirement from <4.9.0,>=3.1.0 to >=3.1.0,<4.10.0#676

Closed
dependabot[bot] wants to merge 1 commit into
develfrom
dependabot/pip/devel/optuna-gte-3.1.0-and-lt-4.10.0
Closed

requirements: update optuna requirement from <4.9.0,>=3.1.0 to >=3.1.0,<4.10.0#676
dependabot[bot] wants to merge 1 commit into
develfrom
dependabot/pip/devel/optuna-gte-3.1.0-and-lt-4.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown

Updates the requirements on optuna to permit the latest version.

Release notes

Sourced from optuna's releases.

v4.9.0

This is the release note of v4.9.0.

Highlights

Enhance Multi-Objective Constrained Parallel Optimization in GPSampler

@​sawa3030 introduces parallelization enhancements to GPSampler, leveraging the Kriging Believer approach for constrained and multi-objective optimization (#6481). This improvement allows for more efficient exploration when multiple trials are running concurrently.

The GP surrogate is updated by assigning temporary objective function values ​​to the running trials.

For more technical details and benchmarks, please check out our blog post: Improving Optuna’s GPSampler Parallelization by Considering Running Trials.

Deprecate Several Features

The following features are deprecated in v4.9.0 and scheduled for removal in v6.0.0.

optuna

  • Several arguments in TPESampler (#6635)
    • prior_weight, consider_magic_clip, consider_endpoints, gamma, weights, hyperopt_parameters: These internal parameters are being deprecated to simplify the interface, as the default settings are optimal for most use cases.
    • warn_independent_sampling: Deprecated because TPESampler now robustly supports both independent and joint sampling, making this warning obsolete.
    • categorical_distance_func: This advanced feature will be migrated to OptunaHub in the future.
  • x0 and sigma0 options in CmaEsSampler (#6624)
    • These options have been deprecated because they require a deep understanding of CmaEsSampler's internals to be configured effectively.
  • optuna.terminator module (#6668)
    • This feature will be migrated to OptunaHub in the future.
  • RetryFailedTrialCallback (#6670)
    • This class has been renamed to RetryHeartbeatStaleTrialCallback to better reflect its behavior and avoid confusion with general trial retries (#6085).
  • optuna.integration module
    • The optuna.integration module currently acts as a shortcut to the external optuna_integration package for backward compatibility. Please import directly from the optuna_integration package going forward.

optuna-integration

  • PyCmaSampler: Please use Optuna's native CmaEsSampler instead.
  • CometCallback: This feature will be migrated to OptunaHub in the future.
  • MLflowCallback: This feature will be migrated to OptunaHub in the future.
  • TensorBoardCallback: This feature will be migrated to OptunaHub in the future.
  • TrackioCallback: This feature will be migrated to OptunaHub in the future.
  • WeightsAndBiasesCallback: This class has already been migrated to OptunaHub.

Breaking Changes

... (truncated)

Commits
  • 4db42e3 Merge pull request #6691 from c-bata/backport-v4.9-attestations
  • 6a15cf0 Add attestations: false to fix release workflow
  • a592e6c Merge pull request #6684 from c-bata/bump-up-to-v4.9.0
  • 490cfd6 Bump up to version number v4.9.0
  • 6135d54 Merge pull request #6651 from nabenabe0928/add-brute-force-info-to-grid-sampler
  • c41ec2d Merge remote-tracking branch 'upstream/master' into add-brute-force-info-to-g...
  • f845a8f Fix
  • 574749e Fix
  • af7fe8b Add note to best trial
  • b200bfb Update the NSGA-III doc
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [optuna](https://github.com/optuna/optuna) to permit the latest version.
- [Release notes](https://github.com/optuna/optuna/releases)
- [Commits](optuna/optuna@v3.1.0...v4.9.0)

---
updated-dependencies:
- dependency-name: optuna
  dependency-version: 4.9.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the deps Dependencies version bump label Jun 8, 2026
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

This PR causes the following changes to the html docs (ubuntu-latest-3.11):

No differences!

...

See CI logs for the full diff.

@jvesely

jvesely commented Jun 8, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Author

Looks like optuna is no longer updatable, so this is no longer needed.

@dependabot dependabot Bot closed this Jun 8, 2026
@dependabot dependabot Bot deleted the dependabot/pip/devel/optuna-gte-3.1.0-and-lt-4.10.0 branch June 8, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deps Dependencies version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant