Upgrading Existing Setups#
This short note highlights the differences you may notice when moving from earlier versions of Tidy3D to the current configuration manager.
File Locations#
Previous releases stored settings in
~/.tidy3don all platforms. The new manager now prefers the platform-specific paths described in Configuration Guide βοΈ.Your existing
~/.tidy3d/config.tomlis still respected. Runtidy3d config migrateif you would like to copy it into the new directory. Append--overwriteto replace any files that already exist in the new location, and--delete-legacyto remove~/.tidy3dafter the copy.
Environment Switching#
The
Envhelper remains available. Calls such asEnv.dev.active()now forward to the new manager and produce aDeprecationWarningto encourage the modern API, e.g.config.switch_profile("dev").
Legacy Attributes#
Shorthand properties
config.logging_level,config.log_suppression, andconfig.use_local_subpixelstill work and set the equivalent fields inconfig.loggingorconfig.simulation. Each call raises a warning so you can update scripts at your own pace.
Working Safely With Existing Scripts#
Prefer the new attribute paths (
config.logging.level) in fresh code.When editing older notebooks, import
warningsand silence specific deprecations temporarily if needed:import warnings warnings.filterwarnings("ignore", category=DeprecationWarning)
After updating your scripts, remove the filter so you notice future changes.
Need Help?#
Reach out through the Tidy3D Discussions board or contact support@flexcompute.com if you hit any issues while upgrading.