From 7ae2b2b04199cf03789a897b3f7d453fcc4124f2b80fd469f0680e3693beb70c Mon Sep 17 00:00:00 2001 From: Bruno Friedmann Date: Mon, 21 Mar 2022 15:37:05 +0000 Subject: [PATCH] Accepting request 963687 from home:pgajdos:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - version update to 2.2.0 New Features ~~~~~~~~~~~ - :class:`.OpenCage`: added ``annotations`` param. Contributed by mtmail. (:issue:`464`) - :class:`.Photon`: added ``bbox`` param. Contributed by Holger Bruch. (:issue:`472`) - New geocoder: :class:`.Geocodio`. Contributed by Jon Duckworth. (:issue:`468`) - New geocoder: :class:`.HereV7`. Contributed by Pratheek Rebala. (:issue:`433`) - New geocoder: :class:`.What3WordsV3`. Contributed by Saïd Tezel. (:issue:`444`) - New error class: :class:`.exc.GeocoderRateLimited`. This error extends :class:`.exc.GeocoderQuotaExceeded` and is now raised instead of it for HTTP 422 error code. (:issue:`479`) - :class:`.AdapterHTTPError`: added ``headers`` attribute. (:issue:`479`) Breaking Changes ~~~~~~~~~~~~~~~ - Removed GeocodeFarm class: the service is very unstable. (:issue:`445`) Deprecations ~~~~~~~~~~~ - :class:`.GoogleV3` has been moved from ``geopy.geocoders.googlev3`` module to ``geopy.geocoders.google``. The old module is still present for backwards compatibility, but it will be removed in geopy 3. (:issue:`483`) Bugfixes ~~~~~~~ - :class:`.OpenCage`: improved error handling by using the default errors map (e.g. to raise :class:`.exc.GeocoderQuotaExceeded` instead of OBS-URL: https://build.opensuse.org/request/show/963687 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geopy?expand=0&rev=8 --- geopy-2.1.0.tar.gz | 3 --- geopy-2.2.0.tar.gz | 3 +++ python-geopy.changes | 35 +++++++++++++++++++++++++++++++++++ python-geopy.spec | 5 ++--- 4 files changed, 40 insertions(+), 6 deletions(-) delete mode 100644 geopy-2.1.0.tar.gz create mode 100644 geopy-2.2.0.tar.gz diff --git a/geopy-2.1.0.tar.gz b/geopy-2.1.0.tar.gz deleted file mode 100644 index 48a67fb..0000000 --- a/geopy-2.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:92faed570440f35bfcd6e84e4eef661712981d5fc992cd233f70af27d8567f7d -size 280382 diff --git a/geopy-2.2.0.tar.gz b/geopy-2.2.0.tar.gz new file mode 100644 index 0000000..6119452 --- /dev/null +++ b/geopy-2.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a2374c4b2641d31dea59a619f7c58c9ce10ac76d31ed581c694db735adb71dc +size 289811 diff --git a/python-geopy.changes b/python-geopy.changes index 05bb210..1ffcc7a 100644 --- a/python-geopy.changes +++ b/python-geopy.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Mon Mar 21 12:46:16 UTC 2022 - pgajdos@suse.com + +- version update to 2.2.0 + New Features + ~~~~~~~~~~~ + - :class:`.OpenCage`: added ``annotations`` param. + Contributed by mtmail. (:issue:`464`) + - :class:`.Photon`: added ``bbox`` param. + Contributed by Holger Bruch. (:issue:`472`) + - New geocoder: :class:`.Geocodio`. + Contributed by Jon Duckworth. (:issue:`468`) + - New geocoder: :class:`.HereV7`. + Contributed by Pratheek Rebala. (:issue:`433`) + - New geocoder: :class:`.What3WordsV3`. + Contributed by Saïd Tezel. (:issue:`444`) + - New error class: :class:`.exc.GeocoderRateLimited`. This error extends + :class:`.exc.GeocoderQuotaExceeded` and is now raised instead of it + for HTTP 422 error code. (:issue:`479`) + - :class:`.AdapterHTTPError`: added ``headers`` attribute. (:issue:`479`) + Breaking Changes + ~~~~~~~~~~~~~~~ + - Removed GeocodeFarm class: the service is very unstable. (:issue:`445`) + + Deprecations + ~~~~~~~~~~~ + - :class:`.GoogleV3` has been moved from ``geopy.geocoders.googlev3`` module + to ``geopy.geocoders.google``. The old module is still present for + backwards compatibility, but it will be removed in geopy 3. (:issue:`483`) + Bugfixes + ~~~~~~~ + - :class:`.OpenCage`: improved error handling by using the default errors map + (e.g. to raise :class:`.exc.GeocoderQuotaExceeded` instead of + :class:`.exc.GeocoderQueryError` for HTTP 402 error). (:issue:`479`) + ------------------------------------------------------------------- Tue May 25 06:28:49 UTC 2021 - pgajdos@suse.com diff --git a/python-geopy.spec b/python-geopy.spec index 70a3050..fa5a54f 100644 --- a/python-geopy.spec +++ b/python-geopy.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-geopy -Version: 2.1.0 +Version: 2.2.0 Release: 0 License: MIT Summary: Python Geocoding Toolbox @@ -29,8 +29,8 @@ BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} # SECTION test requirements BuildRequires: %{python_module async_generator} +BuildRequires: %{python_module docutils} BuildRequires: %{python_module geographiclib >= 1.49} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest >= 3.10} BuildRequires: %{python_module pytz} BuildRequires: %{python_module six} @@ -66,7 +66,6 @@ rm \ test/geocoders/arcgis.py \ test/geocoders/banfrance.py \ test/geocoders/databc.py \ - test/geocoders/geocodefarm.py \ test/geocoders/geonames.py \ test/geocoders/googlev3.py \ test/geocoders/ignfrance.py \