├── .github ├── CODEOWNERS └── workflows │ ├── webservices.yml │ └── automerge.yml ├── .gitignore ├── conda-forge.yml ├── azure-pipelines.yml ├── .ci_support ├── README ├── linux_64_python3.8.____cpython.yaml ├── linux_64_python3.9.____cpython.yaml ├── osx_64_python3.8.____cpython.yaml ├── osx_64_python3.9.____cpython.yaml ├── linux_64_python3.10.____cpython.yaml ├── linux_64_python3.11.____cpython.yaml ├── osx_64_python3.10.____cpython.yaml ├── osx_64_python3.11.____cpython.yaml └── migrations │ └── python311.yaml ├── .circleci └── config.yml ├── .gitattributes ├── .scripts ├── logging_utils.sh ├── run_osx_build.sh ├── build_steps.sh └── run_docker_build.sh ├── recipe └── meta.yaml ├── .azure-pipelines ├── azure-pipelines-osx.yml └── azure-pipelines-linux.yml ├── LICENSE.txt └── README.md /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @cbcunc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | 3 | build_artifacts 4 | -------------------------------------------------------------------------------- /conda-forge.yml: -------------------------------------------------------------------------------- 1 | conda_forge_output_validation: true 2 | github: 3 | branch_name: main 4 | tooling_branch_name: main 5 | conda_build: 6 | pkg_format: '2' 7 | -------------------------------------------------------------------------------- /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 | jobs: 6 | - template: ./.azure-pipelines/azure-pipelines-linux.yml 7 | - template: ./.azure-pipelines/azure-pipelines-osx.yml -------------------------------------------------------------------------------- /.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.8.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '10' 5 | cdt_name: 6 | - cos6 7 | channel_sources: 8 | - conda-forge 9 | channel_targets: 10 | - conda-forge main 11 | docker_image: 12 | - quay.io/condaforge/linux-anvil-cos7-x86_64 13 | pin_run_as_build: 14 | python: 15 | min_pin: x.x 16 | max_pin: x.x 17 | python: 18 | - 3.8.* *_cpython 19 | target_platform: 20 | - linux-64 21 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.9.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '10' 5 | cdt_name: 6 | - cos6 7 | channel_sources: 8 | - conda-forge 9 | channel_targets: 10 | - conda-forge main 11 | docker_image: 12 | - quay.io/condaforge/linux-anvil-cos7-x86_64 13 | pin_run_as_build: 14 | python: 15 | min_pin: x.x 16 | max_pin: x.x 17 | python: 18 | - 3.9.* *_cpython 19 | target_platform: 20 | - linux-64 21 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.8.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '10.9' 3 | c_compiler: 4 | - clang 5 | c_compiler_version: 6 | - '14' 7 | channel_sources: 8 | - conda-forge 9 | channel_targets: 10 | - conda-forge main 11 | macos_machine: 12 | - x86_64-apple-darwin13.4.0 13 | pin_run_as_build: 14 | python: 15 | min_pin: x.x 16 | max_pin: x.x 17 | python: 18 | - 3.8.* *_cpython 19 | target_platform: 20 | - osx-64 21 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.9.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '10.9' 3 | c_compiler: 4 | - clang 5 | c_compiler_version: 6 | - '14' 7 | channel_sources: 8 | - conda-forge 9 | channel_targets: 10 | - conda-forge main 11 | macos_machine: 12 | - x86_64-apple-darwin13.4.0 13 | pin_run_as_build: 14 | python: 15 | min_pin: x.x 16 | max_pin: x.x 17 | python: 18 | - 3.9.* *_cpython 19 | target_platform: 20 | - osx-64 21 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '10' 5 | cdt_name: 6 | - cos6 7 | channel_sources: 8 | - conda-forge 9 | channel_targets: 10 | - conda-forge main 11 | docker_image: 12 | - quay.io/condaforge/linux-anvil-cos7-x86_64 13 | pin_run_as_build: 14 | python: 15 | min_pin: x.x 16 | max_pin: x.x 17 | python: 18 | - 3.10.* *_cpython 19 | target_platform: 20 | - linux-64 21 | -------------------------------------------------------------------------------- /.ci_support/linux_64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '10' 5 | cdt_name: 6 | - cos6 7 | channel_sources: 8 | - conda-forge 9 | channel_targets: 10 | - conda-forge main 11 | docker_image: 12 | - quay.io/condaforge/linux-anvil-cos7-x86_64 13 | pin_run_as_build: 14 | python: 15 | min_pin: x.x 16 | max_pin: x.x 17 | python: 18 | - 3.11.* *_cpython 19 | target_platform: 20 | - linux-64 21 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.10.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '10.9' 3 | c_compiler: 4 | - clang 5 | c_compiler_version: 6 | - '14' 7 | channel_sources: 8 | - conda-forge 9 | channel_targets: 10 | - conda-forge main 11 | macos_machine: 12 | - x86_64-apple-darwin13.4.0 13 | pin_run_as_build: 14 | python: 15 | min_pin: x.x 16 | max_pin: x.x 17 | python: 18 | - 3.10.* *_cpython 19 | target_platform: 20 | - osx-64 21 | -------------------------------------------------------------------------------- /.ci_support/osx_64_python3.11.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '10.9' 3 | c_compiler: 4 | - clang 5 | c_compiler_version: 6 | - '14' 7 | channel_sources: 8 | - conda-forge 9 | channel_targets: 10 | - conda-forge main 11 | macos_machine: 12 | - x86_64-apple-darwin13.4.0 13 | pin_run_as_build: 14 | python: 15 | min_pin: x.x 16 | max_pin: x.x 17 | python: 18 | - 3.11.* *_cpython 19 | target_platform: 20 | - osx-64 21 | -------------------------------------------------------------------------------- /.github/workflows/webservices.yml: -------------------------------------------------------------------------------- 1 | on: repository_dispatch 2 | 3 | jobs: 4 | webservices: 5 | runs-on: ubuntu-latest 6 | name: webservices 7 | steps: 8 | - name: webservices 9 | id: webservices 10 | uses: conda-forge/webservices-dispatch-action@main 11 | with: 12 | github_token: ${{ secrets.GITHUB_TOKEN }} 13 | rerendering_github_token: ${{ secrets.RERENDERING_GITHUB_TOKEN }} 14 | -------------------------------------------------------------------------------- /.github/workflows/automerge.yml: -------------------------------------------------------------------------------- 1 | on: 2 | status: {} 3 | check_suite: 4 | types: 5 | - completed 6 | 7 | jobs: 8 | automerge-action: 9 | runs-on: ubuntu-latest 10 | name: automerge 11 | steps: 12 | - name: checkout 13 | uses: actions/checkout@v3 14 | - name: automerge-action 15 | id: automerge-action 16 | uses: conda-forge/automerge-action@main 17 | with: 18 | github_token: ${{ secrets.GITHUB_TOKEN }} 19 | rerendering_github_token: ${{ secrets.RERENDERING_GITHUB_TOKEN }} 20 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /.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 | shippable.yml linguist-generated=true 28 | -------------------------------------------------------------------------------- /.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/python311.yaml: -------------------------------------------------------------------------------- 1 | migrator_ts: 1666686085 2 | __migrator: 3 | migration_number: 1 4 | operation: key_add 5 | primary_key: python 6 | ordering: 7 | python: 8 | - 3.6.* *_cpython 9 | - 3.7.* *_cpython 10 | - 3.8.* *_cpython 11 | - 3.9.* *_cpython 12 | - 3.10.* *_cpython 13 | - 3.11.* *_cpython # new entry 14 | - 3.6.* *_73_pypy 15 | - 3.7.* *_73_pypy 16 | - 3.8.* *_73_pypy 17 | - 3.9.* *_73_pypy 18 | paused: false 19 | longterm: True 20 | pr_limit: 60 21 | max_solver_attempts: 3 # this will make the bot retry "not solvable" stuff 12 times 22 | exclude: 23 | # this shouldn't attempt to modify the python feedstocks 24 | - python 25 | - pypy3.6 26 | - pypy-meta 27 | - cross-python 28 | - python_abi 29 | exclude_pinned_pkgs: false 30 | 31 | python: 32 | - 3.11.* *_cpython 33 | # additional entries to add for zip_keys 34 | numpy: 35 | - 1.23 36 | python_impl: 37 | - cpython 38 | -------------------------------------------------------------------------------- /recipe/meta.yaml: -------------------------------------------------------------------------------- 1 | {% set name = "cesium" %} 2 | {% set version = "0.10.1" %} 3 | 4 | package: 5 | name: {{ name|lower }} 6 | version: {{ version }} 7 | 8 | source: 9 | url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz 10 | sha256: 9915a0925cc66ab44f71fbfed72f654c40e13ea4c0b9f658452f90bd800eac3c 11 | 12 | build: 13 | number: 0 14 | skip: true # [win] 15 | script: '{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv ' 16 | 17 | requirements: 18 | build: 19 | - {{ compiler('c') }} 20 | host: 21 | - pip 22 | - python 23 | - numpy >=1.14.3 24 | - cython 25 | run: 26 | - python 27 | - {{ pin_compatible('numpy') }} 28 | - scipy >=0.16.0 29 | - scikit-learn >=0.18.1 30 | - pandas >=0.17.0 31 | - dask >=1.0.0 32 | - toolz 33 | - gatspy >=0.3.0 34 | - cloudpickle 35 | 36 | test: 37 | imports: 38 | - cesium 39 | - cesium.datasets 40 | - cesium.features 41 | 42 | about: 43 | home: http://cesium-ml.org/ 44 | license: BSD-3-Clause 45 | license_file: LICENSE.txt 46 | summary: Machine Learning Time-Series Platform 47 | doc_url: http://cesium-ml.org/docs/ 48 | dev_url: https://github.com/cesium-ml/cesium 49 | 50 | extra: 51 | recipe-maintainers: 52 | - cbcunc 53 | -------------------------------------------------------------------------------- /.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-11 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.8.____cpython: 18 | CONFIG: osx_64_python3.8.____cpython 19 | UPLOAD_PACKAGES: 'True' 20 | osx_64_python3.9.____cpython: 21 | CONFIG: osx_64_python3.9.____cpython 22 | UPLOAD_PACKAGES: 'True' 23 | timeoutInMinutes: 360 24 | 25 | steps: 26 | # TODO: Fast finish on azure pipelines? 27 | - script: | 28 | export CI=azure 29 | export OSX_FORCE_SDK_DOWNLOAD="1" 30 | export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME 31 | export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) 32 | if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then 33 | export IS_PR_BUILD="True" 34 | else 35 | export IS_PR_BUILD="False" 36 | fi 37 | ./.scripts/run_osx_build.sh 38 | displayName: Run OSX build 39 | env: 40 | BINSTAR_TOKEN: $(BINSTAR_TOKEN) 41 | FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) 42 | STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) -------------------------------------------------------------------------------- /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-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-cos7-x86_64 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-cos7-x86_64 19 | linux_64_python3.8.____cpython: 20 | CONFIG: linux_64_python3.8.____cpython 21 | UPLOAD_PACKAGES: 'True' 22 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 23 | linux_64_python3.9.____cpython: 24 | CONFIG: linux_64_python3.9.____cpython 25 | UPLOAD_PACKAGES: 'True' 26 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 27 | timeoutInMinutes: 360 28 | 29 | steps: 30 | - script: | 31 | rm -rf /opt/ghc 32 | df -h 33 | displayName: Manage disk space 34 | 35 | # configure qemu binfmt-misc running. This allows us to run docker containers 36 | # embedded qemu-static 37 | - script: | 38 | docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes 39 | ls /proc/sys/fs/binfmt_misc/ 40 | condition: not(startsWith(variables['CONFIG'], 'linux_64')) 41 | displayName: Configure binfmt_misc 42 | 43 | - script: | 44 | export CI=azure 45 | export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME 46 | export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) 47 | if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then 48 | export IS_PR_BUILD="True" 49 | else 50 | export IS_PR_BUILD="False" 51 | fi 52 | .scripts/run_docker_build.sh 53 | displayName: Run docker build 54 | env: 55 | BINSTAR_TOKEN: $(BINSTAR_TOKEN) 56 | FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) 57 | STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) -------------------------------------------------------------------------------- /.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 | 11 | ( startgroup "Installing a fresh version of Miniforge" ) 2> /dev/null 12 | 13 | MINIFORGE_URL="https://github.com/conda-forge/miniforge/releases/latest/download" 14 | MINIFORGE_FILE="Mambaforge-MacOSX-$(uname -m).sh" 15 | curl -L -O "${MINIFORGE_URL}/${MINIFORGE_FILE}" 16 | rm -rf ${MINIFORGE_HOME} 17 | bash $MINIFORGE_FILE -b -p ${MINIFORGE_HOME} 18 | 19 | ( endgroup "Installing a fresh version of Miniforge" ) 2> /dev/null 20 | 21 | ( startgroup "Configuring conda" ) 2> /dev/null 22 | 23 | source ${MINIFORGE_HOME}/etc/profile.d/conda.sh 24 | conda activate base 25 | 26 | mamba install --update-specs --quiet --yes --channel conda-forge \ 27 | conda-build pip boa conda-forge-ci-setup=3 "py-lief<0.12" 28 | mamba update --update-specs --yes --quiet --channel conda-forge \ 29 | conda-build pip boa conda-forge-ci-setup=3 "py-lief<0.12" 30 | 31 | 32 | 33 | echo -e "\n\nSetting up the condarc and mangling the compiler." 34 | setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml 35 | 36 | if [[ "${CI:-}" != "" ]]; then 37 | mangle_compiler ./ ./recipe .ci_support/${CONFIG}.yaml 38 | fi 39 | 40 | if [[ "${CI:-}" != "" ]]; then 41 | echo -e "\n\nMangling homebrew in the CI to avoid conflicts." 42 | /usr/bin/sudo mangle_homebrew 43 | /usr/bin/sudo -k 44 | else 45 | echo -e "\n\nNot mangling homebrew as we are not running in CI" 46 | fi 47 | 48 | echo -e "\n\nRunning the build setup script." 49 | source run_conda_forge_build_setup 50 | 51 | 52 | 53 | ( endgroup "Configuring conda" ) 2> /dev/null 54 | 55 | echo -e "\n\nMaking the build clobber file" 56 | make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml 57 | 58 | 59 | if [[ -f LICENSE.txt ]]; then 60 | cp LICENSE.txt "recipe/recipe-scripts-license.txt" 61 | fi 62 | 63 | if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then 64 | if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then 65 | EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" 66 | fi 67 | conda debug ./recipe -m ./.ci_support/${CONFIG}.yaml \ 68 | ${EXTRA_CB_OPTIONS:-} \ 69 | --clobber-file ./.ci_support/clobber_${CONFIG}.yaml 70 | 71 | # Drop into an interactive shell 72 | /bin/bash 73 | else 74 | conda mambabuild ./recipe -m ./.ci_support/${CONFIG}.yaml \ 75 | --suppress-variables ${EXTRA_CB_OPTIONS:-} \ 76 | --clobber-file ./.ci_support/clobber_${CONFIG}.yaml 77 | ( startgroup "Validating outputs" ) 2> /dev/null 78 | 79 | validate_recipe_outputs "${FEEDSTOCK_NAME}" 80 | 81 | ( endgroup "Validating outputs" ) 2> /dev/null 82 | 83 | ( startgroup "Uploading packages" ) 2> /dev/null 84 | 85 | if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then 86 | upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" ./ ./recipe ./.ci_support/${CONFIG}.yaml 87 | fi 88 | 89 | ( endgroup "Uploading packages" ) 2> /dev/null 90 | fi -------------------------------------------------------------------------------- /.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 < /dev/null 51 | 52 | if [[ -f "${FEEDSTOCK_ROOT}/LICENSE.txt" ]]; then 53 | cp "${FEEDSTOCK_ROOT}/LICENSE.txt" "${RECIPE_ROOT}/recipe-scripts-license.txt" 54 | fi 55 | 56 | if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then 57 | if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then 58 | EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" 59 | fi 60 | conda debug "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ 61 | ${EXTRA_CB_OPTIONS:-} \ 62 | --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" 63 | 64 | # Drop into an interactive shell 65 | /bin/bash 66 | else 67 | conda mambabuild "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ 68 | --suppress-variables ${EXTRA_CB_OPTIONS:-} \ 69 | --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" 70 | ( startgroup "Validating outputs" ) 2> /dev/null 71 | 72 | validate_recipe_outputs "${FEEDSTOCK_NAME}" 73 | 74 | ( endgroup "Validating outputs" ) 2> /dev/null 75 | 76 | ( startgroup "Uploading packages" ) 2> /dev/null 77 | 78 | if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then 79 | upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" 80 | fi 81 | 82 | ( endgroup "Uploading packages" ) 2> /dev/null 83 | fi 84 | 85 | ( startgroup "Final checks" ) 2> /dev/null 86 | 87 | touch "${FEEDSTOCK_ROOT}/build_artifacts/conda-forge-build-done-${CONFIG}" -------------------------------------------------------------------------------- /.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 | docker info 25 | 26 | # In order for the conda-build process in the container to write to the mounted 27 | # volumes, we need to run with the same id as the host machine, which is 28 | # normally the owner of the mounted volumes, or at least has write permission 29 | export HOST_USER_ID=$(id -u) 30 | # Check if docker-machine is being used (normally on OSX) and get the uid from 31 | # the VM 32 | if hash docker-machine 2> /dev/null && docker-machine active > /dev/null; then 33 | export HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u) 34 | fi 35 | 36 | ARTIFACTS="$FEEDSTOCK_ROOT/build_artifacts" 37 | 38 | if [ -z "$CONFIG" ]; then 39 | set +x 40 | FILES=`ls .ci_support/linux_*` 41 | CONFIGS="" 42 | for file in $FILES; do 43 | CONFIGS="${CONFIGS}'${file:12:-5}' or "; 44 | done 45 | echo "Need to set CONFIG env variable. Value can be one of ${CONFIGS:0:-4}" 46 | exit 1 47 | fi 48 | 49 | if [ -z "${DOCKER_IMAGE}" ]; then 50 | SHYAML_INSTALLED="$(shyaml -h || echo NO)" 51 | if [ "${SHYAML_INSTALLED}" == "NO" ]; then 52 | echo "WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils" 53 | DOCKER_IMAGE=$(cat .ci_support/${CONFIG}.yaml | grep '^docker_image:$' -A 1 | tail -n 1 | cut -b 3-) 54 | if [ "${DOCKER_IMAGE}" = "" ]; then 55 | echo "No docker_image entry found in ${CONFIG}. Falling back to quay.io/condaforge/linux-anvil-comp7" 56 | DOCKER_IMAGE="quay.io/condaforge/linux-anvil-comp7" 57 | fi 58 | else 59 | DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 quay.io/condaforge/linux-anvil-comp7 )" 60 | fi 61 | fi 62 | 63 | mkdir -p "$ARTIFACTS" 64 | DONE_CANARY="$ARTIFACTS/conda-forge-build-done-${CONFIG}" 65 | rm -f "$DONE_CANARY" 66 | 67 | # Allow people to specify extra default arguments to `docker run` (e.g. `--rm`) 68 | DOCKER_RUN_ARGS="${CONDA_FORGE_DOCKER_RUN_ARGS}" 69 | if [ -z "${CI}" ]; then 70 | DOCKER_RUN_ARGS="-it ${DOCKER_RUN_ARGS}" 71 | fi 72 | 73 | ( endgroup "Configure Docker" ) 2> /dev/null 74 | 75 | ( startgroup "Start Docker" ) 2> /dev/null 76 | 77 | export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" 78 | export IS_PR_BUILD="${IS_PR_BUILD:-False}" 79 | docker pull "${DOCKER_IMAGE}" 80 | docker run ${DOCKER_RUN_ARGS} \ 81 | -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \ 82 | -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z,delegated \ 83 | -e CONFIG \ 84 | -e HOST_USER_ID \ 85 | -e UPLOAD_PACKAGES \ 86 | -e IS_PR_BUILD \ 87 | -e GIT_BRANCH \ 88 | -e UPLOAD_ON_BRANCH \ 89 | -e CI \ 90 | -e FEEDSTOCK_NAME \ 91 | -e CPU_COUNT \ 92 | -e BUILD_WITH_CONDA_DEBUG \ 93 | -e BUILD_OUTPUT_ID \ 94 | -e BINSTAR_TOKEN \ 95 | -e FEEDSTOCK_TOKEN \ 96 | -e STAGING_BINSTAR_TOKEN \ 97 | "${DOCKER_IMAGE}" \ 98 | bash \ 99 | "/home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh" 100 | 101 | # verify that the end of the script was reached 102 | test -f "$DONE_CANARY" 103 | 104 | # This closes the last group opened in `build_steps.sh` 105 | ( endgroup "Final checks" ) 2> /dev/null -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | About cesium 2 | ============ 3 | 4 | Home: http://cesium-ml.org/ 5 | 6 | Package license: BSD-3-Clause 7 | 8 | Feedstock license: [BSD-3-Clause](https://github.com/conda-forge/cesium-feedstock/blob/main/LICENSE.txt) 9 | 10 | Summary: Machine Learning Time-Series Platform 11 | 12 | Development: https://github.com/cesium-ml/cesium 13 | 14 | Documentation: http://cesium-ml.org/docs/ 15 | 16 | Current build status 17 | ==================== 18 | 19 | 20 | 21 | 22 | 23 | 24 | 94 | 95 |
Azure 25 |
26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 40 | 41 | 42 | 47 | 48 | 49 | 54 | 55 | 56 | 61 | 62 | 63 | 68 | 69 | 70 | 75 | 76 | 77 | 82 | 83 | 84 | 89 | 90 | 91 |
VariantStatus
linux_64_python3.10.____cpython 36 | 37 | variant 38 | 39 |
linux_64_python3.11.____cpython 43 | 44 | variant 45 | 46 |
linux_64_python3.8.____cpython 50 | 51 | variant 52 | 53 |
linux_64_python3.9.____cpython 57 | 58 | variant 59 | 60 |
osx_64_python3.10.____cpython 64 | 65 | variant 66 | 67 |
osx_64_python3.11.____cpython 71 | 72 | variant 73 | 74 |
osx_64_python3.8.____cpython 78 | 79 | variant 80 | 81 |
osx_64_python3.9.____cpython 85 | 86 | variant 87 | 88 |
92 |
93 |
96 | 97 | Current release info 98 | ==================== 99 | 100 | | Name | Downloads | Version | Platforms | 101 | | --- | --- | --- | --- | 102 | | [![Conda Recipe](https://img.shields.io/badge/recipe-cesium-green.svg)](https://anaconda.org/conda-forge/cesium) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/cesium.svg)](https://anaconda.org/conda-forge/cesium) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/cesium.svg)](https://anaconda.org/conda-forge/cesium) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/cesium.svg)](https://anaconda.org/conda-forge/cesium) | 103 | 104 | Installing cesium 105 | ================= 106 | 107 | Installing `cesium` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: 108 | 109 | ``` 110 | conda config --add channels conda-forge 111 | conda config --set channel_priority strict 112 | ``` 113 | 114 | Once the `conda-forge` channel has been enabled, `cesium` can be installed with `conda`: 115 | 116 | ``` 117 | conda install cesium 118 | ``` 119 | 120 | or with `mamba`: 121 | 122 | ``` 123 | mamba install cesium 124 | ``` 125 | 126 | It is possible to list all of the versions of `cesium` available on your platform with `conda`: 127 | 128 | ``` 129 | conda search cesium --channel conda-forge 130 | ``` 131 | 132 | or with `mamba`: 133 | 134 | ``` 135 | mamba search cesium --channel conda-forge 136 | ``` 137 | 138 | Alternatively, `mamba repoquery` may provide more information: 139 | 140 | ``` 141 | # Search all versions available on your platform: 142 | mamba repoquery search cesium --channel conda-forge 143 | 144 | # List packages depending on `cesium`: 145 | mamba repoquery whoneeds cesium --channel conda-forge 146 | 147 | # List dependencies of `cesium`: 148 | mamba repoquery depends cesium --channel conda-forge 149 | ``` 150 | 151 | 152 | About conda-forge 153 | ================= 154 | 155 | [![Powered by 156 | NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](https://numfocus.org) 157 | 158 | conda-forge is a community-led conda channel of installable packages. 159 | In order to provide high-quality builds, the process has been automated into the 160 | conda-forge GitHub organization. The conda-forge organization contains one repository 161 | for each of the installable packages. Such a repository is known as a *feedstock*. 162 | 163 | A feedstock is made up of a conda recipe (the instructions on what and how to build 164 | the package) and the necessary configurations for automatic building using freely 165 | available continuous integration services. Thanks to the awesome service provided by 166 | [Azure](https://azure.microsoft.com/en-us/services/devops/), [GitHub](https://github.com/), 167 | [CircleCI](https://circleci.com/), [AppVeyor](https://www.appveyor.com/), 168 | [Drone](https://cloud.drone.io/welcome), and [TravisCI](https://travis-ci.com/) 169 | it is possible to build and upload installable packages to the 170 | [conda-forge](https://anaconda.org/conda-forge) [Anaconda-Cloud](https://anaconda.org/) 171 | channel for Linux, Windows and OSX respectively. 172 | 173 | To manage the continuous integration and simplify feedstock maintenance 174 | [conda-smithy](https://github.com/conda-forge/conda-smithy) has been developed. 175 | Using the ``conda-forge.yml`` within this repository, it is possible to re-render all of 176 | this feedstock's supporting files (e.g. the CI configuration files) with ``conda smithy rerender``. 177 | 178 | For more information please check the [conda-forge documentation](https://conda-forge.org/docs/). 179 | 180 | Terminology 181 | =========== 182 | 183 | **feedstock** - the conda recipe (raw material), supporting scripts and CI configuration. 184 | 185 | **conda-smithy** - the tool which helps orchestrate the feedstock. 186 | Its primary use is in the construction of the CI ``.yml`` files 187 | and simplify the management of *many* feedstocks. 188 | 189 | **conda-forge** - the place where the feedstock and smithy live and work to 190 | produce the finished article (built conda distributions) 191 | 192 | 193 | Updating cesium-feedstock 194 | ========================= 195 | 196 | If you would like to improve the cesium recipe or build a new 197 | package version, please fork this repository and submit a PR. Upon submission, 198 | your changes will be run on the appropriate platforms to give the reviewer an 199 | opportunity to confirm that the changes result in a successful build. Once 200 | merged, the recipe will be re-built and uploaded automatically to the 201 | `conda-forge` channel, whereupon the built conda packages will be available for 202 | everybody to install and use from the `conda-forge` channel. 203 | Note that all branches in the conda-forge/cesium-feedstock are 204 | immediately built and any created packages are uploaded, so PRs should be based 205 | on branches in forks and branches in the main repository should only be used to 206 | build distinct package versions. 207 | 208 | In order to produce a uniquely identifiable distribution: 209 | * If the version of a package **is not** being increased, please add or increase 210 | the [``build/number``](https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build-number-and-string). 211 | * If the version of a package **is** being increased, please remember to return 212 | the [``build/number``](https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build-number-and-string) 213 | back to 0. 214 | 215 | Feedstock Maintainers 216 | ===================== 217 | 218 | * [@cbcunc](https://github.com/cbcunc/) 219 | 220 | --------------------------------------------------------------------------------