tidy3d icon indicating copy to clipboard operation
tidy3d copied to clipboard

try python 3.13

Open tylerflex opened this issue 1 year ago • 5 comments

tylerflex avatar Oct 27 '24 16:10 tylerflex

@lucas-flexcompute seems it is not compatible with python 3.13 because of gdstk

ERROR: No matching distribution found for gdstk

FYI

tylerflex avatar Oct 27 '24 16:10 tylerflex

good news is that otherwise I ran tidy3d successfully using python 3.13

tylerflex avatar Oct 27 '24 16:10 tylerflex

@lucas-flexcompute seems it is not compatible with python 3.13 because of gdstk

ERROR: No matching distribution found for gdstk

FYI

Fixed: https://pypi.org/project/gdstk/#files

lucas-flexcompute avatar Oct 28 '24 16:10 lucas-flexcompute

thanks, it passed, looks like an issue with scipy now

tylerflex avatar Oct 28 '24 17:10 tylerflex

@daquinteroflex could you take a look? I'm getting stuck on jax now, which only supports python 3.13 after 0.4.35, but poetry lock doesnt like my pyproject.toml for some reason

tylerflex avatar Oct 28 '24 17:10 tylerflex

Sounds good! Possibly it gets resolved in https://github.com/flexcompute/tidy3d/pull/1913 with those updates. Seems like the backend is ready to be rebased into so will sort that out first so we can test this based on the numpy2 PR

daquinteroflex avatar Oct 30 '24 09:10 daquinteroflex

Running into this. JAX added python 3.13 support in 0.4.34. Oh and JAX dropped support for python 3.9, which also causes problems :/

yaugenst-flex avatar Jan 15 '25 08:01 yaugenst-flex

Ok after more fiddling around with this I'm giving up for now. I think we should deprecate python 3.9...

yaugenst-flex avatar Jan 15 '25 09:01 yaugenst-flex

would deprecating python 3.9 mean that it would still work for most users? I suppose it would only be an issue for users of the adjoint plugin? / people using jax?

tylerflex avatar Jan 15 '25 15:01 tylerflex

note that it's still technically supported until October 2025 https://devguide.python.org/versions/

tylerflex avatar Jan 15 '25 15:01 tylerflex

Closing since Python 3.13 is supported now.

yaugenst-flex avatar May 14 '25 12:05 yaugenst-flex