Skip to content

build(deps): update optuna requirement from <5,>=4.0 to >=4.0,<6 - #169

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/optuna-gte-4.0-and-lt-6
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/optuna-gte-4.0-and-lt-6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 15, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on optuna to permit the latest version.

Release notes

Sourced from optuna's releases.

v5.0.0

This is the release note for v5.0.0.

Highlights

Major Enhancements to the Default Sampler

Optuna v5.0 introduces the first major update to its default sampler configuration since v1.5. For single-objective optimization, TPESampler now enables multivariate TPE (#6746) and the constant liar strategy by default (#6738), together with enhanced bandwidth computation (Watanabe 2023). For multi-objective optimization, TPESampler replaces NSGAIISampler as the default sampler (#6766). These settings were selected through comprehensive benchmarking to improve optimization performance.

New Core APIs for Constrained Optimization

Constrained optimization is now represented directly in Optuna’s core Trial API. Constraint values can be set inside the objective function using trial.set_constraint() and retrieved through trial.constraints, providing a consistent interface across supported samplers. Accordingly, the sampler-specific constraints_func arguments are now deprecated. (#6736, #6754, #6773)

PED-ANOVA Becomes the Default Parameter Importance Evaluator

Optuna v5.0 makes PedAnovaImportanceEvaluator the default evaluator used by optuna.importance.get_param_importances(), replacing f-ANOVA. PED-ANOVA computes parameter importances substantially faster, works with Optuna’s standard dependencies, and now supports conditional search spaces and multi-objective studies. The conditional extension, Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces, was accepted at KDD 2026. (#6682, #6728, #6748)

Improved Parallel Optimization with GPSampler

GPSampler, now a stable API in Optuna v5.0, introduces Monte Carlo-based q-batch acquisition functions that account for trials currently under evaluation. Rather than assigning each running trial a single heuristic pseudo-value, these acquisition functions integrate over possible outcomes sampled from the Gaussian process posterior, allowing predictive uncertainty to inform subsequent suggestions.

The new acquisition functions cover all four major problem settings: qLogEI for unconstrained single-objective optimization, qLogCEI for constrained single-objective optimization, qLogEHVI for unconstrained multi-objective optimization, and qLogCEHVI for constrained multi-objective optimization. This provides a more principled approach to parallel Bayesian optimization across the problem settings supported by GPSampler. (#6715, #6640, #6744, #6792, #6804)

Breaking Changes

  • Remove optuna.multi_objective module (#6686)
  • Remove deprecated integration wrappers for AllenNLP, Chainer, and MXNet (#6693)
  • Stabilize GPSampler (#6715)
  • Enable constant_liar by default (#6738)
  • Support categorical parameters in QMCSampler (#6742, thanks @​saivedant169!)
  • Enable multivariate by default in TPESampler (#6746)
  • Remove deprecated positional-arg compatibility from study and trial APIs (#6747, thanks @​yen-0!)
  • Make PedAnovaImportanceEvaluator the default importance evaluator (#6748)
  • Make TPESampler the default sampler for multi-objective optimization (#6766)
  • Deprecate constraints_func (#6773)
  • Change to treat cases without constraints as feasible (#6774)
  • Normalize trial timestamps to UTC in RDBStorage and JournalStorage (#6776)
  • Remove axis_order argument from plot_pareto_front (#6781)
  • Remove system_attrs from StudySummary (#6782)
  • Remove categorical_distance_func from TPESampler (#6783)
  • Remove deprecated modules (optuna/optuna-integration#293)
  • Remove MXNetPruningCallback (optuna/optuna-integration#294)
  • Use constraints property in BoTorchSampler (optuna/optuna-integration#306)
  • Remove set_system_attr and system_attrs from TorchDistributedTrial (optuna/optuna-integration#309)

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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@v4.0.0...v5.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: chore, deps. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
pip/optuna >= 4.0,< 6 UnknownUnknown

Scanned Files

  • pyproject.toml

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@codecov

codecov Bot commented Sep 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@flyingriverhorse
flyingriverhorse deleted the dependabot/pip/optuna-gte-4.0-and-lt-6 branch September 22, 2026 16:31
@dependabot @github

dependabot Bot commented on behalf of github Sep 22, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant