-
Notifications
You must be signed in to change notification settings - Fork 193
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
Fixup the python bindings workflow, add python 3.13 for windows, and use os.add_dll_directory for windows #5288
Conversation
import os | ||
if os.name == 'nt': | ||
# When we're using system python to load the **installed** C:\openstudio-X.Y-Z\Python stuff (not PyPi package) | ||
# This allows finding openstudiolib.dll and the msvc ones in the bin/ folder while we're in the Python/ folder | ||
# Otherwise you'd have to manually copy these DLLs from bin/ to Python/ | ||
os.add_dll_directory(os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'bin'))) |
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.
@wenyikuang I added https://github.com/NREL/OpenStudio/actions/runs/11721773404/job/32656795337?pr=5288#step:6:126 400 User 'cicommercialbuilding' does not have two-factor Please enable 2FA for both testpypi and pypi.org Alternatively, we could probably use https://docs.pypi.org/trusted-publishers/ |
…l be removed in december) and use ubuntu 22.04
…t in the image cache also -Wno-enum-constexpr-conversion isn't understand on older apple clang
…g, but too late in the release cycle
9fc2f95
to
76e2246
Compare
…add test for py313
So the good news is that enabled 2FA restored the ability to upload to (test)PyPi. The less good news is that the testing step for Ubuntu failed, but that's good we caught it early. This is only because since E+ doesn't provide packages for Ubuntu 20.04 anymore, I am building with 22.04, which needs GLIBC >= 2.32.0, but I was still testing on Ubuntu 20.04 which only has GLIBC 2.31.0. Let's just drop support for 20.04 altogether. The mac test step is set to run on macos-11, which was removed. Pushing, hopefully, a last commit. |
CI Results for 4958299:
|
Pull request overview
Noticed the Python bindings workflow as failing for a bunch of platforms: https://github.com/NREL/OpenStudio/actions/runs/11677150372
Pull Request Author
src/model/test
)src/energyplus/Test
)src/osversion/VersionTranslator.cpp
)Labels:
IDDChange
APIChange
Pull Request - Ready for CI
so that CI builds your PRReview Checklist
This will not be exhaustively relevant to every PR.