12 Commits

Author SHA256 Message Date
Paolo Stivanin
7acdab65c0 Accepting request 854405 from home:bnavigator:branches:Application:Geo
- replace deprecated setup.py test call by pyunittest macro so that
  pip does not try to download stuff

OBS-URL: https://build.opensuse.org/request/show/854405
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geoip2?expand=0&rev=14
2020-12-10 07:43:01 +00:00
Martin Pluskal
08f62bbdfc Accepting request 846030 from home:polslinux:branches:Application:Geo
- update to version 4.1.0:
  * Added the is_residential_proxy attribute to geoip2.model.AnonymousIP
    and geoip2.record.Traits.
  * HTTPError now provides the decoded response content in the
    decoded_content attribute.

OBS-URL: https://build.opensuse.org/request/show/846030
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geoip2?expand=0&rev=12
2020-11-04 17:00:38 +00:00
Martin Pluskal
1d5879cf4a Accepting request 824548 from home:sebix:branches:Application:Geo
Depends on the maxminddb Update, which is already in Factory and soon in Tumbleweed.

- update to version 4.0.2:
  - Added ``py.typed`` file per PEP 561. Reported by Árni Már Jónsson.
- update to version 4.0.1:
  - Re-release to fix bad reStructuredText in ``README.md``. No substantive
    changes.
- update to version 4.0.0:
  - IMPORTANT: Python 2.7 and 3.5 support has been dropped. Python 3.6 or greater
    is required.
  - Asyncio support has been added for web service requests. To make async
    requests, use ``geoip.webservice.AsyncClient``.
  - ``geoip.webservice.Client`` now provides a ``close()`` method and associated
    context managers to be used in ``with`` statements.
  - Type hints have been added.
  - The attributes ``postal_code`` and ``postal_confidence`` have been removed
    from ``geoip2.record.Location``. These would previously always be ``None``.
  - ``user_id`` is no longer supported as a named argument for the constructor
    on ``geoip2.webservice.Client``. Use ``account_id`` or a positional
    parameter instead.
  - For both ``Client`` and ``AsyncClient`` requests, the default timeout is
    now 60 seconds.

OBS-URL: https://build.opensuse.org/request/show/824548
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geoip2?expand=0&rev=10
2020-08-10 06:09:18 +00:00
Martin Pluskal
303aa554f0 Accepting request 794640 from home:darix:branches:Application:Geo
- match buildrequires to requirements.txt

OBS-URL: https://build.opensuse.org/request/show/794640
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-geoip2?expand=0&rev=8
2020-04-17 06:08:29 +00:00
Dominique Leuenberger
0360f0e15b Accepting request 781417 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/781417
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geoip2?expand=0&rev=8
2020-03-08 21:22:14 +00:00
Dominique Leuenberger
7a970a904d Accepting request 683718 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/683718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geoip2?expand=0&rev=7
2019-03-12 08:46:19 +00:00
Dominique Leuenberger
0e4fa93738 Accepting request 659392 from devel:languages:python
- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geoip2?expand=0&rev=6
2018-12-26 23:26:08 +00:00
Dominique Leuenberger
349c0b318f Accepting request 617163 from devel:languages:python
- update to version 2.9.0:
 * You may now pass in the database via a file descriptor rather than a file
   name when creating a new ``geoip2.database.Reader`` object using ``MODE_FD``.
   This will read the database from the file descriptor into memory. Pull
   request by nkinkade. GitHub #53.

OBS-URL: https://build.opensuse.org/request/show/617163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geoip2?expand=0&rev=5
2018-06-29 20:27:47 +00:00
Dominique Leuenberger
85eb152e78 Accepting request 603090 from devel:languages:python
- Use license macro for license

- update to version 2.8.0:
 * Renamed user ID to account ID in the code and added support for the new
   ``ACCOUNT_ID_REQUIRED`` AND ``ACCOUNT_ID_UNKNOWN`` error codes.
- update to version 2.7.0:
 * The ``is_in_european_union`` attribute was added to
   ``geoip2.record.Country`` and ``geoip2.record.RepresentedCountry``. This
   attribute is ``True`` if the country is a member state of the European
   Union.

OBS-URL: https://build.opensuse.org/request/show/603090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geoip2?expand=0&rev=4
2018-05-08 11:36:36 +00:00
Dominique Leuenberger
200afd2c09 Accepting request 582255 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/582255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geoip2?expand=0&rev=3
2018-03-04 11:52:10 +00:00
Dominique Leuenberger
e58a088519 Accepting request 538853 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/538853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geoip2?expand=0&rev=2
2017-11-04 18:30:28 +00:00
Dominique Leuenberger
10b9798da7 Accepting request 504412 from devel:languages:python
Requires deletion of python3-geoip in Request#504411

OBS-URL: https://build.opensuse.org/request/show/504412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geoip2?expand=0&rev=1
2017-07-04 07:09:14 +00:00