-
Notifications
You must be signed in to change notification settings - Fork 40
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
📦 BUILD: Python 3.12 compatibility #1622
Conversation
5d6bdfa
to
d33814b
Compare
So the only remaining issue is mac with python 3.12 and gdstk? Probably @lucas-flexcompute needs to build a new wheel or something? |
I did not notice macOS was missing python 3.11 and 3.12! I think it's just a matter of updating the GH actions for CIBW. I'm checking now: https://github.com/heitzmann/gdstk/actions/runs/8730179893 |
The 3.12 versions are now on PyPI. |
ad054a0
to
acc11d8
Compare
Seems like now xarray errors... |
2ae753c
to
0288112
Compare
Thanks both for your help and advice! Think it's passing now and seems reasonable imo. However, maybe we want to merge #1593 before this one as it depends on those updates too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure whether to put this in rc1 or not. I guess it may be nice to test right away...
sax = {version="*", optional = true} | ||
vtk = {version="<=9.2.6", optional = true} | ||
vtk = {version=">=9.2.6", optional = true} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly, are you sure about this? @dbochkov any thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be ok starting with 2.7
tests/test_timing/import_tidy3d.py
Outdated
# subprocess.call(["python", "-c", "pass"]) | ||
# python_load_time += time.time() - s | ||
# | ||
# print(f"average tidy3d load time = {(tidy3d_load_time - python_load_time) / n}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops that was temporary to speed up testing, but now have brought it back.
0288112
to
acc11d8
Compare
AHHH the dangers of force pushing!!! Yesterday I had done I assume you have a copy locally so hopefully no big deal... Sorry! |
acc11d8
to
9d3f10f
Compare
No worries haha! All feedback implemented. I'm ok if we want to add it to rc1. I believe the main doubt were the jax upgrade questions @tylerflex fyi |
Well, better to get feedback right away than when we do the official release :) |
b6ccdda
to
4f28a5b
Compare
4f28a5b
to
d55e474
Compare
Related to:
#1620
#1317
#1593