Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion climt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@
BucketHydrology,
)

__version__ = "0.18.4"
__version__ = "0.18.5"
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ numpy>=1.16.0
cython>=0.25
ipython>=5.3.0
coveralls
sympl==0.5.0
sympl>=0.5.0
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[bumpversion]
current_version = 0.18.4
current_version = 0.18.5
commit = True
tag = False

[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'
search = version="{current_version}"
replace = version="{new_version}"

[bumpversion:file:climt/__init__.py]
search = __version__ = "{current_version}"
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"pint>=0.7.0",
"unyt",
"xarray>=0.8.0",
"sympl==0.5.0",
"sympl>=0.5.0",
"cython>=0.25",
"scipy>=0.18.1",
]
Expand Down Expand Up @@ -292,7 +292,7 @@ def run(self):

setup(
name="climt",
version="0.18.4",
version="0.18.5",
description="CliMT is a Toolkit for building Earth system models in Python.",
long_description=readme + "\n\n" + history,
author="Rodrigo Caballero",
Expand Down
3 changes: 3 additions & 0 deletions tests/test_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
TendencyStepper,
TimeDifferencingWrapper,
UpdateFrequencyWrapper,
set_backend,
)
from sympl._core.tracers import reset_packers, reset_tracers

Expand All @@ -43,6 +44,8 @@
)
from climt._core.unyt_backend import UnytBackend, UnytStateContainer

set_backend(UnytBackend())

os.environ["NUMBA_DISABLE_JIT"] = "1"

vertical_dimension_names = ["interface_levels", "mid_levels", "full_levels"]
Expand Down
14 changes: 10 additions & 4 deletions tests/test_conservation.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
from datetime import timedelta

import numpy as np
import unyt
from sympl import AdamsBashforth, TendencyComponent, TendencyStepper, get_constant
from sympl import (
AdamsBashforth,
TendencyComponent,
TendencyStepper,
get_constant,
set_backend,
)

import climt
from climt import UnytTimeDelta
from climt import UnytBackend, UnytTimeDelta

set_backend(UnytBackend())


class ConservationTestBase(object):
Expand Down
Loading