Skip to content

Update pandas requirement from <2.0 to <3.0 #480

Update pandas requirement from <2.0 to <3.0

Update pandas requirement from <2.0 to <3.0 #480

Workflow file for this run

name: raven-wps Testing
on:
push:
branches:
- master
pull_request:
env:
MAIN_TESTDATA_BRANCH: "master"
jobs:
black:
name: Code linting
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: pre-commit/action@v3.0.0
conda:
name: Conda (Python${{ matrix.python-version }}; ${{ matrix.os }})
needs: black
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
include:
- os: macos-latest
python-version: "3.10"
steps:
- uses: actions/checkout@v3
- name: Setup Conda (Micromamba) with Python${{ matrix.python-version }}
uses: mamba-org/setup-micromamba@v1
with:
cache-downloads: true
cache-environment: true
activate-environment: raven
environment-file: environment.yml
create-args: >-
python=${{ matrix.python-version }}
- name: Conda and Mamba versions
run: |
conda --version
echo "micromamba: $(micromamba --version)"
- name: Install RavenWPS
run: |
python3 -m pip install --no-user --editable ".[dev]"
- name: Check versions
run: |
conda list
pip check
- name: Test RavenWPS
run: |
python3 -m pytest -m "not very_slow" tests
finish:
name: Finish
needs:
- conda
runs-on: ubuntu-latest
container: python:3-slim
steps:
- name: Finished
run: echo "Finished!"