├── .github ├── CODEOWNERS └── workflows │ ├── webservices.yml │ └── automerge.yml ├── .gitignore ├── conda-forge.yml ├── .ci_support ├── README ├── win_64_python3.6.____cpython.yaml ├── win_64_python3.7.____cpython.yaml ├── win_64_python3.8.____cpython.yaml ├── osx_64_numpy1.16python3.6.____cpython.yaml ├── osx_64_numpy1.16python3.7.____cpython.yaml ├── osx_64_numpy1.16python3.8.____cpython.yaml ├── osx_64_numpy1.18python3.6.____73_pypy.yaml ├── linux_64_numpy1.16python3.6.____cpython.yaml ├── linux_64_numpy1.16python3.7.____cpython.yaml ├── linux_64_numpy1.16python3.8.____cpython.yaml ├── linux_64_numpy1.18python3.6.____73_pypy.yaml └── migrations │ └── pypy.yaml ├── azure-pipelines.yml ├── .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 └── azure-pipelines-win.yml ├── LICENSE.txt └── README.md /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @dfm -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | 3 | build_artifacts 4 | -------------------------------------------------------------------------------- /conda-forge.yml: -------------------------------------------------------------------------------- 1 | conda_forge_output_validation: true 2 | -------------------------------------------------------------------------------- /.ci_support/README: -------------------------------------------------------------------------------- 1 | This file is automatically generated by conda-smithy. To change any matrix elements, you should change conda-smithy's input conda_build_config.yaml and re-render the recipe, rather than editing these files directly. -------------------------------------------------------------------------------- /.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@master 11 | with: 12 | github_token: ${{ secrets.GITHUB_TOKEN }} 13 | -------------------------------------------------------------------------------- /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-win.yml 8 | - template: ./.azure-pipelines/azure-pipelines-osx.yml -------------------------------------------------------------------------------- /.ci_support/win_64_python3.6.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2017 3 | channel_sources: 4 | - conda-forge,defaults 5 | channel_targets: 6 | - conda-forge main 7 | cxx_compiler: 8 | - vs2017 9 | numpy: 10 | - '1.16' 11 | pin_run_as_build: 12 | python: 13 | min_pin: x.x 14 | max_pin: x.x 15 | python: 16 | - 3.6.* *_cpython 17 | target_platform: 18 | - win-64 19 | zip_keys: 20 | - - python 21 | - numpy 22 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.7.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2017 3 | channel_sources: 4 | - conda-forge,defaults 5 | channel_targets: 6 | - conda-forge main 7 | cxx_compiler: 8 | - vs2017 9 | numpy: 10 | - '1.16' 11 | pin_run_as_build: 12 | python: 13 | min_pin: x.x 14 | max_pin: x.x 15 | python: 16 | - 3.7.* *_cpython 17 | target_platform: 18 | - win-64 19 | zip_keys: 20 | - - python 21 | - numpy 22 | -------------------------------------------------------------------------------- /.ci_support/win_64_python3.8.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - vs2017 3 | channel_sources: 4 | - conda-forge,defaults 5 | channel_targets: 6 | - conda-forge main 7 | cxx_compiler: 8 | - vs2017 9 | numpy: 10 | - '1.16' 11 | pin_run_as_build: 12 | python: 13 | min_pin: x.x 14 | max_pin: x.x 15 | python: 16 | - 3.8.* *_cpython 17 | target_platform: 18 | - win-64 19 | zip_keys: 20 | - - python 21 | - numpy 22 | -------------------------------------------------------------------------------- /.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@v2 14 | - name: automerge-action 15 | id: automerge-action 16 | uses: conda-forge/automerge-action@master 17 | with: 18 | github_token: ${{ secrets.GITHUB_TOKEN }} 19 | -------------------------------------------------------------------------------- /.ci_support/osx_64_numpy1.16python3.6.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '10.9' 3 | c_compiler: 4 | - clang 5 | c_compiler_version: 6 | - '11' 7 | channel_sources: 8 | - conda-forge,defaults 9 | channel_targets: 10 | - conda-forge main 11 | cxx_compiler: 12 | - clangxx 13 | cxx_compiler_version: 14 | - '11' 15 | macos_machine: 16 | - x86_64-apple-darwin13.4.0 17 | numpy: 18 | - '1.16' 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.6.* *_cpython 25 | target_platform: 26 | - osx-64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | - - python 31 | - numpy 32 | -------------------------------------------------------------------------------- /.ci_support/osx_64_numpy1.16python3.7.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '10.9' 3 | c_compiler: 4 | - clang 5 | c_compiler_version: 6 | - '11' 7 | channel_sources: 8 | - conda-forge,defaults 9 | channel_targets: 10 | - conda-forge main 11 | cxx_compiler: 12 | - clangxx 13 | cxx_compiler_version: 14 | - '11' 15 | macos_machine: 16 | - x86_64-apple-darwin13.4.0 17 | numpy: 18 | - '1.16' 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.7.* *_cpython 25 | target_platform: 26 | - osx-64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | - - python 31 | - numpy 32 | -------------------------------------------------------------------------------- /.ci_support/osx_64_numpy1.16python3.8.____cpython.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '10.9' 3 | c_compiler: 4 | - clang 5 | c_compiler_version: 6 | - '11' 7 | channel_sources: 8 | - conda-forge,defaults 9 | channel_targets: 10 | - conda-forge main 11 | cxx_compiler: 12 | - clangxx 13 | cxx_compiler_version: 14 | - '11' 15 | macos_machine: 16 | - x86_64-apple-darwin13.4.0 17 | numpy: 18 | - '1.16' 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.8.* *_cpython 25 | target_platform: 26 | - osx-64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | - - python 31 | - numpy 32 | -------------------------------------------------------------------------------- /.ci_support/osx_64_numpy1.18python3.6.____73_pypy.yaml: -------------------------------------------------------------------------------- 1 | MACOSX_DEPLOYMENT_TARGET: 2 | - '10.9' 3 | c_compiler: 4 | - clang 5 | c_compiler_version: 6 | - '11' 7 | channel_sources: 8 | - conda-forge,defaults 9 | channel_targets: 10 | - conda-forge main 11 | cxx_compiler: 12 | - clangxx 13 | cxx_compiler_version: 14 | - '11' 15 | macos_machine: 16 | - x86_64-apple-darwin13.4.0 17 | numpy: 18 | - '1.18' 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.6.* *_73_pypy 25 | target_platform: 26 | - osx-64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | - - python 31 | - numpy 32 | -------------------------------------------------------------------------------- /.ci_support/linux_64_numpy1.16python3.6.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '9' 5 | cdt_name: 6 | - cos6 7 | channel_sources: 8 | - conda-forge,defaults 9 | channel_targets: 10 | - conda-forge main 11 | cxx_compiler: 12 | - gxx 13 | cxx_compiler_version: 14 | - '9' 15 | docker_image: 16 | - quay.io/condaforge/linux-anvil-comp7 17 | numpy: 18 | - '1.16' 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.6.* *_cpython 25 | target_platform: 26 | - linux-64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | - - cdt_name 31 | - docker_image 32 | - - python 33 | - numpy 34 | -------------------------------------------------------------------------------- /.ci_support/linux_64_numpy1.16python3.7.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '9' 5 | cdt_name: 6 | - cos6 7 | channel_sources: 8 | - conda-forge,defaults 9 | channel_targets: 10 | - conda-forge main 11 | cxx_compiler: 12 | - gxx 13 | cxx_compiler_version: 14 | - '9' 15 | docker_image: 16 | - quay.io/condaforge/linux-anvil-comp7 17 | numpy: 18 | - '1.16' 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.7.* *_cpython 25 | target_platform: 26 | - linux-64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | - - cdt_name 31 | - docker_image 32 | - - python 33 | - numpy 34 | -------------------------------------------------------------------------------- /.ci_support/linux_64_numpy1.16python3.8.____cpython.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '9' 5 | cdt_name: 6 | - cos6 7 | channel_sources: 8 | - conda-forge,defaults 9 | channel_targets: 10 | - conda-forge main 11 | cxx_compiler: 12 | - gxx 13 | cxx_compiler_version: 14 | - '9' 15 | docker_image: 16 | - quay.io/condaforge/linux-anvil-comp7 17 | numpy: 18 | - '1.16' 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.8.* *_cpython 25 | target_platform: 26 | - linux-64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | - - cdt_name 31 | - docker_image 32 | - - python 33 | - numpy 34 | -------------------------------------------------------------------------------- /.ci_support/linux_64_numpy1.18python3.6.____73_pypy.yaml: -------------------------------------------------------------------------------- 1 | c_compiler: 2 | - gcc 3 | c_compiler_version: 4 | - '9' 5 | cdt_name: 6 | - cos6 7 | channel_sources: 8 | - conda-forge,defaults 9 | channel_targets: 10 | - conda-forge main 11 | cxx_compiler: 12 | - gxx 13 | cxx_compiler_version: 14 | - '9' 15 | docker_image: 16 | - quay.io/condaforge/linux-anvil-comp7 17 | numpy: 18 | - '1.18' 19 | pin_run_as_build: 20 | python: 21 | min_pin: x.x 22 | max_pin: x.x 23 | python: 24 | - 3.6.* *_73_pypy 25 | target_platform: 26 | - linux-64 27 | zip_keys: 28 | - - c_compiler_version 29 | - cxx_compiler_version 30 | - - cdt_name 31 | - docker_image 32 | - - python 33 | - numpy 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: yaml -*- 4 | 5 | version: 2 6 | 7 | jobs: 8 | build: 9 | working_directory: ~/test 10 | machine: true 11 | steps: 12 | - run: 13 | # The Circle-CI build should not be active, but if this is not true for some reason, do a fast finish. 14 | command: exit 0 15 | 16 | workflows: 17 | version: 2 18 | build_and_test: 19 | jobs: 20 | - build: 21 | filters: 22 | branches: 23 | ignore: 24 | - /.*/ 25 | -------------------------------------------------------------------------------- /.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 | .drone/* linguist-generated=true 13 | .drone.yml linguist-generated=true 14 | .github/* linguist-generated=true 15 | .travis/* linguist-generated=true 16 | .appveyor.yml linguist-generated=true 17 | .gitattributes linguist-generated=true 18 | .gitignore linguist-generated=true 19 | .travis.yml linguist-generated=true 20 | .scripts/* linguist-generated=true 21 | LICENSE.txt linguist-generated=true 22 | README.md linguist-generated=true 23 | azure-pipelines.yml linguist-generated=true 24 | build-locally.py linguist-generated=true 25 | shippable.yml linguist-generated=true 26 | -------------------------------------------------------------------------------- /.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 | * ) 17 | echo "$1";; 18 | esac 19 | } 20 | 21 | function endgroup { 22 | # End a foldable group of log lines 23 | # Pass a single argument, quoted 24 | case ${CI:-} in 25 | azure ) 26 | echo "##[endgroup]";; 27 | travis ) 28 | echo -en 'travis_fold:end:'"${1// /}"'\\r';; 29 | esac 30 | } 31 | -------------------------------------------------------------------------------- /recipe/meta.yaml: -------------------------------------------------------------------------------- 1 | {% set name = "celerite2" %} 2 | {% set version = "0.1.0" %} 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: 7ebfdf5792c23b50c88c46625f8e16043ca215111fff919cb006e8ac50acf88b 11 | 12 | build: 13 | number: 0 14 | script: {{ PYTHON }} -m pip install . -vv 15 | 16 | requirements: 17 | build: 18 | - {{ compiler('c') }} 19 | - {{ compiler('cxx') }} 20 | host: 21 | - python 22 | - pip 23 | - numpy 24 | - pybind11 25 | - setuptools_scm 26 | run: 27 | - python 28 | - {{ pin_compatible('numpy') }} 29 | 30 | test: 31 | imports: 32 | - celerite2 33 | 34 | about: 35 | home: https://celerite2.readthedocs.io 36 | license: MIT 37 | license_family: MIT 38 | license_file: LICENSE 39 | summary: Fast and scalable Gaussian Processes in 1D 40 | doc_url: https://celerite2.readthedocs.io 41 | dev_url: https://github.com/exoplanet-dev/celerite2 42 | 43 | extra: 44 | recipe-maintainers: 45 | - dfm 46 | -------------------------------------------------------------------------------- /.ci_support/migrations/pypy.yaml: -------------------------------------------------------------------------------- 1 | migrator_ts: 1580746218 # The timestamp of when the migration was made 2 | __migrator: 3 | kind: 4 | version 5 | exclude: 6 | - c_compiler 7 | - vc 8 | - cxx_compiler 9 | migration_number: # Only use this if the bot messes up, putting this in will cause a complete rerun of the migration 10 | 1 11 | bump_number: 1 # Hashes changed for cpython, so it's better to bump build numbers. 12 | # do not use mamba to check if the issued PRs are solvable 13 | check_solvable: false 14 | longterm: True 15 | paused: False 16 | pr_limit: 1 17 | 18 | python: 19 | - 3.6.* *_cpython # [not (osx and arm64)] 20 | - 3.7.* *_cpython # [not (osx and arm64)] 21 | - 3.8.* *_cpython 22 | - 3.6.* *_73_pypy # [not (win64 or (osx and arm64))] 23 | 24 | numpy: 25 | - 1.16 # [not (osx and arm64)] 26 | - 1.16 # [not (osx and arm64)] 27 | - 1.16 28 | - 1.18 # [not (win64 or (osx and arm64))] 29 | 30 | python_impl: 31 | - cpython # [not (osx and arm64)] 32 | - cpython # [not (osx and arm64)] 33 | - cpython 34 | - pypy # [not (win64 or (osx and arm64))] 35 | -------------------------------------------------------------------------------- /.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-10.15 9 | strategy: 10 | matrix: 11 | osx_64_numpy1.16python3.6.____cpython: 12 | CONFIG: osx_64_numpy1.16python3.6.____cpython 13 | UPLOAD_PACKAGES: 'True' 14 | osx_64_numpy1.16python3.7.____cpython: 15 | CONFIG: osx_64_numpy1.16python3.7.____cpython 16 | UPLOAD_PACKAGES: 'True' 17 | osx_64_numpy1.16python3.8.____cpython: 18 | CONFIG: osx_64_numpy1.16python3.8.____cpython 19 | UPLOAD_PACKAGES: 'True' 20 | osx_64_numpy1.18python3.6.____73_pypy: 21 | CONFIG: osx_64_numpy1.18python3.6.____73_pypy 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 | ./.scripts/run_osx_build.sh 33 | displayName: Run OSX build 34 | env: 35 | BINSTAR_TOKEN: $(BINSTAR_TOKEN) 36 | FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) 37 | STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | BSD 3-clause license 2 | Copyright (c) 2015-2021, conda-forge contributors 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 6 | 7 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 8 | 9 | 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 10 | 11 | 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 12 | 13 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 14 | -------------------------------------------------------------------------------- /.scripts/run_osx_build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | source .scripts/logging_utils.sh 4 | 5 | set -x 6 | 7 | startgroup "Installing a fresh version of Miniforge" 8 | MINIFORGE_URL="https://github.com/conda-forge/miniforge/releases/latest/download" 9 | MINIFORGE_FILE="Miniforge3-MacOSX-x86_64.sh" 10 | curl -L -O "${MINIFORGE_URL}/${MINIFORGE_FILE}" 11 | bash $MINIFORGE_FILE -b 12 | endgroup "Installing a fresh version of Miniforge" 13 | 14 | startgroup "Configuring conda" 15 | BUILD_CMD=build 16 | 17 | source ${HOME}/miniforge3/etc/profile.d/conda.sh 18 | conda activate base 19 | 20 | echo -e "\n\nInstalling conda-forge-ci-setup=3 and conda-build." 21 | conda install -n base --quiet --yes "conda-forge-ci-setup=3" conda-build pip ${GET_BOA:-} 22 | 23 | 24 | 25 | echo -e "\n\nSetting up the condarc and mangling the compiler." 26 | setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml 27 | mangle_compiler ./ ./recipe .ci_support/${CONFIG}.yaml 28 | 29 | echo -e "\n\nMangling homebrew in the CI to avoid conflicts." 30 | /usr/bin/sudo mangle_homebrew 31 | /usr/bin/sudo -k 32 | 33 | echo -e "\n\nRunning the build setup script." 34 | source run_conda_forge_build_setup 35 | 36 | 37 | endgroup "Configuring conda" 38 | 39 | set -e 40 | 41 | startgroup "Running conda $BUILD_CMD" 42 | echo -e "\n\nMaking the build clobber file" 43 | make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml 44 | 45 | conda $BUILD_CMD ./recipe -m ./.ci_support/${CONFIG}.yaml --suppress-variables --clobber-file ./.ci_support/clobber_${CONFIG}.yaml ${EXTRA_CB_OPTIONS:-} 46 | endgroup "Running conda build" 47 | startgroup "Validating outputs" 48 | validate_recipe_outputs "${FEEDSTOCK_NAME}" 49 | endgroup "Validating outputs" 50 | 51 | if [[ "${UPLOAD_PACKAGES}" != "False" ]]; then 52 | startgroup "Uploading packages" 53 | upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" ./ ./recipe ./.ci_support/${CONFIG}.yaml 54 | endgroup "Uploading packages" 55 | fi -------------------------------------------------------------------------------- /.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-16.04 9 | strategy: 10 | matrix: 11 | linux_64_numpy1.16python3.6.____cpython: 12 | CONFIG: linux_64_numpy1.16python3.6.____cpython 13 | UPLOAD_PACKAGES: 'True' 14 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-comp7 15 | linux_64_numpy1.16python3.7.____cpython: 16 | CONFIG: linux_64_numpy1.16python3.7.____cpython 17 | UPLOAD_PACKAGES: 'True' 18 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-comp7 19 | linux_64_numpy1.16python3.8.____cpython: 20 | CONFIG: linux_64_numpy1.16python3.8.____cpython 21 | UPLOAD_PACKAGES: 'True' 22 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-comp7 23 | linux_64_numpy1.18python3.6.____73_pypy: 24 | CONFIG: linux_64_numpy1.18python3.6.____73_pypy 25 | UPLOAD_PACKAGES: 'True' 26 | DOCKER_IMAGE: quay.io/condaforge/linux-anvil-comp7 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 | .scripts/run_docker_build.sh 48 | displayName: Run docker build 49 | env: 50 | BINSTAR_TOKEN: $(BINSTAR_TOKEN) 51 | FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) 52 | STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) -------------------------------------------------------------------------------- /.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 | set -xeuo pipefail 9 | export FEEDSTOCK_ROOT="${FEEDSTOCK_ROOT:-/home/conda/feedstock_root}" 10 | source ${FEEDSTOCK_ROOT}/.scripts/logging_utils.sh 11 | 12 | 13 | endgroup "Start Docker" 14 | 15 | startgroup "Configuring conda" 16 | export PYTHONUNBUFFERED=1 17 | export RECIPE_ROOT="${RECIPE_ROOT:-/home/conda/recipe_root}" 18 | export CI_SUPPORT="${FEEDSTOCK_ROOT}/.ci_support" 19 | export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml" 20 | 21 | cat >~/.condarc </dev/null && pwd )" 15 | PROVIDER_DIR="$(basename $THISDIR)" 16 | 17 | FEEDSTOCK_ROOT=$(cd "$(dirname "$0")/.."; 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 condaforge/linux-anvil-comp7" 56 | DOCKER_IMAGE="condaforge/linux-anvil-comp7" 57 | fi 58 | else 59 | DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 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 | endgroup "Configure Docker" 73 | 74 | startgroup "Start Docker" 75 | export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" 76 | docker run ${DOCKER_RUN_ARGS} \ 77 | -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \ 78 | -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z,delegated \ 79 | -e CONFIG \ 80 | -e HOST_USER_ID \ 81 | -e UPLOAD_PACKAGES \ 82 | -e GIT_BRANCH \ 83 | -e UPLOAD_ON_BRANCH \ 84 | -e CI \ 85 | -e FEEDSTOCK_NAME \ 86 | -e CPU_COUNT \ 87 | -e BUILD_WITH_CONDA_DEBUG \ 88 | -e BUILD_OUTPUT_ID \ 89 | -e BINSTAR_TOKEN \ 90 | -e FEEDSTOCK_TOKEN \ 91 | -e STAGING_BINSTAR_TOKEN \ 92 | $DOCKER_IMAGE \ 93 | bash \ 94 | /home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh 95 | 96 | # verify that the end of the script was reached 97 | test -f "$DONE_CANARY" -------------------------------------------------------------------------------- /.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: vs2017-win2016 9 | strategy: 10 | matrix: 11 | win_64_python3.6.____cpython: 12 | CONFIG: win_64_python3.6.____cpython 13 | UPLOAD_PACKAGES: 'True' 14 | win_64_python3.7.____cpython: 15 | CONFIG: win_64_python3.7.____cpython 16 | UPLOAD_PACKAGES: 'True' 17 | win_64_python3.8.____cpython: 18 | CONFIG: win_64_python3.8.____cpython 19 | UPLOAD_PACKAGES: 'True' 20 | timeoutInMinutes: 360 21 | variables: 22 | CONDA_BLD_PATH: D:\\bld\\ 23 | 24 | steps: 25 | - script: | 26 | choco install vcpython27 -fdv -y --debug 27 | condition: contains(variables['CONFIG'], 'vs2008') 28 | displayName: Install vcpython27.msi (if needed) 29 | 30 | # Cygwin's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.) 31 | # - script: rmdir C:\cygwin /s /q 32 | # continueOnError: true 33 | 34 | - powershell: | 35 | Set-PSDebug -Trace 1 36 | 37 | $batchcontent = @" 38 | ECHO ON 39 | SET vcpython=C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for Python\9.0 40 | 41 | DIR "%vcpython%" 42 | 43 | CALL "%vcpython%\vcvarsall.bat" %* 44 | "@ 45 | 46 | $batchDir = "C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for Python\9.0\VC" 47 | $batchPath = "$batchDir" + "\vcvarsall.bat" 48 | New-Item -Path $batchPath -ItemType "file" -Force 49 | 50 | Set-Content -Value $batchcontent -Path $batchPath 51 | 52 | Get-ChildItem -Path $batchDir 53 | 54 | Get-ChildItem -Path ($batchDir + '\..') 55 | 56 | condition: contains(variables['CONFIG'], 'vs2008') 57 | displayName: Patch vs2008 (if needed) 58 | 59 | - task: CondaEnvironment@1 60 | inputs: 61 | packageSpecs: 'python=3.6 conda-build conda "conda-forge-ci-setup=3" pip' # Optional 62 | installOptions: "-c conda-forge" 63 | updateConda: true 64 | displayName: Install conda-build and activate environment 65 | 66 | - script: set PYTHONUNBUFFERED=1 67 | displayName: Set PYTHONUNBUFFERED 68 | 69 | # Configure the VM 70 | - script: | 71 | call activate base 72 | setup_conda_rc .\ ".\recipe" .\.ci_support\%CONFIG%.yaml 73 | displayName: conda-forge CI setup 74 | 75 | # Configure the VM. 76 | - script: | 77 | set "CI=azure" 78 | call activate base 79 | run_conda_forge_build_setup 80 | displayName: conda-forge build setup 81 | 82 | 83 | # Special cased version setting some more things! 84 | - script: | 85 | call activate base 86 | conda.exe build "recipe" -m .ci_support\%CONFIG%.yaml 87 | displayName: Build recipe (vs2008) 88 | env: 89 | VS90COMNTOOLS: "C:\\Program Files (x86)\\Common Files\\Microsoft\\Visual C++ for Python\\9.0\\VC\\bin" 90 | PYTHONUNBUFFERED: 1 91 | condition: contains(variables['CONFIG'], 'vs2008') 92 | 93 | - script: | 94 | call activate base 95 | conda.exe build "recipe" -m .ci_support\%CONFIG%.yaml 96 | displayName: Build recipe 97 | env: 98 | PYTHONUNBUFFERED: 1 99 | condition: not(contains(variables['CONFIG'], 'vs2008')) 100 | - script: | 101 | set "FEEDSTOCK_NAME=%BUILD_REPOSITORY_NAME:*/=%" 102 | call activate base 103 | validate_recipe_outputs "%FEEDSTOCK_NAME%" 104 | displayName: Validate Recipe Outputs 105 | 106 | - script: | 107 | set "GIT_BRANCH=%BUILD_SOURCEBRANCHNAME%" 108 | set "FEEDSTOCK_NAME=%BUILD_REPOSITORY_NAME:*/=%" 109 | call activate base 110 | upload_package --validate --feedstock-name="%FEEDSTOCK_NAME%" .\ ".\recipe" .ci_support\%CONFIG%.yaml 111 | displayName: Upload package 112 | env: 113 | BINSTAR_TOKEN: $(BINSTAR_TOKEN) 114 | FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) 115 | STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) 116 | condition: and(succeeded(), not(eq(variables['UPLOAD_PACKAGES'], 'False'))) -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | About celerite2 2 | =============== 3 | 4 | Home: https://celerite2.readthedocs.io 5 | 6 | Package license: MIT 7 | 8 | Feedstock license: [BSD-3-Clause](https://github.com/conda-forge/celerite2-feedstock/blob/master/LICENSE.txt) 9 | 10 | Summary: Fast and scalable Gaussian Processes in 1D 11 | 12 | Development: https://github.com/exoplanet-dev/celerite2 13 | 14 | Documentation: https://celerite2.readthedocs.io 15 | 16 | Current build status 17 | ==================== 18 | 19 | 20 | 21 | 22 | 23 | 24 | 115 | 116 |
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 | 96 | 97 | 98 | 103 | 104 | 105 | 110 | 111 | 112 |
VariantStatus
linux_64_numpy1.16python3.6.____cpython 36 | 37 | variant 38 | 39 |
linux_64_numpy1.16python3.7.____cpython 43 | 44 | variant 45 | 46 |
linux_64_numpy1.16python3.8.____cpython 50 | 51 | variant 52 | 53 |
linux_64_numpy1.18python3.6.____73_pypy 57 | 58 | variant 59 | 60 |
osx_64_numpy1.16python3.6.____cpython 64 | 65 | variant 66 | 67 |
osx_64_numpy1.16python3.7.____cpython 71 | 72 | variant 73 | 74 |
osx_64_numpy1.16python3.8.____cpython 78 | 79 | variant 80 | 81 |
osx_64_numpy1.18python3.6.____73_pypy 85 | 86 | variant 87 | 88 |
win_64_python3.6.____cpython 92 | 93 | variant 94 | 95 |
win_64_python3.7.____cpython 99 | 100 | variant 101 | 102 |
win_64_python3.8.____cpython 106 | 107 | variant 108 | 109 |
113 |
114 |
117 | 118 | Current release info 119 | ==================== 120 | 121 | | Name | Downloads | Version | Platforms | 122 | | --- | --- | --- | --- | 123 | | [![Conda Recipe](https://img.shields.io/badge/recipe-celerite2-green.svg)](https://anaconda.org/conda-forge/celerite2) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/celerite2.svg)](https://anaconda.org/conda-forge/celerite2) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/celerite2.svg)](https://anaconda.org/conda-forge/celerite2) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/celerite2.svg)](https://anaconda.org/conda-forge/celerite2) | 124 | 125 | Installing celerite2 126 | ==================== 127 | 128 | Installing `celerite2` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: 129 | 130 | ``` 131 | conda config --add channels conda-forge 132 | ``` 133 | 134 | Once the `conda-forge` channel has been enabled, `celerite2` can be installed with: 135 | 136 | ``` 137 | conda install celerite2 138 | ``` 139 | 140 | It is possible to list all of the versions of `celerite2` available on your platform with: 141 | 142 | ``` 143 | conda search celerite2 --channel conda-forge 144 | ``` 145 | 146 | 147 | About conda-forge 148 | ================= 149 | 150 | [![Powered by NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](http://numfocus.org) 151 | 152 | conda-forge is a community-led conda channel of installable packages. 153 | In order to provide high-quality builds, the process has been automated into the 154 | conda-forge GitHub organization. The conda-forge organization contains one repository 155 | for each of the installable packages. Such a repository is known as a *feedstock*. 156 | 157 | A feedstock is made up of a conda recipe (the instructions on what and how to build 158 | the package) and the necessary configurations for automatic building using freely 159 | available continuous integration services. Thanks to the awesome service provided by 160 | [CircleCI](https://circleci.com/), [AppVeyor](https://www.appveyor.com/) 161 | and [TravisCI](https://travis-ci.com/) it is possible to build and upload installable 162 | packages to the [conda-forge](https://anaconda.org/conda-forge) 163 | [Anaconda-Cloud](https://anaconda.org/) channel for Linux, Windows and OSX respectively. 164 | 165 | To manage the continuous integration and simplify feedstock maintenance 166 | [conda-smithy](https://github.com/conda-forge/conda-smithy) has been developed. 167 | Using the ``conda-forge.yml`` within this repository, it is possible to re-render all of 168 | this feedstock's supporting files (e.g. the CI configuration files) with ``conda smithy rerender``. 169 | 170 | For more information please check the [conda-forge documentation](https://conda-forge.org/docs/). 171 | 172 | Terminology 173 | =========== 174 | 175 | **feedstock** - the conda recipe (raw material), supporting scripts and CI configuration. 176 | 177 | **conda-smithy** - the tool which helps orchestrate the feedstock. 178 | Its primary use is in the construction of the CI ``.yml`` files 179 | and simplify the management of *many* feedstocks. 180 | 181 | **conda-forge** - the place where the feedstock and smithy live and work to 182 | produce the finished article (built conda distributions) 183 | 184 | 185 | Updating celerite2-feedstock 186 | ============================ 187 | 188 | If you would like to improve the celerite2 recipe or build a new 189 | package version, please fork this repository and submit a PR. Upon submission, 190 | your changes will be run on the appropriate platforms to give the reviewer an 191 | opportunity to confirm that the changes result in a successful build. Once 192 | merged, the recipe will be re-built and uploaded automatically to the 193 | `conda-forge` channel, whereupon the built conda packages will be available for 194 | everybody to install and use from the `conda-forge` channel. 195 | Note that all branches in the conda-forge/celerite2-feedstock are 196 | immediately built and any created packages are uploaded, so PRs should be based 197 | on branches in forks and branches in the main repository should only be used to 198 | build distinct package versions. 199 | 200 | In order to produce a uniquely identifiable distribution: 201 | * If the version of a package **is not** being increased, please add or increase 202 | the [``build/number``](https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build-number-and-string). 203 | * If the version of a package **is** being increased, please remember to return 204 | the [``build/number``](https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build-number-and-string) 205 | back to 0. 206 | 207 | Feedstock Maintainers 208 | ===================== 209 | 210 | * [@dfm](https://github.com/dfm/) 211 | 212 | --------------------------------------------------------------------------------