-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Add recipe for bodo #28648
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
Open
srilman
wants to merge
14
commits into
conda-forge:main
Choose a base branch
from
srilman:bodo-recipe
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add recipe for bodo #28648
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
2815f4c
add bodo recipe
srilman ad9f7d1
Merge branch 'main' into bodo-recipe
srilman e06f4d7
remove sccache
srilman 493bb94
remove stdlib cxx
srilman f7271d4
add all maintainers
srilman 4146deb
add more deps for run exports
srilman 8f831ea
force include core
srilman de7cf00
Merge branch 'main' into bodo-recipe
srilman c542516
Merge branch 'main' into bodo-recipe
carterbox 83a4f03
some fixes
srilman f33d249
fix sha
srilman 81d6c07
fix boost
srilman 7ad9c31
constrain python
srilman 6c2dc7d
update recipe for newer versions
srilman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
set -exo pipefail | ||
|
||
export SETUPTOOLS_SCM_PRETEND_VERSION="$PKG_VERSION" | ||
|
||
export CONDA_PREFIX_OLD=$CONDA_PREFIX | ||
export CONDA_PREFIX=$PREFIX | ||
export CMAKE_GENERATOR='Ninja' | ||
|
||
$PYTHON -m pip install \ | ||
--no-deps --no-build-isolation -vv \ | ||
--config-settings=build.verbose=true \ | ||
--config-settings=logging.level="DEBUG" \ | ||
--config-settings=cmake.args="-DCMAKE_INSTALL_PREFIX=$PREFIX;-DCMAKE_INSTALL_LIBDIR=lib;-DCMAKE_FIND_ROOT_PATH='$PREFIX;$CONDA_PREFIX_OLD/x86_64-conda-linux-gnu/sysroot';-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY" \ | ||
. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
MACOSX_SDK_VERSION: # [osx and x86] | ||
- "10.15" # [osx and x86] | ||
MACOSX_DEPLOYMENT_TARGET: # [osx and x86] | ||
- "10.15" # [osx and x86] | ||
|
||
c_stdlib_version: | ||
- "10.15" # [osx and x86] | ||
- "2.28" # [linux] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
{% set name = "bodo" %} | ||
{% set version = "2025.2" %} | ||
|
||
package: | ||
name: {{ name }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/bodo-ai/Bodo/archive/refs/tags/{{ version }}.tar.gz | ||
sha256: 057411cb536ed07577b53614583c257917f16fcda08a6b841071f4e93042664c | ||
|
||
build: | ||
skip: True # [py<310 or win] | ||
number: 0 | ||
rpaths: | ||
- lib | ||
- {{ PREFIX }}/lib | ||
- {{ SP_DIR }}/pyarrow | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('c') }} | ||
- {{ compiler('cxx') }} | ||
- {{ stdlib("c") }} | ||
- cmake | ||
- ninja | ||
- cross-python_{{ target_platform }} # [build_platform != target_platform] | ||
- python # [build_platform != target_platform] | ||
- cython ~=3.0 # [build_platform != target_platform] | ||
- numpy # [build_platform != target_platform] | ||
|
||
host: | ||
- python | ||
- pip | ||
|
||
# Build Deps | ||
- setuptools >=64 | ||
- cython ~=3.0 | ||
- setuptools_scm >=8 | ||
- scikit-build-core | ||
- mpi4py =3.1.5 | ||
|
||
# Arrow Deps | ||
- libarrow =18.1.0 | ||
- libarrow-dataset =18.1.0 | ||
- libparquet =18.1.0 | ||
- pyarrow-core =18.1.0 | ||
|
||
# C++ Deps | ||
- libboost-devel =1.85 | ||
- aws-sdk-cpp | ||
- zstd <=1.5.6 | ||
- libcurl ~= 8.0 | ||
- hdf5 >=1.14.3,<1.14.4.0a0=mpi_mpich_* | ||
|
||
# Python Deps | ||
- numba =0.61.0 | ||
# Compatible with Numba requirements | ||
- numpy >=1.24,<1.27 | ||
- pandas >=2.2,<2.3 | ||
- fsspec >=2021.09 | ||
- h5py | ||
- mpich 4.1.*=h* | ||
- requests | ||
- cloudpickle >=3.0,<4.0 | ||
|
||
run: | ||
- python | ||
- {{ pin_compatible('numpy') }} | ||
- pandas >=2.2,<2.3 | ||
- pyarrow-core =18.1.0 | ||
- pyarrow =18.1.0 | ||
- fsspec >=2021.09 | ||
- numba 0.61.0 | ||
- mpich *=h* | ||
- requests | ||
- aws-sdk-cpp | ||
- zstd <=1.5.6 | ||
- cloudpickle >=3.0,<4.0 | ||
- psutil | ||
|
||
# run_constrained means these packages are not required deps | ||
# but will restrict them if they are present in the conda env. | ||
run_constrained: | ||
- matplotlib <=3.8.2 | ||
- numpy >=1.24,<1.27 | ||
- scikit-learn =1.4.* | ||
- s3fs >=2022.1.0 | ||
- adlfs >=2022.1.0 | ||
- gcsfs >=2022.1.0 | ||
|
||
test: | ||
imports: | ||
- bodo | ||
source_files: | ||
- examples/Misc/misc_pi.py | ||
|
||
about: | ||
home: https://bodo.ai | ||
license: Apache-2.0 | ||
license_file: LICENSE | ||
summary: High-Performance Python Compute Engine for Data and AI | ||
|
||
extra: | ||
recipe-maintainers: | ||
- ehsantn | ||
- IsaacWarren | ||
- hadia206 | ||
- knassre-bodo | ||
- scott-routledge2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
set -exo pipefail | ||
|
||
export NUMBA_DEVELOPER_MODE=1 | ||
export NUMBA_DISABLE_ERROR_MESSAGE_HIGHLIGHTING=1 | ||
export PYTHONFAULTHANDLER=1 | ||
export BODO_NUM_WORKERS=3 | ||
|
||
python -u examples/Misc/misc_pi.py |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Use the libboost-headers package since it doesn't look like your are linking to libboost.
There are also overdepending warnings from conda-build about zstd and curl.