Skip to content

Update tidy3d requirement from <2.8,>=2.7.8 to >=2.7.8,<2.9#564

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/tidy3d-gte-2.7.8-and-lt-2.9
Closed

Update tidy3d requirement from <2.8,>=2.7.8 to >=2.7.8,<2.9#564
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/tidy3d-gte-2.7.8-and-lt-2.9

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 10, 2025

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Updates the requirements on tidy3d to permit the latest version.

Release notes

Sourced from tidy3d's releases.

v2.8.2

What's Changed

New Contributors

Full Changelog: flexcompute/tidy3d@v2.8.1...v2.8.2

Changelog

Sourced from tidy3d's changelog.

[2.8.2] - 2025-04-09

Added

  • fill and fill_structures argument in td.Simulation.plot_structures() and td.Simulation.plot() respectively to disable fill and plot outlines of structures only.
  • New subpixel averaging option ContourPathAveraging applied to dielectric material boundaries.
  • A property interior_angle in PolySlab that stores angles formed inside polygon by two adjacent edges.
  • eps_component argument in td.Simulation.plot_eps() to optionally select a specific permittivity component to plot (eg. "xx").
  • Monitor AuxFieldTimeMonitor for aux fields like the free carrier density in TwoPhotonAbsorption.
  • Broadband handling (num_freqs argument) to the TFSF source.
  • Ability to define a WavePort using only a voltage or current path integral, with the missing quantity inferred via power conservation.

Fixed

  • Compatibility with xarray>=2025.03.
  • Inaccurate gradient when auto-grabbing permittivities for structures using td.PolySlab when using dispersive material models.
  • Fixed scaling for adjoint sources when differentiating with respect to FieldData to account for the mesh size of the monitor and thus the created source. This aligns adjoint gradient magnitudes with numerical finite difference gradients for field data.
  • Warn when mode solver pml covers a significant portion of the mode plane.
  • TFSF server errors related to the auxiliary plane wave source that would previously happen on the server are now caught upon simulation creation.

Changed

  • num_freqs in Gaussian beam type sources limited to 20, which should besufficient for all cases.
  • The angle_phi parameter of ModeSpec is only limited to multiples of np.pi / 2 if angle_rotation is set to True, as other values would currently not work correctly.
  • The ramp_up_iters parameter of the ChargeSolver was changed back to 1 for efficiency. It can be increased in cases with e.g. high doping when convergence is more difficult.

[2.8.1] - 2025-03-20

Added

  • New LobeMeasurer tool in the microwave plugin that locates lobes in antenna patterns and calculates lobe measures like half-power beamwidth and sidelobe level.
  • Validation step that raises a ValueError when no frequency-domain monitors are present, preventing invalid adjoint runs.
  • Metal surface roughness models: modified Hammerstad, Huray Snowball, and Cannonball-Huray.
  • Support for Fermi-Dirac statistics in Charge solver. This option can be activated when defining the analysis type IsothermalSteadyChargeDCAnalysis with fermi_dirac=True. This option will provide more accurate results in simulations where very high doping may lead the pseudo-Fermi energy levels to approach either the conduction or the valence energy levels.

Changed

  • Dependencies for the design plugin can now be installed via pip install tidy3d[design].

Fixed

  • Bug in LayerRefinementSpec that refines grids outside the layer region when one in-plane dimension is of size infinity.
  • Querying tasks was sometimes erroring unexpectedly.
  • Fixed automatic creation of missing output directories.
  • Bug in handling of tuple-type gradients that could lead to empty tuples or failing gradient calculations when differentiating w.r.t. (for instance) td.Box.center.
  • Bug causing incorrect field projection results when multiple projection monitors with numerous sampling points were used.
  • Improved accuracy for normal E-field components in mode solver at microwave frequencies.
  • Deleting tasks using web.delete(task_id) would error when deleting tasks in the tidy3d root folder and others would not get completely removed in the Web GUI.

[2.8.0] - 2025-03-04

Added

  • Autograd support for polyslab transformations.
  • Support for differentiation with respect to ComplexPolySlab.vertices.

... (truncated)

Commits
  • 3dc27f1 Notebooks, changelog, schema, version bump for 2.8.2
  • 3f81f19 Change doping ramp-up default
  • 2541396 added ability to define a wave port using only a single voltage or current path
  • 40bd0b2 Set angle_phi to multiple of np.pi / 2 if angle_rotation is used
  • 098908e Better validation of TFSF sources, and enabling broadband
  • 54a74b4 Add aux field monitors
  • 6c2e2c6 Warn when mode solver pml covers a significant portion of the mode plane
  • 4721d51 Fix heat conductivity plot
  • a17397f feat[viz]: Add option to plot specific permittivity component of anisotropic ...
  • 0f302ef feat[viz] Add option to plot specific permittivity component of anisotropic m...
  • Additional commits viewable in compare view

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

Enhancements:

  • Expanded the tidy3d version compatibility to include versions up to 2.9, allowing access to the latest features and bug fixes

Updates the requirements on [tidy3d](https://github.com/flexcompute/tidy3d) to permit the latest version.
- [Release notes](https://github.com/flexcompute/tidy3d/releases)
- [Changelog](https://github.com/flexcompute/tidy3d/blob/develop/CHANGELOG.md)
- [Commits](flexcompute/tidy3d@v2.7.8...v2.8.2)

---
updated-dependencies:
- dependency-name: tidy3d
  dependency-version: 2.8.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 10, 2025
@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Apr 10, 2025

Reviewer's Guide by Sourcery

This pull request updates the tidy3d dependency in pyproject.toml to allow versions up to 2.9, ensuring compatibility with the latest features and fixes while maintaining a defined upper bound.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update the tidy3d dependency version to allow versions up to, but not including, 2.9.
  • Modified the tidy3d version specifier in the pyproject.toml file to tidy3d>=2.7.8,<2.9.
pyproject.toml

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
Copy Markdown
Contributor

@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. Here's why:

  • It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

@joamatab joamatab closed this Apr 12, 2025
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 12, 2025

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.

@dependabot dependabot Bot deleted the dependabot/pip/tidy3d-gte-2.7.8-and-lt-2.9 branch April 12, 2025 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant