-
-
Notifications
You must be signed in to change notification settings - Fork 62
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 run exports to restrict the minor version #1409
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ source: | |
folder: testing | ||
|
||
build: | ||
number: 0 | ||
number: 1 | ||
# for cuda support, building with one version is enough to be compatible with | ||
# all later versions, since arrow is only using libcuda, and not libcudart. | ||
skip: true # [cuda_compiler_version not in ("None", cuda_compiler_version_min)] | ||
|
@@ -110,14 +110,14 @@ outputs: | |
build: | ||
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} | ||
run_exports: | ||
- {{ pin_subpackage("libarrow", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow-acero", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow-dataset", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow-flight", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow-flight-sql", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow-gandiva", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow-substrait", max_pin="x") }} | ||
- {{ pin_subpackage("libparquet", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow", max_pin="x.x") }} | ||
- {{ pin_subpackage("libarrow-acero", max_pin="x.x") }} | ||
- {{ pin_subpackage("libarrow-dataset", max_pin="x.x") }} | ||
- {{ pin_subpackage("libarrow-flight", max_pin="x.x") }} | ||
- {{ pin_subpackage("libarrow-flight-sql", max_pin="x.x") }} | ||
- {{ pin_subpackage("libarrow-gandiva", max_pin="x.x") }} | ||
- {{ pin_subpackage("libarrow-substrait", max_pin="x.x") }} | ||
- {{ pin_subpackage("libparquet", max_pin="x.x") }} | ||
Comment on lines
+114
to
+120
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For these is a sufficiently tight Or do we want all of these equivalently tight? In which case maybe a Jinja Also this comes up below There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Let's not do that. It creates more comprehension overhead than it reduces, especially if the list of elements if not next to the loop anymore. For artefacts testing that's less of an issue, but for run-exports we really need to be crystal-clear, because errors have far more wide-reaching consequences. |
||
requirements: | ||
build: | ||
- cmake | ||
|
@@ -158,7 +158,7 @@ outputs: | |
build: | ||
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} | ||
run_exports: | ||
- {{ pin_subpackage("libarrow", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow", max_pin="x.x") }} | ||
ignore_run_exports_from: | ||
- {{ compiler("cuda") }} # [cuda_compiler_version != "None"] | ||
# arrow only uses headers on osx/win, apparently | ||
|
@@ -277,7 +277,7 @@ outputs: | |
build: | ||
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} | ||
run_exports: | ||
- {{ pin_subpackage("libarrow-acero", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow-acero", max_pin="x.x") }} | ||
requirements: | ||
build: | ||
- cmake | ||
|
@@ -322,7 +322,7 @@ outputs: | |
build: | ||
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} | ||
run_exports: | ||
- {{ pin_subpackage("libarrow-dataset", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow-dataset", max_pin="x.x") }} | ||
requirements: | ||
build: | ||
- cmake | ||
|
@@ -371,7 +371,7 @@ outputs: | |
build: | ||
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} | ||
run_exports: | ||
- {{ pin_subpackage("libarrow-flight", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow-flight", max_pin="x.x") }} | ||
requirements: | ||
build: | ||
- cmake | ||
|
@@ -426,7 +426,7 @@ outputs: | |
build: | ||
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} | ||
run_exports: | ||
- {{ pin_subpackage("libarrow-flight-sql", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow-flight-sql", max_pin="x.x") }} | ||
requirements: | ||
build: | ||
- cmake | ||
|
@@ -477,7 +477,7 @@ outputs: | |
build: | ||
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} | ||
run_exports: | ||
- {{ pin_subpackage("libarrow-gandiva", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow-gandiva", max_pin="x.x") }} | ||
requirements: | ||
build: | ||
- cmake | ||
|
@@ -487,7 +487,7 @@ outputs: | |
- {{ stdlib("c") }} | ||
- {{ compiler("cxx") }} | ||
host: | ||
- {{ pin_subpackage("libarrow", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow", exact=True) }} | ||
- libutf8proc | ||
# gandiva requires shared libllvm; needs to match version used at build time | ||
- llvm {{ llvm_version }} # [unix] | ||
|
@@ -529,7 +529,7 @@ outputs: | |
build: | ||
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} | ||
run_exports: | ||
- {{ pin_subpackage("libarrow-substrait", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow-substrait", max_pin="x.x") }} | ||
requirements: | ||
build: | ||
- cmake | ||
|
@@ -586,7 +586,7 @@ outputs: | |
build: | ||
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} | ||
run_exports: | ||
- {{ pin_subpackage("libparquet", max_pin="x") }} | ||
- {{ pin_subpackage("libparquet", max_pin="x.x") }} | ||
requirements: | ||
build: | ||
- cmake | ||
|
@@ -596,7 +596,7 @@ outputs: | |
- {{ stdlib("c") }} | ||
- {{ compiler("cxx") }} | ||
host: | ||
- {{ pin_subpackage("libarrow", max_pin="x") }} | ||
- {{ pin_subpackage("libarrow", exact=True) }} | ||
- openssl | ||
- thrift-cpp | ||
run: | ||
|
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.
Am noticing in
pyarrow
, we are doing this- libarrow {{ version }}.*=*{{ build_ext }}
Do we want a similarly tight pin here or should
pyarrow
relax its pin?Recognize more is happening in the
pyarrow
case. Am only focusing on how tight we pin (and whether we include the package hash)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.
This is necessary because pyarrow is built on a different feedstock, and so cannot use
pin_subpackage
.Neither.