diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index 361edeb..bac7141 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -63,6 +63,25 @@ if [[ "${sha:-}" == "" ]]; then sha=$(git rev-parse HEAD) fi +if [[ "${OSX_SDK_DIR:-}" == "" ]]; then + if [[ "${CI:-}" == "" ]]; then + echo "Please set OSX_SDK_DIR to a directory where SDKs can be downloaded to. Aborting" + exit 1 + else + export OSX_SDK_DIR=/opt/conda-sdks + /usr/bin/sudo mkdir -p "${OSX_SDK_DIR}" + /usr/bin/sudo chown "${USER}" "${OSX_SDK_DIR}" + fi +else + if tmpf=$(mktemp -p "$OSX_SDK_DIR" tmp.XXXXXXXX 2>/dev/null); then + rm -f "$tmpf" + echo "OSX_SDK_DIR is writeable without sudo, continuing" + else + echo "User-provided OSX_SDK_DIR is not writeable for current user! Aborting" + exit 1 + fi +fi + echo -e "\n\nRunning the build setup script." source run_conda_forge_build_setup diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 1584b71..4da5c29 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,5 +1,5 @@ {% set name = "apache-beam" %} -{% set version = "2.70.0" %} +{% set version = "2.71.0" %} package: name: {{ name|lower }}-split @@ -7,7 +7,7 @@ package: source: url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name.replace('-', '_') }}-{{ version }}.tar.gz - sha256: 85d381df3941eedff88ccd0dafb6b4a28006d912c8a0cb9d065b7ae5f4f7bd40 + sha256: 515064493c478e92a87618f46c8b8c2143ce244317db683dc3d824fda37b0db5 build: skip: true # [win or py>=314] @@ -38,7 +38,7 @@ outputs: - {{ stdlib("c") }} # osx-arm64 seems to need this for some reason - {{ compiler('cxx') }} - - numpy >=1.14.3,<2.3.0 # [build_platform != target_platform] + - numpy >=1.14.3,<2.5.0 # [build_platform != target_platform] host: - python - setuptools @@ -50,18 +50,20 @@ outputs: - pyyaml >=3.12,<7.0.0 - jinja2 >=2.7.1,<4.0.0 - yapf 0.43.0 - - numpy >=1.14.3,<2.3.0 + - numpy >=1.14.3,<2.5.0 - pip run: - python - cryptography >=39.0.0,<48.0.0 + - envoy-data-plane >=1.0.3,<2 # [py >= 3.13] + - envoy-data-plane <0.3.0 # [py < 3.13] - fastavro >=0.23.6,<2 - fasteners >=0.3,<1.0 - grpcio >=1.33.1,<2,!=1.48.0,!=1.59.*,!=1.60.*,!=1.61.*,!=1.62.0,!=1.62.1,<1.66.0 # [py <= 312] - grpcio >=1.67.0 # [py >= 313] - httplib2 >=0.8,<0.23.0 - jsonpickle >=3.0.0,<4.0.0 - - numpy >=1.14.3,<2.3.0 + - numpy >=1.14.3,<2.5.0 - objsize >=0.6.1,<0.8.0 - packaging >=22.0 - pymongo >=3.8.0,<5.0.0 @@ -74,7 +76,7 @@ outputs: - typing-extensions >=3.7.0 - zstandard >=0.18.0,<1 - pyyaml >=3.12,<7.0.0 - - beartype >=0.21.0,<0.22.0 + - beartype >=0.21.0,<0.23.0 - pyarrow >=3.0.0,<19.0.0 - pyarrow-hotfix <1