Overview
Request 921366 accepted
- 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``.
Request History
sebix created request
- 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``.
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
dimstar_suse set openSUSE:Factory:Staging:E as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:E"
dimstar_suse accepted review
Picked "openSUSE:Factory:Staging:E"
dimstar accepted review
dimstar_suse accepted review
Staging Project openSUSE:Factory:Staging:E got accepted.
dimstar_suse approved review
Staging Project openSUSE:Factory:Staging:E got accepted.
dimstar_suse accepted request
Staging Project openSUSE:Factory:Staging:E got accepted.