diff --git a/CHANGELOG b/CHANGELOG index b350a2d..472c802 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +0.9.3 + - enh: add dcor_control to compatible version list + - cleanup 0.9.2 - fix: fix compatible versions header 0.9.1 diff --git a/dcor_control/__init__.py b/dcor_control/__init__.py index e69de29..d986e5b 100644 --- a/dcor_control/__init__.py +++ b/dcor_control/__init__.py @@ -0,0 +1 @@ +from ._version import version as __version__ # noqa: F401 diff --git a/dcor_control/resources/compatible_versions.txt b/dcor_control/resources/compatible_versions.txt index 46496da..007f4a7 100644 --- a/dcor_control/resources/compatible_versions.txt +++ b/dcor_control/resources/compatible_versions.txt @@ -1,25 +1,25 @@ -ckan ckanext-dc_log_view ckanext-dc_serve ckanext-dc_view ckanext-dcor_depot ckanext-dcor_schemas ckanext-dcor_theme dcor_shared -2.10.3 0.3.2 0.14.0 0.8.1 0.13.7 0.18.10 0.7.6 0.5.5 -2.10.1 0.3.2 0.14.0 0.8.1 0.13.7 0.18.9 0.7.6 0.5.5 -2.10.1 0.3.2 0.13.11 0.8.0 0.13.6 0.18.9 0.7.6 0.5.4 -2.10.1 0.3.1 0.13.2 0.7.1 0.13.4 0.18.7 0.7.5 0.5.2 -2.10.1 0.3.1 0.13.0 0.7.1 0.13.3 0.18.6 0.7.5 0.5.2 -2.10.1 0.3.1 0.12.2 0.7.1 0.13.0 0.18.6 0.7.4 0.4.4 -2.10.1 0.3.1 0.12.2 0.7.1 0.12.1 0.18.4 0.7.4 0.4.3 -2.10.1 0.3.1 0.12.2 0.7.1 0.12.1 0.18.2 0.7.4 0.4.1 -2.10.1 0.3.0 0.12.0 0.7.0 0.12.0 0.18.0 0.7.0 0.4.1 -2.9.0 0.2.2 0.4.1 0.5.1 0.7.1 0.9.1 0.3.2 0.2.2 -2.9.0 0.2.2 0.4.1 0.5.2 0.7.2 0.9.1 0.3.2 0.2.3 -2.9.0 0.2.3 0.4.2 0.5.4 0.7.3 0.9.3 0.3.3 0.2.4 -2.9.0 0.2.3 0.4.3 0.5.5 0.7.4 0.9.4 0.3.3 0.2.5 -2.9.0 0.2.3 0.4.5 0.5.7 0.7.11 0.10.0 0.3.5 0.2.6 -2.9.0 0.2.3 0.4.5 0.5.7 0.7.11 0.11.0 0.3.6 0.2.6 -2.9.0 0.2.5 0.4.6 0.5.8 0.8.12 0.12.0 0.3.9 0.2.7 -2.9.2 0.2.5 0.4.6 0.5.8 0.8.14 0.12.4 0.3.9 0.2.8 -2.9.2 0.2.6 0.4.7 0.5.9 0.8.18 0.13.0 0.4.1 0.2.8 -2.9.2 0.2.6 0.4.7 0.5.9 0.8.19 0.14.0 0.4.2 0.2.8 -2.9.2 0.2.6 0.4.7 0.5.10 0.9.2 0.14.1 0.4.2 0.2.8 -2.9.4 0.2.7 0.6.1 0.6.4 0.9.9 0.15.9 0.4.3 0.2.11 -2.9.4 0.2.8 0.6.4 0.6.7 0.9.12 0.15.12 0.4.6 0.2.11 -2.9.4 0.2.8 0.9.1 0.6.9 0.10.2 0.17.1 0.6.0 0.2.11 -2.9.4 0.2.9 0.9.2 0.6.10 0.10.3 0.17.2 0.6.1 0.3.1 +ckan ckanext-dc_log_view ckanext-dc_serve ckanext-dc_view ckanext-dcor_depot ckanext-dcor_schemas ckanext-dcor_theme dcor_control dcor_shared +2.10.3 0.3.2 0.14.0 0.8.1 0.13.7 0.18.10 0.7.6 0.9.3 0.5.5 +2.10.1 0.3.2 0.14.0 0.8.1 0.13.7 0.18.9 0.7.6 0.9.3 0.5.5 +2.10.1 0.3.2 0.13.11 0.8.0 0.13.6 0.18.9 0.7.6 0.9.3 0.5.4 +2.10.1 0.3.1 0.13.2 0.7.1 0.13.4 0.18.7 0.7.5 0.9.3 0.5.2 +2.10.1 0.3.1 0.13.0 0.7.1 0.13.3 0.18.6 0.7.5 0.9.3 0.5.2 +2.10.1 0.3.1 0.12.2 0.7.1 0.13.0 0.18.6 0.7.4 0.9.3 0.4.4 +2.10.1 0.3.1 0.12.2 0.7.1 0.12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cor_control/update.py @@ -42,7 +42,6 @@ def get_max_compatible_version(name, ckan_version=None): # if current version is lower (compatibility mode), return the # latest package version listed in `compatible_versions.txt` for vdict in compatible_versions: - print(vdict) if vdict["ckan"] == ckan_cur: max_version = vdict[name] break diff --git a/scripts/list_extension_versions.py b/scripts/list_extension_versions.py index 3a3f4f9..bd94a73 100644 --- a/scripts/list_extension_versions.py +++ b/scripts/list_extension_versions.py @@ -18,6 +18,7 @@ from ckanext import dcor_depot from ckanext import dcor_schemas from ckanext import dcor_theme +import dcor_control import dcor_shared @@ -29,6 +30,7 @@ "ckanext.dcor_depot": dcor_depot.__version__, "ckanext.dcor_schemas": dcor_schemas.__version__, "ckanext.dcor_theme": dcor_theme.__version__, + "dcor_control": dcor_control.__version__, "dcor_shared": dcor_shared.__version__, } diff --git a/tests/test_update.py b/tests/test_update.py index ab3ed64..4824209 100644 --- a/tests/test_update.py +++ b/tests/test_update.py @@ -34,7 +34,7 @@ def test_get_package_version(name, version): def test_parse_compatible_versions(): data = update.parse_compatible_versions() # make sure this line exists - # 2.10.1 0.3.2 0.14.0 0.8.1 0.13.7 0.18.9 0.7.6 0.5.5 + # 2.10.1 0.3.2 0.14.0 0.8.1 0.13.7 0.18.9 0.7.6 0.9.3 0.5.5 dict_exp = { 'ckan': '2.10.1', 'ckanext-dc_log_view': '0.3.2', @@ -43,7 +43,9 @@ def test_parse_compatible_versions(): 'ckanext-dcor_depot': '0.13.7', 'ckanext-dcor_schemas': '0.18.9', 'ckanext-dcor_theme': '0.7.6', - 'dcor_shared': '0.5.5'} + 'dcor_control': '0.9.3', + 'dcor_shared': '0.5.5', + } assert dict_exp in data