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

chore(deps-dev): update gpflow requirement from <2.6.0,>=2.2.0 to >=2.2.0,<2.10.0 #293

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 10, 2025

Updates the requirements on gpflow to permit the latest version.

Release notes

Sourced from gpflow's releases.

Release 2.9.2

This patch release adds support for Tensorflow 2.16.

Bug Fixes and Other Changes

  • Support and test against Tensorflow 2.16. Note that (like tensorflow-probability) GPflow uses Keras 2. Since TF 2.16 defaults to Keras 3, tf.keras must now be imported from the tf_keras package. Alternatively, you can import tf_keras from the gpflow.keras module, which will automatically select the right source depending on which version of TF is installed. Note that Keras optimizers such as Adam should be imported from tf_keras.

Thanks to our Contributors

This release contains contributions from:

uri-granta

Changelog

Sourced from gpflow's changelog.

Release 2.9.2

This patch release adds support for Tensorflow 2.16.

Bug Fixes and Other Changes

  • Support and test against Tensorflow 2.16. Note that (like tensorflow-probability) GPflow uses Keras 2. Since TF 2.16 defaults to Keras 3, tf.keras must now be imported from the tf_keras package. Alternatively, you can import tf_keras from the gpflow.keras module, which will automatically select the right source depending on which version of TF is installed.

Thanks to our Contributors

This release contains contributions from:

uri-granta

Release 2.9.1

This patch release fixes a number of identified issues.

Bug Fixes and Other Changes

  • Support pickling Scipy optimizers with a non-empty compile cache
  • Allow setting a prior for A in the Linear mean function
  • Avoid rounding small values in kernel summary printout
  • Test against Tensorflow 2.15

Thanks to our Contributors

This release contains contributions from:

JSchmiegel, uri-granta

Release 2.9.0

This release adds caching of compiled graphs inside the Scipy optimizer, and adds support for returning loss history. It also adds supports for Python 3.11.

Major Features and Improvements

  • Support returning loss history with Scipy optimizer.
  • Scipy minimize wrapper caches compiled graphs and re-uses them if called with the same arguments. This functionality can be disabled by setting the new compile_cache_size argument to 0.

Bug Fixes and Other Changes

  • Support and test with Python 3.11
  • Test against a 'production' environment (in addition to 'min' and 'max' environments).

Thanks to our Contributors

... (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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Summary by Sourcery

Build:

  • Update the project's setup configuration to reflect the new gpflow version.

Updates the requirements on [gpflow](https://github.com/GPflow/GPflow) to permit the latest version.
- [Release notes](https://github.com/GPflow/GPflow/releases)
- [Changelog](https://github.com/GPflow/GPflow/blob/develop/RELEASE.md)
- [Commits](GPflow/GPflow@v2.2.0...v2.9.2)

---
updated-dependencies:
- dependency-name: gpflow
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link

sourcery-ai bot commented Feb 10, 2025

Reviewer's Guide by Sourcery

This PR updates the gpflow dependency version constraint in setup.cfg from '< 2.6.0' to '< 2.10.0'. The changes allow for the usage of the latest gpflow versions, which include support for Tensorflow 2.16 and other bug fixes and improvements. The update was applied consistently in multiple dependency groups within the configuration file.

Flow diagram for gpflow dependency version update

flowchart TD
    A[Start: Review dependency configuration] --> B[Locate gpflow entry in setup.cfg]
    B --> C[Current constraint: gpflow >=2.2.0, <2.6.0]
    C --> D[Update to new constraint: gpflow >=2.2.0, <2.10.0]
    D --> E[Enable support for Tensorflow 2.16 & bug fixes]
    E --> F[Commit and merge changes]
    F --> G[CI tests and final validation]
Loading

File-Level Changes

Change Details Files
Updated gpflow dependency version range
  • Modified the version constraint in the 'gpflow' section of the setup.cfg file under the main dependencies.
  • Updated the version constraint in the setup.cfg file for the 'all' dependency group.
setup.cfg

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

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.

0 participants