From f15a34c83f0cf0bea23db5c57f2cd06a315d8b33 Mon Sep 17 00:00:00 2001 From: claeyswo Date: Tue, 12 Dec 2023 16:20:15 +0100 Subject: [PATCH 1/2] Fixes #204 --- crabpy_pyramid/renderers/crab.py | 2 +- requirements.txt | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crabpy_pyramid/renderers/crab.py b/crabpy_pyramid/renderers/crab.py index 31ee507..dbf0247 100644 --- a/crabpy_pyramid/renderers/crab.py +++ b/crabpy_pyramid/renderers/crab.py @@ -13,7 +13,7 @@ json_list_renderer = JSON() json_item_renderer = JSON() -nederlands = gettext.translation('iso3166', pycountry.LOCALES_DIR, languages=['nl']) +nederlands = gettext.translation('iso3166-1', pycountry.LOCALES_DIR, languages=['nl']) nederlands.install() diff --git a/requirements.txt b/requirements.txt index 6b57b73..419bd98 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ pyramid==2.0.0 crabpy==1.3.1 pycountry==18.12.8 ; python_version < '3.0' -pycountry==22.3.5 ; python_version >= '3.4' +pycountry==23.12.11 ; python_version >= '3.4' diff --git a/setup.py b/setup.py index 2204381..77e05e4 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ requires = [ 'pyramid', 'crabpy>=0.15.0', - 'pycountry>=18.12.8' + 'pycountry>=23.12.11' ] tests_requires = [ From 4545d5e6a9c569bd12aa651ad6ccd4dd58cd9be1 Mon Sep 17 00:00:00 2001 From: Wouter Claeys Date: Tue, 12 Dec 2023 16:47:34 +0100 Subject: [PATCH 2/2] Bump version --- CHANGES.rst | 5 +++++ setup.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 22158b4..395a9b2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,8 @@ +1.8.0 (12-12-2023) +------------------ + +- Support voor nieuwste pycountry versie (#204) + 1.7.0 (24-11-2023) ------------------ diff --git a/setup.py b/setup.py index 77e05e4..6401e28 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ testing_extras = tests_requires + [] setup(name='crabpy_pyramid', - version='1.7.0', + version='1.8.0', description='Bindings for the CRABpy webservices and the Pyramid framework.', long_description=README + '\n\n' + CHANGES, classifiers=[