From 7fe9883890f375ae4a21ae734cae5e65a488b138 Mon Sep 17 00:00:00 2001 From: Douglas Mennella Date: Sun, 30 May 2021 12:15:31 +0900 Subject: [PATCH] Proactively trying to fix warnings broke running in Python versions > 3.7 --- csv_reconcile/__init__.py | 4 ++-- pyproject.toml | 2 +- tests/test_csv_reconcile.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/csv_reconcile/__init__.py b/csv_reconcile/__init__.py index 3488e9a..83d0653 100644 --- a/csv_reconcile/__init__.py +++ b/csv_reconcile/__init__.py @@ -17,7 +17,7 @@ except: import importlib_metadata as metadata -__version__ = '0.2.4' +__version__ = '0.2.5' #------------------------------------------------------------------ # Implement reconciliation API # [[https://reconciliation-api.github.io/specs/latest/]] @@ -151,7 +151,7 @@ def acceptPropertyRequest(): def pickScorer(plugin): - eps = metadata.entry_points().select(group='csv_reconcile.scorers') + eps = metadata.entry_points()['csv_reconcile.scorers'] if len(eps) == 0: raise RuntimeError("Please install a \"csv_reconcile.scorers\" plugin") elif plugin: diff --git a/pyproject.toml b/pyproject.toml index 628e32a..1e0a528 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "csv-reconcile" -version = "0.2.4" +version = "0.2.5" description = "OpenRefine reconciliation service backed by csv resource" authors = ["Douglas Mennella "] license = "MIT" diff --git a/tests/test_csv_reconcile.py b/tests/test_csv_reconcile.py index 28468e9..e2ee600 100644 --- a/tests/test_csv_reconcile.py +++ b/tests/test_csv_reconcile.py @@ -5,7 +5,7 @@ def test_version(): - assert __version__ == '0.2.4' + assert __version__ == '0.2.5' def test_manifest(basicClient):