24 Commits

Author SHA256 Message Date
Dominique Leuenberger
05669d8c57 Accepting request 1095550 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/1095550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=21
2023-06-27 21:17:34 +00:00
Martin Pluskal
d0d2ee4223 Accepting request 1095364 from devel:languages:python:mailman:backports
- Update to version 2.3.0
  New Features:
  * .MapBox: add referer param to allow restricted api_keys.
  * Contributed by Dennis Stritzke. (#501)
  * .MapBox: add language param to geocode.
  * Contributed by Dennis Stritzke. (#503)
  * .Distance: add floor division + right multiplication
  * operators. (#485)
  * .Distance: make hashable. (#485)
  * .Nominatim: add namedetails param to reverse. (#525)
  * .Pelias: add countries param to geocode. (#504)
  * .GoogleV3: pass the original error_message to exceptions.
  * (#398)
  Packaging Changes
  * Drop support for Python 3.5 and 3.6.
  * Add support for Python 3.10 and 3.11.
  * Relax geographiclib upper version constraint to allow 2.x.
  * Contributed by David Hotham. (#520)
  * Raise geographiclib lower version constraint to 1.52 to fix possible
  * ValueError in .distance.geodesic due to
  * the floating point inaccuracy. (#466)
  * Move static metadata from setup.py to setup.cfg.
  Deprecations
  * .Pelias: deprecate country_bias param, use countries
  * instead. (#504)
  * .IGNFrance: authentication is no longer accepted by the API,
  * so passing any credentials to the geocoder class has been deprecated.
  * These arguments should be removed. (#496)
  Bugfixes
  * Fix possible TypeError thrown by .RequestsAdapter
  * on destruction. Contributed by Philip Kahn. (#488)
  * .ArcGIS: get address from LongLabel if Address is empty.
  * All geocoders: fix unexpected scientific point format for coordinates
  * near zero in reverse geocoding. (#511)
  * .BANFrance: fix broken reverse (it looks like their API has
  * changed in a backwards-incompatible way: the lng query arg has
  * been renamed to lon).
  * .IGNFrance: fix broken geocoder due to removal of
  * authentication in their API. (#496)
  Docs Improvements
  * Add url to the GIS Stack Exchange geopy tag.
  * Contributed by Taras Dubrava. (#516).
  * .GeocodeEarth: add docs and pricing urls.
  * Contributed by Julian Simioni. (#505).
- Use sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1095364
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geopy?expand=0&rev=10
2023-06-27 08:11:07 +00:00
Dominique Leuenberger
83d9d531d7 Accepting request 1033505 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/1033505
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=20
2022-11-04 16:37:51 +00:00
John Vandenberg
34f0b94020 Accepting request 1033488 from home:pgajdos:python
- python-six not required

OBS-URL: https://build.opensuse.org/request/show/1033488
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geopy?expand=0&rev=9
2022-11-04 11:21:37 +00:00
Dominique Leuenberger
3def286073 Accepting request 963739 from Application:Geo
- 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 (forwarded request 963687 from pgajdos)

OBS-URL: https://build.opensuse.org/request/show/963739
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=19
2022-03-21 19:13:19 +00:00
7ae2b2b041 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
2022-03-21 15:37:05 +00:00
Dominique Leuenberger
36746eecc1 Accepting request 895289 from Application:Geo
- %check: use %pyunittest rpm macro (forwarded request 895274 from pgajdos)

OBS-URL: https://build.opensuse.org/request/show/895289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=18
2021-06-01 08:35:19 +00:00
0ca29f1958 Accepting request 895274 from home:pgajdos:python
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/895274
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geopy?expand=0&rev=7
2021-05-25 07:19:35 +00:00
Dominique Leuenberger
3cc0494ab2 Accepting request 859153 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/859153
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=17
2020-12-29 14:53:07 +00:00
Martin Pluskal
5afd03fbbb Accepting request 859149 from home:bruno_friedmann:branches:Application:Geo
- Update to 2.1.0 version
  + New Features
    - Add support for leading plus sign in the .Point constructor.
    - Contributed by Azimjon Pulatov. (#448)
  + Breaking Changes
    - .GoogleV3: change missing api_key warning to an error. (#450)
  + Bugfixes
    - Fixed an undocumented breaking change in geopy 2.0.0, where
    the .Distance class has become abstract, thus it could
    no longer be used for unit conversions. (#435)
    - .Photon incorrectly treated 0.0 coordinate as an empty response.
    Contributed by Mateusz Konieczny. (#439)
    - .Nominatim: fix TypeError on empty reverse result. (#455)
  + Docs Improvements
    - Add Python 3.9 to the list of supported versions.
    - .Bing: change postalcode to postalCode.
      Contributed by zhongjun-ma. (#424)
    - .Nominatim: better describe what is returned in addressdetails.
      Contributed by Mateusz Konieczny. (#429)
    - .Nominatim: better describe viewbox param behavior.
     Contributed by Hannes. (#454)
    - .Yandex: remove attention block about requiring an API key.
- Update to 2.0.0 version
  geopy 2.0 is a major release with lots of cleanup and inner refactorings.
  The public interface of the library is mostly the same, and the set
  of supported geocoders didn't change.
  If you have checked your code on the latest 1.x release with enabled
  warnings (i.e. with -Wd key of the python command) and fixed
  all of them, then it should be safe to upgrade.
  see all changes at https://github.com/geopy/geopy/releases/tag/2.0.0
- Changes from previous version
  1.23.0 https://github.com/geopy/geopy/releases/tag/1.23.0
  1.22.0 https://github.com/geopy/geopy/releases/tag/1.22.0
  1.21.0 https://github.com/geopy/geopy/releases/tag/1.21.0
  1.20.0 https://github.com/geopy/geopy/releases/tag/1.20.0
  1.19.0 https://github.com/geopy/geopy/releases/tag/1.19.0
- Packaging changes dropped support for Python 2.7 and 3.4. as version
  2.x has remove it.

OBS-URL: https://build.opensuse.org/request/show/859149
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geopy?expand=0&rev=6
2020-12-29 08:56:44 +00:00
Dominique Leuenberger
a6b1ff4692 Accepting request 841650 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/841650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=16
2020-10-14 13:39:14 +00:00
John Vandenberg
2ff10efcc3 Accepting request 841598 from home:dimstar:Factory
- Only buildRequire python2-* when also using python, aka python2.

OBS-URL: https://build.opensuse.org/request/show/841598
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geopy?expand=0&rev=5
2020-10-14 02:52:12 +00:00
Dominique Leuenberger
02e7b97b44 Accepting request 727966 from Application:Geo
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/727966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=15
2019-09-04 07:15:21 +00:00
John Vandenberg
3180774894 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geopy?expand=0&rev=4 2019-08-27 09:41:03 +00:00
John Vandenberg
30bf517f6e Accepting request 726368 from home:jengelh:branches:Application:Geo
- Ensure neutrality of descriptions.

OBS-URL: https://build.opensuse.org/request/show/726368
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geopy?expand=0&rev=3
2019-08-27 09:40:28 +00:00
Dominique Leuenberger
46d092381c Accepting request 722259 from Application:Geo
Update to latest version, with python3 support

OBS-URL: https://build.opensuse.org/request/show/722259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=14
2019-08-13 11:20:47 +00:00
Dominique Leuenberger
48fb1be147 Accepting request 360910 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/360910
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=13
2016-03-02 13:21:26 +00:00
Stephan Kulow
2e2cdcfc1e Accepting request 305740 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/305740
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=12
2015-05-10 08:46:19 +00:00
Stephan Kulow
dda28e6d97 Accepting request 210949 from devel:languages:python
update (forwarded request 210948 from posophe)

OBS-URL: https://build.opensuse.org/request/show/210949
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=10
2013-12-17 09:03:22 +00:00
Tomáš Chvátal
a9780a6d1c Accepting request 204565 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/204565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=9
2013-10-25 09:17:11 +00:00
Stephan Kulow
4cb4defe16 Accepting request 109115 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/109115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=5
2012-03-20 10:33:04 +00:00
Sascha Peilicke
2ba51bd879 Accepting request 84083 from devel:languages:python
- Spec file cleanup:
  * Removed %clean section (not needed anymore)
  * Removed CFLAGS (not a C extension)

OBS-URL: https://build.opensuse.org/request/show/84083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=3
2011-09-26 08:15:11 +00:00
36e66be886 Autobuild autoformatter for 71063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=2
2011-05-30 14:41:47 +00:00
0da7259163 Accepting request 71063 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/71063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geopy?expand=0&rev=1
2011-05-30 14:41:38 +00:00