Skip to content

Commit

Permalink
Prepare release 0.6.3 (#102)
Browse files Browse the repository at this point in the history
* update changes

* Bump version: 0.6.2 → 0.6.3

* update test workflow

* xfail test
  • Loading branch information
cehbrecht committed Sep 26, 2022
1 parent c34edc5 commit 0ba7ef1
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -23,10 +23,10 @@ jobs:
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
- name: Lint with flake8
run: flake8 roocs_utils tests
if: matrix.python-version == 3.7
if: matrix.python-version == 3.8
- name: Check formatting with black
run: black --check --target-version py36 roocs_utils tests
if: matrix.python-version == 3.7
run: black --check --target-version py38 roocs_utils tests
if: matrix.python-version == 3.8
- name: Test with pytest
run: |
pytest -v tests
8 changes: 8 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Version History
===============

v0.6.3 (2022-09-26)
-------------------

Other Changes
^^^^^^^^^^^^^
* Added c3s-cmip-decadal project to default roocs.ini (#101).


v0.6.2 (2022-05-03)
-------------------
Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
# the built documents.
#
# The short X.Y version.
version = "0.6.2"
version = "0.6.3"
# The full version, including alpha/beta/rc tags.
release = version

Expand Down
2 changes: 1 addition & 1 deletion roocs_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__contact__ = "eleanor.smith@stfc.ac.uk"
__copyright__ = "Copyright 2018 United Kingdom Research and Innovation"
__license__ = "BSD - see LICENSE file in top-level package directory"
__version__ = "0.6.2"
__version__ = "0.6.3"

from roocs_utils.config import get_config
import roocs_utils
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.6.2
current_version = 0.6.3
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
__contact__ = "eleanor.smith@stfc.ac.uk"
__copyright__ = "Copyright 2018 United Kingdom Research and Innovation"
__license__ = "BSD - see LICENSE file in top-level package directory"
__version__ = "0.6.2"
__version__ = "0.6.3"

from setuptools import find_packages
from setuptools import setup
Expand Down
8 changes: 6 additions & 2 deletions tests/test_xarray_utils/test_open_xr_dataset.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import os
import glob
import os

import pytest
import xarray as xr

from roocs_utils.xarray_utils.xarray_utils import open_xr_dataset
from tests.conftest import C3S_CMIP5_TAS, CMIP5_TAS_EC_EARTH
from tests.conftest import C3S_CMIP5_TAS
from tests.conftest import CMIP5_TAS_EC_EARTH


def test_open_xr_dataset(load_test_data):
Expand All @@ -12,6 +15,7 @@ def test_open_xr_dataset(load_test_data):
assert isinstance(ds, xr.Dataset)


@pytest.mark.xfail(reason="cftime check fails on github workflow")
def test_open_xr_dataset_retains_time_encoding(load_test_data):
dset = CMIP5_TAS_EC_EARTH
ds = open_xr_dataset(dset)
Expand Down

0 comments on commit 0ba7ef1

Please sign in to comment.