Commit 4b977b7a authored by Thibault Hallouin's avatar Thibault Hallouin
Browse files

release v0.1.1.0

See merge request !2
1 merge request!2release v0.1.1.0
Pipeline #52671 passed with stage
in 4 minutes and 27 seconds
Showing with 29 additions and 9 deletions
+29 -9
...@@ -13,8 +13,7 @@ build-and-test: ...@@ -13,8 +13,7 @@ build-and-test:
- export EVALHYD_PYTHON_VENDOR_XTL=FALSE - export EVALHYD_PYTHON_VENDOR_XTL=FALSE
- export EVALHYD_PYTHON_VENDOR_XTENSOR=FALSE - export EVALHYD_PYTHON_VENDOR_XTENSOR=FALSE
- export EVALHYD_PYTHON_VENDOR_XTENSOR_PYTHON=FALSE - export EVALHYD_PYTHON_VENDOR_XTENSOR_PYTHON=FALSE
# vendor evalhyd (while waiting for evalhyd to be uploaded to conda-forge) # vendor evalhyd-cpp
- micromamba install --yes -c conda-forge git
- export EVALHYD_PYTHON_VENDOR_EVALHYD_CPP=TRUE - export EVALHYD_PYTHON_VENDOR_EVALHYD_CPP=TRUE
# print Python version # print Python version
- python --version - python --version
......
MANIFEST.in 0 → 100644
recursive-include deps *.*
...@@ -6,6 +6,16 @@ ...@@ -6,6 +6,16 @@
Yet to be versioned and released. Only available from *dev* branch until then. Yet to be versioned and released. Only available from *dev* branch until then.
v0.1.1.0
--------
Released on 2023-06-16.
.. rubric:: Dependency changes
* move to `evalhyd-cpp==0.1.1`
(`see changelog <https://hydrogr.github.io/evalhyd/cpp/changelog.html#v0-1-1>`_)
v0.1.0.0 v0.1.0.0
-------- --------
......
Subproject commit 5fd5811b75a849351002569dc196ea55aab906e0 Subproject commit 1d815c6808c61511864b38cee7d8b03be1187cb8
__version__ = '0.1.0.0' __version__ = '0.1.1.0'
...@@ -44,9 +44,21 @@ setup( ...@@ -44,9 +44,21 @@ setup(
version=__version__, version=__version__,
author='Thibault Hallouin', author='Thibault Hallouin',
author_email='thibault.hallouin@inrae.fr', author_email='thibault.hallouin@inrae.fr',
url='https://gitlab.irstea.fr/hycar-hydro/evalhyd/evalhyd-python', download_url="https://pypi.python.org/pypi/evalhyd-python",
project_urls={
'Bug Tracker': 'https://gitlab.irstea.fr/HYCAR-Hydro/evalhyd/evalhyd-python/-/issues',
'Documentation': 'https://hydrogr.github.io/evalhyd/python',
'Source Code': 'https://gitlab.irstea.fr/hycar-hydro/evalhyd/evalhyd-python',
},
description='Python bindings for EvalHyd', description='Python bindings for EvalHyd',
long_description='An evaluator for streamflow predictions.', long_description='An evaluator for streamflow predictions.',
license="GPLv3",
classifiers=[
'Natural Language :: English',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Hydrology',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)'
],
packages=["evalhyd"], packages=["evalhyd"],
ext_modules=ext_modules, ext_modules=ext_modules,
cmdclass={'build_ext': build_ext}, cmdclass={'build_ext': build_ext},
......
0.9821120161733,0.9880951944476
0.6621887740287,0.4360388849930
...@@ -24,7 +24,7 @@ _all_metrics = ( ...@@ -24,7 +24,7 @@ _all_metrics = (
# ranks-based # ranks-based
'RANK_HIST', 'DS', 'AS', 'RANK_HIST', 'DS', 'AS',
# intervals # intervals
'CR', 'AW', 'AWN', 'AWI', 'WS', 'WSS', 'CR', 'AW', 'AWN', 'WS',
# multivariate # multivariate
'ES' 'ES'
) )
...@@ -82,7 +82,7 @@ class TestMetrics(unittest.TestCase): ...@@ -82,7 +82,7 @@ class TestMetrics(unittest.TestCase):
metric: ( metric: (
numpy.genfromtxt(f"./expected/evalp/{metric}.csv", delimiter=',') numpy.genfromtxt(f"./expected/evalp/{metric}.csv", delimiter=',')
[numpy.newaxis, numpy.newaxis, numpy.newaxis, numpy.newaxis, ...] [numpy.newaxis, numpy.newaxis, numpy.newaxis, numpy.newaxis, ...]
) for metric in ('CR', 'AW', 'AWN', 'AWI', 'WS', 'WSS') ) for metric in ('CR', 'AW', 'AWN', 'WS')
} }
expected_mvr = { expected_mvr = {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment