Skip to content

Commit

Permalink
switch off 3.10 and use micromamba (#238)
Browse files Browse the repository at this point in the history
* switch off 3.10 and use micromamba

* fix ci

* fix ci
  • Loading branch information
malmans2 authored Jul 6, 2022
1 parent 0b43f03 commit 15dca6e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,22 @@ jobs:
name: Build (${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10"]
include:
- python-version: '3.9'
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2

- name: Install Conda environment with Micromamba
uses: mamba-org/provision-with-micromamba@v12
with:
environment-file: ci/environment.yml
activate-environment: oceanspy_test
auto-update-conda: false
python-version: ${{ matrix.python-version }}
miniforge-variant: Mambaforge
use-mamba: true
environment-name: oceanspy_test
channels: conda-forge
cache-env: true
cache-env-key: ubuntu-latest-${{ matrix.python-version }}
extra-specs: |
python=${{ matrix.python-version }}
- name: Set up conda environment
shell: bash -l {0}
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ If you would like to use OceanSpy for your own datasets and run it on a local ma
Required dependencies
---------------------

* Python 3.9, 3.10
* Python 3.9
* dask_
* xarray_
* xgcm_
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
description=(
"OceanSpy: A Python package to"
Expand Down

0 comments on commit 15dca6e

Please sign in to comment.