-
Notifications
You must be signed in to change notification settings - Fork 332
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
feat: Include waved binary in Conda distributions #2266 #2303
base: main
Are you sure you want to change the base?
Conversation
…n version separately
@mturoci I didn't have a chance to test new gh workflows so there is a possibility of failure, however I've tried to prepare everything for it to pass on the first try. |
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.
Thanks @marek-mihok! Looks great. A few questions.
@@ -1,3 +1,19 @@ | |||
build_conda_package = \ |
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.
Is it possible to create 2 separate make targets (conda-noarch and conda-arch) instead? And maybe a 3rd one for moving stuff around (the last section of the function)
@@ -26,6 +26,10 @@ def initialize(self, _version, build_data): | |||
if not platform: | |||
# Create a default metadata file in case of noarch builds. | |||
create_metadata_file('linux', 'amd64') | |||
# If conda build, copy binaries into package. |
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.
I though conda has its own build pipeline and doesn't use hatch. How does this work?
The PR fulfills these requirements: (check all the apply)
main
branch.feat: Add a button #xxx
, where "xxx" is the issue number).Closes #xxx
, where "xxx" is the issue number.ui
folder, unit tests (make test
) still pass.Waved binaries are now included inside conda packages! 🎉
As of today building of platform-specific packages supporting multiple python versions is not supported by Conda, so we need to build packages for each python version individually and we end up with 21 packages total (4 architectures * 5 python versions + 1 noarch package without waved binary):
This PR also features a new gh action which only uploads already built packages into Anaconda cloud.
Closes #2266