Commit Graph

13 Commits

Author SHA256 Message Date
Dominique Leuenberger
dc46dc0ebd Accepting request 965579 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/965579
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=13
2022-04-02 16:20:13 +00:00
Dominique Leuenberger
7fe5c3e5f9 Accepting request 921366 from devel:languages:python
- update to version 2.2.0:
 - The return type for ``maxminddb.open_database()`` has been simplified
   to be just the ``Reader`` class as opposed to a union of that with
   the extension class. This is done by casting the extension to
   ``Reader``. The extension class has the same public API as the
   pure Python implementation. This simplifies type checking for users of
   this library. The ``Reader`` class is exposed as ``maxminddb.Reader``.
   Pull request by wouter bolsterlee. GitHub #88.
 - ``maxminddb.__all__`` is now set to define a public API. Pull request
   by wouter bolsterlee. GitHub #88.
 - Fix minor regression in ``repr`` output of ``maxminddb.reader.Metadata``
   in 2.1.0.
- update to version 2.1.0:
 - The C extension now correctly supports objects that implement the
   ``os.PathLike`` interface.
 - When opening a database fails due to an access issue, the correct
   ``OSError`` subclass will now be thrown.
 - The ``Metadata`` class object is now available from the C extension
   module as ``maxminddb.extension.Metadata`` rather than
   ``maxminddb.extension.extension``.
 - Type stubs have been added for ``maxminddb.extension``.

OBS-URL: https://build.opensuse.org/request/show/921366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=12
2021-09-28 17:16:23 +00:00
Dominique Leuenberger
fd6bbda417 Accepting request 897729 from devel:languages:python
- disable python 2, fixes Leap builds. Python 2 is no longer supported.
  fixes boo#1186841

OBS-URL: https://build.opensuse.org/request/show/897729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=11
2021-06-11 20:30:08 +00:00
Dominique Leuenberger
696f553590 Accepting request 846966 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/846966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=10
2020-11-12 21:36:47 +00:00
Dominique Leuenberger
0a7b5dae71 Accepting request 827063 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/827063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=9
2020-08-25 10:37:02 +00:00
Dominique Leuenberger
19270e7b9b Accepting request 823983 from devel:languages:python
- update to version 2.0.2:
  - Added ``py.typed`` file per PEP 561. Reported by Árni Már Jónsson.
- update to version 2.0.1:
 - Fix minimum required python version in ``setup.py``. Pull request by
   Boros Gábor. GitHub #69 & #70.
- update to version 2.0.0:
 - IMPORTANT: Python 3.6 or greater is required. If you are using an older
   version, please use a 1.x.x release.
 - Type hints have been added.

OBS-URL: https://build.opensuse.org/request/show/823983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=8
2020-08-04 18:17:28 +00:00
Yuchen Lin
cfd4f89476 Accepting request 805662 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/805662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=7
2020-05-28 07:06:04 +00:00
Dominique Leuenberger
d8f96e1817 Accepting request 784814 from devel:languages:python
Staging:I py2

OBS-URL: https://build.opensuse.org/request/show/784814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=6
2020-03-26 23:23:38 +00:00
Dominique Leuenberger
34c78a0086 Accepting request 761128 from devel:languages:python
- update to version 1.5.2:
  - Minor performance improvements in the pure Python reader.

OBS-URL: https://build.opensuse.org/request/show/761128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=5
2020-01-16 17:13:12 +00:00
Dominique Leuenberger
dc103d868b Accepting request 738122 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/738122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=4
2019-11-04 16:05:19 +00:00
Dominique Leuenberger
8f82d7cb01 Accepting request 632157 from devel:languages:python
- Update to 1.4.1:
  * Fixes for python 3.7

OBS-URL: https://build.opensuse.org/request/show/632157
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=3
2018-08-31 08:46:35 +00:00
Dominique Leuenberger
dcc3d3b5ac Accepting request 617160 from devel:languages:python
- update to version 1.4.0:
 * IMPORTANT: Previously, the pure Python reader would allow
   `ipaddress.IPv4Address` and `ipaddress.IPv6Address` objects when calling
   `.get()`. This would fail with the C extension. The fact that these objects
   worked at all was an implementation detail and has varied with different
   releases. This release makes the pure Python implementation consistent
   with the extension. A `TypeError` will now be thrown if you attempt to
   use these types with either the pure Python implementation or the
   extension. The IP address passed to `.get()` should be a string type.
 * Fix issue where incorrect size was used when unpacking some types with the
   pure Python reader. Reported by Lee Symes. GitHub #30.
 * You may now pass in the database via a file descriptor rather than a file
   name when creating a new ``maxminddb.Reader`` object using ``MODE_FD``.
   This will read the database from the file descriptor into memory. Pull
   request by nkinkade. GitHub #33.

OBS-URL: https://build.opensuse.org/request/show/617160
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=2
2018-06-29 20:23:14 +00:00
Dominique Leuenberger
b45b308b52 Accepting request 501315 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/501315
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=1
2017-06-20 07:39:02 +00:00