From 4ac6449af5c82f33539ba5050b0801ced8bb41d1 Mon Sep 17 00:00:00 2001 From: Joachim Moeyens Date: Wed, 9 Oct 2024 22:05:45 -0700 Subject: [PATCH] Remove conda build recipe and publish workflow --- .github/workflows/conda-publish.yml | 34 -------------------- recipe/conda_build_config.yaml | 4 --- recipe/meta.yaml | 49 ----------------------------- 3 files changed, 87 deletions(-) delete mode 100644 .github/workflows/conda-publish.yml delete mode 100644 recipe/conda_build_config.yaml delete mode 100644 recipe/meta.yaml diff --git a/.github/workflows/conda-publish.yml b/.github/workflows/conda-publish.yml deleted file mode 100644 index 453e379c..00000000 --- a/.github/workflows/conda-publish.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: conda - Publish - -on: - push: - tags: - - 'v*' - -jobs: - deploy: - - runs-on: ubuntu-latest - container: - image: continuumio/miniconda3 - - steps: - - uses: actions/checkout@v4 - - name: Install dependencies - run: | - conda install -y anaconda-client conda-build - conda install -y setuptools setuptools_scm - - name: Update recipe with version variable - run: | - VERSION=$(python setup.py --version) - LINE_STR='{% set version = "'${VERSION}'" %}' - RECIPE_PATH='recipe/meta.yaml' - echo $LINE_STR | cat - $RECIPE_PATH > temp && mv temp $RECIPE_PATH - - - name: Build and publish - env: - CONDA_USERNAME: ${{ secrets.CONDA_USERNAME }} - CONDA_TOKEN: ${{ secrets.CONDA_TOKEN }} - run: | - conda config --set anaconda_upload yes - conda build -c defaults -c conda-forge -c astropy -c moeyensj --token $CONDA_TOKEN --user $CONDA_USERNAME . diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml deleted file mode 100644 index 6fc26542..00000000 --- a/recipe/conda_build_config.yaml +++ /dev/null @@ -1,4 +0,0 @@ -python: - - 3.9 - - 3.10 - - 3.11 diff --git a/recipe/meta.yaml b/recipe/meta.yaml deleted file mode 100644 index 1df9bbbd..00000000 --- a/recipe/meta.yaml +++ /dev/null @@ -1,49 +0,0 @@ - -package: - name: thor - version: "{{ version }}" - -source: - git_url: "https://github.com/moeyensj/thor.git" - git_tag: "v{{ version }}" - -requirements: - host: - - python {{ python }} - - pip - - setuptools >= 45 - - setuptools_scm >= 6.0 - - wheel - run: - - python {{ python }} - - astropy >= 5.3.1 - - astroquery - - difi - - healpy - - jax - - numpy - - numba - - pandas - - pyarrow >= 13.0.0 - - pyyaml >= 5.1 - - quivr >= 0.7.1 - - ray-default - - scikit-learn - - scipy - - spiceypy - - pytest - - pytest-benchmark - - pytest-cov - - pre-commit - -build: - script: python setup.py install --single-version-externally-managed --record=record.txt - -test: - imports: - - thor - -about: - home: https://github.com/moeyensj/thor - license: BSD-3 Clause - license_file: LICENSE.md