diff --git a/.github/deactivated/conda-build.yml b/.github/deactivated/conda-build.yml deleted file mode 100644 index d8d7bc22..00000000 --- a/.github/deactivated/conda-build.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: Build and upload conda packages - -on: - release: - types: - - released - - prereleased - workflow_dispatch: - inputs: - tag: - description: 'Tag to be built and uploaded' - required: true - type: string - label: - description: 'The type of release' - default: 'dev' - type: choice - options: - - dev - - main - -jobs: - conda_deployment_with_tag: - name: Build conda package with Python${{ matrix.python-version }} - runs-on: ubuntu-latest - strategy: - matrix: - python-version: [ "3.9" ] - steps: - - uses: actions/checkout@v4.1.1 - if: ${{ github.event.inputs.tag == '' }} - - uses: actions/checkout@v4.1.1 - if: ${{ github.event.inputs.tag != '' }} - with: - fetch-depth: 0 - ref: ${{ inputs.tag }} - - name: Setup Conda (Micromamba) with Python${{ matrix.python-version }} - uses: mamba-org/provision-with-micromamba@v16 - with: - cache-downloads: true - channels: conda-forge,defaults - extra-specs: | - python=${{ matrix.python-version }} - anaconda-client - conda-build - - name: Conditionally set label - uses: haya14busa/action-cond@v1.1.1 - id: label - with: - cond: ${{ github.event_name == 'workflow_dispatch' }} - if_true: ${{ github.event.inputs.label }} - if_false: "auto" - - name: Build and upload the conda packages - uses: uibcdf/action-build-and-upload-conda-packages@v1.2.0 - with: - meta_yaml_dir: conda/xscen - python-version: ${{ matrix.python-version }} - user: Ouranosinc - label: ${{ steps.label.outputs.value }} - token: ${{ secrets.ANACONDA_TOKEN }} diff --git a/conda/xscen/meta.yaml b/conda/xscen/meta.yaml deleted file mode 100644 index f1bfff33..00000000 --- a/conda/xscen/meta.yaml +++ /dev/null @@ -1,76 +0,0 @@ -{% set name = "xscen" %} - -package: - name: {{ name|lower }} - version: {{ environ['GIT_DESCRIBE_TAG'] }} - -source: - path: ../../ - -channels: - - conda-forge - - defaults - -build: - noarch: python - script: {{ PYTHON }} -m pip install . -vv - number: 0 - -requirements: - host: - - python >=3.9 - - pip - run: - - cartopy - - cftime - - cf_xarray >=0.7.6 - - clisops >=0.10 - - dask-core - - flox - - fsspec <2023.10.0 - - geopandas - - h5netcdf - - h5py - - intake-esm >=2023.07.07 - - matplotlib - - netCDF4 - - numcodecs - - numpy - - pandas >= 2 - - parse - - pyyaml - - rechunker - - scipy - - shapely >= 2 - - sparse <=0.14 - - toolz - - xarray <2023.11.0 # FIXME: Remove when pandas 2.2 is released and xclim is fixed. - - xclim >=0.46.0 - - xesmf >=0.7 - - zarr - # Opt - - nc-time-axis >=1.3.1 - - pyarrow >=1.0.0 - -test: - imports: - - xscen - commands: - - pip check - requires: - - pip - - pytest-json-report # Added due to a bug in esmpy. See: https://github.com/esmf-org/esmf/issues/115 - -about: - home: https://github.com/Ouranosinc/xscen - summary: A climate change scenario-building analysis framework, built with xclim/xarray. - license: Apache-2.0 - license_file: LICENSE - -extra: - recipe-maintainers: - # GitHub.com - - Zeitsperre - - RondeauG - - aulemahal - - juliettelavoie diff --git a/conda/xscen/recipe.yaml b/conda/xscen/recipe.yaml deleted file mode 100644 index 81494f77..00000000 --- a/conda/xscen/recipe.yaml +++ /dev/null @@ -1,75 +0,0 @@ -# Build recipe using `boa` build standard. Not suitable for conda-forge. See: https://github.com/mamba-org/boa - -context: - name: xscen - version: 0.5.0 - -package: - name: '{{ name|lower }}' - version: '{{ version }}' - -source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/xscen-{{ version }}.tar.gz - sha256: f31df2cb52e87dd82d2fc7d340788e4edf14abccf04685a9249a2067594b721a - -build: - noarch: python - script: '{{ PYTHON }} -m pip install . -vv' - number: 1 - -requirements: - host: - - python >=3.9 - - pip - run: - - cartopy - - cftime - - cf_xarray >=0.7.6 - - clisops >=0.10 - - dask-core - - flox - - fsspec <2023.10.0 - - geopandas - - h5netcdf - - h5py - - intake-esm >=2023.07.07 - - matplotlib - - netCDF4 - - numcodecs - - numpy - - pandas >= 2 - - parse - - pyyaml - - rechunker - - scipy - - shapely >= 2 - - sparse <=0.14 - - toolz - - xarray <2023.11.0 # FIXME: Remove when pandas 2.2 is released and xclim is fixed. - - xclim >=0.46.0 - - xesmf >=0.7 - - zarr - # Opt - - nc-time-axis >=1.3.1 - - pyarrow >=1.0.0 - -test: - imports: - - xscen - commands: - - pip check - requires: - - pip - - pytest-json-report # Added due to a bug in esmpy. See: https://github.com/esmf-org/esmf/issues/115 - -about: - home: https://github.com/Ouranosinc/xscen - summary: A climate change scenario-building analysis framework, built with xclim/xarray. - license: Apache-2.0 - license_file: LICENSE - -extra: - recipe-maintainers: - # Anaconda.org - - Zeitsperre - - aule