From 384ea056db07d57bca649cd8c4b838d2b9daf800 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Tue, 7 May 2024 19:35:27 +1100 Subject: [PATCH 01/10] match state of arrow-cpp feedstock v16 (without C++ bits) update meta.yaml scaffolding and take over the content removed in https://github.com/conda-forge/arrow-cpp-feedstock/commit/a66c7c666f1ca3ee1f4ffcf825e9f61d2d6bd77b --- recipe/bld.bat | 31 -- recipe/build-pyarrow.bat | 39 ++ recipe/build-pyarrow.sh | 63 +++ recipe/build.sh | 30 -- recipe/conda_build_config.yaml | 11 + recipe/meta.yaml | 428 ++++++++++++++++-- ...ixture-teardown-should-not-fail-test.patch | 37 ++ ...nd-protobuf-config-instead-of-module.patch | 40 ++ recipe/test_read_parquet.py | 5 + 9 files changed, 577 insertions(+), 107 deletions(-) delete mode 100644 recipe/bld.bat create mode 100644 recipe/build-pyarrow.bat create mode 100644 recipe/build-pyarrow.sh delete mode 100644 recipe/build.sh create mode 100644 recipe/conda_build_config.yaml create mode 100644 recipe/patches/0001-fixture-teardown-should-not-fail-test.patch create mode 100644 recipe/patches/0002-find-protobuf-config-instead-of-module.patch create mode 100644 recipe/test_read_parquet.py diff --git a/recipe/bld.bat b/recipe/bld.bat deleted file mode 100644 index dbea193..0000000 --- a/recipe/bld.bat +++ /dev/null @@ -1,31 +0,0 @@ -pushd "%SRC_DIR%"\python - -@rem the symlinks for cmake modules don't work here -del cmake_modules\BuildUtils.cmake -del cmake_modules\SetupCxxFlags.cmake -del cmake_modules\CompilerInfo.cmake -del cmake_modules\FindNumPy.cmake -del cmake_modules\FindPythonLibsNew.cmake -copy /Y "%SRC_DIR%\cpp\cmake_modules\BuildUtils.cmake" cmake_modules\ -copy /Y "%SRC_DIR%\cpp\cmake_modules\SetupCxxFlags.cmake" cmake_modules\ -copy /Y "%SRC_DIR%\cpp\cmake_modules\CompilerInfo.cmake" cmake_modules\ -copy /Y "%SRC_DIR%\cpp\cmake_modules\FindNumPy.cmake" cmake_modules\ -copy /Y "%SRC_DIR%\cpp\cmake_modules\FindPythonLibsNew.cmake" cmake_modules\ - -SET ARROW_HOME=%LIBRARY_PREFIX% -SET SETUPTOOLS_SCM_PRETEND_VERSION=%PKG_VERSION% -SET PYARROW_BUILD_TYPE=release -SET PYARROW_WITH_S3=1 -SET PYARROW_WITH_HDFS=1 -SET PYARROW_WITH_DATASET=1 -SET PYARROW_WITH_FLIGHT=1 -SET PYARROW_WITH_GANDIVA=1 -SET PYARROW_WITH_PARQUET=1 -SET PYARROW_CMAKE_GENERATOR=Ninja - -"%PYTHON%" setup.py ^ - build_ext ^ - install --single-version-externally-managed ^ - --record=record.txt -if errorlevel 1 exit 1 -popd diff --git a/recipe/build-pyarrow.bat b/recipe/build-pyarrow.bat new file mode 100644 index 0000000..ba46022 --- /dev/null +++ b/recipe/build-pyarrow.bat @@ -0,0 +1,39 @@ +@echo on + +pushd "%SRC_DIR%"\python + +SET ARROW_HOME=%LIBRARY_PREFIX% +SET SETUPTOOLS_SCM_PRETEND_VERSION=%PKG_VERSION% +SET PYARROW_BUILD_TYPE=release +SET PYARROW_WITH_ACERO=1 +SET PYARROW_WITH_DATASET=1 +SET PYARROW_WITH_FLIGHT=1 +SET PYARROW_WITH_GANDIVA=1 +SET PYARROW_WITH_GCS=1 +SET PYARROW_WITH_HDFS=1 +SET PYARROW_WITH_PARQUET=1 +SET PYARROW_WITH_PARQUET_ENCRYPTION=1 +SET PYARROW_WITH_S3=1 +SET PYARROW_WITH_SUBSTRAIT=1 +SET PYARROW_CMAKE_GENERATOR=Ninja + +:: Enable CUDA support +if "%cuda_compiler_version%"=="None" ( + set "PYARROW_WITH_CUDA=0" +) else ( + set "PYARROW_WITH_CUDA=1" +) + +%PYTHON% setup.py ^ + build_ext ^ + install --single-version-externally-managed ^ + --record=record.txt +if %ERRORLEVEL% neq 0 exit 1 +popd + +if [%PKG_NAME%] NEQ [pyarrow-tests] ( + rd /s /q %SP_DIR%\pyarrow\tests +) + +:: generated by setup.py +rmdir .\python\build /s /q diff --git a/recipe/build-pyarrow.sh b/recipe/build-pyarrow.sh new file mode 100644 index 0000000..876536f --- /dev/null +++ b/recipe/build-pyarrow.sh @@ -0,0 +1,63 @@ +#!/bin/sh +set -ex + +# Build dependencies +export ARROW_HOME=$PREFIX +export PARQUET_HOME=$PREFIX +export SETUPTOOLS_SCM_PRETEND_VERSION=$PKG_VERSION +export PYARROW_BUILD_TYPE=release +export PYARROW_WITH_ACERO=1 +export PYARROW_WITH_DATASET=1 +export PYARROW_WITH_FLIGHT=1 +export PYARROW_WITH_GANDIVA=1 +export PYARROW_WITH_GCS=1 +export PYARROW_WITH_HDFS=1 +export PYARROW_WITH_ORC=1 +export PYARROW_WITH_PARQUET=1 +export PYARROW_WITH_PARQUET_ENCRYPTION=1 +export PYARROW_WITH_S3=1 +export PYARROW_WITH_SUBSTRAIT=1 +export PYARROW_CMAKE_GENERATOR=Ninja +export PYARROW_CMAKE_OPTIONS="-DARROW_SIMD_LEVEL=NONE" +BUILD_EXT_FLAGS="" + +# Enable CUDA support +if [[ ! -z "${cuda_compiler_version+x}" && "${cuda_compiler_version}" != "None" ]]; then + export PYARROW_WITH_CUDA=1 + if [[ "${build_platform}" != "${target_platform}" ]]; then + export CUDAToolkit_ROOT=${CUDA_HOME} + export CMAKE_LIBRARY_PATH=${CONDA_BUILD_SYSROOT}/lib + fi +else + export PYARROW_WITH_CUDA=0 +fi + +# Resolve: Make Error at cmake_modules/SetupCxxFlags.cmake:338 (message): Unsupported arch flag: -march=. +if [[ "${target_platform}" == "linux-aarch64" ]]; then + export PYARROW_CMAKE_OPTIONS="-DARROW_ARMV8_ARCH=armv8-a ${PYARROW_CMAKE_OPTIONS}" +fi + +if [[ "${target_platform}" == osx-* ]]; then + # See https://conda-forge.org/docs/maintainer/knowledge_base.html#newer-c-features-with-old-sdk + CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY" +fi + +if [[ "${target_platform}" == "linux-aarch64" ]] || [[ "${target_platform}" == "linux-ppc64le" ]]; then + # Limit number of threads used to avoid hardware oversubscription + export CMAKE_BUILD_PARALLEL_LEVEL=4 +fi + +cd python + +$PYTHON setup.py \ + build_ext \ + install --single-version-externally-managed \ + --record=record.txt + +if [[ "$PKG_NAME" != "pyarrow-tests" ]]; then + rm -r ${SP_DIR}/pyarrow/tests +fi + +# generated by setup.py +rm -rf build +cd .. diff --git a/recipe/build.sh b/recipe/build.sh deleted file mode 100644 index 6d27065..0000000 --- a/recipe/build.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -set -e -set -x - -# Build dependencies -export ARROW_HOME=$PREFIX -export PARQUET_HOME=$PREFIX -export SETUPTOOLS_SCM_PRETEND_VERSION=$PKG_VERSION -export PYARROW_BUILD_TYPE=release -export PYARROW_WITH_DATASET=1 -export PYARROW_WITH_FLIGHT=1 -if [ "$(uname -m)" = "ppc64le" ] || [ "$(uname -m)" = "aarch64" ]; then - export PYARROW_WITH_GANDIVA=0 -else - export PYARROW_WITH_GANDIVA=1 -fi -export PYARROW_WITH_HDFS=1 -export PYARROW_WITH_ORC=1 -export PYARROW_WITH_PARQUET=1 -export PYARROW_WITH_PLASMA=1 -export PYARROW_WITH_S3=1 -export PYARROW_CMAKE_OPTIONS="-DARROW_ARMV8_ARCH=armv8-a" - -cd python - -$PYTHON setup.py \ - build_ext \ - install --single-version-externally-managed \ - --record=record.txt diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml new file mode 100644 index 0000000..0620285 --- /dev/null +++ b/recipe/conda_build_config.yaml @@ -0,0 +1,11 @@ +# on osx, keep this in sync with llvm_version in meta.yaml. +# linux-aarch hits a compiler bug with GCC 12, upgrade; needs override +# for two versions on linux: one for non-CUDA & one for 11.8 +c_compiler_version: # [unix] + - 16 # [osx] + - 13 # [linux and (aarch64 or ppc64le)] + - 10 # [linux and (aarch64 or ppc64le)] +cxx_compiler_version: # [unix] + - 16 # [osx] + - 13 # [linux and (aarch64 or ppc64le)] + - 10 # [linux and (aarch64 or ppc64le)] diff --git a/recipe/meta.yaml b/recipe/meta.yaml index f89c02c..cd8d898 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,73 +1,403 @@ -{% set version = "0.17.1" %} -{% set filename = "apache-arrow-" + version + ".tar.gz" %} -{% set checksum = "cbc51c343bca08b10f7f1b2ef15cb15057c30e5e9017cfcee18337b7e2da9ea2" %} +{% set version = "16.0.0" %} +{% set cuda_enabled = cuda_compiler_version != "None" %} +{% set build_ext_version = "5.0.0" %} +{% set build_ext = "cuda" if cuda_enabled else "cpu" %} +{% set proc_build_number = "0" %} +{% set llvm_version = "16" %} + +# see https://github.com/apache/arrow/blob/apache-arrow-10.0.1/cpp/CMakeLists.txt#L88-L90 +{% set so_version = (version.split(".")[0] | int * 100 + version.split(".")[1] | int) ~ "." ~ version.split(".")[2] ~ ".0" %} package: - name: pyarrow + name: apache-arrow version: {{ version }} source: - fn: {{ filename }} - url: https://dist.apache.org/repos/dist/release/arrow/arrow-{{ version }}/{{ filename }} - sha256: {{ checksum }} + - url: https://www.apache.org/dyn/closer.lua/arrow/arrow-{{ version }}/apache-arrow-{{ version }}.tar.gz?action=download + fn: apache-arrow-{{ version }}.tar.gz + sha256: 9f4051ae9473c97991d9af801e2f94ae3455067719ca7f90b8137f9e9a700b8d + patches: + # workaround for https://github.com/apache/arrow/issues/37692 + - patches/0001-fixture-teardown-should-not-fail-test.patch + # backport https://github.com/apache/arrow/issues/41333 to find correct protobuf + - patches/0002-find-protobuf-config-instead-of-module.patch + # testing-submodule not part of release tarball + - git_url: https://github.com/apache/arrow-testing.git + git_rev: 25d16511e8d42c2744a1d94d90169e3a36e92631 + folder: testing build: - number: 1 + number: 0 + # 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)] + # arrow promises API- & ABI-compatibility along SemVer, see #1096 requirements: build: - - cmake 3.16.* + - {{ compiler("c") }} + - {{ stdlib("c") }} + - {{ compiler("cxx") }} + - {{ compiler("cuda") }} # [cuda_compiler_version != "None"] + # needs to run protoc & grpc_cpp_plugin + - libgrpc # [build_platform != target_platform] + - libprotobuf # [build_platform != target_platform] + # needed for gandiva + - clangdev {{ llvm_version }} # [build_platform != target_platform] + - llvmdev {{ llvm_version }} # [build_platform != target_platform] + - gnuconfig # [build_platform != target_platform] + - cmake - ninja - - make # [unix] - - {{ compiler('c') }} - - {{ compiler('cxx') }} + # necessary for vendored jemalloc + - autoconf # [linux] + - make # [linux] host: - # directly pin boost-cpp as we also seem to directly include boost symbols - # in the Python modules. - - arrow-cpp {{ version }} - - boost-cpp - - cython - - numpy 1.16.* - - python - - setuptools - - setuptools_scm - - six - - run: - - {{ pin_compatible('numpy', lower_bound='1.16') }} - - boost-cpp - - futures # [py==27] + # for required dependencies, see + # https://github.com/apache/arrow/blob/apache-arrow-11.0.0/cpp/cmake_modules/ThirdpartyToolchain.cmake#L46-L75 + - clangdev {{ llvm_version }} + - llvmdev {{ llvm_version }} + - aws-crt-cpp + - aws-sdk-cpp + - brotli + - bzip2 + # not yet: https://github.com/conda-forge/cpp-opentelemetry-sdk-feedstock/issues/38 + # - cpp-opentelemetry-sdk + # - proto-opentelemetry-proto =={{ cpp_opentelemetry_sdk }} + - gflags - glog - - pandas - # empty parquet-cpp metapackage, force old versions to be uninstalled - - parquet-cpp 1.5.1.* - - python - - six + # arrow uses a customized jemalloc, see #944 + # - jemalloc + - libabseil + - libboost-headers + - libgoogle-cloud-devel + - libgoogle-cloud-storage-devel + - libgrpc + - libutf8proc + - lz4-c + - nlohmann_json + - orc + - rapidjson + - re2 - snappy + - thrift-cpp + - ucx # [linux] + - xsimd + - zlib + - zstd + +outputs: + - name: pyarrow-core + script: build-pyarrow.sh # [unix] + script: build-pyarrow.bat # [win] + version: {{ version }} + build: + string: py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} + ignore_run_exports_from: + - {{ compiler("cuda") }} # [cuda_compiler_version != "None"] + track_features: {{ "[arrow-cuda]" if cuda_enabled else "" }} + rpaths: + - lib/ + - {{ SP_DIR }}/pyarrow + missing_dso_whitelist: + # not actually missing, but installed into SP_DIR, see tests + - '*/arrow_python.dll' # [win] + - '*/arrow_python_flight.dll' # [win] + # pyarrow-core builds with the capabilities but we do not ship them + # to provide the smaller core functionality. + - 'lib/libarrow_acero.*' # [unix] + - 'lib/libarrow_dataset.*' # [unix] + - 'lib/libarrow_substrait.*' # [unix] + - 'lib/libarrow_flight.*' # [unix] + - 'lib/libparquet.*' # [unix] + - 'lib/libgandiva.*' # [unix] + - 'Library/lib/arrow_acero.dll' # [win] + - 'Library/lib/arrow_dataset.dll' # [win] + - 'Library/lib/arrow_substrait.dll' # [win] + - 'Library/lib/arrow_flight.dll' # [win] + - 'Library/lib/parquet.dll' # [win] + - 'Library/lib/gandiva.dll' # [win] + requirements: + build: + - {{ compiler("c") }} + - {{ stdlib("c") }} + - {{ compiler("cxx") }} + # pyarrow does not require nvcc but it needs to link against libraries in libarrow=*=*cuda + - {{ compiler("cuda") }} # [cuda_compiler_version != "None"] + - python # [build_platform != target_platform] + - cross-python_{{ target_platform }} # [build_platform != target_platform] + - cython # [build_platform != target_platform] + - numpy # [build_platform != target_platform] + - cmake + - ninja + host: + # We add all libarrow package dependencies on host in order to build pyarrow + # once with all capabilities. We require the exact hash versions but we don't + # want those to be installed when running for pyarrow-core as we want a + # low memory footprint for the pyarrow-core package. + - {{ pin_subpackage("libarrow-all", exact=True) }} + - clangdev {{ llvm_version }} + - llvmdev {{ llvm_version }} + - zlib + - cython + - numpy + - python + - setuptools + - setuptools-scm + run: + - {{ pin_subpackage("libarrow", exact=True) }} + - {{ pin_compatible('numpy') }} + - python + run_constrained: + - apache-arrow-proc =*={{ build_ext }} + + test: + imports: + - pyarrow + # Compute can be imported but the underlying libarrow_acero is not present. + - pyarrow.compute + - pyarrow.orc # [unix] + - pyarrow.fs + - pyarrow._s3fs + - pyarrow._hdfs + # We can only test importing cuda package but cannot run when a + # CUDA device is not available, for instance, when building from CI. + # On Windows, we cannot even do that due to `nvcuda.dll` not being found, see + # https://conda-forge.org/docs/maintainer/knowledge_base.html#nvcuda-dll-cannot-be-found-on-windows + # However, we check below for (at least) the presence of a correctly-compiled module + - pyarrow.cuda # [cuda_compiler_version != "None" and not win] + commands: + # libraries that depend on python (and hence aren't in libarrow itself) + - test -f ${SP_DIR}/pyarrow/libarrow_python.so # [linux] + - test -f ${SP_DIR}/pyarrow/libarrow_python_flight.so # [linux] + - test -f ${SP_DIR}/pyarrow/libarrow_python_parquet_encryption.so # [linux] + - test -f ${SP_DIR}/pyarrow/libarrow_python.dylib # [osx] + - test -f ${SP_DIR}/pyarrow/libarrow_python_flight.dylib # [osx] + - test -f ${SP_DIR}/pyarrow/libarrow_python_parquet_encryption.dylib # [osx] + - if not exist %SP_DIR%\pyarrow\arrow_python.dll exit 1 # [win] + - if not exist %SP_DIR%\pyarrow\arrow_python_flight.dll exit 1 # [win] + - if not exist %SP_DIR%\pyarrow\arrow_python_parquet_encryption.dll exit 1 # [win] + + - test -f ${SP_DIR}/pyarrow/include/arrow/python/pyarrow.h # [unix] + - if not exist %SP_DIR%\pyarrow\include\arrow\python\pyarrow.h exit 1 # [win] + + - test ! -f ${SP_DIR}/pyarrow/tests/test_array.py # [unix] + - if exist %SP_DIR%/pyarrow/tests/test_array.py exit 1 # [win] + # Need to remove dot from PY_VER; %MYVAR:x=y% replaces "x" in %MYVAR% with "y" + - if not exist %SP_DIR%/pyarrow/_cuda.cp%PY_VER:.=%-win_amd64.pyd exit 1 # [win and cuda_compiler_version != "None"] + + # Expected not included libraries + - test ! -f $PREFIX/lib/libarrow_acero${SHLIB_EXT} # [unix] + - test ! -f $PREFIX/lib/libarrow_dataset${SHLIB_EXT} # [unix] + - test ! -f $PREFIX/lib/libarrow_flight${SHLIB_EXT} # [unix] + - test ! -f $PREFIX/lib/libgandiva${SHLIB_EXT} # [unix] + - test ! -f $PREFIX/lib/libparquet${SHLIB_EXT} # [unix] + + about: + home: http://github.com/apache/arrow + license: Apache-2.0 + license_file: + - LICENSE.txt + summary: Python libraries for Apache Arrow Core + + - name: pyarrow + version: {{ version }} + build: + string: py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} + requirements: + host: + # only necessary for run-exports + - python + - numpy + run: + # Default doesn't contain flight, flight-sql and gandiva + - {{ pin_subpackage("libarrow-acero", exact=True) }} + - {{ pin_subpackage("libarrow-dataset", exact=True) }} + - {{ pin_subpackage("libarrow-substrait", exact=True) }} + - {{ pin_subpackage("libparquet", exact=True) }} + - {{ pin_subpackage("pyarrow-core", exact=True) }} + - {{ pin_compatible('numpy') }} + - python + run_constrained: + - apache-arrow-proc =*={{ build_ext }} + + test: + files: + - test_read_parquet.py + imports: + # default pyarrow contains parquet + - pyarrow.dataset + - pyarrow.parquet + commands: + # Expected not included libraries + - test ! -f $PREFIX/lib/libarrow_flight${SHLIB_EXT} # [unix] + - test ! -f $PREFIX/lib/libgandiva${SHLIB_EXT} # [unix] + + - python test_read_parquet.py + + about: + home: http://github.com/apache/arrow + license: Apache-2.0 + license_file: + - LICENSE.txt + summary: Python libraries for Apache Arrow with default capabilities + + - name: pyarrow-all + version: {{ version }} + build: + string: py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} + requirements: + host: + # only necessary for run-exports + - python + - numpy + run: + - {{ pin_subpackage("libarrow-flight", exact=True) }} + - {{ pin_subpackage("libarrow-flight-sql", exact=True) }} + - {{ pin_subpackage("libarrow-gandiva", exact=True) }} + - {{ pin_subpackage("pyarrow", exact=True) }} + - {{ pin_compatible('numpy') }} + - python + run_constrained: + - apache-arrow-proc =*={{ build_ext }} + + test: + imports: + - pyarrow.flight + - pyarrow.gandiva + about: + home: http://github.com/apache/arrow + license: Apache-2.0 + license_file: + - LICENSE.txt + summary: Python libraries for Apache Arrow with all capabilities + + - name: pyarrow-tests + script: build-pyarrow.sh # [unix] + script: build-pyarrow.bat # [win] + version: {{ version }} + build: + string: py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} + ignore_run_exports_from: + - {{ compiler("cuda") }} # [cuda_compiler_version != "None"] + track_features: {{ "[arrow-cuda]" if cuda_enabled else "" }} + requirements: + build: + - {{ compiler("c") }} + - {{ stdlib("c") }} + - {{ compiler("cxx") }} + # pyarrow does not require nvcc but it needs to link against libraries in libarrow=*=*cuda + - {{ compiler("cuda") }} # [cuda_compiler_version != "None"] + - python # [build_platform != target_platform] + - cross-python_{{ target_platform }} # [build_platform != target_platform] + - cython # [build_platform != target_platform] + - numpy # [build_platform != target_platform] + - cmake + - ninja + host: + - {{ pin_subpackage("libarrow-all", exact=True) }} + - {{ pin_subpackage('pyarrow-all', exact=True) }} + - clangdev {{ llvm_version }} + - llvmdev {{ llvm_version }} + - zlib + - cython + - numpy + - python + - setuptools + - setuptools-scm + run: + - {{ pin_subpackage('pyarrow-all', exact=True) }} + - python + run_constrained: + - apache-arrow-proc =*={{ build_ext }} + + {% if not (aarch64 or ppc64le) or py == 311 %} + # only run the full test suite for one python version when in emulation + # (each run can take up to ~45min); there's essentially zero divergence + # in behaviour across python versions anyway + test: + requires: + # test_cpp_extension_in_python requires a compiler + - {{ compiler("cxx") }} # [linux] + - pytest + - backports.zoneinfo # [py<39] + - boto3 + - cffi + - cloudpickle + - cython + - fastparquet + - fsspec + - hypothesis + - minio-server + - pandas + - s3fs >=2023 + - scipy + # these are generally (far) behind on migrating abseil/grpc/protobuf, + # and using them as test dependencies blocks the migrator unnecessarily + # - pytorch + # - tensorflow + # we're not building java bindings + # - jpype1 + # doesn't get picked up correctly + # - libhdfs3 + # causes segfaults + # - sparse + source_files: + - testing/data + commands: + - cd ${SP_DIR} # [unix] + - cd %SP_DIR% # [win] + - export ARROW_TEST_DATA="${SRC_DIR}/testing/data" # [unix] + - set "ARROW_TEST_DATA=%SRC_DIR%\testing\data" # [win] + + {% set tests_to_skip = "_not_a_real_test" %} + # we do not have GPUs in CI --> cannot test cuda + {% set tests_to_skip = tests_to_skip + " or test_cuda" + " or test_dlpack_cuda_not_supported"%} + # skip tests that raise SIGINT and crash the test suite + {% set tests_to_skip = tests_to_skip + " or (test_csv and test_cancellation)" %} # [linux] + {% set tests_to_skip = tests_to_skip + " or (test_flight and test_interrupt)" %} # [linux] + # skip tests that make invalid(-for-conda) assumptions about the compilers setup + {% set tests_to_skip = tests_to_skip + " or test_cython_api" %} # [unix] + {% set tests_to_skip = tests_to_skip + " or test_visit_strings" %} # [unix] + # skip tests that cannot succeed in emulation + {% set tests_to_skip = tests_to_skip + " or test_debug_memory_pool_disabled" %} # [aarch64 or ppc64le] + {% set tests_to_skip = tests_to_skip + " or test_env_var_io_thread_count" %} # [aarch64 or ppc64le] + # vvvvvvv TESTS THAT SHOULDN'T HAVE TO BE SKIPPED vvvvvvv + # problems with minio + {% set tests_to_skip = tests_to_skip + " or (test_delete_dir and S3FileSystem)" %} + {% set tests_to_skip = tests_to_skip + " or (test_get_file_info and S3FileSystem)" %} + {% set tests_to_skip = tests_to_skip + " or (test_move_directory and S3FileSystem)" %} + # XMinioInvalidObjectName on win: "Object name contains unsupported characters" + {% set tests_to_skip = tests_to_skip + " or test_write_to_dataset_with_partitions_s3fs" %} # [win] + # flaky test that fails regularly on aarch + {% set tests_to_skip = tests_to_skip + " or test_feather_format[serial]" %} # [aarch64] + # gandiva tests are segfaulting on ppc + {% set tests_to_skip = tests_to_skip + " or test_gandiva" %} # [ppc64le] + # test failures on ppc (both failing with: Float value was truncated converting to int32) + {% set tests_to_skip = tests_to_skip + " or test_safe_cast_from_float_with_nans_to_int" %} # [ppc64le] + {% set tests_to_skip = tests_to_skip + " or test_float_with_null_as_integer" %} # [ppc64le] + # ^^^^^^^ TESTS THAT SHOULDN'T HAVE TO BE SKIPPED ^^^^^^^ + - pytest pyarrow/ -rfEs -k "not ({{ tests_to_skip }})" + {% endif %} -test: - imports: - - pyarrow - - pyarrow.dataset # [not py==27] - - pyarrow.flight # [not py==27] - - pyarrow.gandiva # [(not py==27) and (not (aarch64 or ppc64le))] - - pyarrow.orc # [unix] - - pyarrow.parquet - - pyarrow.plasma # [unix] - - pyarrow.fs - - pyarrow._s3fs - - pyarrow._hdfs + about: + home: http://github.com/apache/arrow + license: Apache-2.0 + license_file: + - LICENSE.txt + summary: Python test files for Apache Arrow about: home: http://github.com/apache/arrow license: Apache-2.0 - license_file: LICENSE.txt - summary: Python libraries for Apache Arrow + license_file: + - LICENSE.txt + summary: C++ and Python libraries for Apache Arrow extra: recipe-maintainers: - wesm - xhochy + - leifwalsh - jreback - cpcloud - pcmoritz @@ -76,3 +406,9 @@ extra: - kou - kszucs - pitrou + - pearu + - nealrichardson + - jakirkham + - h-vetinari + - raulcd + feedstock-name: arrow-cpp diff --git a/recipe/patches/0001-fixture-teardown-should-not-fail-test.patch b/recipe/patches/0001-fixture-teardown-should-not-fail-test.patch new file mode 100644 index 0000000..343b6a9 --- /dev/null +++ b/recipe/patches/0001-fixture-teardown-should-not-fail-test.patch @@ -0,0 +1,37 @@ +From d1ea231aeb2daa8c742effae14e1ee9f011833c9 Mon Sep 17 00:00:00 2001 +From: "H. Vetinari" +Date: Wed, 13 Sep 2023 21:34:29 +1100 +Subject: [PATCH 1/4] fixture teardown should not fail test + +--- + python/pyarrow/tests/test_fs.py | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +diff --git a/python/pyarrow/tests/test_fs.py b/python/pyarrow/tests/test_fs.py +index d0fa253e3..de179855d 100644 +--- a/python/pyarrow/tests/test_fs.py ++++ b/python/pyarrow/tests/test_fs.py +@@ -255,7 +255,10 @@ def s3fs(request, s3_server): + allow_move_dir=False, + allow_append_to_file=False, + ) +- fs.delete_dir(bucket) ++ try: ++ fs.delete_dir(bucket) ++ except OSError: ++ pass + + + @pytest.fixture +@@ -357,7 +360,10 @@ def py_fsspec_s3fs(request, s3_server): + allow_move_dir=False, + allow_append_to_file=True, + ) +- fs.delete_dir(bucket) ++ try: ++ fs.delete_dir(bucket) ++ except OSError: ++ pass + + + @pytest.fixture(params=[ diff --git a/recipe/patches/0002-find-protobuf-config-instead-of-module.patch b/recipe/patches/0002-find-protobuf-config-instead-of-module.patch new file mode 100644 index 0000000..1c2cb45 --- /dev/null +++ b/recipe/patches/0002-find-protobuf-config-instead-of-module.patch @@ -0,0 +1,40 @@ +diff --git a/cpp/cmake_modules/FindProtobufAlt.cmake b/cpp/cmake_modules/FindProtobufAlt.cmake +index 15fe1b4..503cffe 100644 +--- a/cpp/cmake_modules/FindProtobufAlt.cmake ++++ b/cpp/cmake_modules/FindProtobufAlt.cmake +@@ -28,12 +28,27 @@ endif() + if(ProtobufAlt_FIND_QUIETLY) + list(APPEND find_package_args QUIET) + endif() +-find_package(Protobuf ${find_package_args}) +-set(ProtobufAlt_FOUND ${Protobuf_FOUND}) ++find_package(protobuf CONFIG ${find_package_args}) ++set(ProtobufAlt_FOUND ${protobuf_FOUND}) + if(ProtobufAlt_FOUND) +- set(ProtobufAlt_VERSION ${Protobuf_VERSION}) +- set(ProtobufAlt_VERSION_MAJOR ${Protobuf_VERSION_MAJOR}) +- set(ProtobufAlt_VERSION_MINOR ${Protobuf_VERSION_MINOR}) +- set(ProtobufAlt_VERSION_PATCH ${Protobuf_VERSION_PATCH}) +- set(ProtobufAlt_VERSION_TWEEK ${Protobuf_VERSION_TWEEK}) ++ if(Protobuf_PROTOC_EXECUTABLE) ++ set_target_properties(protobuf::protoc PROPERTIES ++ IMPORTED_LOCATION_RELEASE "${Protobuf_PROTOC_EXECUTABLE}" ++ ) ++ endif() ++ set(ProtobufAlt_VERSION ${protobuf_VERSION}) ++ set(ProtobufAlt_VERSION_MAJOR ${protobuf_VERSION_MAJOR}) ++ set(ProtobufAlt_VERSION_MINOR ${protobuf_VERSION_MINOR}) ++ set(ProtobufAlt_VERSION_PATCH ${protobuf_VERSION_PATCH}) ++ set(ProtobufAlt_VERSION_TWEEK ${protobuf_VERSION_TWEEK}) ++else() ++ find_package(Protobuf ${find_package_args}) ++ set(ProtobufAlt_FOUND ${Protobuf_FOUND}) ++ if(ProtobufAlt_FOUND) ++ set(ProtobufAlt_VERSION ${Protobuf_VERSION}) ++ set(ProtobufAlt_VERSION_MAJOR ${Protobuf_VERSION_MAJOR}) ++ set(ProtobufAlt_VERSION_MINOR ${Protobuf_VERSION_MINOR}) ++ set(ProtobufAlt_VERSION_PATCH ${Protobuf_VERSION_PATCH}) ++ set(ProtobufAlt_VERSION_TWEEK ${Protobuf_VERSION_TWEEK}) ++ endif() + endif() + \ No newline at end of file diff --git a/recipe/test_read_parquet.py b/recipe/test_read_parquet.py new file mode 100644 index 0000000..5f76a4e --- /dev/null +++ b/recipe/test_read_parquet.py @@ -0,0 +1,5 @@ +import pyarrow as pa +import pyarrow.parquet as pq + +table = pa.Table.from_pydict({"a": [1, 2]}) +pq.write_table(table, "test.parquet") From 658c651d221472f3e877b2e6bb26bf4a42c461ab Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Tue, 7 May 2024 19:48:19 +1100 Subject: [PATCH 02/10] drop remnants of arrow-cpp --- recipe/meta.yaml | 107 +++++++++-------------------------------------- 1 file changed, 20 insertions(+), 87 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index cd8d898..ec3ad61 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,13 +1,8 @@ {% set version = "16.0.0" %} {% set cuda_enabled = cuda_compiler_version != "None" %} -{% set build_ext_version = "5.0.0" %} {% set build_ext = "cuda" if cuda_enabled else "cpu" %} -{% set proc_build_number = "0" %} {% set llvm_version = "16" %} -# see https://github.com/apache/arrow/blob/apache-arrow-10.0.1/cpp/CMakeLists.txt#L88-L90 -{% set so_version = (version.split(".")[0] | int * 100 + version.split(".")[1] | int) ~ "." ~ version.split(".")[2] ~ ".0" %} - package: name: apache-arrow version: {{ version }} @@ -33,58 +28,6 @@ build: skip: true # [cuda_compiler_version not in ("None", cuda_compiler_version_min)] # arrow promises API- & ABI-compatibility along SemVer, see #1096 -requirements: - build: - - {{ compiler("c") }} - - {{ stdlib("c") }} - - {{ compiler("cxx") }} - - {{ compiler("cuda") }} # [cuda_compiler_version != "None"] - # needs to run protoc & grpc_cpp_plugin - - libgrpc # [build_platform != target_platform] - - libprotobuf # [build_platform != target_platform] - # needed for gandiva - - clangdev {{ llvm_version }} # [build_platform != target_platform] - - llvmdev {{ llvm_version }} # [build_platform != target_platform] - - gnuconfig # [build_platform != target_platform] - - cmake - - ninja - # necessary for vendored jemalloc - - autoconf # [linux] - - make # [linux] - host: - # for required dependencies, see - # https://github.com/apache/arrow/blob/apache-arrow-11.0.0/cpp/cmake_modules/ThirdpartyToolchain.cmake#L46-L75 - - clangdev {{ llvm_version }} - - llvmdev {{ llvm_version }} - - aws-crt-cpp - - aws-sdk-cpp - - brotli - - bzip2 - # not yet: https://github.com/conda-forge/cpp-opentelemetry-sdk-feedstock/issues/38 - # - cpp-opentelemetry-sdk - # - proto-opentelemetry-proto =={{ cpp_opentelemetry_sdk }} - - gflags - - glog - # arrow uses a customized jemalloc, see #944 - # - jemalloc - - libabseil - - libboost-headers - - libgoogle-cloud-devel - - libgoogle-cloud-storage-devel - - libgrpc - - libutf8proc - - lz4-c - - nlohmann_json - - orc - - rapidjson - - re2 - - snappy - - thrift-cpp - - ucx # [linux] - - xsimd - - zlib - - zstd - outputs: - name: pyarrow-core script: build-pyarrow.sh # [unix] @@ -94,6 +37,7 @@ outputs: string: py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} ignore_run_exports_from: - {{ compiler("cuda") }} # [cuda_compiler_version != "None"] + - libarrow-all track_features: {{ "[arrow-cuda]" if cuda_enabled else "" }} rpaths: - lib/ @@ -130,11 +74,9 @@ outputs: - cmake - ninja host: - # We add all libarrow package dependencies on host in order to build pyarrow - # once with all capabilities. We require the exact hash versions but we don't - # want those to be installed when running for pyarrow-core as we want a - # low memory footprint for the pyarrow-core package. - - {{ pin_subpackage("libarrow-all", exact=True) }} + # We add all libarrow package dependencies on host in order + # to build pyarrow once with all capabilities. + - libarrow-all {{ version }}.*=*{{ build_ext }} - clangdev {{ llvm_version }} - llvmdev {{ llvm_version }} - zlib @@ -144,7 +86,10 @@ outputs: - setuptools - setuptools-scm run: - - {{ pin_subpackage("libarrow", exact=True) }} + # We ignore the run-exports from libarrow-all and restrict to only + # libarrow, as we don't want the other libraries to be installed when + # running for pyarrow-core, where the aim is a low storage footprint. + - libarrow {{ version }}.*=*{{ build_ext }} - {{ pin_compatible('numpy') }} - python run_constrained: @@ -209,12 +154,12 @@ outputs: - python - numpy run: - # Default doesn't contain flight, flight-sql and gandiva - - {{ pin_subpackage("libarrow-acero", exact=True) }} - - {{ pin_subpackage("libarrow-dataset", exact=True) }} - - {{ pin_subpackage("libarrow-substrait", exact=True) }} - - {{ pin_subpackage("libparquet", exact=True) }} - {{ pin_subpackage("pyarrow-core", exact=True) }} + # Default doesn't contain flight, flight-sql and gandiva + - libarrow-acero {{ version }}.*=*{{ build_ext }} + - libarrow-dataset {{ version }}.*=*{{ build_ext }} + - libarrow-substrait {{ version }}.*=*{{ build_ext }} + - libparquet {{ version }}.*=*{{ build_ext }} - {{ pin_compatible('numpy') }} - python run_constrained: @@ -251,10 +196,10 @@ outputs: - python - numpy run: - - {{ pin_subpackage("libarrow-flight", exact=True) }} - - {{ pin_subpackage("libarrow-flight-sql", exact=True) }} - - {{ pin_subpackage("libarrow-gandiva", exact=True) }} - {{ pin_subpackage("pyarrow", exact=True) }} + - libarrow-flight {{ version }}.*=*{{ build_ext }} + - libarrow-flight-sql {{ version }}.*=*{{ build_ext }} + - libarrow-gandiva {{ version }}.*=*{{ build_ext }} - {{ pin_compatible('numpy') }} - python run_constrained: @@ -294,8 +239,8 @@ outputs: - cmake - ninja host: - - {{ pin_subpackage("libarrow-all", exact=True) }} - {{ pin_subpackage('pyarrow-all', exact=True) }} + - libarrow-all {{ version }}.*=*{{ build_ext }} - clangdev {{ llvm_version }} - llvmdev {{ llvm_version }} - zlib @@ -391,24 +336,12 @@ about: license: Apache-2.0 license_file: - LICENSE.txt - summary: C++ and Python libraries for Apache Arrow + summary: Python libraries for Apache Arrow extra: recipe-maintainers: - - wesm - xhochy - - leifwalsh - - jreback - - cpcloud - - pcmoritz - - robertnishihara - - siddharthteotia - - kou - - kszucs - - pitrou - - pearu - - nealrichardson - - jakirkham - h-vetinari - raulcd - feedstock-name: arrow-cpp + - conda-forge/arrow-cpp + feedstock-name: pyarrow From fc32a991fd4adcc25edbbf2ad7fced65d623b8db Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Tue, 7 May 2024 19:48:54 +1100 Subject: [PATCH 03/10] switch on aarch/ppc tests for all python versions --- recipe/meta.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index ec3ad61..7b21453 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -255,10 +255,6 @@ outputs: run_constrained: - apache-arrow-proc =*={{ build_ext }} - {% if not (aarch64 or ppc64le) or py == 311 %} - # only run the full test suite for one python version when in emulation - # (each run can take up to ~45min); there's essentially zero divergence - # in behaviour across python versions anyway test: requires: # test_cpp_extension_in_python requires a compiler @@ -322,7 +318,6 @@ outputs: {% set tests_to_skip = tests_to_skip + " or test_float_with_null_as_integer" %} # [ppc64le] # ^^^^^^^ TESTS THAT SHOULDN'T HAVE TO BE SKIPPED ^^^^^^^ - pytest pyarrow/ -rfEs -k "not ({{ tests_to_skip }})" - {% endif %} about: home: http://github.com/apache/arrow From f9694be0d6a6be06fbd0104029ce2f947b8d014f Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Tue, 7 May 2024 19:49:45 +1100 Subject: [PATCH 04/10] remove patch concerning libarrow --- recipe/meta.yaml | 2 - ...nd-protobuf-config-instead-of-module.patch | 40 ------------------- 2 files changed, 42 deletions(-) delete mode 100644 recipe/patches/0002-find-protobuf-config-instead-of-module.patch diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 7b21453..b9e0b80 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -14,8 +14,6 @@ source: patches: # workaround for https://github.com/apache/arrow/issues/37692 - patches/0001-fixture-teardown-should-not-fail-test.patch - # backport https://github.com/apache/arrow/issues/41333 to find correct protobuf - - patches/0002-find-protobuf-config-instead-of-module.patch # testing-submodule not part of release tarball - git_url: https://github.com/apache/arrow-testing.git git_rev: 25d16511e8d42c2744a1d94d90169e3a36e92631 diff --git a/recipe/patches/0002-find-protobuf-config-instead-of-module.patch b/recipe/patches/0002-find-protobuf-config-instead-of-module.patch deleted file mode 100644 index 1c2cb45..0000000 --- a/recipe/patches/0002-find-protobuf-config-instead-of-module.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff --git a/cpp/cmake_modules/FindProtobufAlt.cmake b/cpp/cmake_modules/FindProtobufAlt.cmake -index 15fe1b4..503cffe 100644 ---- a/cpp/cmake_modules/FindProtobufAlt.cmake -+++ b/cpp/cmake_modules/FindProtobufAlt.cmake -@@ -28,12 +28,27 @@ endif() - if(ProtobufAlt_FIND_QUIETLY) - list(APPEND find_package_args QUIET) - endif() --find_package(Protobuf ${find_package_args}) --set(ProtobufAlt_FOUND ${Protobuf_FOUND}) -+find_package(protobuf CONFIG ${find_package_args}) -+set(ProtobufAlt_FOUND ${protobuf_FOUND}) - if(ProtobufAlt_FOUND) -- set(ProtobufAlt_VERSION ${Protobuf_VERSION}) -- set(ProtobufAlt_VERSION_MAJOR ${Protobuf_VERSION_MAJOR}) -- set(ProtobufAlt_VERSION_MINOR ${Protobuf_VERSION_MINOR}) -- set(ProtobufAlt_VERSION_PATCH ${Protobuf_VERSION_PATCH}) -- set(ProtobufAlt_VERSION_TWEEK ${Protobuf_VERSION_TWEEK}) -+ if(Protobuf_PROTOC_EXECUTABLE) -+ set_target_properties(protobuf::protoc PROPERTIES -+ IMPORTED_LOCATION_RELEASE "${Protobuf_PROTOC_EXECUTABLE}" -+ ) -+ endif() -+ set(ProtobufAlt_VERSION ${protobuf_VERSION}) -+ set(ProtobufAlt_VERSION_MAJOR ${protobuf_VERSION_MAJOR}) -+ set(ProtobufAlt_VERSION_MINOR ${protobuf_VERSION_MINOR}) -+ set(ProtobufAlt_VERSION_PATCH ${protobuf_VERSION_PATCH}) -+ set(ProtobufAlt_VERSION_TWEEK ${protobuf_VERSION_TWEEK}) -+else() -+ find_package(Protobuf ${find_package_args}) -+ set(ProtobufAlt_FOUND ${Protobuf_FOUND}) -+ if(ProtobufAlt_FOUND) -+ set(ProtobufAlt_VERSION ${Protobuf_VERSION}) -+ set(ProtobufAlt_VERSION_MAJOR ${Protobuf_VERSION_MAJOR}) -+ set(ProtobufAlt_VERSION_MINOR ${Protobuf_VERSION_MINOR}) -+ set(ProtobufAlt_VERSION_PATCH ${Protobuf_VERSION_PATCH}) -+ set(ProtobufAlt_VERSION_TWEEK ${Protobuf_VERSION_TWEEK}) -+ endif() - endif() - \ No newline at end of file From f4829edd3253e7c80dad3348b7c635dede4fd7db Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Tue, 7 May 2024 20:16:33 +1100 Subject: [PATCH 05/10] only build for one arrow version --- recipe/conda_build_config.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index 0620285..66e9187 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -9,3 +9,12 @@ cxx_compiler_version: # [unix] - 16 # [osx] - 13 # [linux and (aarch64 or ppc64le)] - 10 # [linux and (aarch64 or ppc64le)] + +# override global pinning to only take one version +libarrow: + - 16 +libarrow_all: + - 16 +# currently still zipped with arrow_cpp in global pinning +arrow_cpp: + - 16 From 1fea14dd9fe453d18cd30b4765f91bf9915dd937 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Tue, 7 May 2024 20:59:00 +1100 Subject: [PATCH 06/10] ensure cuda_compiler_version_min gets populated correctly --- recipe/meta.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index b9e0b80..54e1d7d 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -90,6 +90,9 @@ outputs: - libarrow {{ version }}.*=*{{ build_ext }} - {{ pin_compatible('numpy') }} - python + # this is redundant with libarrow, but we want smithy to pick up that + # cuda_compiler_version_min is present, to populate the CI configs + - __cuda >={{ cuda_compiler_version_min }} # [cuda_compiler_version != "None"] run_constrained: - apache-arrow-proc =*={{ build_ext }} From af8adb8ab6a1ea3fc91211161e9e959e484393fe Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 8 May 2024 09:39:19 +1100 Subject: [PATCH 07/10] don't distinguish CUDA/non-CUDA for pyarrow{,-all,-tests} --- recipe/meta.yaml | 42 ++++++++++++++---------------------------- 1 file changed, 14 insertions(+), 28 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 54e1d7d..73d56db 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -147,24 +147,21 @@ outputs: - name: pyarrow version: {{ version }} - build: - string: py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} requirements: host: # only necessary for run-exports - python - numpy run: - - {{ pin_subpackage("pyarrow-core", exact=True) }} + # do not use pin_compatible because pyarrow-core has CUDA/non-CUDA variants + - pyarrow-core {{ version }}=*_{{ PKG_BUILDNUM }}_* # Default doesn't contain flight, flight-sql and gandiva - - libarrow-acero {{ version }}.*=*{{ build_ext }} - - libarrow-dataset {{ version }}.*=*{{ build_ext }} - - libarrow-substrait {{ version }}.*=*{{ build_ext }} - - libparquet {{ version }}.*=*{{ build_ext }} + - libarrow-acero {{ version }}.* + - libarrow-dataset {{ version }}.* + - libarrow-substrait {{ version }}.* + - libparquet {{ version }}.* - {{ pin_compatible('numpy') }} - python - run_constrained: - - apache-arrow-proc =*={{ build_ext }} test: files: @@ -189,22 +186,18 @@ outputs: - name: pyarrow-all version: {{ version }} - build: - string: py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} requirements: host: # only necessary for run-exports - python - numpy run: - - {{ pin_subpackage("pyarrow", exact=True) }} - - libarrow-flight {{ version }}.*=*{{ build_ext }} - - libarrow-flight-sql {{ version }}.*=*{{ build_ext }} - - libarrow-gandiva {{ version }}.*=*{{ build_ext }} + - pyarrow {{ version }}=*_{{ PKG_BUILDNUM }} + - libarrow-flight {{ version }}.* + - libarrow-flight-sql {{ version }}.* + - libarrow-gandiva {{ version }}.* - {{ pin_compatible('numpy') }} - python - run_constrained: - - apache-arrow-proc =*={{ build_ext }} test: imports: @@ -222,17 +215,12 @@ outputs: script: build-pyarrow.bat # [win] version: {{ version }} build: - string: py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }} - ignore_run_exports_from: - - {{ compiler("cuda") }} # [cuda_compiler_version != "None"] - track_features: {{ "[arrow-cuda]" if cuda_enabled else "" }} + skip: true # [cuda_compiler_version != "None"] requirements: build: - {{ compiler("c") }} - {{ stdlib("c") }} - {{ compiler("cxx") }} - # pyarrow does not require nvcc but it needs to link against libraries in libarrow=*=*cuda - - {{ compiler("cuda") }} # [cuda_compiler_version != "None"] - python # [build_platform != target_platform] - cross-python_{{ target_platform }} # [build_platform != target_platform] - cython # [build_platform != target_platform] @@ -240,8 +228,8 @@ outputs: - cmake - ninja host: - - {{ pin_subpackage('pyarrow-all', exact=True) }} - - libarrow-all {{ version }}.*=*{{ build_ext }} + - pyarrow-all {{ version }}=*_{{ PKG_BUILDNUM }} + - libarrow-all {{ version }}.* - clangdev {{ llvm_version }} - llvmdev {{ llvm_version }} - zlib @@ -251,10 +239,8 @@ outputs: - setuptools - setuptools-scm run: - - {{ pin_subpackage('pyarrow-all', exact=True) }} + - pyarrow-all {{ version }}=*_{{ PKG_BUILDNUM }} - python - run_constrained: - - apache-arrow-proc =*={{ build_ext }} test: requires: From b5001cd487f1b191e0a5a6b1569e0eb51719b314 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 8 May 2024 09:47:06 +1100 Subject: [PATCH 08/10] update conda-forge.yml --- conda-forge.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/conda-forge.yml b/conda-forge.yml index 9f101c4..076b676 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -1,7 +1,16 @@ -appveyor: - secure: {BINSTAR_TOKEN: tumuXLL8PU75WMnRDemRy02ruEq2RpNxeK3dz0MjFssnosPm2v4EFjfNB4PTotA1} -# linux_ppc64le is explicitly removed again, see https://github.com/conda-forge/arrow-cpp-feedstock/issues/143 -provider: {linux_aarch64: default, win: azure} -travis: - secure: {BINSTAR_TOKEN: EiOFEzM1XtKqTQqSo+nnIzIaNJpZxWsI1GJ8unI+eD9V519APMGNcflft6G1zuO0GcUEnUJlqvURRi8QQHow1Ay6Nvrmwf+2CGUfgmqjtQDRo15ObwzTqDZxMFpMgUMIpuLRa5vIwYDW5/hNOcxgaIx6sqDVSa0EsZY0KFBbHkfaqiX2h6iSN3H3KOG9Y3tjRf00DBGZbbqY+uKszH9aX18f+uKKiNh2uLFfalcyePEmKInqqLFDtY4g0X+FOMYm31ZaHTJCgyPvnLhExw57WnuUs3Vvra+ibYZgjPmHB67xVIhqWe0VQPXCCAXAosDK16OTtzcQUe3Cycrp/K1cbjo4hcUQLQnzpgmNhIBuk6ttGSnyCeyr/otgqaF+Ah43FbJlqmq6hD75cdHNhbkvnde6Z2jpOHe2MOL4EvOb6qJn/YE6HN3zoYaKFzT6qqotQIoBf7oYi6VHAztO6kpwv6CAeVJnTtTj8YOOUyv6GWGXn1e4ehyhg9zkR5BPlvj05p+oaw2BcL3Qj7khZOog066NcxjBRlkZcfL9BXBPeCa2/k4RmzzNcdfCX/PdMY0JfzD03g6NGLCt0jJHhaXKS78WzwOjVVz00cz1jhCcPLTBQn9OqZHPmAxbE6BULuuFdlxnxdooQSJavVj5cdxR6oexSI+vEXjIEDcMEZgXph8=} +azure: + free_disk_space: true +build_platform: + linux_aarch64: linux_64 + linux_ppc64le: linux_64 + osx_arm64: osx_64 +conda_build: + pkg_format: '2' conda_forge_output_validation: true +github: + branch_name: main + tooling_branch_name: main +provider: + linux_aarch64: azure + linux_ppc64le: azure +test: native_and_emulated From 5c5b1bf7eda887c56b3b1c3bf82757ab8bea5e8a Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 8 May 2024 09:52:31 +1100 Subject: [PATCH 09/10] match migration status of arrow-cpp feedstock --- .ci_support/migrations/python312.yaml | 42 +++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .ci_support/migrations/python312.yaml diff --git a/.ci_support/migrations/python312.yaml b/.ci_support/migrations/python312.yaml new file mode 100644 index 0000000..8d4964e --- /dev/null +++ b/.ci_support/migrations/python312.yaml @@ -0,0 +1,42 @@ +migrator_ts: 1695046563 +__migrator: + migration_number: 1 + operation: key_add + primary_key: python + ordering: + python: + - 3.6.* *_cpython + - 3.7.* *_cpython + - 3.8.* *_cpython + - 3.9.* *_cpython + - 3.10.* *_cpython + - 3.11.* *_cpython + - 3.12.* *_cpython # new entry + - 3.6.* *_73_pypy + - 3.7.* *_73_pypy + - 3.8.* *_73_pypy + - 3.9.* *_73_pypy + paused: false + longterm: True + pr_limit: 60 + max_solver_attempts: 5 # this will make the bot retry "not solvable" stuff 5 times + exclude: + # this shouldn't attempt to modify the python feedstocks + - python + - pypy3.6 + - pypy-meta + - cross-python + - python_abi + exclude_pinned_pkgs: false + additional_zip_keys: + - channel_sources + +python: + - 3.12.* *_cpython +channel_sources: + - conda-forge/label/python_rc,conda-forge +# additional entries to add for zip_keys +numpy: + - 1.26 +python_impl: + - cpython From 10163e207a6610933716f9a365909387f28f95af Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 8 May 2024 09:54:48 +1100 Subject: [PATCH 10/10] MNT: Re-rendered with conda-build 24.3.0, conda-smithy 3.35.0, and conda-forge-pinning 2024.05.07.15.53.14 --- .azure-pipelines/azure-pipelines-linux.yml | 160 +++++- .azure-pipelines/azure-pipelines-osx.yml | 46 +- .azure-pipelines/azure-pipelines-win.yml | 138 ++---- .ci_support/README | 7 +- ...sion11numpy1.22python3.10.____cpython.yaml | 50 ++ ...rsion11numpy1.22python3.8.____cpython.yaml | 50 ++ ...rsion11numpy1.22python3.9.____cpython.yaml | 50 ++ ...sion11numpy1.23python3.11.____cpython.yaml | 50 ++ ...sion11numpy1.26python3.12.____cpython.yaml | 50 ++ ...sion12numpy1.22python3.10.____cpython.yaml | 50 ++ ...rsion12numpy1.22python3.8.____cpython.yaml | 50 ++ ...rsion12numpy1.22python3.9.____cpython.yaml | 50 ++ ...sion12numpy1.23python3.11.____cpython.yaml | 50 ++ ...sion12numpy1.26python3.12.____cpython.yaml | 50 ++ ...sion10numpy1.22python3.10.____cpython.yaml | 54 ++ ...rsion10numpy1.22python3.8.____cpython.yaml | 54 ++ ...rsion10numpy1.22python3.9.____cpython.yaml | 54 ++ ...sion10numpy1.23python3.11.____cpython.yaml | 54 ++ ...sion10numpy1.26python3.12.____cpython.yaml | 54 ++ ...sion13numpy1.22python3.10.____cpython.yaml | 54 ++ ...rsion13numpy1.22python3.8.____cpython.yaml | 54 ++ ...rsion13numpy1.22python3.9.____cpython.yaml | 54 ++ ...sion13numpy1.23python3.11.____cpython.yaml | 54 ++ ...sion13numpy1.26python3.12.____cpython.yaml | 54 ++ .../linux_aarch64_python3.6.____cpython.yaml | 30 -- .../linux_aarch64_python3.7.____cpython.yaml | 30 -- .../linux_aarch64_python3.8.____cpython.yaml | 30 -- ...sion10numpy1.22python3.10.____cpython.yaml | 50 ++ ...rsion10numpy1.22python3.8.____cpython.yaml | 50 ++ ...rsion10numpy1.22python3.9.____cpython.yaml | 50 ++ ...sion10numpy1.23python3.11.____cpython.yaml | 50 ++ ...sion10numpy1.26python3.12.____cpython.yaml | 50 ++ ...sion13numpy1.22python3.10.____cpython.yaml | 50 ++ ...rsion13numpy1.22python3.8.____cpython.yaml | 50 ++ ...rsion13numpy1.22python3.9.____cpython.yaml | 50 ++ ...sion13numpy1.23python3.11.____cpython.yaml | 50 ++ ...sion13numpy1.26python3.12.____cpython.yaml | 50 ++ .ci_support/linux_python3.6.____cpython.yaml | 24 - .ci_support/linux_python3.7.____cpython.yaml | 24 - .ci_support/linux_python3.8.____cpython.yaml | 24 - .ci_support/migrations/boost172.yaml | 11 - .ci_support/migrations/python38.yaml | 55 --- ...sx_64_numpy1.22python3.10.____cpython.yaml | 41 ++ ...sx_64_numpy1.22python3.8.____cpython.yaml} | 33 +- ...osx_64_numpy1.22python3.9.____cpython.yaml | 41 ++ ...sx_64_numpy1.23python3.11.____cpython.yaml | 41 ++ ...sx_64_numpy1.26python3.12.____cpython.yaml | 41 ++ ...arm64_numpy1.22python3.10.____cpython.yaml | 41 ++ ..._arm64_numpy1.22python3.8.____cpython.yaml | 41 ++ ..._arm64_numpy1.22python3.9.____cpython.yaml | 41 ++ ...arm64_numpy1.23python3.11.____cpython.yaml | 41 ++ ...arm64_numpy1.26python3.12.____cpython.yaml | 41 ++ .ci_support/osx_python3.6.____cpython.yaml | 28 -- .ci_support/osx_python3.7.____cpython.yaml | 28 -- ...on11.8numpy1.22python3.10.____cpython.yaml | 35 ++ ...ion11.8numpy1.22python3.8.____cpython.yaml | 35 ++ ...ion11.8numpy1.22python3.9.____cpython.yaml | 35 ++ ...on11.8numpy1.23python3.11.____cpython.yaml | 35 ++ ...on11.8numpy1.26python3.12.____cpython.yaml | 35 ++ ...onNonenumpy1.22python3.10.____cpython.yaml | 35 ++ ...ionNonenumpy1.22python3.8.____cpython.yaml | 35 ++ ...ionNonenumpy1.22python3.9.____cpython.yaml | 35 ++ ...onNonenumpy1.23python3.11.____cpython.yaml | 35 ++ ...onNonenumpy1.26python3.12.____cpython.yaml | 35 ++ .ci_support/win_python3.6.____cpython.yaml | 18 - .ci_support/win_python3.7.____cpython.yaml | 18 - .ci_support/win_python3.8.____cpython.yaml | 18 - .circleci/config.yml | 5 +- .drone.yml | 90 ---- .gitattributes | 2 + .github/CODEOWNERS | 2 +- .github/workflows/automerge.yml | 5 +- .github/workflows/webservices.yml | 3 +- .gitignore | 25 +- .scripts/build_steps.sh | 68 ++- .scripts/logging_utils.sh | 35 ++ .scripts/run_docker_build.sh | 55 ++- .scripts/run_osx_build.sh | 107 ++-- .scripts/run_win_build.bat | 125 +++++ LICENSE.txt | 32 +- README.md | 465 +++++++++++++++--- build-locally.py | 49 +- 82 files changed, 3361 insertions(+), 688 deletions(-) create mode 100644 .ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.10.____cpython.yaml create mode 100644 .ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.8.____cpython.yaml create mode 100644 .ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.9.____cpython.yaml create mode 100644 .ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.23python3.11.____cpython.yaml create mode 100644 .ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.26python3.12.____cpython.yaml create mode 100644 .ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.10.____cpython.yaml create mode 100644 .ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.8.____cpython.yaml create mode 100644 .ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.9.____cpython.yaml create mode 100644 .ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.23python3.11.____cpython.yaml create mode 100644 .ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.26python3.12.____cpython.yaml create mode 100644 .ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.10.____cpython.yaml create mode 100644 .ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.8.____cpython.yaml create mode 100644 .ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.9.____cpython.yaml create mode 100644 .ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.23python3.11.____cpython.yaml create mode 100644 .ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.26python3.12.____cpython.yaml create mode 100644 .ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.10.____cpython.yaml create mode 100644 .ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.8.____cpython.yaml create mode 100644 .ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.9.____cpython.yaml create mode 100644 .ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.23python3.11.____cpython.yaml create mode 100644 .ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.26python3.12.____cpython.yaml delete mode 100644 .ci_support/linux_aarch64_python3.6.____cpython.yaml delete mode 100644 .ci_support/linux_aarch64_python3.7.____cpython.yaml delete mode 100644 .ci_support/linux_aarch64_python3.8.____cpython.yaml create mode 100644 .ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.10.____cpython.yaml create mode 100644 .ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.8.____cpython.yaml create mode 100644 .ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.9.____cpython.yaml create mode 100644 .ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.23python3.11.____cpython.yaml create mode 100644 .ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.26python3.12.____cpython.yaml create mode 100644 .ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.10.____cpython.yaml create mode 100644 .ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.8.____cpython.yaml create mode 100644 .ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.9.____cpython.yaml create mode 100644 .ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.23python3.11.____cpython.yaml create mode 100644 .ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.26python3.12.____cpython.yaml delete mode 100644 .ci_support/linux_python3.6.____cpython.yaml delete mode 100644 .ci_support/linux_python3.7.____cpython.yaml delete mode 100644 .ci_support/linux_python3.8.____cpython.yaml delete mode 100644 .ci_support/migrations/boost172.yaml delete mode 100644 .ci_support/migrations/python38.yaml create mode 100644 .ci_support/osx_64_numpy1.22python3.10.____cpython.yaml rename .ci_support/{osx_python3.8.____cpython.yaml => osx_64_numpy1.22python3.8.____cpython.yaml} (50%) create mode 100644 .ci_support/osx_64_numpy1.22python3.9.____cpython.yaml create mode 100644 .ci_support/osx_64_numpy1.23python3.11.____cpython.yaml create mode 100644 .ci_support/osx_64_numpy1.26python3.12.____cpython.yaml create mode 100644 .ci_support/osx_arm64_numpy1.22python3.10.____cpython.yaml create mode 100644 .ci_support/osx_arm64_numpy1.22python3.8.____cpython.yaml create mode 100644 .ci_support/osx_arm64_numpy1.22python3.9.____cpython.yaml create mode 100644 .ci_support/osx_arm64_numpy1.23python3.11.____cpython.yaml create mode 100644 .ci_support/osx_arm64_numpy1.26python3.12.____cpython.yaml delete mode 100644 .ci_support/osx_python3.6.____cpython.yaml delete mode 100644 .ci_support/osx_python3.7.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_version11.8numpy1.22python3.10.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_version11.8numpy1.22python3.8.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_version11.8numpy1.22python3.9.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_version11.8numpy1.23python3.11.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_version11.8numpy1.26python3.12.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_versionNonenumpy1.22python3.10.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_versionNonenumpy1.22python3.8.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_versionNonenumpy1.22python3.9.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_versionNonenumpy1.23python3.11.____cpython.yaml create mode 100644 .ci_support/win_64_cuda_compiler_versionNonenumpy1.26python3.12.____cpython.yaml delete mode 100644 .ci_support/win_python3.6.____cpython.yaml delete mode 100644 .ci_support/win_python3.7.____cpython.yaml delete mode 100644 .ci_support/win_python3.8.____cpython.yaml delete mode 100644 .drone.yml create mode 100644 .scripts/logging_utils.sh create mode 100755 .scripts/run_win_build.bat diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index b5de8a2..8176484 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -5,25 +5,154 @@ jobs: - job: linux pool: - vmImage: ubuntu-16.04 + vmImage: ubuntu-latest strategy: matrix: - linux_python3.6.____cpython: - CONFIG: linux_python3.6.____cpython + ? linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.10.____cpython + : CONFIG: linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.10.____cpython UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: condaforge/linux-anvil-comp7 - linux_python3.7.____cpython: - CONFIG: linux_python3.7.____cpython + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + ? linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.8.____cpython + : CONFIG: linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.8.____cpython UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: condaforge/linux-anvil-comp7 - linux_python3.8.____cpython: - CONFIG: linux_python3.8.____cpython + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + ? linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.9.____cpython + : CONFIG: linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.9.____cpython UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: condaforge/linux-anvil-comp7 - maxParallel: 8 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + ? linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.23python3.11.____cpython + : CONFIG: linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.23python3.11.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + ? linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.26python3.12.____cpython + : CONFIG: linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.26python3.12.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + ? linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.10.____cpython + : CONFIG: linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.10.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + ? linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.8.____cpython + : CONFIG: linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.8.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + ? linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.9.____cpython + : CONFIG: linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.9.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + ? linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.23python3.11.____cpython + : CONFIG: linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.23python3.11.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + ? linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.26python3.12.____cpython + : CONFIG: linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.26python3.12.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.10.____cpython: + CONFIG: linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.10.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.8.____cpython: + CONFIG: linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.8.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.9.____cpython: + CONFIG: linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.9.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.23python3.11.____cpython: + CONFIG: linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.23python3.11.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.26python3.12.____cpython: + CONFIG: linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.26python3.12.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.10.____cpython: + CONFIG: linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.10.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.8.____cpython: + CONFIG: linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.8.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.9.____cpython: + CONFIG: linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.9.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.23python3.11.____cpython: + CONFIG: linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.23python3.11.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.26python3.12.____cpython: + CONFIG: linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.26python3.12.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.10.____cpython: + CONFIG: linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.10.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.8.____cpython: + CONFIG: linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.8.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.9.____cpython: + CONFIG: linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.9.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.23python3.11.____cpython: + CONFIG: linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.23python3.11.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.26python3.12.____cpython: + CONFIG: linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.26python3.12.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.8 + linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.10.____cpython: + CONFIG: linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.10.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.8.____cpython: + CONFIG: linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.8.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.9.____cpython: + CONFIG: linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.9.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.23python3.11.____cpython: + CONFIG: linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.23python3.11.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.26python3.12.____cpython: + CONFIG: linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.26python3.12.____cpython + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 timeoutInMinutes: 360 + variables: {} steps: + - script: | + sudo mkdir -p /opt/empty_dir || true + for d in \ + /opt/ghc \ + /opt/hostedtoolcache \ + /usr/lib/jvm \ + /usr/local/.ghcup \ + /usr/local/lib/android \ + /usr/local/share/powershell \ + /usr/share/dotnet \ + /usr/share/swift \ + ; do + sudo rsync --stats -a --delete /opt/empty_dir/ $d || true + done + sudo apt-get purge -y -f firefox \ + google-chrome-stable \ + microsoft-edge-stable + sudo apt-get autoremove -y >& /dev/null + sudo apt-get autoclean -y >& /dev/null + df -h + displayName: Manage disk space # configure qemu binfmt-misc running. This allows us to run docker containers # embedded qemu-static - script: | @@ -34,7 +163,16 @@ jobs: - script: | export CI=azure + export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) + export remote_url=$(Build.Repository.Uri) + export sha=$(Build.SourceVersion) export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME + export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) + if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then + export IS_PR_BUILD="True" + else + export IS_PR_BUILD="False" + fi .scripts/run_docker_build.sh displayName: Run docker build env: diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml index be31e1e..d5e3950 100755 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -5,27 +5,57 @@ jobs: - job: osx pool: - vmImage: macOS-10.14 + vmImage: macOS-12 strategy: matrix: - osx_python3.6.____cpython: - CONFIG: osx_python3.6.____cpython + osx_64_numpy1.22python3.10.____cpython: + CONFIG: osx_64_numpy1.22python3.10.____cpython UPLOAD_PACKAGES: 'True' - osx_python3.7.____cpython: - CONFIG: osx_python3.7.____cpython + osx_64_numpy1.22python3.8.____cpython: + CONFIG: osx_64_numpy1.22python3.8.____cpython UPLOAD_PACKAGES: 'True' - osx_python3.8.____cpython: - CONFIG: osx_python3.8.____cpython + osx_64_numpy1.22python3.9.____cpython: + CONFIG: osx_64_numpy1.22python3.9.____cpython + UPLOAD_PACKAGES: 'True' + osx_64_numpy1.23python3.11.____cpython: + CONFIG: osx_64_numpy1.23python3.11.____cpython + UPLOAD_PACKAGES: 'True' + osx_64_numpy1.26python3.12.____cpython: + CONFIG: osx_64_numpy1.26python3.12.____cpython + UPLOAD_PACKAGES: 'True' + osx_arm64_numpy1.22python3.10.____cpython: + CONFIG: osx_arm64_numpy1.22python3.10.____cpython + UPLOAD_PACKAGES: 'True' + osx_arm64_numpy1.22python3.8.____cpython: + CONFIG: osx_arm64_numpy1.22python3.8.____cpython + UPLOAD_PACKAGES: 'True' + osx_arm64_numpy1.22python3.9.____cpython: + CONFIG: osx_arm64_numpy1.22python3.9.____cpython + UPLOAD_PACKAGES: 'True' + osx_arm64_numpy1.23python3.11.____cpython: + CONFIG: osx_arm64_numpy1.23python3.11.____cpython + UPLOAD_PACKAGES: 'True' + osx_arm64_numpy1.26python3.12.____cpython: + CONFIG: osx_arm64_numpy1.26python3.12.____cpython UPLOAD_PACKAGES: 'True' - maxParallel: 8 timeoutInMinutes: 360 + variables: {} steps: # TODO: Fast finish on azure pipelines? - script: | export CI=azure + export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) + export remote_url=$(Build.Repository.Uri) + export sha=$(Build.SourceVersion) export OSX_FORCE_SDK_DOWNLOAD="1" export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME + export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) + if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then + export IS_PR_BUILD="True" + else + export IS_PR_BUILD="False" + fi ./.scripts/run_osx_build.sh displayName: Run OSX build env: diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index 5890c3a..55e8feb 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -5,111 +5,75 @@ jobs: - job: win pool: - vmImage: vs2017-win2016 + vmImage: windows-2022 strategy: matrix: - win_python3.6.____cpython: - CONFIG: win_python3.6.____cpython + win_64_cuda_compiler_version11.8numpy1.22python3.10.____cpython: + CONFIG: win_64_cuda_compiler_version11.8numpy1.22python3.10.____cpython UPLOAD_PACKAGES: 'True' - win_python3.7.____cpython: - CONFIG: win_python3.7.____cpython + win_64_cuda_compiler_version11.8numpy1.22python3.8.____cpython: + CONFIG: win_64_cuda_compiler_version11.8numpy1.22python3.8.____cpython UPLOAD_PACKAGES: 'True' - win_python3.8.____cpython: - CONFIG: win_python3.8.____cpython + win_64_cuda_compiler_version11.8numpy1.22python3.9.____cpython: + CONFIG: win_64_cuda_compiler_version11.8numpy1.22python3.9.____cpython + UPLOAD_PACKAGES: 'True' + win_64_cuda_compiler_version11.8numpy1.23python3.11.____cpython: + CONFIG: win_64_cuda_compiler_version11.8numpy1.23python3.11.____cpython + UPLOAD_PACKAGES: 'True' + win_64_cuda_compiler_version11.8numpy1.26python3.12.____cpython: + CONFIG: win_64_cuda_compiler_version11.8numpy1.26python3.12.____cpython + UPLOAD_PACKAGES: 'True' + win_64_cuda_compiler_versionNonenumpy1.22python3.10.____cpython: + CONFIG: win_64_cuda_compiler_versionNonenumpy1.22python3.10.____cpython + UPLOAD_PACKAGES: 'True' + win_64_cuda_compiler_versionNonenumpy1.22python3.8.____cpython: + CONFIG: win_64_cuda_compiler_versionNonenumpy1.22python3.8.____cpython + UPLOAD_PACKAGES: 'True' + win_64_cuda_compiler_versionNonenumpy1.22python3.9.____cpython: + CONFIG: win_64_cuda_compiler_versionNonenumpy1.22python3.9.____cpython + UPLOAD_PACKAGES: 'True' + win_64_cuda_compiler_versionNonenumpy1.23python3.11.____cpython: + CONFIG: win_64_cuda_compiler_versionNonenumpy1.23python3.11.____cpython + UPLOAD_PACKAGES: 'True' + win_64_cuda_compiler_versionNonenumpy1.26python3.12.____cpython: + CONFIG: win_64_cuda_compiler_versionNonenumpy1.26python3.12.____cpython UPLOAD_PACKAGES: 'True' - maxParallel: 4 timeoutInMinutes: 360 variables: CONDA_BLD_PATH: D:\\bld\\ + UPLOAD_TEMP: D:\\tmp steps: - - script: | - choco install vcpython27 -fdv -y --debug - condition: contains(variables['CONFIG'], 'vs2008') - displayName: Install vcpython27.msi (if needed) - - # Cygwin's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.) - # - script: rmdir C:\cygwin /s /q - # continueOnError: true - - - powershell: | - Set-PSDebug -Trace 1 - - $batchcontent = @" - ECHO ON - SET vcpython=C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for Python\9.0 - - DIR "%vcpython%" - - CALL "%vcpython%\vcvarsall.bat" %* - "@ - - $batchDir = "C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for Python\9.0\VC" - $batchPath = "$batchDir" + "\vcvarsall.bat" - New-Item -Path $batchPath -ItemType "file" -Force - Set-Content -Value $batchcontent -Path $batchPath - - Get-ChildItem -Path $batchDir - - Get-ChildItem -Path ($batchDir + '\..') - - condition: contains(variables['CONFIG'], 'vs2008') - displayName: Patch vs2008 (if needed) - - - task: CondaEnvironment@1 + - task: PythonScript@0 + displayName: 'Download Miniforge' inputs: - packageSpecs: 'python=3.6 conda-build conda conda-forge::conda-forge-ci-setup=3 pip' # Optional - installOptions: "-c conda-forge" - updateConda: true - displayName: Install conda-build and activate environment - - - script: set PYTHONUNBUFFERED=1 - displayName: Set PYTHONUNBUFFERED - - # Configure the VM - - script: | - call activate base - setup_conda_rc .\ ".\recipe" .\.ci_support\%CONFIG%.yaml - displayName: conda-forge CI setup + scriptSource: inline + script: | + import urllib.request + url = 'https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Windows-x86_64.exe' + path = r"$(Build.ArtifactStagingDirectory)/Miniforge.exe" + urllib.request.urlretrieve(url, path) - # Configure the VM. - script: | - set "CI=azure" - call activate base - run_conda_forge_build_setup - displayName: conda-forge build setup - + start /wait "" %BUILD_ARTIFACTSTAGINGDIRECTORY%\Miniforge.exe /InstallationType=JustMe /RegisterPython=0 /S /D=C:\Miniforge + displayName: Install Miniforge - # Special cased version setting some more things! - - script: | - call activate base - conda.exe build "recipe" -m .ci_support\%CONFIG%.yaml - displayName: Build recipe (vs2008) - env: - VS90COMNTOOLS: "C:\\Program Files (x86)\\Common Files\\Microsoft\\Visual C++ for Python\\9.0\\VC\\bin" - PYTHONUNBUFFERED: 1 - condition: contains(variables['CONFIG'], 'vs2008') + - powershell: Write-Host "##vso[task.prependpath]C:\Miniforge\Scripts" + displayName: Add conda to PATH - script: | - call activate base - conda.exe build "recipe" -m .ci_support\%CONFIG%.yaml - displayName: Build recipe + call ".scripts\run_win_build.bat" + displayName: Run Windows build env: PYTHONUNBUFFERED: 1 - condition: not(contains(variables['CONFIG'], 'vs2008')) - - script: | - call activate base - validate_recipe_outputs "pyarrow-feedstock" - displayName: Validate Recipe Outputs - - - script: | - set "GIT_BRANCH=%BUILD_SOURCEBRANCHNAME%" - call activate base - upload_package --validate --feedstock-name="pyarrow-feedstock" .\ ".\recipe" .ci_support\%CONFIG%.yaml - displayName: Upload package - env: + CONFIG: $(CONFIG) + CI: azure + flow_run_id: azure_$(Build.BuildNumber).$(System.JobAttempt) + remote_url: $(Build.Repository.Uri) + sha: $(Build.SourceVersion) + UPLOAD_PACKAGES: $(UPLOAD_PACKAGES) + UPLOAD_TEMP: $(UPLOAD_TEMP) BINSTAR_TOKEN: $(BINSTAR_TOKEN) FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) - STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) - condition: and(succeeded(), not(eq(variables['UPLOAD_PACKAGES'], 'False'))) \ No newline at end of file + STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) \ No newline at end of file diff --git a/.ci_support/README b/.ci_support/README index e4e2dce..a47316b 100644 --- a/.ci_support/README +++ b/.ci_support/README @@ -1 +1,6 @@ -This file is automatically generated by conda-smithy. To change any matrix elements, you should change conda-smithy's input conda_build_config.yaml and re-render the recipe, rather than editing these files directly. \ No newline at end of file +This file is automatically generated by conda-smithy. If any +particular build configuration is expected, but it is not found, +please make sure all dependencies are satisfiable. To add/modify any +matrix elements, you should create/change conda-smithy's input +recipe/conda_build_config.yaml and re-render the recipe, rather than +editing these files directly. diff --git a/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.10.____cpython.yaml b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.10.____cpython.yaml new file mode 100644 index 0000000..66ddc9d --- /dev/null +++ b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.10.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '11' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '11' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.8 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- linux-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.8.____cpython.yaml b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.8.____cpython.yaml new file mode 100644 index 0000000..8cca83f --- /dev/null +++ b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.8.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '11' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '11' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.8 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +target_platform: +- linux-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.9.____cpython.yaml b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.9.____cpython.yaml new file mode 100644 index 0000000..8370ad3 --- /dev/null +++ b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.9.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '11' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '11' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.8 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- linux-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.23python3.11.____cpython.yaml b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..5417b1b --- /dev/null +++ b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.23python3.11.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '11' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '11' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.8 +libarrow_all: +- '16' +numpy: +- '1.23' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- linux-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.26python3.12.____cpython.yaml b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.26python3.12.____cpython.yaml new file mode 100644 index 0000000..0999d36 --- /dev/null +++ b/.ci_support/linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.26python3.12.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '11' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '11' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.8 +libarrow_all: +- '16' +numpy: +- '1.26' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.12.* *_cpython +target_platform: +- linux-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.10.____cpython.yaml b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.10.____cpython.yaml new file mode 100644 index 0000000..a45d7b0 --- /dev/null +++ b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.10.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '12' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.12' +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- linux-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.8.____cpython.yaml b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.8.____cpython.yaml new file mode 100644 index 0000000..76e59a6 --- /dev/null +++ b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.8.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '12' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.12' +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +target_platform: +- linux-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.9.____cpython.yaml b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.9.____cpython.yaml new file mode 100644 index 0000000..d215c9f --- /dev/null +++ b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.9.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '12' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.12' +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- linux-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.23python3.11.____cpython.yaml b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..879bd0a --- /dev/null +++ b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.23python3.11.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '12' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.12' +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +libarrow_all: +- '16' +numpy: +- '1.23' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- linux-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.26python3.12.____cpython.yaml b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.26python3.12.____cpython.yaml new file mode 100644 index 0000000..daceba9 --- /dev/null +++ b/.ci_support/linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.26python3.12.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '12' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.12' +cdt_name: +- cos6 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '12' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +libarrow_all: +- '16' +numpy: +- '1.26' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.12.* *_cpython +target_platform: +- linux-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.10.____cpython.yaml b/.ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.10.____cpython.yaml new file mode 100644 index 0000000..a730a5b --- /dev/null +++ b/.ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.10.____cpython.yaml @@ -0,0 +1,54 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +c_compiler: +- gcc +c_compiler_version: +- '10' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '10' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.8 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- linux-aarch64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.8.____cpython.yaml b/.ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.8.____cpython.yaml new file mode 100644 index 0000000..af57242 --- /dev/null +++ b/.ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.8.____cpython.yaml @@ -0,0 +1,54 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +c_compiler: +- gcc +c_compiler_version: +- '10' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '10' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.8 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +target_platform: +- linux-aarch64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.9.____cpython.yaml b/.ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.9.____cpython.yaml new file mode 100644 index 0000000..40a5da3 --- /dev/null +++ b/.ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.9.____cpython.yaml @@ -0,0 +1,54 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +c_compiler: +- gcc +c_compiler_version: +- '10' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '10' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.8 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- linux-aarch64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.23python3.11.____cpython.yaml b/.ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..e88274a --- /dev/null +++ b/.ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.23python3.11.____cpython.yaml @@ -0,0 +1,54 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +c_compiler: +- gcc +c_compiler_version: +- '10' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '10' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.8 +libarrow_all: +- '16' +numpy: +- '1.23' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- linux-aarch64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.26python3.12.____cpython.yaml b/.ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.26python3.12.____cpython.yaml new file mode 100644 index 0000000..6509ab9 --- /dev/null +++ b/.ci_support/linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.26python3.12.____cpython.yaml @@ -0,0 +1,54 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +c_compiler: +- gcc +c_compiler_version: +- '10' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '10' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.8 +libarrow_all: +- '16' +numpy: +- '1.26' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.12.* *_cpython +target_platform: +- linux-aarch64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.10.____cpython.yaml b/.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.10.____cpython.yaml new file mode 100644 index 0000000..f9c1253 --- /dev/null +++ b/.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.10.____cpython.yaml @@ -0,0 +1,54 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +c_compiler: +- gcc +c_compiler_version: +- '13' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '13' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- linux-aarch64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.8.____cpython.yaml b/.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.8.____cpython.yaml new file mode 100644 index 0000000..30dd4bc --- /dev/null +++ b/.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.8.____cpython.yaml @@ -0,0 +1,54 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +c_compiler: +- gcc +c_compiler_version: +- '13' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '13' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +target_platform: +- linux-aarch64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.9.____cpython.yaml b/.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.9.____cpython.yaml new file mode 100644 index 0000000..3061d05 --- /dev/null +++ b/.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.9.____cpython.yaml @@ -0,0 +1,54 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +c_compiler: +- gcc +c_compiler_version: +- '13' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '13' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- linux-aarch64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.23python3.11.____cpython.yaml b/.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..240a202 --- /dev/null +++ b/.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.23python3.11.____cpython.yaml @@ -0,0 +1,54 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +c_compiler: +- gcc +c_compiler_version: +- '13' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '13' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +libarrow_all: +- '16' +numpy: +- '1.23' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- linux-aarch64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.26python3.12.____cpython.yaml b/.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.26python3.12.____cpython.yaml new file mode 100644 index 0000000..44147a5 --- /dev/null +++ b/.ci_support/linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.26python3.12.____cpython.yaml @@ -0,0 +1,54 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +c_compiler: +- gcc +c_compiler_version: +- '13' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '13' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +libarrow_all: +- '16' +numpy: +- '1.26' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.12.* *_cpython +target_platform: +- linux-aarch64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_aarch64_python3.6.____cpython.yaml b/.ci_support/linux_aarch64_python3.6.____cpython.yaml deleted file mode 100644 index 22a2d0f..0000000 --- a/.ci_support/linux_aarch64_python3.6.____cpython.yaml +++ /dev/null @@ -1,30 +0,0 @@ -BUILD: -- aarch64-conda_cos7-linux-gnu -boost_cpp: -- '1.72' -c_compiler: -- gcc -c_compiler_version: -- '7' -cdt_arch: -- aarch64 -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cxx_compiler: -- gxx -cxx_compiler_version: -- '7' -docker_image: -- condaforge/linux-anvil-aarch64 -pin_run_as_build: - boost-cpp: - max_pin: x.x.x - python: - min_pin: x.x - max_pin: x.x -python: -- 3.6.* *_cpython diff --git a/.ci_support/linux_aarch64_python3.7.____cpython.yaml b/.ci_support/linux_aarch64_python3.7.____cpython.yaml deleted file mode 100644 index 92d7eb3..0000000 --- a/.ci_support/linux_aarch64_python3.7.____cpython.yaml +++ /dev/null @@ -1,30 +0,0 @@ -BUILD: -- aarch64-conda_cos7-linux-gnu -boost_cpp: -- '1.72' -c_compiler: -- gcc -c_compiler_version: -- '7' -cdt_arch: -- aarch64 -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cxx_compiler: -- gxx -cxx_compiler_version: -- '7' -docker_image: -- condaforge/linux-anvil-aarch64 -pin_run_as_build: - boost-cpp: - max_pin: x.x.x - python: - min_pin: x.x - max_pin: x.x -python: -- 3.7.* *_cpython diff --git a/.ci_support/linux_aarch64_python3.8.____cpython.yaml b/.ci_support/linux_aarch64_python3.8.____cpython.yaml deleted file mode 100644 index 33d823c..0000000 --- a/.ci_support/linux_aarch64_python3.8.____cpython.yaml +++ /dev/null @@ -1,30 +0,0 @@ -BUILD: -- aarch64-conda_cos7-linux-gnu -boost_cpp: -- '1.72' -c_compiler: -- gcc -c_compiler_version: -- '7' -cdt_arch: -- aarch64 -cdt_name: -- cos7 -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cxx_compiler: -- gxx -cxx_compiler_version: -- '7' -docker_image: -- condaforge/linux-anvil-aarch64 -pin_run_as_build: - boost-cpp: - max_pin: x.x.x - python: - min_pin: x.x - max_pin: x.x -python: -- 3.8.* *_cpython diff --git a/.ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.10.____cpython.yaml b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.10.____cpython.yaml new file mode 100644 index 0000000..16aa83a --- /dev/null +++ b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.10.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '10' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '10' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.8 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.8.____cpython.yaml b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.8.____cpython.yaml new file mode 100644 index 0000000..e484aa2 --- /dev/null +++ b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.8.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '10' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '10' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.8 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.9.____cpython.yaml b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.9.____cpython.yaml new file mode 100644 index 0000000..6a4f203 --- /dev/null +++ b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.9.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '10' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '10' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.8 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.23python3.11.____cpython.yaml b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..b0d80fe --- /dev/null +++ b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.23python3.11.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '10' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '10' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.8 +libarrow_all: +- '16' +numpy: +- '1.23' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.26python3.12.____cpython.yaml b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.26python3.12.____cpython.yaml new file mode 100644 index 0000000..fa7776e --- /dev/null +++ b/.ci_support/linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.26python3.12.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '10' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '10' +docker_image: +- quay.io/condaforge/linux-anvil-cuda:11.8 +libarrow_all: +- '16' +numpy: +- '1.26' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.12.* *_cpython +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.10.____cpython.yaml b/.ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.10.____cpython.yaml new file mode 100644 index 0000000..53bd66c --- /dev/null +++ b/.ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.10.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '13' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '13' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.8.____cpython.yaml b/.ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.8.____cpython.yaml new file mode 100644 index 0000000..edb1744 --- /dev/null +++ b/.ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.8.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '13' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '13' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.9.____cpython.yaml b/.ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.9.____cpython.yaml new file mode 100644 index 0000000..f5ec4ee --- /dev/null +++ b/.ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.9.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '13' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '13' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.23python3.11.____cpython.yaml b/.ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..bf46511 --- /dev/null +++ b/.ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.23python3.11.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '13' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '13' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +libarrow_all: +- '16' +numpy: +- '1.23' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.26python3.12.____cpython.yaml b/.ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.26python3.12.____cpython.yaml new file mode 100644 index 0000000..192d5f7 --- /dev/null +++ b/.ci_support/linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.26python3.12.____cpython.yaml @@ -0,0 +1,50 @@ +c_compiler: +- gcc +c_compiler_version: +- '13' +c_stdlib: +- sysroot +c_stdlib_version: +- '2.17' +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- gxx +cxx_compiler_version: +- '13' +docker_image: +- quay.io/condaforge/linux-anvil-cos7-x86_64 +libarrow_all: +- '16' +numpy: +- '1.26' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.12.* *_cpython +target_platform: +- linux-ppc64le +zip_keys: +- - c_compiler_version + - cxx_compiler_version + - c_stdlib_version + - cdt_name + - cuda_compiler + - cuda_compiler_version + - docker_image +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/linux_python3.6.____cpython.yaml b/.ci_support/linux_python3.6.____cpython.yaml deleted file mode 100644 index f49a027..0000000 --- a/.ci_support/linux_python3.6.____cpython.yaml +++ /dev/null @@ -1,24 +0,0 @@ -boost_cpp: -- '1.72' -c_compiler: -- gcc -c_compiler_version: -- '7' -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -cxx_compiler: -- gxx -cxx_compiler_version: -- '7' -docker_image: -- condaforge/linux-anvil-comp7 -pin_run_as_build: - boost-cpp: - max_pin: x.x.x - python: - min_pin: x.x - max_pin: x.x -python: -- 3.6.* *_cpython diff --git a/.ci_support/linux_python3.7.____cpython.yaml b/.ci_support/linux_python3.7.____cpython.yaml deleted file mode 100644 index 9e9cedd..0000000 --- a/.ci_support/linux_python3.7.____cpython.yaml +++ /dev/null @@ -1,24 +0,0 @@ -boost_cpp: -- '1.72' -c_compiler: -- gcc -c_compiler_version: -- '7' -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -cxx_compiler: -- gxx -cxx_compiler_version: -- '7' -docker_image: -- condaforge/linux-anvil-comp7 -pin_run_as_build: - boost-cpp: - max_pin: x.x.x - python: - min_pin: x.x - max_pin: x.x -python: -- 3.7.* *_cpython diff --git a/.ci_support/linux_python3.8.____cpython.yaml b/.ci_support/linux_python3.8.____cpython.yaml deleted file mode 100644 index c3e8bb6..0000000 --- a/.ci_support/linux_python3.8.____cpython.yaml +++ /dev/null @@ -1,24 +0,0 @@ -boost_cpp: -- '1.72' -c_compiler: -- gcc -c_compiler_version: -- '7' -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -cxx_compiler: -- gxx -cxx_compiler_version: -- '7' -docker_image: -- condaforge/linux-anvil-comp7 -pin_run_as_build: - boost-cpp: - max_pin: x.x.x - python: - min_pin: x.x - max_pin: x.x -python: -- 3.8.* *_cpython diff --git a/.ci_support/migrations/boost172.yaml b/.ci_support/migrations/boost172.yaml deleted file mode 100644 index fc75110..0000000 --- a/.ci_support/migrations/boost172.yaml +++ /dev/null @@ -1,11 +0,0 @@ -migrator_ts: 1582183745 -__migrator: - kind: - version - migration_number: - 1 - build_number: - 1 -boost_cpp: - - 1.72 - diff --git a/.ci_support/migrations/python38.yaml b/.ci_support/migrations/python38.yaml deleted file mode 100644 index b11022c..0000000 --- a/.ci_support/migrations/python38.yaml +++ /dev/null @@ -1,55 +0,0 @@ -migrator_ts: 1569538102 # The timestamp of when the migration was made -__migrator: - kind: - version - exclude: - - c_compiler - - vc - - cxx_compiler - migration_number: # Only use this if the bot messes up, putting this in will cause a complete rerun of the migration - 1 - bump_number: 0 - -python: - - 2.7 - - 3.6 - - 3.7 - - 3.8 - -c_compiler: - # legacy compilers for things that refuse to move - - toolchain_c # [(linux64 or osx) and (environ.get('CF_COMPILER_STACK') == 'comp4')] - # modern compilers - - gcc # [linux64] - - clang # [osx] - # non-standard arches get built with gcc - - gcc # [aarch64] - - gcc # [ppc64le] - - gcc # [armv7l] - - - vs2008 # [win] - - vs2015 # [win] - - vs2015 # [win] - - vs2015 # [win] - -cxx_compiler: - # legacy compilers for things that refuse to move - - toolchain_cxx # [(linux64 or osx) and (environ.get('CF_COMPILER_STACK') == 'comp4')] - # modern compilers - - gxx # [linux64] - - clangxx # [osx] - - - gxx # [aarch64] - - gxx # [ppc64le] - - gxx # [armv7l] - - - vs2008 # [win] - - vs2015 # [win] - - vs2015 # [win] - - vs2015 # [win] - -vc: # [win] - - 9 # [win] - - 14 # [win] - - 14 # [win] - - 14 # [win] diff --git a/.ci_support/osx_64_numpy1.22python3.10.____cpython.yaml b/.ci_support/osx_64_numpy1.22python3.10.____cpython.yaml new file mode 100644 index 0000000..f253f7e --- /dev/null +++ b/.ci_support/osx_64_numpy1.22python3.10.____cpython.yaml @@ -0,0 +1,41 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.13' +c_compiler: +- clang +c_compiler_version: +- '16' +c_stdlib: +- macosx_deployment_target +c_stdlib_version: +- '10.13' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler_version: +- None +cxx_compiler: +- clangxx +cxx_compiler_version: +- '16' +libarrow_all: +- '16' +macos_machine: +- x86_64-apple-darwin13.4.0 +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- osx-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/osx_python3.8.____cpython.yaml b/.ci_support/osx_64_numpy1.22python3.8.____cpython.yaml similarity index 50% rename from .ci_support/osx_python3.8.____cpython.yaml rename to .ci_support/osx_64_numpy1.22python3.8.____cpython.yaml index d3c3741..d31369a 100644 --- a/.ci_support/osx_python3.8.____cpython.yaml +++ b/.ci_support/osx_64_numpy1.22python3.8.____cpython.yaml @@ -1,28 +1,41 @@ MACOSX_DEPLOYMENT_TARGET: -- '10.9' -boost_cpp: -- '1.72' +- '10.13' c_compiler: - clang c_compiler_version: -- '9' +- '16' +c_stdlib: +- macosx_deployment_target +c_stdlib_version: +- '10.13' channel_sources: -- conda-forge,defaults +- conda-forge channel_targets: - conda-forge main +cuda_compiler_version: +- None cxx_compiler: - clangxx cxx_compiler_version: -- '9' +- '16' +libarrow_all: +- '16' macos_machine: - x86_64-apple-darwin13.4.0 -macos_min_version: -- '10.9' +numpy: +- '1.22' pin_run_as_build: - boost-cpp: - max_pin: x.x.x python: min_pin: x.x max_pin: x.x python: - 3.8.* *_cpython +target_platform: +- osx-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/osx_64_numpy1.22python3.9.____cpython.yaml b/.ci_support/osx_64_numpy1.22python3.9.____cpython.yaml new file mode 100644 index 0000000..d3c0886 --- /dev/null +++ b/.ci_support/osx_64_numpy1.22python3.9.____cpython.yaml @@ -0,0 +1,41 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.13' +c_compiler: +- clang +c_compiler_version: +- '16' +c_stdlib: +- macosx_deployment_target +c_stdlib_version: +- '10.13' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler_version: +- None +cxx_compiler: +- clangxx +cxx_compiler_version: +- '16' +libarrow_all: +- '16' +macos_machine: +- x86_64-apple-darwin13.4.0 +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- osx-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/osx_64_numpy1.23python3.11.____cpython.yaml b/.ci_support/osx_64_numpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..7442af6 --- /dev/null +++ b/.ci_support/osx_64_numpy1.23python3.11.____cpython.yaml @@ -0,0 +1,41 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.13' +c_compiler: +- clang +c_compiler_version: +- '16' +c_stdlib: +- macosx_deployment_target +c_stdlib_version: +- '10.13' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler_version: +- None +cxx_compiler: +- clangxx +cxx_compiler_version: +- '16' +libarrow_all: +- '16' +macos_machine: +- x86_64-apple-darwin13.4.0 +numpy: +- '1.23' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- osx-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/osx_64_numpy1.26python3.12.____cpython.yaml b/.ci_support/osx_64_numpy1.26python3.12.____cpython.yaml new file mode 100644 index 0000000..552876a --- /dev/null +++ b/.ci_support/osx_64_numpy1.26python3.12.____cpython.yaml @@ -0,0 +1,41 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.13' +c_compiler: +- clang +c_compiler_version: +- '16' +c_stdlib: +- macosx_deployment_target +c_stdlib_version: +- '10.13' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler_version: +- None +cxx_compiler: +- clangxx +cxx_compiler_version: +- '16' +libarrow_all: +- '16' +macos_machine: +- x86_64-apple-darwin13.4.0 +numpy: +- '1.26' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.12.* *_cpython +target_platform: +- osx-64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/osx_arm64_numpy1.22python3.10.____cpython.yaml b/.ci_support/osx_arm64_numpy1.22python3.10.____cpython.yaml new file mode 100644 index 0000000..eb8a7c8 --- /dev/null +++ b/.ci_support/osx_arm64_numpy1.22python3.10.____cpython.yaml @@ -0,0 +1,41 @@ +MACOSX_DEPLOYMENT_TARGET: +- '11.0' +c_compiler: +- clang +c_compiler_version: +- '16' +c_stdlib: +- macosx_deployment_target +c_stdlib_version: +- '11.0' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler_version: +- None +cxx_compiler: +- clangxx +cxx_compiler_version: +- '16' +libarrow_all: +- '16' +macos_machine: +- arm64-apple-darwin20.0.0 +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- osx-arm64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/osx_arm64_numpy1.22python3.8.____cpython.yaml b/.ci_support/osx_arm64_numpy1.22python3.8.____cpython.yaml new file mode 100644 index 0000000..711ba47 --- /dev/null +++ b/.ci_support/osx_arm64_numpy1.22python3.8.____cpython.yaml @@ -0,0 +1,41 @@ +MACOSX_DEPLOYMENT_TARGET: +- '11.0' +c_compiler: +- clang +c_compiler_version: +- '16' +c_stdlib: +- macosx_deployment_target +c_stdlib_version: +- '11.0' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler_version: +- None +cxx_compiler: +- clangxx +cxx_compiler_version: +- '16' +libarrow_all: +- '16' +macos_machine: +- arm64-apple-darwin20.0.0 +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +target_platform: +- osx-arm64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/osx_arm64_numpy1.22python3.9.____cpython.yaml b/.ci_support/osx_arm64_numpy1.22python3.9.____cpython.yaml new file mode 100644 index 0000000..2dee449 --- /dev/null +++ b/.ci_support/osx_arm64_numpy1.22python3.9.____cpython.yaml @@ -0,0 +1,41 @@ +MACOSX_DEPLOYMENT_TARGET: +- '11.0' +c_compiler: +- clang +c_compiler_version: +- '16' +c_stdlib: +- macosx_deployment_target +c_stdlib_version: +- '11.0' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler_version: +- None +cxx_compiler: +- clangxx +cxx_compiler_version: +- '16' +libarrow_all: +- '16' +macos_machine: +- arm64-apple-darwin20.0.0 +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- osx-arm64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/osx_arm64_numpy1.23python3.11.____cpython.yaml b/.ci_support/osx_arm64_numpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..f30245e --- /dev/null +++ b/.ci_support/osx_arm64_numpy1.23python3.11.____cpython.yaml @@ -0,0 +1,41 @@ +MACOSX_DEPLOYMENT_TARGET: +- '11.0' +c_compiler: +- clang +c_compiler_version: +- '16' +c_stdlib: +- macosx_deployment_target +c_stdlib_version: +- '11.0' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler_version: +- None +cxx_compiler: +- clangxx +cxx_compiler_version: +- '16' +libarrow_all: +- '16' +macos_machine: +- arm64-apple-darwin20.0.0 +numpy: +- '1.23' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- osx-arm64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/osx_arm64_numpy1.26python3.12.____cpython.yaml b/.ci_support/osx_arm64_numpy1.26python3.12.____cpython.yaml new file mode 100644 index 0000000..023fb03 --- /dev/null +++ b/.ci_support/osx_arm64_numpy1.26python3.12.____cpython.yaml @@ -0,0 +1,41 @@ +MACOSX_DEPLOYMENT_TARGET: +- '11.0' +c_compiler: +- clang +c_compiler_version: +- '16' +c_stdlib: +- macosx_deployment_target +c_stdlib_version: +- '11.0' +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler_version: +- None +cxx_compiler: +- clangxx +cxx_compiler_version: +- '16' +libarrow_all: +- '16' +macos_machine: +- arm64-apple-darwin20.0.0 +numpy: +- '1.26' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.12.* *_cpython +target_platform: +- osx-arm64 +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/osx_python3.6.____cpython.yaml b/.ci_support/osx_python3.6.____cpython.yaml deleted file mode 100644 index 053be7e..0000000 --- a/.ci_support/osx_python3.6.____cpython.yaml +++ /dev/null @@ -1,28 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.9' -boost_cpp: -- '1.72' -c_compiler: -- clang -c_compiler_version: -- '9' -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -cxx_compiler: -- clangxx -cxx_compiler_version: -- '9' -macos_machine: -- x86_64-apple-darwin13.4.0 -macos_min_version: -- '10.9' -pin_run_as_build: - boost-cpp: - max_pin: x.x.x - python: - min_pin: x.x - max_pin: x.x -python: -- 3.6.* *_cpython diff --git a/.ci_support/osx_python3.7.____cpython.yaml b/.ci_support/osx_python3.7.____cpython.yaml deleted file mode 100644 index 0f0cde4..0000000 --- a/.ci_support/osx_python3.7.____cpython.yaml +++ /dev/null @@ -1,28 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '10.9' -boost_cpp: -- '1.72' -c_compiler: -- clang -c_compiler_version: -- '9' -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -cxx_compiler: -- clangxx -cxx_compiler_version: -- '9' -macos_machine: -- x86_64-apple-darwin13.4.0 -macos_min_version: -- '10.9' -pin_run_as_build: - boost-cpp: - max_pin: x.x.x - python: - min_pin: x.x - max_pin: x.x -python: -- 3.7.* *_cpython diff --git a/.ci_support/win_64_cuda_compiler_version11.8numpy1.22python3.10.____cpython.yaml b/.ci_support/win_64_cuda_compiler_version11.8numpy1.22python3.10.____cpython.yaml new file mode 100644 index 0000000..3a7faa4 --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_version11.8numpy1.22python3.10.____cpython.yaml @@ -0,0 +1,35 @@ +c_compiler: +- vs2019 +c_stdlib: +- vs +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- vs2019 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/win_64_cuda_compiler_version11.8numpy1.22python3.8.____cpython.yaml b/.ci_support/win_64_cuda_compiler_version11.8numpy1.22python3.8.____cpython.yaml new file mode 100644 index 0000000..8308244 --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_version11.8numpy1.22python3.8.____cpython.yaml @@ -0,0 +1,35 @@ +c_compiler: +- vs2019 +c_stdlib: +- vs +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- vs2019 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/win_64_cuda_compiler_version11.8numpy1.22python3.9.____cpython.yaml b/.ci_support/win_64_cuda_compiler_version11.8numpy1.22python3.9.____cpython.yaml new file mode 100644 index 0000000..961941f --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_version11.8numpy1.22python3.9.____cpython.yaml @@ -0,0 +1,35 @@ +c_compiler: +- vs2019 +c_stdlib: +- vs +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- vs2019 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/win_64_cuda_compiler_version11.8numpy1.23python3.11.____cpython.yaml b/.ci_support/win_64_cuda_compiler_version11.8numpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..132f07e --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_version11.8numpy1.23python3.11.____cpython.yaml @@ -0,0 +1,35 @@ +c_compiler: +- vs2019 +c_stdlib: +- vs +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- vs2019 +libarrow_all: +- '16' +numpy: +- '1.23' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/win_64_cuda_compiler_version11.8numpy1.26python3.12.____cpython.yaml b/.ci_support/win_64_cuda_compiler_version11.8numpy1.26python3.12.____cpython.yaml new file mode 100644 index 0000000..07f6fbd --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_version11.8numpy1.26python3.12.____cpython.yaml @@ -0,0 +1,35 @@ +c_compiler: +- vs2019 +c_stdlib: +- vs +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- nvcc +cuda_compiler_version: +- '11.8' +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- vs2019 +libarrow_all: +- '16' +numpy: +- '1.26' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.12.* *_cpython +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/win_64_cuda_compiler_versionNonenumpy1.22python3.10.____cpython.yaml b/.ci_support/win_64_cuda_compiler_versionNonenumpy1.22python3.10.____cpython.yaml new file mode 100644 index 0000000..baf11b9 --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_versionNonenumpy1.22python3.10.____cpython.yaml @@ -0,0 +1,35 @@ +c_compiler: +- vs2019 +c_stdlib: +- vs +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- vs2019 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.10.* *_cpython +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/win_64_cuda_compiler_versionNonenumpy1.22python3.8.____cpython.yaml b/.ci_support/win_64_cuda_compiler_versionNonenumpy1.22python3.8.____cpython.yaml new file mode 100644 index 0000000..e604808 --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_versionNonenumpy1.22python3.8.____cpython.yaml @@ -0,0 +1,35 @@ +c_compiler: +- vs2019 +c_stdlib: +- vs +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- vs2019 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.8.* *_cpython +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/win_64_cuda_compiler_versionNonenumpy1.22python3.9.____cpython.yaml b/.ci_support/win_64_cuda_compiler_versionNonenumpy1.22python3.9.____cpython.yaml new file mode 100644 index 0000000..bd36f7b --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_versionNonenumpy1.22python3.9.____cpython.yaml @@ -0,0 +1,35 @@ +c_compiler: +- vs2019 +c_stdlib: +- vs +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- vs2019 +libarrow_all: +- '16' +numpy: +- '1.22' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.9.* *_cpython +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/win_64_cuda_compiler_versionNonenumpy1.23python3.11.____cpython.yaml b/.ci_support/win_64_cuda_compiler_versionNonenumpy1.23python3.11.____cpython.yaml new file mode 100644 index 0000000..2711d83 --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_versionNonenumpy1.23python3.11.____cpython.yaml @@ -0,0 +1,35 @@ +c_compiler: +- vs2019 +c_stdlib: +- vs +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- vs2019 +libarrow_all: +- '16' +numpy: +- '1.23' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.11.* *_cpython +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/win_64_cuda_compiler_versionNonenumpy1.26python3.12.____cpython.yaml b/.ci_support/win_64_cuda_compiler_versionNonenumpy1.26python3.12.____cpython.yaml new file mode 100644 index 0000000..360e459 --- /dev/null +++ b/.ci_support/win_64_cuda_compiler_versionNonenumpy1.26python3.12.____cpython.yaml @@ -0,0 +1,35 @@ +c_compiler: +- vs2019 +c_stdlib: +- vs +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cuda_compiler: +- None +cuda_compiler_version: +- None +cuda_compiler_version_min: +- '11.8' +cxx_compiler: +- vs2019 +libarrow_all: +- '16' +numpy: +- '1.26' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.12.* *_cpython +target_platform: +- win-64 +zip_keys: +- - cuda_compiler + - cuda_compiler_version +- - python + - numpy +zlib: +- '1.2' diff --git a/.ci_support/win_python3.6.____cpython.yaml b/.ci_support/win_python3.6.____cpython.yaml deleted file mode 100644 index ab19ca4..0000000 --- a/.ci_support/win_python3.6.____cpython.yaml +++ /dev/null @@ -1,18 +0,0 @@ -boost_cpp: -- '1.72' -c_compiler: -- vs2017 -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -cxx_compiler: -- vs2017 -pin_run_as_build: - boost-cpp: - max_pin: x.x.x - python: - min_pin: x.x - max_pin: x.x -python: -- 3.6.* *_cpython diff --git a/.ci_support/win_python3.7.____cpython.yaml b/.ci_support/win_python3.7.____cpython.yaml deleted file mode 100644 index d3f0623..0000000 --- a/.ci_support/win_python3.7.____cpython.yaml +++ /dev/null @@ -1,18 +0,0 @@ -boost_cpp: -- '1.72' -c_compiler: -- vs2017 -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -cxx_compiler: -- vs2017 -pin_run_as_build: - boost-cpp: - max_pin: x.x.x - python: - min_pin: x.x - max_pin: x.x -python: -- 3.7.* *_cpython diff --git a/.ci_support/win_python3.8.____cpython.yaml b/.ci_support/win_python3.8.____cpython.yaml deleted file mode 100644 index 7adecc6..0000000 --- a/.ci_support/win_python3.8.____cpython.yaml +++ /dev/null @@ -1,18 +0,0 @@ -boost_cpp: -- '1.72' -c_compiler: -- vs2017 -channel_sources: -- conda-forge,defaults -channel_targets: -- conda-forge main -cxx_compiler: -- vs2017 -pin_run_as_build: - boost-cpp: - max_pin: x.x.x - python: - min_pin: x.x - max_pin: x.x -python: -- 3.8.* *_cpython diff --git a/.circleci/config.yml b/.circleci/config.yml index 6ad461b..8b4ef2f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,13 +1,14 @@ # This file was generated automatically from conda-smithy. To update this configuration, # update the conda-forge.yml and/or the recipe/meta.yaml. -# -*- mode: yaml -*- +# -*- mode: jinja-yaml -*- version: 2 jobs: build: working_directory: ~/test - machine: true + machine: + image: ubuntu-2004:current steps: - run: # The Circle-CI build should not be active, but if this is not true for some reason, do a fast finish. diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 602385b..0000000 --- a/.drone.yml +++ /dev/null @@ -1,90 +0,0 @@ ---- -kind: pipeline -name: linux_aarch64_python3.6.____cpython - -platform: - os: linux - arch: arm64 - -steps: -- name: Install and build - image: condaforge/linux-anvil-aarch64 - environment: - CONFIG: linux_aarch64_python3.6.____cpython - UPLOAD_PACKAGES: True - PLATFORM: linux-aarch64 - BINSTAR_TOKEN: - from_secret: BINSTAR_TOKEN - FEEDSTOCK_TOKEN: - from_secret: FEEDSTOCK_TOKEN - STAGING_BINSTAR_TOKEN: - from_secret: STAGING_BINSTAR_TOKEN - commands: - - export FEEDSTOCK_ROOT="$DRONE_WORKSPACE" - - export RECIPE_ROOT="$FEEDSTOCK_ROOT/recipe" - - export CI=drone - - export GIT_BRANCH="$DRONE_BRANCH" - - sed -i '$ichown -R conda:conda "$FEEDSTOCK_ROOT"' /opt/docker/bin/entrypoint - - /opt/docker/bin/entrypoint $FEEDSTOCK_ROOT/.scripts/build_steps.sh - - echo "Done building" - ---- -kind: pipeline -name: linux_aarch64_python3.7.____cpython - -platform: - os: linux - arch: arm64 - -steps: -- name: Install and build - image: condaforge/linux-anvil-aarch64 - environment: - CONFIG: linux_aarch64_python3.7.____cpython - UPLOAD_PACKAGES: True - PLATFORM: linux-aarch64 - BINSTAR_TOKEN: - from_secret: BINSTAR_TOKEN - FEEDSTOCK_TOKEN: - from_secret: FEEDSTOCK_TOKEN - STAGING_BINSTAR_TOKEN: - from_secret: STAGING_BINSTAR_TOKEN - commands: - - export FEEDSTOCK_ROOT="$DRONE_WORKSPACE" - - export RECIPE_ROOT="$FEEDSTOCK_ROOT/recipe" - - export CI=drone - - export GIT_BRANCH="$DRONE_BRANCH" - - sed -i '$ichown -R conda:conda "$FEEDSTOCK_ROOT"' /opt/docker/bin/entrypoint - - /opt/docker/bin/entrypoint $FEEDSTOCK_ROOT/.scripts/build_steps.sh - - echo "Done building" - ---- -kind: pipeline -name: linux_aarch64_python3.8.____cpython - -platform: - os: linux - arch: arm64 - -steps: -- name: Install and build - image: condaforge/linux-anvil-aarch64 - environment: - CONFIG: linux_aarch64_python3.8.____cpython - UPLOAD_PACKAGES: True - PLATFORM: linux-aarch64 - BINSTAR_TOKEN: - from_secret: BINSTAR_TOKEN - FEEDSTOCK_TOKEN: - from_secret: FEEDSTOCK_TOKEN - STAGING_BINSTAR_TOKEN: - from_secret: STAGING_BINSTAR_TOKEN - commands: - - export FEEDSTOCK_ROOT="$DRONE_WORKSPACE" - - export RECIPE_ROOT="$FEEDSTOCK_ROOT/recipe" - - export CI=drone - - export GIT_BRANCH="$DRONE_BRANCH" - - sed -i '$ichown -R conda:conda "$FEEDSTOCK_ROOT"' /opt/docker/bin/entrypoint - - /opt/docker/bin/entrypoint $FEEDSTOCK_ROOT/.scripts/build_steps.sh - - echo "Done building" - diff --git a/.gitattributes b/.gitattributes index 9060b27..7f32763 100644 --- a/.gitattributes +++ b/.gitattributes @@ -9,6 +9,7 @@ bld.bat text eol=crlf # github helper pieces to make some files not show up in diffs automatically .azure-pipelines/* linguist-generated=true .circleci/* linguist-generated=true +.ci_support/README linguist-generated=true .drone/* linguist-generated=true .drone.yml linguist-generated=true .github/* linguist-generated=true @@ -18,6 +19,7 @@ bld.bat text eol=crlf .gitignore linguist-generated=true .travis.yml linguist-generated=true .scripts/* linguist-generated=true +.woodpecker.yml linguist-generated=true LICENSE.txt linguist-generated=true README.md linguist-generated=true azure-pipelines.yml linguist-generated=true diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1c03536..858440b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @cpcloud @jreback @kou @kszucs @pcmoritz @pitrou @robertnishihara @siddharthteotia @wesm @xhochy \ No newline at end of file +* @conda-forge/arrow-cpp @h-vetinari @raulcd @xhochy \ No newline at end of file diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index e8e5902..da1368a 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -10,9 +10,10 @@ jobs: name: automerge steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: automerge-action id: automerge-action - uses: conda-forge/automerge-action@master + uses: conda-forge/automerge-action@main with: github_token: ${{ secrets.GITHUB_TOKEN }} + rerendering_github_token: ${{ secrets.RERENDERING_GITHUB_TOKEN }} diff --git a/.github/workflows/webservices.yml b/.github/workflows/webservices.yml index 78f51e6..d6f06b5 100644 --- a/.github/workflows/webservices.yml +++ b/.github/workflows/webservices.yml @@ -7,6 +7,7 @@ jobs: steps: - name: webservices id: webservices - uses: conda-forge/webservices-dispatch-action@master + uses: conda-forge/webservices-dispatch-action@main with: github_token: ${{ secrets.GITHUB_TOKEN }} + rerendering_github_token: ${{ secrets.RERENDERING_GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index c89ecb7..179afe5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,24 @@ -*.pyc +# User content belongs under recipe/. +# Feedstock configuration goes in `conda-forge.yml` +# Everything else is managed by the conda-smithy rerender process. +# Please do not modify + +# Ignore all files and folders in root +* +!/conda-forge.yml + +# Don't ignore any files/folders if the parent folder is 'un-ignored' +# This also avoids warnings when adding an already-checked file with an ignored parent. +!/**/ +# Don't ignore any files/folders recursively in the following folders +!/recipe/** +!/.ci_support/** -build_artifacts +# Since we ignore files/folders recursively, any folders inside +# build_artifacts gets ignored which trips some build systems. +# To avoid that we 'un-ignore' all files/folders recursively +# and only ignore the root build_artifacts folder. +!/build_artifacts/** +/build_artifacts + +*.pyc diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 784c6cf..899ba03 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -5,9 +5,18 @@ # changes to this script, consider a proposal to conda-smithy so that other feedstocks can also # benefit from the improvement. +# -*- mode: jinja-shell -*- + set -xeuo pipefail -export PYTHONUNBUFFERED=1 export FEEDSTOCK_ROOT="${FEEDSTOCK_ROOT:-/home/conda/feedstock_root}" +source ${FEEDSTOCK_ROOT}/.scripts/logging_utils.sh + + +( endgroup "Start Docker" ) 2> /dev/null + +( startgroup "Configuring conda" ) 2> /dev/null + +export PYTHONUNBUFFERED=1 export RECIPE_ROOT="${RECIPE_ROOT:-/home/conda/recipe_root}" export CI_SUPPORT="${FEEDSTOCK_ROOT}/.ci_support" export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml" @@ -15,11 +24,19 @@ export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml" cat >~/.condarc <=24.1" +mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ + pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" # set up the condarc setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" @@ -29,12 +46,47 @@ source run_conda_forge_build_setup # make the build number clobber make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" -conda build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ - --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" -validate_recipe_outputs "pyarrow-feedstock" +if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]] && [[ "${HOST_PLATFORM}" != linux-* ]] && [[ "${BUILD_WITH_CONDA_DEBUG:-0}" != 1 ]]; then + EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" +fi + + +( endgroup "Configuring conda" ) 2> /dev/null -if [[ "${UPLOAD_PACKAGES}" != "False" ]]; then - upload_package --validate --feedstock-name="pyarrow-feedstock" "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" +if [[ -f "${FEEDSTOCK_ROOT}/LICENSE.txt" ]]; then + cp "${FEEDSTOCK_ROOT}/LICENSE.txt" "${RECIPE_ROOT}/recipe-scripts-license.txt" fi +if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then + if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then + EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" + fi + conda debug "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ + ${EXTRA_CB_OPTIONS:-} \ + --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" + + # Drop into an interactive shell + /bin/bash +else + conda-build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ + --suppress-variables ${EXTRA_CB_OPTIONS:-} \ + --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \ + --extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}" + ( startgroup "Validating outputs" ) 2> /dev/null + + validate_recipe_outputs "${FEEDSTOCK_NAME}" + + ( endgroup "Validating outputs" ) 2> /dev/null + + ( startgroup "Uploading packages" ) 2> /dev/null + + if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then + upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" + fi + + ( endgroup "Uploading packages" ) 2> /dev/null +fi + +( startgroup "Final checks" ) 2> /dev/null + touch "${FEEDSTOCK_ROOT}/build_artifacts/conda-forge-build-done-${CONFIG}" \ No newline at end of file diff --git a/.scripts/logging_utils.sh b/.scripts/logging_utils.sh new file mode 100644 index 0000000..aff009f --- /dev/null +++ b/.scripts/logging_utils.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +# Provide a unified interface for the different logging +# utilities CI providers offer. If unavailable, provide +# a compatible fallback (e.g. bare `echo xxxxxx`). + +function startgroup { + # Start a foldable group of log lines + # Pass a single argument, quoted + case ${CI:-} in + azure ) + echo "##[group]$1";; + travis ) + echo "$1" + echo -en 'travis_fold:start:'"${1// /}"'\r';; + github_actions ) + echo "::group::$1";; + * ) + echo "$1";; + esac +} 2> /dev/null + +function endgroup { + # End a foldable group of log lines + # Pass a single argument, quoted + + case ${CI:-} in + azure ) + echo "##[endgroup]";; + travis ) + echo -en 'travis_fold:end:'"${1// /}"'\r';; + github_actions ) + echo "::endgroup::";; + esac +} 2> /dev/null diff --git a/.scripts/run_docker_build.sh b/.scripts/run_docker_build.sh index 360fc69..00f377a 100755 --- a/.scripts/run_docker_build.sh +++ b/.scripts/run_docker_build.sh @@ -5,14 +5,28 @@ # changes to this script, consider a proposal to conda-smithy so that other feedstocks can also # benefit from the improvement. +source .scripts/logging_utils.sh + +( startgroup "Configure Docker" ) 2> /dev/null + set -xeo pipefail THISDIR="$( cd "$( dirname "$0" )" >/dev/null && pwd )" PROVIDER_DIR="$(basename $THISDIR)" -FEEDSTOCK_ROOT=$(cd "$(dirname "$0")/.."; pwd;) +FEEDSTOCK_ROOT="$( cd "$( dirname "$0" )/.." >/dev/null && pwd )" RECIPE_ROOT="${FEEDSTOCK_ROOT}/recipe" +if [ -z ${FEEDSTOCK_NAME} ]; then + export FEEDSTOCK_NAME=$(basename ${FEEDSTOCK_ROOT}) +fi + +if [[ "${sha:-}" == "" ]]; then + pushd "${FEEDSTOCK_ROOT}" + sha=$(git rev-parse HEAD) + popd +fi + docker info # In order for the conda-build process in the container to write to the mounted @@ -41,10 +55,14 @@ fi if [ -z "${DOCKER_IMAGE}" ]; then SHYAML_INSTALLED="$(shyaml -h || echo NO)" if [ "${SHYAML_INSTALLED}" == "NO" ]; then - echo "WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Falling back to condaforge/linux-anvil-comp7" - DOCKER_IMAGE="condaforge/linux-anvil-comp7" + echo "WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils" + DOCKER_IMAGE=$(cat .ci_support/${CONFIG}.yaml | grep '^docker_image:$' -A 1 | tail -n 1 | cut -b 3-) + if [ "${DOCKER_IMAGE}" = "" ]; then + echo "No docker_image entry found in ${CONFIG}. Falling back to quay.io/condaforge/linux-anvil-comp7" + DOCKER_IMAGE="quay.io/condaforge/linux-anvil-comp7" + fi else - DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 condaforge/linux-anvil-comp7 )" + DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 quay.io/condaforge/linux-anvil-comp7 )" fi fi @@ -58,22 +76,39 @@ if [ -z "${CI}" ]; then DOCKER_RUN_ARGS="-it ${DOCKER_RUN_ARGS}" fi +( endgroup "Configure Docker" ) 2> /dev/null + +( startgroup "Start Docker" ) 2> /dev/null + export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" +export IS_PR_BUILD="${IS_PR_BUILD:-False}" +docker pull "${DOCKER_IMAGE}" docker run ${DOCKER_RUN_ARGS} \ - -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z \ - -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z \ + -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \ + -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z,delegated \ -e CONFIG \ - -e BINSTAR_TOKEN \ -e HOST_USER_ID \ -e UPLOAD_PACKAGES \ + -e IS_PR_BUILD \ -e GIT_BRANCH \ -e UPLOAD_ON_BRANCH \ -e CI \ + -e FEEDSTOCK_NAME \ + -e CPU_COUNT \ + -e BUILD_WITH_CONDA_DEBUG \ + -e BUILD_OUTPUT_ID \ + -e flow_run_id \ + -e remote_url \ + -e sha \ + -e BINSTAR_TOKEN \ -e FEEDSTOCK_TOKEN \ -e STAGING_BINSTAR_TOKEN \ - $DOCKER_IMAGE \ + "${DOCKER_IMAGE}" \ bash \ - /home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh + "/home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh" # verify that the end of the script was reached -test -f "$DONE_CANARY" \ No newline at end of file +test -f "$DONE_CANARY" + +# This closes the last group opened in `build_steps.sh` +( endgroup "Final checks" ) 2> /dev/null \ No newline at end of file diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index c756842..07dff21 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -1,56 +1,101 @@ #!/usr/bin/env bash -set -x +# -*- mode: jinja-shell -*- + +source .scripts/logging_utils.sh + +set -xe + +MINIFORGE_HOME=${MINIFORGE_HOME:-${HOME}/miniforge3} + +( startgroup "Installing a fresh version of Miniforge" ) 2> /dev/null -echo -e "\n\nInstalling a fresh version of Miniforge." -if [[ ${CI} == "travis" ]]; then - echo -en 'travis_fold:start:install_miniforge\\r' -fi MINIFORGE_URL="https://github.com/conda-forge/miniforge/releases/latest/download" -MINIFORGE_FILE="Miniforge3-MacOSX-x86_64.sh" +MINIFORGE_FILE="Mambaforge-MacOSX-$(uname -m).sh" curl -L -O "${MINIFORGE_URL}/${MINIFORGE_FILE}" -bash $MINIFORGE_FILE -b -if [[ ${CI} == "travis" ]]; then - echo -en 'travis_fold:end:install_miniforge\\r' -fi +rm -rf ${MINIFORGE_HOME} +bash $MINIFORGE_FILE -b -p ${MINIFORGE_HOME} -echo -e "\n\nConfiguring conda." -if [[ ${CI} == "travis" ]]; then - echo -en 'travis_fold:start:configure_conda\\r' -fi +( endgroup "Installing a fresh version of Miniforge" ) 2> /dev/null + +( startgroup "Configuring conda" ) 2> /dev/null -source ${HOME}/miniforge3/etc/profile.d/conda.sh +source ${MINIFORGE_HOME}/etc/profile.d/conda.sh conda activate base +export CONDA_SOLVER="libmamba" +export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 -echo -e "\n\nInstalling conda-forge-ci-setup=3 and conda-build." -conda install -n base --quiet --yes conda-forge-ci-setup=3 conda-build pip +mamba install --update-specs --quiet --yes --channel conda-forge --strict-channel-priority \ + pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" +mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ + pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" echo -e "\n\nSetting up the condarc and mangling the compiler." setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml -mangle_compiler ./ ./recipe .ci_support/${CONFIG}.yaml -echo -e "\n\nMangling homebrew in the CI to avoid conflicts." -/usr/bin/sudo mangle_homebrew -/usr/bin/sudo -k +if [[ "${CI:-}" != "" ]]; then + mangle_compiler ./ ./recipe .ci_support/${CONFIG}.yaml +fi + +if [[ "${CI:-}" != "" ]]; then + echo -e "\n\nMangling homebrew in the CI to avoid conflicts." + /usr/bin/sudo mangle_homebrew + /usr/bin/sudo -k +else + echo -e "\n\nNot mangling homebrew as we are not running in CI" +fi + +if [[ "${sha:-}" == "" ]]; then + sha=$(git rev-parse HEAD) +fi echo -e "\n\nRunning the build setup script." source run_conda_forge_build_setup -if [[ ${CI} == "travis" ]]; then - echo -en 'travis_fold:end:configure_conda\\r' -fi -set -e +( endgroup "Configuring conda" ) 2> /dev/null -echo -e "\n\nMaking the build clobber file and running the build." +echo -e "\n\nMaking the build clobber file" make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml -conda build ./recipe -m ./.ci_support/${CONFIG}.yaml --clobber-file ./.ci_support/clobber_${CONFIG}.yaml -validate_recipe_outputs "pyarrow-feedstock" -if [[ "${UPLOAD_PACKAGES}" != "False" ]]; then - echo -e "\n\nUploading the packages." - upload_package --validate --feedstock-name="pyarrow-feedstock" ./ ./recipe ./.ci_support/${CONFIG}.yaml +if [[ -f LICENSE.txt ]]; then + cp LICENSE.txt "recipe/recipe-scripts-license.txt" +fi + +if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then + if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then + EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" + fi + conda debug ./recipe -m ./.ci_support/${CONFIG}.yaml \ + ${EXTRA_CB_OPTIONS:-} \ + --clobber-file ./.ci_support/clobber_${CONFIG}.yaml + + # Drop into an interactive shell + /bin/bash +else + + if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]]; then + EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" + fi + + conda-build ./recipe -m ./.ci_support/${CONFIG}.yaml \ + --suppress-variables ${EXTRA_CB_OPTIONS:-} \ + --clobber-file ./.ci_support/clobber_${CONFIG}.yaml \ + --extra-meta flow_run_id="$flow_run_id" remote_url="$remote_url" sha="$sha" + ( startgroup "Validating outputs" ) 2> /dev/null + + validate_recipe_outputs "${FEEDSTOCK_NAME}" + + ( endgroup "Validating outputs" ) 2> /dev/null + + ( startgroup "Uploading packages" ) 2> /dev/null + + if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then + upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" ./ ./recipe ./.ci_support/${CONFIG}.yaml + fi + + ( endgroup "Uploading packages" ) 2> /dev/null fi \ No newline at end of file diff --git a/.scripts/run_win_build.bat b/.scripts/run_win_build.bat new file mode 100755 index 0000000..6d54697 --- /dev/null +++ b/.scripts/run_win_build.bat @@ -0,0 +1,125 @@ +:: PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here +:: will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent +:: changes to this script, consider a proposal to conda-smithy so that other feedstocks can also +:: benefit from the improvement. + +:: Note: we assume a Miniforge installation is available + +:: INPUTS (required environment variables) +:: CONFIG: name of the .ci_support/*.yaml file for this job +:: CI: azure, github_actions, or unset +:: UPLOAD_PACKAGES: true or false +:: UPLOAD_ON_BRANCH: true or false + +setlocal enableextensions enabledelayedexpansion + +call :start_group "Configuring conda" + +:: Activate the base conda environment +call activate base +:: Configure the solver +set "CONDA_SOLVER=libmamba" +if !errorlevel! neq 0 exit /b !errorlevel! +set "CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1" + +:: Provision the necessary dependencies to build the recipe later +echo Installing dependencies +mamba.exe install "python=3.10" pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" -c conda-forge --strict-channel-priority --yes +if !errorlevel! neq 0 exit /b !errorlevel! + +:: Set basic configuration +echo Setting up configuration +setup_conda_rc .\ ".\recipe" .\.ci_support\%CONFIG%.yaml +if !errorlevel! neq 0 exit /b !errorlevel! +echo Running build setup +CALL run_conda_forge_build_setup + + +if !errorlevel! neq 0 exit /b !errorlevel! + +if EXIST LICENSE.txt ( + echo Copying feedstock license + copy LICENSE.txt "recipe\\recipe-scripts-license.txt" +) +if NOT [%HOST_PLATFORM%] == [%BUILD_PLATFORM%] ( + if [%CROSSCOMPILING_EMULATOR%] == [] ( + set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --no-test" + ) +) + +if NOT [%flow_run_id%] == [] ( + set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --extra-meta flow_run_id=%flow_run_id% remote_url=%remote_url% sha=%sha%" +) + +call :end_group + +:: Build the recipe +echo Building recipe +conda-build.exe "recipe" -m .ci_support\%CONFIG%.yaml --suppress-variables %EXTRA_CB_OPTIONS% +if !errorlevel! neq 0 exit /b !errorlevel! + +:: Prepare some environment variables for the upload step +if /i "%CI%" == "github_actions" ( + set "FEEDSTOCK_NAME=%GITHUB_REPOSITORY:*/=%" + set "GIT_BRANCH=%GITHUB_REF:refs/heads/=%" + if /i "%GITHUB_EVENT_NAME%" == "pull_request" ( + set "IS_PR_BUILD=True" + ) else ( + set "IS_PR_BUILD=False" + ) + set "TEMP=%RUNNER_TEMP%" +) +if /i "%CI%" == "azure" ( + set "FEEDSTOCK_NAME=%BUILD_REPOSITORY_NAME:*/=%" + set "GIT_BRANCH=%BUILD_SOURCEBRANCHNAME%" + if /i "%BUILD_REASON%" == "PullRequest" ( + set "IS_PR_BUILD=True" + ) else ( + set "IS_PR_BUILD=False" + ) + set "TEMP=%UPLOAD_TEMP%" +) + +:: Validate +call :start_group "Validating outputs" +validate_recipe_outputs "%FEEDSTOCK_NAME%" +if !errorlevel! neq 0 exit /b !errorlevel! +call :end_group + +if /i "%UPLOAD_PACKAGES%" == "true" ( + if /i "%IS_PR_BUILD%" == "false" ( + call :start_group "Uploading packages" + if not exist "%TEMP%\" md "%TEMP%" + set "TMP=%TEMP%" + upload_package --validate --feedstock-name="%FEEDSTOCK_NAME%" .\ ".\recipe" .ci_support\%CONFIG%.yaml + if !errorlevel! neq 0 exit /b !errorlevel! + call :end_group + ) +) + +exit + +:: Logging subroutines + +:start_group +if /i "%CI%" == "github_actions" ( + echo ::group::%~1 + exit /b +) +if /i "%CI%" == "azure" ( + echo ##[group]%~1 + exit /b +) +echo %~1 +exit /b + +:end_group +if /i "%CI%" == "github_actions" ( + echo ::endgroup:: + exit /b +) +if /i "%CI%" == "azure" ( + echo ##[endgroup] + exit /b +) +exit /b \ No newline at end of file diff --git a/LICENSE.txt b/LICENSE.txt index cba42cf..2ec51d7 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,13 +1,27 @@ -BSD 3-clause license -Copyright (c) 2015-2019, conda-forge +BSD-3-Clause license +Copyright (c) 2015-2022, conda-forge contributors All rights reserved. -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. diff --git a/README.md b/README.md index 29f6b47..ce3de60 100644 --- a/README.md +++ b/README.md @@ -1,122 +1,419 @@ +About pyarrow-feedstock +======================= + +Feedstock license: [BSD-3-Clause](https://github.com/conda-forge/pyarrow-feedstock/blob/main/LICENSE.txt) + + About pyarrow -============= +------------- Home: http://github.com/apache/arrow Package license: Apache-2.0 -Feedstock license: BSD 3-Clause - Summary: Python libraries for Apache Arrow +About pyarrow-core +------------------ + +Home: http://github.com/apache/arrow + +Package license: Apache-2.0 + +Summary: Python libraries for Apache Arrow Core + +About pyarrow +------------- + +Home: http://github.com/apache/arrow + +Package license: Apache-2.0 + +Summary: Python libraries for Apache Arrow with default capabilities + +About pyarrow-all +----------------- + +Home: http://github.com/apache/arrow + +Package license: Apache-2.0 + +Summary: Python libraries for Apache Arrow with all capabilities + +About pyarrow-tests +------------------- + +Home: http://github.com/apache/arrow + +Package license: Apache-2.0 +Summary: Python test files for Apache Arrow Current build status ==================== - - - - +
Drone - - linux - -
Azure
- - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + @@ -125,12 +422,6 @@ Current build status - - - -
VariantStatus
linux_aarch64_python3.6.____cpythonlinux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.10.____cpython + + variant + +
linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.8.____cpython + + variant + +
linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.22python3.9.____cpython + + variant + +
linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.23python3.11.____cpython + + variant + +
linux_64_c_compiler_version11c_stdlib_version2.17cuda_compiler_version11.8cxx_compiler_version11numpy1.26python3.12.____cpython + + variant + +
linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.10.____cpython + + variant + +
linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.8.____cpython + + variant + +
linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.22python3.9.____cpython + + variant + +
linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.23python3.11.____cpython + + variant + +
linux_64_c_compiler_version12c_stdlib_version2.12cuda_compiler_versionNonecxx_compiler_version12numpy1.26python3.12.____cpython + + variant + +
linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.10.____cpython + + variant + +
linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.8.____cpython + + variant + +
linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.9.____cpython + + variant + +
linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.23python3.11.____cpython + + variant + +
linux_aarch64_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.26python3.12.____cpython + + variant + +
linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.10.____cpython + + variant + +
linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.8.____cpython + + variant + +
linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.9.____cpython + + variant + +
linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.23python3.11.____cpython + + variant + +
linux_aarch64_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.26python3.12.____cpython + + variant + +
linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.10.____cpython + + variant + +
linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.8.____cpython + + variant + +
linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.22python3.9.____cpython + + variant + +
linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.23python3.11.____cpython + + variant + +
linux_ppc64le_c_compiler_version10cuda_compiler_version11.8cxx_compiler_version10numpy1.26python3.12.____cpython + + variant + +
linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.10.____cpython + + variant + +
linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.8.____cpython + + variant + +
linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.22python3.9.____cpython + + variant + +
linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.23python3.11.____cpython + + variant + +
linux_ppc64le_c_compiler_version13cuda_compiler_versionNonecxx_compiler_version13numpy1.26python3.12.____cpython + + variant + +
osx_64_numpy1.22python3.10.____cpython - - variant + + variant
linux_aarch64_python3.7.____cpythonosx_64_numpy1.22python3.8.____cpython - - variant + + variant
linux_aarch64_python3.8.____cpythonosx_64_numpy1.22python3.9.____cpython - - variant + + variant
linux_python3.6.____cpythonosx_64_numpy1.23python3.11.____cpython - - variant + + variant
linux_python3.7.____cpythonosx_64_numpy1.26python3.12.____cpython - - variant + + variant
linux_python3.8.____cpythonosx_arm64_numpy1.22python3.10.____cpython - - variant + + variant
osx_python3.6.____cpythonosx_arm64_numpy1.22python3.8.____cpython - - variant + + variant
osx_python3.7.____cpythonosx_arm64_numpy1.22python3.9.____cpython - - variant + + variant
osx_python3.8.____cpythonosx_arm64_numpy1.23python3.11.____cpython - - variant + + variant
win_python3.6.____cpythonosx_arm64_numpy1.26python3.12.____cpython - - variant + + variant
win_python3.7.____cpythonwin_64_cuda_compiler_version11.8numpy1.22python3.10.____cpython - - variant + + variant
win_python3.8.____cpythonwin_64_cuda_compiler_version11.8numpy1.22python3.8.____cpython - - variant + + variant + +
win_64_cuda_compiler_version11.8numpy1.22python3.9.____cpython + + variant + +
win_64_cuda_compiler_version11.8numpy1.23python3.11.____cpython + + variant + +
win_64_cuda_compiler_version11.8numpy1.26python3.12.____cpython + + variant + +
win_64_cuda_compiler_versionNonenumpy1.22python3.10.____cpython + + variant + +
win_64_cuda_compiler_versionNonenumpy1.22python3.8.____cpython + + variant + +
win_64_cuda_compiler_versionNonenumpy1.22python3.9.____cpython + + variant + +
win_64_cuda_compiler_versionNonenumpy1.23python3.11.____cpython + + variant + +
win_64_cuda_compiler_versionNonenumpy1.26python3.12.____cpython + + variant
Linux_ppc64le - ppc64le disabled -
Current release info @@ -139,6 +430,9 @@ Current release info | Name | Downloads | Version | Platforms | | --- | --- | --- | --- | | [![Conda Recipe](https://img.shields.io/badge/recipe-pyarrow-green.svg)](https://anaconda.org/conda-forge/pyarrow) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/pyarrow.svg)](https://anaconda.org/conda-forge/pyarrow) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/pyarrow.svg)](https://anaconda.org/conda-forge/pyarrow) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/pyarrow.svg)](https://anaconda.org/conda-forge/pyarrow) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-pyarrow--all-green.svg)](https://anaconda.org/conda-forge/pyarrow-all) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/pyarrow-all.svg)](https://anaconda.org/conda-forge/pyarrow-all) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/pyarrow-all.svg)](https://anaconda.org/conda-forge/pyarrow-all) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/pyarrow-all.svg)](https://anaconda.org/conda-forge/pyarrow-all) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-pyarrow--core-green.svg)](https://anaconda.org/conda-forge/pyarrow-core) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/pyarrow-core.svg)](https://anaconda.org/conda-forge/pyarrow-core) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/pyarrow-core.svg)](https://anaconda.org/conda-forge/pyarrow-core) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/pyarrow-core.svg)](https://anaconda.org/conda-forge/pyarrow-core) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-pyarrow--tests-green.svg)](https://anaconda.org/conda-forge/pyarrow-tests) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/pyarrow-tests.svg)](https://anaconda.org/conda-forge/pyarrow-tests) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/pyarrow-tests.svg)](https://anaconda.org/conda-forge/pyarrow-tests) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/pyarrow-tests.svg)](https://anaconda.org/conda-forge/pyarrow-tests) | Installing pyarrow ================== @@ -147,25 +441,52 @@ Installing `pyarrow` from the `conda-forge` channel can be achieved by adding `c ``` conda config --add channels conda-forge +conda config --set channel_priority strict ``` -Once the `conda-forge` channel has been enabled, `pyarrow` can be installed with: +Once the `conda-forge` channel has been enabled, `pyarrow, pyarrow-all, pyarrow-core, pyarrow-tests` can be installed with `conda`: ``` -conda install pyarrow +conda install pyarrow pyarrow-all pyarrow-core pyarrow-tests ``` -It is possible to list all of the versions of `pyarrow` available on your platform with: +or with `mamba`: + +``` +mamba install pyarrow pyarrow-all pyarrow-core pyarrow-tests +``` + +It is possible to list all of the versions of `pyarrow` available on your platform with `conda`: ``` conda search pyarrow --channel conda-forge ``` +or with `mamba`: + +``` +mamba search pyarrow --channel conda-forge +``` + +Alternatively, `mamba repoquery` may provide more information: + +``` +# Search all versions available on your platform: +mamba repoquery search pyarrow --channel conda-forge + +# List packages depending on `pyarrow`: +mamba repoquery whoneeds pyarrow --channel conda-forge + +# List dependencies of `pyarrow`: +mamba repoquery depends pyarrow --channel conda-forge +``` + About conda-forge ================= -[![Powered by NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](http://numfocus.org) +[![Powered by +NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](https://numfocus.org) conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the @@ -175,10 +496,12 @@ for each of the installable packages. Such a repository is known as a *feedstock A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by -[CircleCI](https://circleci.com/), [AppVeyor](https://www.appveyor.com/) -and [TravisCI](https://travis-ci.com/) it is possible to build and upload installable -packages to the [conda-forge](https://anaconda.org/conda-forge) -[Anaconda-Cloud](https://anaconda.org/) channel for Linux, Windows and OSX respectively. +[Azure](https://azure.microsoft.com/en-us/services/devops/), [GitHub](https://github.com/), +[CircleCI](https://circleci.com/), [AppVeyor](https://www.appveyor.com/), +[Drone](https://cloud.drone.io/welcome), and [TravisCI](https://travis-ci.com/) +it is possible to build and upload installable packages to the +[conda-forge](https://anaconda.org/conda-forge) [anaconda.org](https://anaconda.org/) +channel for Linux, Windows and OSX respectively. To manage the continuous integration and simplify feedstock maintenance [conda-smithy](https://github.com/conda-forge/conda-smithy) has been developed. @@ -217,22 +540,16 @@ build distinct package versions. In order to produce a uniquely identifiable distribution: * If the version of a package **is not** being increased, please add or increase - the [``build/number``](https://conda.io/docs/user-guide/tasks/build-packages/define-metadata.html#build-number-and-string). + the [``build/number``](https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build-number-and-string). * If the version of a package **is** being increased, please remember to return - the [``build/number``](https://conda.io/docs/user-guide/tasks/build-packages/define-metadata.html#build-number-and-string) + the [``build/number``](https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build-number-and-string) back to 0. Feedstock Maintainers ===================== -* [@cpcloud](https://github.com/cpcloud/) -* [@jreback](https://github.com/jreback/) -* [@kou](https://github.com/kou/) -* [@kszucs](https://github.com/kszucs/) -* [@pcmoritz](https://github.com/pcmoritz/) -* [@pitrou](https://github.com/pitrou/) -* [@robertnishihara](https://github.com/robertnishihara/) -* [@siddharthteotia](https://github.com/siddharthteotia/) -* [@wesm](https://github.com/wesm/) +* [@conda-forge/arrow-cpp](https://github.com/conda-forge/arrow-cpp/) +* [@h-vetinari](https://github.com/h-vetinari/) +* [@raulcd](https://github.com/raulcd/) * [@xhochy](https://github.com/xhochy/) diff --git a/build-locally.py b/build-locally.py index 8f7ecca..e0d408d 100755 --- a/build-locally.py +++ b/build-locally.py @@ -7,11 +7,21 @@ import glob import subprocess from argparse import ArgumentParser +import platform def setup_environment(ns): os.environ["CONFIG"] = ns.config os.environ["UPLOAD_PACKAGES"] = "False" + os.environ["IS_PR_BUILD"] = "True" + if ns.debug: + os.environ["BUILD_WITH_CONDA_DEBUG"] = "1" + if ns.output_id: + os.environ["BUILD_OUTPUT_ID"] = ns.output_id + if "MINIFORGE_HOME" not in os.environ: + os.environ["MINIFORGE_HOME"] = os.path.join( + os.path.dirname(__file__), "miniforge3" + ) def run_docker_build(ns): @@ -19,6 +29,11 @@ def run_docker_build(ns): subprocess.check_call([script]) +def run_osx_build(ns): + script = ".scripts/run_osx_build.sh" + subprocess.check_call([script]) + + def verify_config(ns): valid_configs = { os.path.basename(f)[:-5] for f in glob.glob(".ci_support/*.yaml") @@ -42,21 +57,49 @@ def verify_config(ns): else: raise ValueError("config " + ns.config + " is not valid") # Remove the following, as implemented - if not ns.config.startswith("linux"): + if ns.config.startswith("win"): raise ValueError( - f"only Linux configs currently supported, got {ns.config}" + f"only Linux/macOS configs currently supported, got {ns.config}" ) + elif ns.config.startswith("osx"): + if "OSX_SDK_DIR" not in os.environ: + raise RuntimeError( + "Need OSX_SDK_DIR env variable set. Run 'export OSX_SDK_DIR=$PWD/SDKs' " + "to download the SDK automatically to '$PWD/SDKs/MacOSX.sdk'. " + "Note: OSX_SDK_DIR must be set to an absolute path. " + "Setting this variable implies agreement to the licensing terms of the SDK by Apple." + ) def main(args=None): p = ArgumentParser("build-locally") p.add_argument("config", default=None, nargs="?") + p.add_argument( + "--debug", + action="store_true", + help="Setup debug environment using `conda debug`", + ) + p.add_argument( + "--output-id", help="If running debug, specify the output to setup." + ) ns = p.parse_args(args=args) verify_config(ns) setup_environment(ns) - run_docker_build(ns) + try: + if ns.config.startswith("linux") or ( + ns.config.startswith("osx") and platform.system() == "Linux" + ): + run_docker_build(ns) + elif ns.config.startswith("osx"): + run_osx_build(ns) + finally: + recipe_license_file = os.path.join( + "recipe", "recipe-scripts-license.txt" + ) + if os.path.exists(recipe_license_file): + os.remove(recipe_license_file) if __name__ == "__main__":