Skip to content

Commit

Permalink
Merge pull request #86 from maxmind/greg/2.1.0
Browse files Browse the repository at this point in the history
2.1.0 release
  • Loading branch information
horgh authored Sep 20, 2021
2 parents c631155 + 9d051cc commit ee8485a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
8 changes: 7 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
History
-------

2.1.0
2.1.1
++++++++++++++++++

* Fix minor regression in ``repr`` output of ``maxminddb.reader.Metadata``
in 2.1.0.

2.1.0 (2021-09-18)
++++++++++++++++++

* The C extension now correctly supports objects that implement the
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include HISTORY.rst README.rst LICENSE
include HISTORY.rst README.rst LICENSE maxminddb/py.typed maxminddb/extension.pyi
recursive-include tests/ *.mmdb *.py *.raw
graft docs/html
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

# General information about the project.
project = "maxminddb"
copyright = "2013-2020, MaxMind, Inc."
copyright = "2013-2021, MaxMind, Inc."

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ Indices and tables
* :ref:`modindex`
* :ref:`search`

:copyright: (c) 2013-2020 by MaxMind, Inc.
:copyright: (c) 2013-2021 by MaxMind, Inc.
:license: Apache License, Version 2.0

4 changes: 2 additions & 2 deletions maxminddb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def Reader(database): # pylint: disable=invalid-name


__title__ = "maxminddb"
__version__ = "2.0.3"
__version__ = "2.1.0"
__author__ = "Gregory Oschwald"
__license__ = "Apache License, Version 2.0"
__copyright__ = "Copyright 2013-2020 MaxMind, Inc."
__copyright__ = "Copyright 2013-2021 MaxMind, Inc."
2 changes: 1 addition & 1 deletion maxminddb/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,5 +331,5 @@ def search_tree_size(self) -> int:
return self.node_count * self.node_byte_size

def __repr__(self):
args = ", ".join(f"{k}={v}" for k, v in self.__dict__.items())
args = ", ".join(f"{k}={v!r}" for k, v in self.__dict__.items())
return f"{self.__module__}.{self.__class__.__name__}({args})"

0 comments on commit ee8485a

Please sign in to comment.