Accepting request 963687 from home:pgajdos:python
- 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
This commit is contained in:
parent
0ca29f1958
commit
7ae2b2b041
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:92faed570440f35bfcd6e84e4eef661712981d5fc992cd233f70af27d8567f7d
|
||||
size 280382
|
3
geopy-2.2.0.tar.gz
Normal file
3
geopy-2.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9a2374c4b2641d31dea59a619f7c58c9ce10ac76d31ed581c694db735adb71dc
|
||||
size 289811
|
@ -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
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user