├── .github └── CODEOWNERS ├── recipe ├── build-duckdb.bat ├── build-duckdb.sh └── meta.yaml ├── .ci_support ├── win_64_python3.10.____cpython.yaml ├── win_64_python3.11.____cpython.yaml ├── win_64_python3.12.____cpython.yaml ├── win_64_python3.13.____cp313.yaml ├── win_64_python3.14.____cp314.yaml ├── README ├── linux_64_python3.13.____cp313.yaml ├── linux_64_python3.14.____cp314.yaml ├── linux_64_python3.10.____cpython.yaml ├── linux_64_python3.11.____cpython.yaml ├── linux_64_python3.12.____cpython.yaml ├── linux_aarch64_python3.13.____cp313.yaml ├── linux_aarch64_python3.14.____cp314.yaml ├── linux_ppc64le_python3.13.____cp313.yaml ├── linux_ppc64le_python3.14.____cp314.yaml ├── linux_aarch64_python3.10.____cpython.yaml ├── linux_aarch64_python3.11.____cpython.yaml ├── linux_aarch64_python3.12.____cpython.yaml ├── linux_ppc64le_python3.10.____cpython.yaml ├── linux_ppc64le_python3.11.____cpython.yaml ├── linux_ppc64le_python3.12.____cpython.yaml ├── osx_64_python3.13.____cp313.yaml ├── osx_64_python3.14.____cp314.yaml ├── osx_64_python3.10.____cpython.yaml ├── osx_64_python3.11.____cpython.yaml ├── osx_64_python3.12.____cpython.yaml ├── osx_arm64_python3.10.____cpython.yaml ├── osx_arm64_python3.11.____cpython.yaml ├── osx_arm64_python3.12.____cpython.yaml ├── osx_arm64_python3.13.____cp313.yaml ├── osx_arm64_python3.14.____cp314.yaml └── migrations │ └── python314.yaml ├── conda-forge.yml ├── .circleci └── config.yml ├── .gitattributes ├── .gitignore ├── .scripts ├── logging_utils.sh ├── build_steps.sh ├── run_docker_build.sh ├── run_osx_build.sh └── run_win_build.bat ├── azure-pipelines.yml ├── LICENSE.txt ├── .azure-pipelines ├── azure-pipelines-win.yml ├── azure-pipelines-osx.yml └── azure-pipelines-linux.yml └── README.md /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @dhirschfeld @gforsyth @jonashaag @mariusvniekerk @sugatoray @xhochy -------------------------------------------------------------------------------- /recipe/build-duckdb.bat: -------------------------------------------------------------------------------- 1 | @echo on 2 | 3 | %PYTHON% -m pip install --no-deps --no-build-isolation -vv . 4 | if %ERRORLEVEL% neq 0 exit 1 5 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2022 3 | c_stdlib: 4 | - vs 5 | channel_sources: 6 | - conda-forge 7 | channel_targets: 8 | - conda-forge main 9 | cxx_compiler: 10 | - vs2022 11 | pin_run_as_build: 12 | python: 13 | min_pin: x.x 14 | max_pin: x.x 15 | python: 16 | - 3.10.* *_cpython 17 | target_platform: 18 | - win-64 19 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2022 3 | c_stdlib: 4 | - vs 5 | channel_sources: 6 | - conda-forge 7 | channel_targets: 8 | - conda-forge main 9 | cxx_compiler: 10 | - vs2022 11 | pin_run_as_build: 12 | python: 13 | min_pin: x.x 14 | max_pin: x.x 15 | python: 16 | - 3.11.* *_cpython 17 | target_platform: 18 | - win-64 19 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2022 3 | c_stdlib: 4 | - vs 5 | channel_sources: 6 | - conda-forge 7 | channel_targets: 8 | - conda-forge main 9 | cxx_compiler: 10 | - vs2022 11 | pin_run_as_build: 12 | python: 13 | min_pin: x.x 14 | max_pin: x.x 15 | python: 16 | - 3.12.* *_cpython 17 | target_platform: 18 | - win-64 19 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2022 3 | c_stdlib: 4 | - vs 5 | channel_sources: 6 | - conda-forge 7 | channel_targets: 8 | - conda-forge main 9 | cxx_compiler: 10 | - vs2022 11 | pin_run_as_build: 12 | python: 13 | min_pin: x.x 14 | max_pin: x.x 15 | python: 16 | - 3.13.* *_cp313 17 | target_platform: 18 | - win-64 19 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2022 3 | c_stdlib: 4 | - vs 5 | channel_sources: 6 | - conda-forge 7 | channel_targets: 8 | - conda-forge main 9 | cxx_compiler: 10 | - vs2022 11 | pin_run_as_build: 12 | python: 13 | min_pin: x.x 14 | max_pin: x.x 15 | python: 16 | - 3.14.* *_cp314 17 | target_platform: 18 | - win-64 19 | -------------------------------------------------------------------------------- /conda-forge.yml: -------------------------------------------------------------------------------- 1 | azure: 2 | settings_win: 3 | variables: 4 | SET_PAGEFILE: 'True' 5 | build_platform: 6 | linux_aarch64: linux_64 7 | linux_ppc64le: linux_64 8 | osx_arm64: osx_64 9 | conda_build: 10 | pkg_format: '2' 11 | conda_forge_output_validation: true 12 | github: 13 | branch_name: main 14 | tooling_branch_name: main 15 | test: native_and_emulated 16 | -------------------------------------------------------------------------------- /.ci_support/README: -------------------------------------------------------------------------------- 1 | This file is automatically generated by conda-smithy. If any 2 | particular build configuration is expected, but it is not found, 3 | please make sure all dependencies are satisfiable. To add/modify any 4 | matrix elements, you should create/change conda-smithy's input 5 | recipe/conda_build_config.yaml and re-render the recipe, rather than 6 | editing these files directly. 7 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.13.* *_cp313 25 | target_platform: 26 | - linux-64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.14.* *_cp314 25 | target_platform: 26 | - linux-64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.10.* *_cpython 25 | target_platform: 26 | - linux-64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.11.* *_cpython 25 | target_platform: 26 | - linux-64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.12.* *_cpython 25 | target_platform: 26 | - linux-64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | -------------------------------------------------------------------------------- /.ci_support/linux_aarch64_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.13.* *_cp313 25 | target_platform: 26 | - linux-aarch64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | -------------------------------------------------------------------------------- /.ci_support/linux_aarch64_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.14.* *_cp314 25 | target_platform: 26 | - linux-aarch64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | -------------------------------------------------------------------------------- /.ci_support/linux_ppc64le_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.13.* *_cp313 25 | target_platform: 26 | - linux-ppc64le 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | -------------------------------------------------------------------------------- /.ci_support/linux_ppc64le_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.14.* *_cp314 25 | target_platform: 26 | - linux-ppc64le 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | -------------------------------------------------------------------------------- /.ci_support/linux_aarch64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.10.* *_cpython 25 | target_platform: 26 | - linux-aarch64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | -------------------------------------------------------------------------------- /.ci_support/linux_aarch64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.11.* *_cpython 25 | target_platform: 26 | - linux-aarch64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | -------------------------------------------------------------------------------- /.ci_support/linux_aarch64_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.12.* *_cpython 25 | target_platform: 26 | - linux-aarch64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | -------------------------------------------------------------------------------- /.ci_support/linux_ppc64le_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.10.* *_cpython 25 | target_platform: 26 | - linux-ppc64le 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | -------------------------------------------------------------------------------- /.ci_support/linux_ppc64le_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.11.* *_cpython 25 | target_platform: 26 | - linux-ppc64le 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | -------------------------------------------------------------------------------- /.ci_support/linux_ppc64le_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '14' 5 | c_stdlib: 6 | - sysroot 7 | c_stdlib_version: 8 | - '2.17' 9 | channel_sources: 10 | - conda-forge 11 | channel_targets: 12 | - conda-forge main 13 | cxx_compiler: 14 | - gxx 15 | cxx_compiler_version: 16 | - '14' 17 | docker_image: 18 | - quay.io/condaforge/linux-anvil-x86_64:alma9 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.12.* *_cpython 25 | target_platform: 26 | - linux-ppc64le 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '10.13' 3 | MACOSX_SDK_VERSION: 4 | - '10.13' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '10.13' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | macos_machine: 22 | - x86_64-apple-darwin13.4.0 23 | pin_run_as_build: 24 | python: 25 | min_pin: x.x 26 | max_pin: x.x 27 | python: 28 | - 3.13.* *_cp313 29 | target_platform: 30 | - osx-64 31 | zip_keys: 32 | - - c_compiler_version 33 | - cxx_compiler_version 34 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '10.13' 3 | MACOSX_SDK_VERSION: 4 | - '10.13' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '10.13' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | macos_machine: 22 | - x86_64-apple-darwin13.4.0 23 | pin_run_as_build: 24 | python: 25 | min_pin: x.x 26 | max_pin: x.x 27 | python: 28 | - 3.14.* *_cp314 29 | target_platform: 30 | - osx-64 31 | zip_keys: 32 | - - c_compiler_version 33 | - cxx_compiler_version 34 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '10.13' 3 | MACOSX_SDK_VERSION: 4 | - '10.13' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '10.13' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | macos_machine: 22 | - x86_64-apple-darwin13.4.0 23 | pin_run_as_build: 24 | python: 25 | min_pin: x.x 26 | max_pin: x.x 27 | python: 28 | - 3.10.* *_cpython 29 | target_platform: 30 | - osx-64 31 | zip_keys: 32 | - - c_compiler_version 33 | - cxx_compiler_version 34 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '10.13' 3 | MACOSX_SDK_VERSION: 4 | - '10.13' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '10.13' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | macos_machine: 22 | - x86_64-apple-darwin13.4.0 23 | pin_run_as_build: 24 | python: 25 | min_pin: x.x 26 | max_pin: x.x 27 | python: 28 | - 3.11.* *_cpython 29 | target_platform: 30 | - osx-64 31 | zip_keys: 32 | - - c_compiler_version 33 | - cxx_compiler_version 34 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '10.13' 3 | MACOSX_SDK_VERSION: 4 | - '10.13' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '10.13' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | macos_machine: 22 | - x86_64-apple-darwin13.4.0 23 | pin_run_as_build: 24 | python: 25 | min_pin: x.x 26 | max_pin: x.x 27 | python: 28 | - 3.12.* *_cpython 29 | target_platform: 30 | - osx-64 31 | zip_keys: 32 | - - c_compiler_version 33 | - cxx_compiler_version 34 | -------------------------------------------------------------------------------- /.ci_support/osx_arm64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '11.0' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | macos_machine: 22 | - arm64-apple-darwin20.0.0 23 | pin_run_as_build: 24 | python: 25 | min_pin: x.x 26 | max_pin: x.x 27 | python: 28 | - 3.10.* *_cpython 29 | target_platform: 30 | - osx-arm64 31 | zip_keys: 32 | - - c_compiler_version 33 | - cxx_compiler_version 34 | -------------------------------------------------------------------------------- /.ci_support/osx_arm64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '11.0' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | macos_machine: 22 | - arm64-apple-darwin20.0.0 23 | pin_run_as_build: 24 | python: 25 | min_pin: x.x 26 | max_pin: x.x 27 | python: 28 | - 3.11.* *_cpython 29 | target_platform: 30 | - osx-arm64 31 | zip_keys: 32 | - - c_compiler_version 33 | - cxx_compiler_version 34 | -------------------------------------------------------------------------------- /.ci_support/osx_arm64_python3.12.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '11.0' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | macos_machine: 22 | - arm64-apple-darwin20.0.0 23 | pin_run_as_build: 24 | python: 25 | min_pin: x.x 26 | max_pin: x.x 27 | python: 28 | - 3.12.* *_cpython 29 | target_platform: 30 | - osx-arm64 31 | zip_keys: 32 | - - c_compiler_version 33 | - cxx_compiler_version 34 | -------------------------------------------------------------------------------- /.ci_support/osx_arm64_python3.13.____cp313.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '11.0' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | macos_machine: 22 | - arm64-apple-darwin20.0.0 23 | pin_run_as_build: 24 | python: 25 | min_pin: x.x 26 | max_pin: x.x 27 | python: 28 | - 3.13.* *_cp313 29 | target_platform: 30 | - osx-arm64 31 | zip_keys: 32 | - - c_compiler_version 33 | - cxx_compiler_version 34 | -------------------------------------------------------------------------------- /.ci_support/osx_arm64_python3.14.____cp314.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '11.0' 3 | MACOSX_SDK_VERSION: 4 | - '11.0' 5 | c_compiler: 6 | - clang 7 | c_compiler_version: 8 | - '19' 9 | c_stdlib: 10 | - macosx_deployment_target 11 | c_stdlib_version: 12 | - '11.0' 13 | channel_sources: 14 | - conda-forge 15 | channel_targets: 16 | - conda-forge main 17 | cxx_compiler: 18 | - clangxx 19 | cxx_compiler_version: 20 | - '19' 21 | macos_machine: 22 | - arm64-apple-darwin20.0.0 23 | pin_run_as_build: 24 | python: 25 | min_pin: x.x 26 | max_pin: x.x 27 | python: 28 | - 3.14.* *_cp314 29 | target_platform: 30 | - osx-arm64 31 | zip_keys: 32 | - - c_compiler_version 33 | - cxx_compiler_version 34 | -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | # -*- mode: jinja-yaml -*- 4 | 5 | version: 2 6 | 7 | jobs: 8 | build: 9 | working_directory: ~/test 10 | machine: 11 | image: ubuntu-2004:current 12 | steps: 13 | - run: 14 | # The Circle-CI build should not be active, but if this is not true for some reason, do a fast finish. 15 | command: exit 0 16 | 17 | workflows: 18 | version: 2 19 | build_and_test: 20 | jobs: 21 | - build: 22 | filters: 23 | branches: 24 | ignore: 25 | - /.*/ 26 | -------------------------------------------------------------------------------- /recipe/build-duckdb.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -euxo pipefail 4 | 5 | if [[ "$target_platform" == "linux-ppc64le" ]]; then 6 | # avoid error 'relocation truncated to fit: R_PPC64_REL24' 7 | export CFLAGS="$(echo ${CFLAGS} | sed 's/-fno-plt//g') -fplt" 8 | export CXXFLAGS="$(echo ${CXXFLAGS} | sed 's/-fno-plt//g') -fplt" 9 | fi 10 | 11 | if [[ "$target_platform" == "linux-aarch64" || "$target_platform" == "linux-ppc64le" ]]; then 12 | # jemalloc extension on aarch64/ppc64le needs pthread symbols 13 | export CFLAGS="${CFLAGS} -pthread" 14 | export CXXFLAGS="${CXXFLAGS} -pthread" 15 | export JEMALLOC_SYS_WITH_LG_PAGE=16 16 | fi 17 | 18 | 19 | # export OVERRIDE_GIT_DESCRIBE=v$PKG_VERSION-0-gb8a06e4 20 | export CMAKE_GENERATOR=Ninja 21 | 22 | ${PYTHON} -m pip install --no-deps --no-build-isolation -vv . 23 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | *.patch binary 4 | *.diff binary 5 | meta.yaml text eol=lf 6 | build.sh text eol=lf 7 | bld.bat text eol=crlf 8 | 9 | # github helper pieces to make some files not show up in diffs automatically 10 | .azure-pipelines/* linguist-generated=true 11 | .circleci/* linguist-generated=true 12 | .ci_support/README linguist-generated=true 13 | .drone/* linguist-generated=true 14 | .drone.yml linguist-generated=true 15 | .github/* linguist-generated=true 16 | .travis/* linguist-generated=true 17 | .appveyor.yml linguist-generated=true 18 | .gitattributes linguist-generated=true 19 | .gitignore linguist-generated=true 20 | .travis.yml linguist-generated=true 21 | .scripts/* linguist-generated=true 22 | .woodpecker.yml linguist-generated=true 23 | /LICENSE.txt linguist-generated=true 24 | /README.md linguist-generated=true 25 | azure-pipelines.yml linguist-generated=true 26 | build-locally.py linguist-generated=true 27 | pixi.toml linguist-generated=true 28 | shippable.yml linguist-generated=true 29 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # User content belongs under recipe/. 2 | # Feedstock configuration goes in `conda-forge.yml` 3 | # Everything else is managed by the conda-smithy rerender process. 4 | # Please do not modify 5 | 6 | # Ignore all files and folders in root 7 | * 8 | !/conda-forge.yml 9 | 10 | # Don't ignore any files/folders if the parent folder is 'un-ignored' 11 | # This also avoids warnings when adding an already-checked file with an ignored parent. 12 | !/**/ 13 | # Don't ignore any files/folders recursively in the following folders 14 | !/recipe/** 15 | !/.ci_support/** 16 | 17 | # Since we ignore files/folders recursively, any folders inside 18 | # build_artifacts gets ignored which trips some build systems. 19 | # To avoid that we 'un-ignore' all files/folders recursively 20 | # and only ignore the root build_artifacts folder. 21 | !/build_artifacts/** 22 | /build_artifacts 23 | 24 | *.pyc 25 | 26 | # Rattler-build's artifacts are in `output` when not specifying anything. 27 | /output 28 | # Pixi's configuration 29 | .pixi 30 | -------------------------------------------------------------------------------- /.scripts/logging_utils.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Provide a unified interface for the different logging 4 | # utilities CI providers offer. If unavailable, provide 5 | # a compatible fallback (e.g. bare `echo xxxxxx`). 6 | 7 | function startgroup { 8 | # Start a foldable group of log lines 9 | # Pass a single argument, quoted 10 | case ${CI:-} in 11 | azure ) 12 | echo "##[group]$1";; 13 | travis ) 14 | echo "$1" 15 | echo -en 'travis_fold:start:'"${1// /}"'\r';; 16 | github_actions ) 17 | echo "::group::$1";; 18 | * ) 19 | echo "$1";; 20 | esac 21 | } 2> /dev/null 22 | 23 | function endgroup { 24 | # End a foldable group of log lines 25 | # Pass a single argument, quoted 26 | 27 | case ${CI:-} in 28 | azure ) 29 | echo "##[endgroup]";; 30 | travis ) 31 | echo -en 'travis_fold:end:'"${1// /}"'\r';; 32 | github_actions ) 33 | echo "::endgroup::";; 34 | esac 35 | } 2> /dev/null 36 | -------------------------------------------------------------------------------- /.ci_support/migrations/python314.yaml: -------------------------------------------------------------------------------- 1 | # this is intentionally sorted before the 3.13t migrator, because that determines 2 | # the order of application of the migrators; otherwise we'd have to add values for 3 | # is_freethreading and is_abi3 keys here, since that migration extends the zip; 4 | migrator_ts: 1724712607 5 | __migrator: 6 | commit_message: Rebuild for python 3.14 7 | migration_number: 1 8 | operation: key_add 9 | primary_key: python 10 | ordering: 11 | python: 12 | - 3.9.* *_cpython 13 | - 3.10.* *_cpython 14 | - 3.11.* *_cpython 15 | - 3.12.* *_cpython 16 | - 3.13.* *_cp313 17 | - 3.13.* *_cp313t 18 | - 3.14.* *_cp314 # new entry 19 | paused: false 20 | longterm: true 21 | pr_limit: 5 22 | max_solver_attempts: 3 # this will make the bot retry "not solvable" stuff 12 times 23 | exclude: 24 | # this shouldn't attempt to modify the python feedstocks 25 | - python 26 | - pypy3.6 27 | - pypy-meta 28 | - cross-python 29 | - python_abi 30 | exclude_pinned_pkgs: false 31 | ignored_deps_per_node: 32 | matplotlib: 33 | - pyqt 34 | additional_zip_keys: 35 | - channel_sources 36 | 37 | python: 38 | - 3.14.* *_cp314 39 | # additional entries to add for zip_keys 40 | is_python_min: 41 | - false 42 | channel_sources: 43 | - conda-forge,conda-forge/label/python_rc 44 | -------------------------------------------------------------------------------- /azure-pipelines.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | # -*- mode: yaml -*- 4 | 5 | stages: 6 | - stage: Check 7 | jobs: 8 | - job: Skip 9 | pool: 10 | vmImage: 'ubuntu-22.04' 11 | variables: 12 | DECODE_PERCENTS: 'false' 13 | RET: 'true' 14 | steps: 15 | - checkout: self 16 | fetchDepth: '2' 17 | - bash: | 18 | git_log=`git log --max-count=1 --skip=1 --pretty=format:"%B" | tr "\n" " "` 19 | echo "##vso[task.setvariable variable=log]$git_log" 20 | displayName: Obtain commit message 21 | - bash: echo "##vso[task.setvariable variable=RET]false" 22 | condition: and(eq(variables['Build.Reason'], 'PullRequest'), or(contains(variables.log, '[skip azp]'), contains(variables.log, '[azp skip]'), contains(variables.log, '[skip ci]'), contains(variables.log, '[ci skip]'))) 23 | displayName: Skip build? 24 | - bash: echo "##vso[task.setvariable variable=start_main;isOutput=true]$RET" 25 | name: result 26 | displayName: Export result 27 | - stage: Build 28 | condition: and(succeeded(), eq(dependencies.Check.outputs['Skip.result.start_main'], 'true')) 29 | dependsOn: Check 30 | jobs: 31 | - template: ./.azure-pipelines/azure-pipelines-linux.yml 32 | - template: ./.azure-pipelines/azure-pipelines-osx.yml 33 | - template: ./.azure-pipelines/azure-pipelines-win.yml -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | BSD-3-Clause license 2 | Copyright (c) 2015-2022, conda-forge contributors 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions are met: 7 | 8 | 1. Redistributions of source code must retain the above copyright notice, 9 | this list of conditions and the following disclaimer. 10 | 2. Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 3. Neither the name of the copyright holder nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR 21 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 23 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 24 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 27 | DAMAGE. 28 | -------------------------------------------------------------------------------- /.azure-pipelines/azure-pipelines-win.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | # -*- mode: yaml -*- 4 | 5 | jobs: 6 | - job: win 7 | pool: 8 | vmImage: windows-2022 9 | strategy: 10 | matrix: 11 | win_64_python3.10.____cpython: 12 | CONFIG: win_64_python3.10.____cpython 13 | UPLOAD_PACKAGES: 'True' 14 | win_64_python3.11.____cpython: 15 | CONFIG: win_64_python3.11.____cpython 16 | UPLOAD_PACKAGES: 'True' 17 | win_64_python3.12.____cpython: 18 | CONFIG: win_64_python3.12.____cpython 19 | UPLOAD_PACKAGES: 'True' 20 | win_64_python3.13.____cp313: 21 | CONFIG: win_64_python3.13.____cp313 22 | UPLOAD_PACKAGES: 'True' 23 | win_64_python3.14.____cp314: 24 | CONFIG: win_64_python3.14.____cp314 25 | UPLOAD_PACKAGES: 'True' 26 | timeoutInMinutes: 360 27 | variables: 28 | CONDA_BLD_PATH: D:\\bld\\ 29 | MINIFORGE_HOME: D:\Miniforge 30 | SET_PAGEFILE: 'True' 31 | UPLOAD_TEMP: D:\\tmp 32 | 33 | steps: 34 | 35 | - script: | 36 | call ".scripts\run_win_build.bat" 37 | displayName: Run Windows build 38 | env: 39 | MINIFORGE_HOME: $(MINIFORGE_HOME) 40 | CONDA_BLD_PATH: $(CONDA_BLD_PATH) 41 | PYTHONUNBUFFERED: 1 42 | CONFIG: $(CONFIG) 43 | CI: azure 44 | flow_run_id: azure_$(Build.BuildNumber).$(System.JobAttempt) 45 | remote_url: $(Build.Repository.Uri) 46 | sha: $(Build.SourceVersion) 47 | UPLOAD_PACKAGES: $(UPLOAD_PACKAGES) 48 | UPLOAD_TEMP: $(UPLOAD_TEMP) 49 | BINSTAR_TOKEN: $(BINSTAR_TOKEN) 50 | FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) 51 | STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) 52 | -------------------------------------------------------------------------------- /recipe/meta.yaml: -------------------------------------------------------------------------------- 1 | {% set name = "duckdb" %} 2 | # Please also set OVERRIDE_GIT_DESCRIBE in build-duckdb.{sh,bat} 3 | {% set version = "1.4.3" %} 4 | 5 | package: 6 | name: python-{{ name|lower }}-split 7 | version: {{ version }} 8 | 9 | source: 10 | url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz 11 | sha256: fea43e03604c713e25a25211ada87d30cd2a044d8f27afab5deba26ac49e5268 12 | 13 | build: 14 | number: 0 15 | 16 | outputs: 17 | - name: python-{{ name|lower }} 18 | script: build-duckdb.sh # [unix] 19 | script: build-duckdb.bat # [win] 20 | requirements: 21 | build: 22 | - python # [build_platform != target_platform] 23 | - cross-python_{{ target_platform }} # [build_platform != target_platform] 24 | - pybind11 >=2.6 # [build_platform != target_platform] 25 | - cmake >=3.29 26 | - ninja 27 | - {{ stdlib('c') }} 28 | - {{ compiler('c') }} 29 | - {{ compiler('cxx') }} 30 | host: 31 | - pybind11 >=2.6 32 | - scikit-build-core >=0.11.4 33 | - python 34 | - pip 35 | - setuptools 36 | - setuptools_scm >=8 37 | run: 38 | - python 39 | 40 | test: 41 | imports: 42 | - duckdb 43 | requires: 44 | - pip 45 | commands: 46 | - pip check 47 | - name: {{ name|lower }} 48 | build: 49 | noarch: generic 50 | skip: true # [not linux64] 51 | requirements: 52 | run: 53 | - {{ pin_subpackage('python-duckdb', max_pin="x.x.x") }} 54 | test: 55 | imports: 56 | - duckdb 57 | 58 | 59 | about: 60 | home: https://www.duckdb.org/ 61 | license: MIT 62 | license_family: MIT 63 | license_file: LICENSE 64 | summary: An Embeddable Analytical Database 65 | description: | 66 | DuckDB is an embedded database designed to execute analytical SQL queries 67 | fast while embedded in another process. It is designed to be easy to 68 | install and easy to use. 69 | doc_url: https://duckdb.org/docs/index.html 70 | dev_url: https://github.com/duckdb/duckdb 71 | 72 | extra: 73 | recipe-maintainers: 74 | - jonashaag 75 | - sugatoray 76 | - dhirschfeld 77 | - xhochy 78 | - mariusvniekerk 79 | - gforsyth 80 | -------------------------------------------------------------------------------- /.azure-pipelines/azure-pipelines-osx.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | # -*- mode: yaml -*- 4 | 5 | jobs: 6 | - job: osx 7 | pool: 8 | vmImage: macOS-15 9 | strategy: 10 | matrix: 11 | osx_64_python3.10.____cpython: 12 | CONFIG: osx_64_python3.10.____cpython 13 | UPLOAD_PACKAGES: 'True' 14 | osx_64_python3.11.____cpython: 15 | CONFIG: osx_64_python3.11.____cpython 16 | UPLOAD_PACKAGES: 'True' 17 | osx_64_python3.12.____cpython: 18 | CONFIG: osx_64_python3.12.____cpython 19 | UPLOAD_PACKAGES: 'True' 20 | osx_64_python3.13.____cp313: 21 | CONFIG: osx_64_python3.13.____cp313 22 | UPLOAD_PACKAGES: 'True' 23 | osx_64_python3.14.____cp314: 24 | CONFIG: osx_64_python3.14.____cp314 25 | UPLOAD_PACKAGES: 'True' 26 | osx_arm64_python3.10.____cpython: 27 | CONFIG: osx_arm64_python3.10.____cpython 28 | UPLOAD_PACKAGES: 'True' 29 | osx_arm64_python3.11.____cpython: 30 | CONFIG: osx_arm64_python3.11.____cpython 31 | UPLOAD_PACKAGES: 'True' 32 | osx_arm64_python3.12.____cpython: 33 | CONFIG: osx_arm64_python3.12.____cpython 34 | UPLOAD_PACKAGES: 'True' 35 | osx_arm64_python3.13.____cp313: 36 | CONFIG: osx_arm64_python3.13.____cp313 37 | UPLOAD_PACKAGES: 'True' 38 | osx_arm64_python3.14.____cp314: 39 | CONFIG: osx_arm64_python3.14.____cp314 40 | UPLOAD_PACKAGES: 'True' 41 | timeoutInMinutes: 360 42 | variables: {} 43 | 44 | steps: 45 | # TODO: Fast finish on azure pipelines? 46 | - script: | 47 | export CI=azure 48 | export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) 49 | export remote_url=$(Build.Repository.Uri) 50 | export sha=$(Build.SourceVersion) 51 | export OSX_FORCE_SDK_DOWNLOAD="1" 52 | export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME 53 | export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) 54 | if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then 55 | export IS_PR_BUILD="True" 56 | else 57 | export IS_PR_BUILD="False" 58 | fi 59 | ./.scripts/run_osx_build.sh 60 | displayName: Run OSX build 61 | env: 62 | BINSTAR_TOKEN: $(BINSTAR_TOKEN) 63 | FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) 64 | STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) 65 | -------------------------------------------------------------------------------- /.scripts/build_steps.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here 4 | # will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent 5 | # changes to this script, consider a proposal to conda-smithy so that other feedstocks can also 6 | # benefit from the improvement. 7 | 8 | # -*- mode: jinja-shell -*- 9 | 10 | set -xeuo pipefail 11 | export FEEDSTOCK_ROOT="${FEEDSTOCK_ROOT:-/home/conda/feedstock_root}" 12 | source ${FEEDSTOCK_ROOT}/.scripts/logging_utils.sh 13 | 14 | 15 | ( endgroup "Start Docker" ) 2> /dev/null 16 | 17 | ( startgroup "Configuring conda" ) 2> /dev/null 18 | 19 | export PYTHONUNBUFFERED=1 20 | export RECIPE_ROOT="${RECIPE_ROOT:-/home/conda/recipe_root}" 21 | export CI_SUPPORT="${FEEDSTOCK_ROOT}/.ci_support" 22 | export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml" 23 | 24 | cat >~/.condarc < /opt/conda/conda-meta/history 36 | micromamba install --root-prefix ~/.conda --prefix /opt/conda \ 37 | --yes --override-channels --channel conda-forge --strict-channel-priority \ 38 | pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" 39 | export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 40 | 41 | # set up the condarc 42 | setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" 43 | 44 | source run_conda_forge_build_setup 45 | 46 | 47 | 48 | # make the build number clobber 49 | make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" 50 | 51 | if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]] && [[ "${HOST_PLATFORM}" != linux-* ]] && [[ "${BUILD_WITH_CONDA_DEBUG:-0}" != 1 ]]; then 52 | EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" 53 | fi 54 | 55 | 56 | ( endgroup "Configuring conda" ) 2> /dev/null 57 | 58 | if [[ -f "${FEEDSTOCK_ROOT}/LICENSE.txt" ]]; then 59 | cp "${FEEDSTOCK_ROOT}/LICENSE.txt" "${RECIPE_ROOT}/recipe-scripts-license.txt" 60 | fi 61 | 62 | if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then 63 | if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then 64 | EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" 65 | fi 66 | conda debug "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ 67 | ${EXTRA_CB_OPTIONS:-} \ 68 | --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" 69 | 70 | # Drop into an interactive shell 71 | /bin/bash 72 | else 73 | conda-build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ 74 | --suppress-variables ${EXTRA_CB_OPTIONS:-} \ 75 | --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \ 76 | --extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}" 77 | ( startgroup "Inspecting artifacts" ) 2> /dev/null 78 | 79 | # inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 80 | command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts --recipe-dir "${RECIPE_ROOT}" -m "${CONFIG_FILE}" || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4" 81 | 82 | ( endgroup "Inspecting artifacts" ) 2> /dev/null 83 | ( startgroup "Validating outputs" ) 2> /dev/null 84 | 85 | validate_recipe_outputs "${FEEDSTOCK_NAME}" 86 | 87 | ( endgroup "Validating outputs" ) 2> /dev/null 88 | 89 | ( startgroup "Uploading packages" ) 2> /dev/null 90 | 91 | if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then 92 | upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" 93 | fi 94 | 95 | ( endgroup "Uploading packages" ) 2> /dev/null 96 | fi 97 | 98 | ( startgroup "Final checks" ) 2> /dev/null 99 | 100 | touch "${FEEDSTOCK_ROOT}/build_artifacts/conda-forge-build-done-${CONFIG}" 101 | -------------------------------------------------------------------------------- /.scripts/run_docker_build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here 4 | # will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent 5 | # changes to this script, consider a proposal to conda-smithy so that other feedstocks can also 6 | # benefit from the improvement. 7 | 8 | source .scripts/logging_utils.sh 9 | 10 | ( startgroup "Configure Docker" ) 2> /dev/null 11 | 12 | set -xeo pipefail 13 | 14 | THISDIR="$( cd "$( dirname "$0" )" >/dev/null && pwd )" 15 | PROVIDER_DIR="$(basename "$THISDIR")" 16 | 17 | FEEDSTOCK_ROOT="$( cd "$( dirname "$0" )/.." >/dev/null && pwd )" 18 | RECIPE_ROOT="${FEEDSTOCK_ROOT}/recipe" 19 | 20 | if [ -z ${FEEDSTOCK_NAME} ]; then 21 | export FEEDSTOCK_NAME=$(basename ${FEEDSTOCK_ROOT}) 22 | fi 23 | 24 | if [[ "${sha:-}" == "" ]]; then 25 | pushd "${FEEDSTOCK_ROOT}" 26 | sha=$(git rev-parse HEAD) 27 | popd 28 | fi 29 | 30 | docker info 31 | 32 | # In order for the conda-build process in the container to write to the mounted 33 | # volumes, we need to run with the same id as the host machine, which is 34 | # normally the owner of the mounted volumes, or at least has write permission 35 | export HOST_USER_ID=$(id -u) 36 | # Check if docker-machine is being used (normally on OSX) and get the uid from 37 | # the VM 38 | if hash docker-machine 2> /dev/null && docker-machine active > /dev/null; then 39 | export HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u) 40 | fi 41 | 42 | ARTIFACTS="$FEEDSTOCK_ROOT/build_artifacts" 43 | 44 | if [ -z "$CONFIG" ]; then 45 | set +x 46 | FILES=`ls .ci_support/linux_*` 47 | CONFIGS="" 48 | for file in $FILES; do 49 | CONFIGS="${CONFIGS}'${file:12:-5}' or "; 50 | done 51 | echo "Need to set CONFIG env variable. Value can be one of ${CONFIGS:0:-4}" 52 | exit 1 53 | fi 54 | 55 | if [ -z "${DOCKER_IMAGE}" ]; then 56 | SHYAML_INSTALLED="$(shyaml -h || echo NO)" 57 | if [ "${SHYAML_INSTALLED}" == "NO" ]; then 58 | echo "WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils" 59 | DOCKER_IMAGE=$(cat .ci_support/${CONFIG}.yaml | grep '^docker_image:$' -A 1 | tail -n 1 | cut -b 3-) 60 | if [ "${DOCKER_IMAGE}" = "" ]; then 61 | echo "No docker_image entry found in ${CONFIG}. Falling back to quay.io/condaforge/linux-anvil-comp7" 62 | DOCKER_IMAGE="quay.io/condaforge/linux-anvil-comp7" 63 | fi 64 | else 65 | DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 quay.io/condaforge/linux-anvil-comp7 )" 66 | fi 67 | fi 68 | 69 | mkdir -p "$ARTIFACTS" 70 | DONE_CANARY="$ARTIFACTS/conda-forge-build-done-${CONFIG}" 71 | rm -f "$DONE_CANARY" 72 | 73 | # Allow people to specify extra default arguments to `docker run` (e.g. `--rm`) 74 | DOCKER_RUN_ARGS="${CONDA_FORGE_DOCKER_RUN_ARGS}" 75 | if [ -z "${CI}" ]; then 76 | DOCKER_RUN_ARGS="-it ${DOCKER_RUN_ARGS}" 77 | fi 78 | 79 | ( endgroup "Configure Docker" ) 2> /dev/null 80 | 81 | ( startgroup "Start Docker" ) 2> /dev/null 82 | 83 | export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" 84 | export IS_PR_BUILD="${IS_PR_BUILD:-False}" 85 | docker pull "${DOCKER_IMAGE}" 86 | docker run ${DOCKER_RUN_ARGS} \ 87 | -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \ 88 | -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z,delegated \ 89 | -e CONFIG \ 90 | -e HOST_USER_ID \ 91 | -e UPLOAD_PACKAGES \ 92 | -e IS_PR_BUILD \ 93 | -e GIT_BRANCH \ 94 | -e UPLOAD_ON_BRANCH \ 95 | -e CI \ 96 | -e FEEDSTOCK_NAME \ 97 | -e CPU_COUNT \ 98 | -e BUILD_WITH_CONDA_DEBUG \ 99 | -e BUILD_OUTPUT_ID \ 100 | -e flow_run_id \ 101 | -e remote_url \ 102 | -e sha \ 103 | -e BINSTAR_TOKEN \ 104 | -e FEEDSTOCK_TOKEN \ 105 | -e STAGING_BINSTAR_TOKEN \ 106 | "${DOCKER_IMAGE}" \ 107 | bash \ 108 | "/home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh" 109 | 110 | # verify that the end of the script was reached 111 | test -f "$DONE_CANARY" 112 | 113 | # This closes the last group opened in `build_steps.sh` 114 | ( endgroup "Final checks" ) 2> /dev/null 115 | -------------------------------------------------------------------------------- /.scripts/run_osx_build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # -*- mode: jinja-shell -*- 4 | 5 | source .scripts/logging_utils.sh 6 | 7 | set -xe 8 | 9 | MINIFORGE_HOME="${MINIFORGE_HOME:-${HOME}/miniforge3}" 10 | MINIFORGE_HOME="${MINIFORGE_HOME%/}" # remove trailing slash 11 | export CONDA_BLD_PATH="${CONDA_BLD_PATH:-${MINIFORGE_HOME}/conda-bld}" 12 | 13 | ( startgroup "Provisioning base env with micromamba" ) 2> /dev/null 14 | MICROMAMBA_VERSION="1.5.10-0" 15 | if [[ "$(uname -m)" == "arm64" ]]; then 16 | osx_arch="osx-arm64" 17 | else 18 | osx_arch="osx-64" 19 | fi 20 | MICROMAMBA_URL="https://github.com/mamba-org/micromamba-releases/releases/download/${MICROMAMBA_VERSION}/micromamba-${osx_arch}" 21 | MAMBA_ROOT_PREFIX="${MINIFORGE_HOME}-micromamba-$(date +%s)" 22 | echo "Downloading micromamba ${MICROMAMBA_VERSION}" 23 | micromamba_exe="$(mktemp -d)/micromamba" 24 | curl -L -o "${micromamba_exe}" "${MICROMAMBA_URL}" 25 | chmod +x "${micromamba_exe}" 26 | echo "Creating environment" 27 | "${micromamba_exe}" create --yes --root-prefix "${MAMBA_ROOT_PREFIX}" --prefix "${MINIFORGE_HOME}" \ 28 | --channel conda-forge \ 29 | pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" 30 | echo "Moving pkgs cache from ${MAMBA_ROOT_PREFIX} to ${MINIFORGE_HOME}" 31 | mv "${MAMBA_ROOT_PREFIX}/pkgs" "${MINIFORGE_HOME}" 32 | echo "Cleaning up micromamba" 33 | rm -rf "${MAMBA_ROOT_PREFIX}" "${micromamba_exe}" || true 34 | ( endgroup "Provisioning base env with micromamba" ) 2> /dev/null 35 | 36 | ( startgroup "Configuring conda" ) 2> /dev/null 37 | echo "Activating environment" 38 | source "${MINIFORGE_HOME}/etc/profile.d/conda.sh" 39 | conda activate base 40 | export CONDA_SOLVER="libmamba" 41 | export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 42 | 43 | 44 | 45 | 46 | 47 | echo -e "\n\nSetting up the condarc and mangling the compiler." 48 | setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml 49 | 50 | if [[ "${CI:-}" != "" ]]; then 51 | mangle_compiler ./ ./recipe .ci_support/${CONFIG}.yaml 52 | fi 53 | 54 | if [[ "${CI:-}" != "" ]]; then 55 | echo -e "\n\nMangling homebrew in the CI to avoid conflicts." 56 | /usr/bin/sudo mangle_homebrew 57 | /usr/bin/sudo -k 58 | else 59 | echo -e "\n\nNot mangling homebrew as we are not running in CI" 60 | fi 61 | 62 | if [[ "${sha:-}" == "" ]]; then 63 | sha=$(git rev-parse HEAD) 64 | fi 65 | 66 | echo -e "\n\nRunning the build setup script." 67 | source run_conda_forge_build_setup 68 | 69 | 70 | 71 | ( endgroup "Configuring conda" ) 2> /dev/null 72 | 73 | echo -e "\n\nMaking the build clobber file" 74 | make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml 75 | 76 | if [[ -f LICENSE.txt ]]; then 77 | cp LICENSE.txt "recipe/recipe-scripts-license.txt" 78 | fi 79 | 80 | if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then 81 | if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then 82 | EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" 83 | fi 84 | conda debug ./recipe -m ./.ci_support/${CONFIG}.yaml \ 85 | ${EXTRA_CB_OPTIONS:-} \ 86 | --clobber-file ./.ci_support/clobber_${CONFIG}.yaml 87 | 88 | # Drop into an interactive shell 89 | /bin/bash 90 | else 91 | 92 | if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]]; then 93 | EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" 94 | fi 95 | 96 | conda-build ./recipe -m ./.ci_support/${CONFIG}.yaml \ 97 | --suppress-variables ${EXTRA_CB_OPTIONS:-} \ 98 | --clobber-file ./.ci_support/clobber_${CONFIG}.yaml \ 99 | --extra-meta flow_run_id="$flow_run_id" remote_url="$remote_url" sha="$sha" 100 | 101 | ( startgroup "Inspecting artifacts" ) 2> /dev/null 102 | 103 | # inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 104 | command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts --recipe-dir ./recipe -m ./.ci_support/${CONFIG}.yaml || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4" 105 | 106 | ( endgroup "Inspecting artifacts" ) 2> /dev/null 107 | ( startgroup "Validating outputs" ) 2> /dev/null 108 | 109 | validate_recipe_outputs "${FEEDSTOCK_NAME}" 110 | 111 | ( endgroup "Validating outputs" ) 2> /dev/null 112 | 113 | ( startgroup "Uploading packages" ) 2> /dev/null 114 | 115 | if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then 116 | upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" ./ ./recipe ./.ci_support/${CONFIG}.yaml 117 | fi 118 | 119 | ( endgroup "Uploading packages" ) 2> /dev/null 120 | fi 121 | -------------------------------------------------------------------------------- /.azure-pipelines/azure-pipelines-linux.yml: -------------------------------------------------------------------------------- 1 | # This file was generated automatically from conda-smithy. To update this configuration, 2 | # update the conda-forge.yml and/or the recipe/meta.yaml. 3 | # -*- mode: yaml -*- 4 | 5 | jobs: 6 | - job: linux 7 | pool: 8 | vmImage: ubuntu-latest 9 | strategy: 10 | matrix: 11 | linux_64_python3.10.____cpython: 12 | CONFIG: linux_64_python3.10.____cpython 13 | UPLOAD_PACKAGES: 'True' 14 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 15 | linux_64_python3.11.____cpython: 16 | CONFIG: linux_64_python3.11.____cpython 17 | UPLOAD_PACKAGES: 'True' 18 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 19 | linux_64_python3.12.____cpython: 20 | CONFIG: linux_64_python3.12.____cpython 21 | UPLOAD_PACKAGES: 'True' 22 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 23 | linux_64_python3.13.____cp313: 24 | CONFIG: linux_64_python3.13.____cp313 25 | UPLOAD_PACKAGES: 'True' 26 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 27 | linux_64_python3.14.____cp314: 28 | CONFIG: linux_64_python3.14.____cp314 29 | UPLOAD_PACKAGES: 'True' 30 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 31 | linux_aarch64_python3.10.____cpython: 32 | CONFIG: linux_aarch64_python3.10.____cpython 33 | UPLOAD_PACKAGES: 'True' 34 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 35 | linux_aarch64_python3.11.____cpython: 36 | CONFIG: linux_aarch64_python3.11.____cpython 37 | UPLOAD_PACKAGES: 'True' 38 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 39 | linux_aarch64_python3.12.____cpython: 40 | CONFIG: linux_aarch64_python3.12.____cpython 41 | UPLOAD_PACKAGES: 'True' 42 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 43 | linux_aarch64_python3.13.____cp313: 44 | CONFIG: linux_aarch64_python3.13.____cp313 45 | UPLOAD_PACKAGES: 'True' 46 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 47 | linux_aarch64_python3.14.____cp314: 48 | CONFIG: linux_aarch64_python3.14.____cp314 49 | UPLOAD_PACKAGES: 'True' 50 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 51 | linux_ppc64le_python3.10.____cpython: 52 | CONFIG: linux_ppc64le_python3.10.____cpython 53 | UPLOAD_PACKAGES: 'True' 54 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 55 | linux_ppc64le_python3.11.____cpython: 56 | CONFIG: linux_ppc64le_python3.11.____cpython 57 | UPLOAD_PACKAGES: 'True' 58 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 59 | linux_ppc64le_python3.12.____cpython: 60 | CONFIG: linux_ppc64le_python3.12.____cpython 61 | UPLOAD_PACKAGES: 'True' 62 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 63 | linux_ppc64le_python3.13.____cp313: 64 | CONFIG: linux_ppc64le_python3.13.____cp313 65 | UPLOAD_PACKAGES: 'True' 66 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 67 | linux_ppc64le_python3.14.____cp314: 68 | CONFIG: linux_ppc64le_python3.14.____cp314 69 | UPLOAD_PACKAGES: 'True' 70 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 71 | timeoutInMinutes: 360 72 | variables: {} 73 | 74 | steps: 75 | # configure qemu binfmt-misc running. This allows us to run docker containers 76 | # embedded qemu-static 77 | - script: | 78 | docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes 79 | ls /proc/sys/fs/binfmt_misc/ 80 | condition: not(startsWith(variables['CONFIG'], 'linux_64')) 81 | displayName: Configure binfmt_misc 82 | 83 | - script: | 84 | export CI=azure 85 | export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) 86 | export remote_url=$(Build.Repository.Uri) 87 | export sha=$(Build.SourceVersion) 88 | export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME 89 | export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) 90 | if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then 91 | export IS_PR_BUILD="True" 92 | else 93 | export IS_PR_BUILD="False" 94 | fi 95 | .scripts/run_docker_build.sh 96 | displayName: Run docker build 97 | env: 98 | BINSTAR_TOKEN: $(BINSTAR_TOKEN) 99 | FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) 100 | STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) 101 | -------------------------------------------------------------------------------- /.scripts/run_win_build.bat: -------------------------------------------------------------------------------- 1 | :: PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here 2 | :: will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent 3 | :: changes to this script, consider a proposal to conda-smithy so that other feedstocks can also 4 | :: benefit from the improvement. 5 | 6 | :: INPUTS (required environment variables) 7 | :: CONFIG: name of the .ci_support/*.yaml file for this job 8 | :: CI: azure, github_actions, or unset 9 | :: MINIFORGE_HOME: where to install the base conda environment 10 | :: UPLOAD_PACKAGES: true or false 11 | :: UPLOAD_ON_BRANCH: true or false 12 | 13 | setlocal enableextensions enabledelayedexpansion 14 | 15 | FOR %%A IN ("%~dp0.") DO SET "REPO_ROOT=%%~dpA" 16 | if "%MINIFORGE_HOME%"=="" set "MINIFORGE_HOME=%USERPROFILE%\Miniforge3" 17 | :: Remove trailing backslash, if present 18 | if "%MINIFORGE_HOME:~-1%"=="\" set "MINIFORGE_HOME=%MINIFORGE_HOME:~0,-1%" 19 | call :start_group "Provisioning base env with micromamba" 20 | set "MAMBA_ROOT_PREFIX=%MINIFORGE_HOME%-micromamba-%RANDOM%" 21 | set "MICROMAMBA_VERSION=1.5.10-0" 22 | set "MICROMAMBA_URL=https://github.com/mamba-org/micromamba-releases/releases/download/%MICROMAMBA_VERSION%/micromamba-win-64" 23 | set "MICROMAMBA_TMPDIR=%TMP%\micromamba-%RANDOM%" 24 | set "MICROMAMBA_EXE=%MICROMAMBA_TMPDIR%\micromamba.exe" 25 | 26 | echo Downloading micromamba %MICROMAMBA_VERSION% 27 | if not exist "%MICROMAMBA_TMPDIR%" mkdir "%MICROMAMBA_TMPDIR%" 28 | powershell -ExecutionPolicy Bypass -Command "(New-Object Net.WebClient).DownloadFile('%MICROMAMBA_URL%', '%MICROMAMBA_EXE%')" 29 | if !errorlevel! neq 0 exit /b !errorlevel! 30 | 31 | echo Creating environment 32 | call "%MICROMAMBA_EXE%" create --yes --root-prefix "%MAMBA_ROOT_PREFIX%" --prefix "%MINIFORGE_HOME%" ^ 33 | --channel conda-forge ^ 34 | pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" 35 | if !errorlevel! neq 0 exit /b !errorlevel! 36 | echo Removing %MAMBA_ROOT_PREFIX% 37 | del /S /Q "%MAMBA_ROOT_PREFIX%" >nul 38 | del /S /Q "%MICROMAMBA_TMPDIR%" >nul 39 | call :end_group 40 | 41 | call :start_group "Configuring conda" 42 | 43 | :: Activate the base conda environment 44 | echo Activating environment 45 | call "%MINIFORGE_HOME%\Scripts\activate.bat" 46 | :: Configure the solver 47 | set "CONDA_SOLVER=libmamba" 48 | if !errorlevel! neq 0 exit /b !errorlevel! 49 | set "CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1" 50 | 51 | :: Set basic configuration 52 | echo Setting up configuration 53 | setup_conda_rc .\ ".\recipe" .\.ci_support\%CONFIG%.yaml 54 | if !errorlevel! neq 0 exit /b !errorlevel! 55 | echo Running build setup 56 | CALL run_conda_forge_build_setup 57 | 58 | 59 | if !errorlevel! neq 0 exit /b !errorlevel! 60 | 61 | if EXIST LICENSE.txt ( 62 | echo Copying feedstock license 63 | copy LICENSE.txt "recipe\\recipe-scripts-license.txt" 64 | ) 65 | if NOT [%HOST_PLATFORM%] == [%BUILD_PLATFORM%] ( 66 | if [%CROSSCOMPILING_EMULATOR%] == [] ( 67 | set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --no-test" 68 | ) 69 | ) 70 | 71 | if NOT [%flow_run_id%] == [] ( 72 | set "EXTRA_CB_OPTIONS=%EXTRA_CB_OPTIONS% --extra-meta flow_run_id=%flow_run_id% remote_url=%remote_url% sha=%sha%" 73 | ) 74 | 75 | call :end_group 76 | 77 | :: Build the recipe 78 | echo Building recipe 79 | conda-build.exe "recipe" -m .ci_support\%CONFIG%.yaml --suppress-variables %EXTRA_CB_OPTIONS% 80 | if !errorlevel! neq 0 exit /b !errorlevel! 81 | 82 | call :start_group "Inspecting artifacts" 83 | :: inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 84 | WHERE inspect_artifacts >nul 2>nul && inspect_artifacts --recipe-dir ".\recipe" -m .ci_support\%CONFIG%.yaml || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4" 85 | call :end_group 86 | 87 | :: Prepare some environment variables for the upload step 88 | if /i "%CI%" == "github_actions" ( 89 | set "FEEDSTOCK_NAME=%GITHUB_REPOSITORY:*/=%" 90 | set "GIT_BRANCH=%GITHUB_REF:refs/heads/=%" 91 | if /i "%GITHUB_EVENT_NAME%" == "pull_request" ( 92 | set "IS_PR_BUILD=True" 93 | ) else ( 94 | set "IS_PR_BUILD=False" 95 | ) 96 | set "TEMP=%RUNNER_TEMP%" 97 | ) 98 | if /i "%CI%" == "azure" ( 99 | set "FEEDSTOCK_NAME=%BUILD_REPOSITORY_NAME:*/=%" 100 | set "GIT_BRANCH=%BUILD_SOURCEBRANCHNAME%" 101 | if /i "%BUILD_REASON%" == "PullRequest" ( 102 | set "IS_PR_BUILD=True" 103 | ) else ( 104 | set "IS_PR_BUILD=False" 105 | ) 106 | set "TEMP=%UPLOAD_TEMP%" 107 | ) 108 | 109 | :: Validate 110 | call :start_group "Validating outputs" 111 | validate_recipe_outputs "%FEEDSTOCK_NAME%" 112 | if !errorlevel! neq 0 exit /b !errorlevel! 113 | call :end_group 114 | 115 | if /i "%UPLOAD_PACKAGES%" == "true" ( 116 | if /i "%IS_PR_BUILD%" == "false" ( 117 | call :start_group "Uploading packages" 118 | if not exist "%TEMP%\" md "%TEMP%" 119 | set "TMP=%TEMP%" 120 | upload_package --validate --feedstock-name="%FEEDSTOCK_NAME%" .\ ".\recipe" .ci_support\%CONFIG%.yaml 121 | if !errorlevel! neq 0 exit /b !errorlevel! 122 | call :end_group 123 | ) 124 | ) 125 | 126 | exit 127 | 128 | :: Logging subroutines 129 | 130 | :start_group 131 | if /i "%CI%" == "github_actions" ( 132 | echo ::group::%~1 133 | exit /b 134 | ) 135 | if /i "%CI%" == "azure" ( 136 | echo ##[group]%~1 137 | exit /b 138 | ) 139 | echo %~1 140 | exit /b 141 | 142 | :end_group 143 | if /i "%CI%" == "github_actions" ( 144 | echo ::endgroup:: 145 | exit /b 146 | ) 147 | if /i "%CI%" == "azure" ( 148 | echo ##[endgroup] 149 | exit /b 150 | ) 151 | exit /b 152 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | About python-duckdb-split-feedstock 2 | =================================== 3 | 4 | Feedstock license: [BSD-3-Clause](https://github.com/conda-forge/python-duckdb-feedstock/blob/main/LICENSE.txt) 5 | 6 | Home: https://www.duckdb.org/ 7 | 8 | Package license: MIT 9 | 10 | Summary: An Embeddable Analytical Database 11 | 12 | Development: https://github.com/duckdb/duckdb 13 | 14 | Documentation: https://duckdb.org/docs/index.html 15 | 16 | DuckDB is an embedded database designed to execute analytical SQL queries 17 | fast while embedded in another process. It is designed to be easy to 18 | install and easy to use. 19 | 20 | 21 | Current build status 22 | ==================== 23 | 24 | 25 | 26 | 27 | 28 | 29 | 253 | 254 |
Azure 30 |
31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 45 | 46 | 47 | 52 | 53 | 54 | 59 | 60 | 61 | 66 | 67 | 68 | 73 | 74 | 75 | 80 | 81 | 82 | 87 | 88 | 89 | 94 | 95 | 96 | 101 | 102 | 103 | 108 | 109 | 110 | 115 | 116 | 117 | 122 | 123 | 124 | 129 | 130 | 131 | 136 | 137 | 138 | 143 | 144 | 145 | 150 | 151 | 152 | 157 | 158 | 159 | 164 | 165 | 166 | 171 | 172 | 173 | 178 | 179 | 180 | 185 | 186 | 187 | 192 | 193 | 194 | 199 | 200 | 201 | 206 | 207 | 208 | 213 | 214 | 215 | 220 | 221 | 222 | 227 | 228 | 229 | 234 | 235 | 236 | 241 | 242 | 243 | 248 | 249 | 250 |
VariantStatus
linux_64_python3.10.____cpython 41 | 42 | variant 43 | 44 |
linux_64_python3.11.____cpython 48 | 49 | variant 50 | 51 |
linux_64_python3.12.____cpython 55 | 56 | variant 57 | 58 |
linux_64_python3.13.____cp313 62 | 63 | variant 64 | 65 |
linux_64_python3.14.____cp314 69 | 70 | variant 71 | 72 |
linux_aarch64_python3.10.____cpython 76 | 77 | variant 78 | 79 |
linux_aarch64_python3.11.____cpython 83 | 84 | variant 85 | 86 |
linux_aarch64_python3.12.____cpython 90 | 91 | variant 92 | 93 |
linux_aarch64_python3.13.____cp313 97 | 98 | variant 99 | 100 |
linux_aarch64_python3.14.____cp314 104 | 105 | variant 106 | 107 |
linux_ppc64le_python3.10.____cpython 111 | 112 | variant 113 | 114 |
linux_ppc64le_python3.11.____cpython 118 | 119 | variant 120 | 121 |
linux_ppc64le_python3.12.____cpython 125 | 126 | variant 127 | 128 |
linux_ppc64le_python3.13.____cp313 132 | 133 | variant 134 | 135 |
linux_ppc64le_python3.14.____cp314 139 | 140 | variant 141 | 142 |
osx_64_python3.10.____cpython 146 | 147 | variant 148 | 149 |
osx_64_python3.11.____cpython 153 | 154 | variant 155 | 156 |
osx_64_python3.12.____cpython 160 | 161 | variant 162 | 163 |
osx_64_python3.13.____cp313 167 | 168 | variant 169 | 170 |
osx_64_python3.14.____cp314 174 | 175 | variant 176 | 177 |
osx_arm64_python3.10.____cpython 181 | 182 | variant 183 | 184 |
osx_arm64_python3.11.____cpython 188 | 189 | variant 190 | 191 |
osx_arm64_python3.12.____cpython 195 | 196 | variant 197 | 198 |
osx_arm64_python3.13.____cp313 202 | 203 | variant 204 | 205 |
osx_arm64_python3.14.____cp314 209 | 210 | variant 211 | 212 |
win_64_python3.10.____cpython 216 | 217 | variant 218 | 219 |
win_64_python3.11.____cpython 223 | 224 | variant 225 | 226 |
win_64_python3.12.____cpython 230 | 231 | variant 232 | 233 |
win_64_python3.13.____cp313 237 | 238 | variant 239 | 240 |
win_64_python3.14.____cp314 244 | 245 | variant 246 | 247 |
251 |
252 |
255 | 256 | Current release info 257 | ==================== 258 | 259 | | Name | Downloads | Version | Platforms | 260 | | --- | --- | --- | --- | 261 | | [![Conda Recipe](https://img.shields.io/badge/recipe-duckdb-green.svg)](https://anaconda.org/conda-forge/duckdb) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/duckdb.svg)](https://anaconda.org/conda-forge/duckdb) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/duckdb.svg)](https://anaconda.org/conda-forge/duckdb) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/duckdb.svg)](https://anaconda.org/conda-forge/duckdb) | 262 | | [![Conda Recipe](https://img.shields.io/badge/recipe-python--duckdb-green.svg)](https://anaconda.org/conda-forge/python-duckdb) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/python-duckdb.svg)](https://anaconda.org/conda-forge/python-duckdb) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/python-duckdb.svg)](https://anaconda.org/conda-forge/python-duckdb) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/python-duckdb.svg)](https://anaconda.org/conda-forge/python-duckdb) | 263 | 264 | Installing python-duckdb-split 265 | ============================== 266 | 267 | Installing `python-duckdb-split` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: 268 | 269 | ``` 270 | conda config --add channels conda-forge 271 | conda config --set channel_priority strict 272 | ``` 273 | 274 | Once the `conda-forge` channel has been enabled, `duckdb, python-duckdb` can be installed with `conda`: 275 | 276 | ``` 277 | conda install duckdb python-duckdb 278 | ``` 279 | 280 | or with `mamba`: 281 | 282 | ``` 283 | mamba install duckdb python-duckdb 284 | ``` 285 | 286 | It is possible to list all of the versions of `duckdb` available on your platform with `conda`: 287 | 288 | ``` 289 | conda search duckdb --channel conda-forge 290 | ``` 291 | 292 | or with `mamba`: 293 | 294 | ``` 295 | mamba search duckdb --channel conda-forge 296 | ``` 297 | 298 | Alternatively, `mamba repoquery` may provide more information: 299 | 300 | ``` 301 | # Search all versions available on your platform: 302 | mamba repoquery search duckdb --channel conda-forge 303 | 304 | # List packages depending on `duckdb`: 305 | mamba repoquery whoneeds duckdb --channel conda-forge 306 | 307 | # List dependencies of `duckdb`: 308 | mamba repoquery depends duckdb --channel conda-forge 309 | ``` 310 | 311 | 312 | About conda-forge 313 | ================= 314 | 315 | [![Powered by 316 | NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](https://numfocus.org) 317 | 318 | conda-forge is a community-led conda channel of installable packages. 319 | In order to provide high-quality builds, the process has been automated into the 320 | conda-forge GitHub organization. The conda-forge organization contains one repository 321 | for each of the installable packages. Such a repository is known as a *feedstock*. 322 | 323 | A feedstock is made up of a conda recipe (the instructions on what and how to build 324 | the package) and the necessary configurations for automatic building using freely 325 | available continuous integration services. Thanks to the awesome service provided by 326 | [Azure](https://azure.microsoft.com/en-us/services/devops/), [GitHub](https://github.com/), 327 | [CircleCI](https://circleci.com/), [AppVeyor](https://www.appveyor.com/), 328 | [Drone](https://cloud.drone.io/welcome), and [TravisCI](https://travis-ci.com/) 329 | it is possible to build and upload installable packages to the 330 | [conda-forge](https://anaconda.org/conda-forge) [anaconda.org](https://anaconda.org/) 331 | channel for Linux, Windows and OSX respectively. 332 | 333 | To manage the continuous integration and simplify feedstock maintenance, 334 | [conda-smithy](https://github.com/conda-forge/conda-smithy) has been developed. 335 | Using the ``conda-forge.yml`` within this repository, it is possible to re-render all of 336 | this feedstock's supporting files (e.g. the CI configuration files) with ``conda smithy rerender``. 337 | 338 | For more information, please check the [conda-forge documentation](https://conda-forge.org/docs/). 339 | 340 | Terminology 341 | =========== 342 | 343 | **feedstock** - the conda recipe (raw material), supporting scripts and CI configuration. 344 | 345 | **conda-smithy** - the tool which helps orchestrate the feedstock. 346 | Its primary use is in the construction of the CI ``.yml`` files 347 | and simplify the management of *many* feedstocks. 348 | 349 | **conda-forge** - the place where the feedstock and smithy live and work to 350 | produce the finished article (built conda distributions) 351 | 352 | 353 | Updating python-duckdb-split-feedstock 354 | ====================================== 355 | 356 | If you would like to improve the python-duckdb-split recipe or build a new 357 | package version, please fork this repository and submit a PR. Upon submission, 358 | your changes will be run on the appropriate platforms to give the reviewer an 359 | opportunity to confirm that the changes result in a successful build. Once 360 | merged, the recipe will be re-built and uploaded automatically to the 361 | `conda-forge` channel, whereupon the built conda packages will be available for 362 | everybody to install and use from the `conda-forge` channel. 363 | Note that all branches in the conda-forge/python-duckdb-split-feedstock are 364 | immediately built and any created packages are uploaded, so PRs should be based 365 | on branches in forks, and branches in the main repository should only be used to 366 | build distinct package versions. 367 | 368 | In order to produce a uniquely identifiable distribution: 369 | * If the version of a package **is not** being increased, please add or increase 370 | the [``build/number``](https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build-number-and-string). 371 | * If the version of a package **is** being increased, please remember to return 372 | the [``build/number``](https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build-number-and-string) 373 | back to 0. 374 | 375 | Feedstock Maintainers 376 | ===================== 377 | 378 | * [@dhirschfeld](https://github.com/dhirschfeld/) 379 | * [@gforsyth](https://github.com/gforsyth/) 380 | * [@jonashaag](https://github.com/jonashaag/) 381 | * [@mariusvniekerk](https://github.com/mariusvniekerk/) 382 | * [@sugatoray](https://github.com/sugatoray/) 383 | * [@xhochy](https://github.com/xhochy/) 384 | 385 | --------------------------------------------------------------------------------