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
Fix #3961 - Fix build error with Python bindings due to zlib's crypt.h #3963
Conversation
…o Python3 since python2 is EOL sicne January 1 2020
…doesn't install crypt.h when minizip is used.
…he .so / generated.py
@@ -72,7 +72,7 @@ if(NOT CONAN_OPENSTUDIO_ALREADY_RUN) | |||
#boost_geometry/${BOOST_VERSION}@bincrafters/stable | |||
pugixml/1.10@bincrafters/stable | |||
jsoncpp/1.9.2 | |||
zlib/1.2.11 | |||
zlib/1.2.11@nrel/testing # TODO: Temp, pending merging of https://github.com/conan-io/conan-center-index/pull/1526, to resolve #3961 |
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.
Looks like this has been approved and just wanting on the merge. conan-io/conan-center-index#1526. It'd be nice to have a ref to the official vs using the NREL so we can wait on this for another couple of days and check back.
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.
It won't be merged until I get approved in their Early access program, where access is granted by batches every two or three weeks from what I gathered after asking them directly.
It also ties into #3940, at some point I'd just make this nrel/stable instead of nrel/testing and that's it.
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.
okay, well if that's the case we can make the change at later date.
Pull request overview
FindPython
instead of FindPythonInterp, and default to using py3 if not specified since python 2 has been EOL since January 1, 2020.crypt.h
Build of python bindings now suceeds, so fix #3961. The python bindings are still broken, but that should be addressed separately.
Pull Request Author
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
src/model/test
)src/energyplus/Test
)src/osversion/VersionTranslator.cpp
)src/openstudio_lib/library/OpenStudioPolicy.xml
)Labels:
IDDChange
APIChange
Pull Request - Ready for CI
so that CI builds your PRReview Checklist
This will not be exhaustively relevant to every PR.