Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-mailmanclient for openSUSE:Factory checked in at 2022-11-22 16:10:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mailmanclient (Old) and /work/SRC/openSUSE:Factory/.python-mailmanclient.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mailmanclient" Tue Nov 22 16:10:48 2022 rev:11 rq:1037268 version:3.3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mailmanclient/python-mailmanclient.changes 2022-08-23 14:30:22.475703892 +0200 +++ /work/SRC/openSUSE:Factory/.python-mailmanclient.new.1597/python-mailmanclient.changes 2022-11-22 16:10:56.746262203 +0100 @@ -1,0 +2,7 @@ +Mon Nov 21 10:38:25 UTC 2022 - Andreas Schneider <a...@cryptomilk.org> + +- Update to version 3.3.4 + * URL quote the query in find_user* methods. (Fixes #75) + * Add support for Python 3.10 and drops support for 3.6. + +------------------------------------------------------------------- Old: ---- mailmanclient-3.3.3.tar.gz New: ---- mailmanclient-3.3.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mailmanclient.spec ++++++ --- /var/tmp/diff_new_pack.F6eIkk/_old 2022-11-22 16:10:57.234264679 +0100 +++ /var/tmp/diff_new_pack.F6eIkk/_new 2022-11-22 16:10:57.238264699 +0100 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-mailmanclient -Version: 3.3.3 +Version: 3.3.4 Release: 0 Summary: Python bindings for the Mailman REST API Group: Productivity/Networking/Email/Mailinglists ++++++ mailmanclient-3.3.3.tar.gz -> mailmanclient-3.3.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/PKG-INFO new/mailmanclient-3.3.4/PKG-INFO --- old/mailmanclient-3.3.3/PKG-INFO 2021-09-03 04:51:45.953792600 +0200 +++ new/mailmanclient-3.3.4/PKG-INFO 2022-10-23 08:03:34.851505500 +0200 @@ -1,101 +1,11 @@ Metadata-Version: 2.1 Name: mailmanclient -Version: 3.3.3 +Version: 3.3.4 Summary: mailmanclient -- Python bindings for Mailman REST API Home-page: http://www.list.org/ Maintainer: Barry Warsaw Maintainer-email: ba...@list.org License: LGPLv3 -Description: .. - This file is part of mailmanclient. - - mailmanclient is free software: you can redistribute it and/or modify it - under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, version 3 of the License. - - mailmanclient is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public - License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with mailman.client. If not, see <http://www.gnu.org/licenses/>. - - - ============== - Mailman Client - ============== - - .. image:: https://gitlab.com/mailman/mailmanclient/badges/master/build.svg - :target: https://gitlab.com/mailman/mailmanclient/commits/master - - .. image:: https://readthedocs.org/projects/mailmanclient/badge - :target: https://mailmanclient.readthedocs.io - - .. image:: http://img.shields.io/pypi/v/mailmanclient.svg - :target: https://pypi.python.org/pypi/mailmanclient - - .. image:: http://img.shields.io/pypi/dm/mailmanclient.svg - :target: https://pypi.python.org/pypi/mailmanclient - - The ``mailmanclient`` library provides official Python bindings for the GNU - Mailman 3 REST API. - - - Requirements - ============ - - ``mailmanclient`` requires Python 3.6 or newer. - - - Documentation - ============= - - A `simple guide`_ to using the library is available within this package, in - the form of doctests. The manual is also available online at: - - https://mailmanclient.readthedocs.io/en/latest/ - - - Project details - =============== - - The project home page is: - - https://gitlab.com/mailman/mailmanclient - - You should report bugs at: - - https://gitlab.com/mailman/mailmanclient/issues - - You can download the latest version of the package either from the `Cheese Shop`_: - - http://pypi.python.org/pypi/mailmanclient - - or from the GitLab page above. Of course you can also just install it with - ``pip`` from the command line:: - - $ pip install mailmanclient - - You can grab the latest development copy of the code using Git, from the Gitlab - home page above. If you have Git installed, you can grab your own branch of - the code like this:: - - $ git clone https://gitlab.com/mailman/mailmanclient.git - - You may contact the developers via mailman-develop...@python.org - - - Acknowledgements - ================ - - Many thanks to Florian Fuchs for his contribution of an initial REST - client. Also thanks to all the contributors of Mailman Client who have - contributed code, raised issues or devoted their time in any capacity! - - .. _`simple guide`: https://mailmanclient.readthedocs.io/en/latest/src/mailmanclient/docs/using.html - .. _`Cheese Shop`: https://pypi.org/project/mailmanclient - Platform: UNKNOWN Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) Classifier: Operating System :: POSIX @@ -107,3 +17,96 @@ Provides-Extra: testing Provides-Extra: docs Provides-Extra: lint +License-File: COPYING.LESSER + +.. + This file is part of mailmanclient. + + mailmanclient is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, version 3 of the License. + + mailmanclient is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with mailman.client. If not, see <http://www.gnu.org/licenses/>. + + +============== +Mailman Client +============== + +.. image:: https://gitlab.com/mailman/mailmanclient/badges/master/build.svg + :target: https://gitlab.com/mailman/mailmanclient/commits/master + +.. image:: https://readthedocs.org/projects/mailmanclient/badge + :target: https://mailmanclient.readthedocs.io + +.. image:: http://img.shields.io/pypi/v/mailmanclient.svg + :target: https://pypi.python.org/pypi/mailmanclient + +.. image:: http://img.shields.io/pypi/dm/mailmanclient.svg + :target: https://pypi.python.org/pypi/mailmanclient + +The ``mailmanclient`` library provides official Python bindings for the GNU +Mailman 3 REST API. + + +Requirements +============ + +``mailmanclient`` requires Python 3.7 or newer. + + +Documentation +============= + +A `simple guide`_ to using the library is available within this package, in +the form of doctests. The manual is also available online at: + + https://mailmanclient.readthedocs.io/en/latest/ + + +Project details +=============== + +The project home page is: + + https://gitlab.com/mailman/mailmanclient + +You should report bugs at: + + https://gitlab.com/mailman/mailmanclient/issues + +You can download the latest version of the package either from the `Cheese Shop`_: + + http://pypi.python.org/pypi/mailmanclient + +or from the GitLab page above. Of course you can also just install it with +``pip`` from the command line:: + + $ pip install mailmanclient + +You can grab the latest development copy of the code using Git, from the Gitlab +home page above. If you have Git installed, you can grab your own branch of +the code like this:: + + $ git clone https://gitlab.com/mailman/mailmanclient.git + +You may contact the developers via mailman-develop...@python.org + + +Acknowledgements +================ + +Many thanks to Florian Fuchs for his contribution of an initial REST +client. Also thanks to all the contributors of Mailman Client who have +contributed code, raised issues or devoted their time in any capacity! + +.. _`simple guide`: https://mailmanclient.readthedocs.io/en/latest/src/mailmanclient/docs/using.html +.. _`Cheese Shop`: https://pypi.org/project/mailmanclient + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/README.rst new/mailmanclient-3.3.4/README.rst --- old/mailmanclient-3.3.3/README.rst 2021-09-03 04:34:38.000000000 +0200 +++ new/mailmanclient-3.3.4/README.rst 2022-10-23 08:00:29.000000000 +0200 @@ -37,7 +37,7 @@ Requirements ============ -``mailmanclient`` requires Python 3.6 or newer. +``mailmanclient`` requires Python 3.7 or newer. Documentation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/conf.py new/mailmanclient-3.3.4/conf.py --- old/mailmanclient-3.3.3/conf.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/conf.py 2022-10-23 08:00:29.000000000 +0200 @@ -14,6 +14,16 @@ import sys import os +import pathlib + + +# Configure intersphinx magic +intersphinx_mapping = { + 'mailmanclient': ( + 'https://docs.mailman3.org/projects/mailmanclient/en/latest/api', + None + ), +} # import the source code directory into Python Path for use with Auto Module APP_ROOT = os.path.dirname(__file__) @@ -28,11 +38,16 @@ # If your documentation needs a minimal Sphinx version, state it here. # needs_sphinx = '1.0' + # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', - 'sphinx_issues'] + 'sphinx_rtd_theme', + 'sphinx_issues', + 'sphinx.ext.intersphinx', + 'pydoctor.sphinx_ext.build_apidocs', + ] # Add any paths that contain templates here, relative to this directory. # templates_path = ['_templates'] @@ -61,6 +76,25 @@ # The full version, including alpha/beta/rc tags. release = _version + +base_dir = str(pathlib.Path(__file__).parent) + +pydoctor_args = [ + '--project-name=mailmanclient', + f'--project-version={version}', + '--project-url=https://gitlab.com/mailman/mailmanclient', + '--html-viewsource-base=https://gitlab.com/mailman/mailmanclient/tree/master', # noqa + '--html-output={outdir}/src/mailmanclient/docs/api/', + f'--project-base-dir={base_dir}', + '--docformat=restructuredtext', + '--process-types', + '--privacy=HIDDEN:mailmanclient.tests*', + '--privacy=HIDDEN:mailmanclient.docs*', + 'src/mailmanclient' + ] + +pydoctor_url_path = '/en/{rtd_version}/api/' + # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # language = None @@ -101,7 +135,7 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'sphinx_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/conftest.py new/mailmanclient-3.3.4/conftest.py --- old/mailmanclient-3.3.3/conftest.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/conftest.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2017-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2017-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/index.rst new/mailmanclient-3.3.4/index.rst --- old/mailmanclient-3.3.3/index.rst 2021-03-13 05:29:08.000000000 +0100 +++ new/mailmanclient-3.3.4/index.rst 2022-10-23 08:00:29.000000000 +0200 @@ -10,3 +10,4 @@ :maxdepth: 2 src/mailmanclient/docs/* + src/mailmanclient/docs/api/index diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/setup.py new/mailmanclient-3.3.4/setup.py --- old/mailmanclient-3.3.3/setup.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/setup.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # @@ -65,6 +65,7 @@ 'sphinx', 'sphinx-rtd-theme', 'sphinx-issues', + 'pydoctor', ], 'lint': [ 'flake8>3.0', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/setup_helpers.py new/mailmanclient-3.3.4/setup_helpers.py --- old/mailmanclient-3.3.3/setup_helpers.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/setup_helpers.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2009-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2009-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/__init__.py new/mailmanclient-3.3.4/src/mailmanclient/__init__.py --- old/mailmanclient-3.3.3/src/mailmanclient/__init__.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/__init__.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/_client.py new/mailmanclient-3.3.4/src/mailmanclient/_client.py --- old/mailmanclient-3.3.3/src/mailmanclient/_client.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/_client.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2017-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2017-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/asynclient.py new/mailmanclient-3.3.4/src/mailmanclient/asynclient.py --- old/mailmanclient-3.3.3/src/mailmanclient/asynclient.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/asynclient.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2021 by the Free Software Foundation, Inc. +# Copyright (C) 2021-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/asyncobjects/address.py new/mailmanclient-3.3.4/src/mailmanclient/asyncobjects/address.py --- old/mailmanclient-3.3.3/src/mailmanclient/asyncobjects/address.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/asyncobjects/address.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2021 by the Free Software Foundation, Inc. +# Copyright (C) 2021-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/asyncobjects/domain.py new/mailmanclient-3.3.4/src/mailmanclient/asyncobjects/domain.py --- old/mailmanclient-3.3.3/src/mailmanclient/asyncobjects/domain.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/asyncobjects/domain.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2021 by the Free Software Foundation, Inc. +# Copyright (C) 2021-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/asyncobjects/mailinglist.py new/mailmanclient-3.3.4/src/mailmanclient/asyncobjects/mailinglist.py --- old/mailmanclient-3.3.3/src/mailmanclient/asyncobjects/mailinglist.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/asyncobjects/mailinglist.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2021 by the Free Software Foundation, Inc. +# Copyright (C) 2021-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/asyncobjects/member.py new/mailmanclient-3.3.4/src/mailmanclient/asyncobjects/member.py --- old/mailmanclient-3.3.3/src/mailmanclient/asyncobjects/member.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/asyncobjects/member.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2021 by the Free Software Foundation, Inc. +# Copyright (C) 2021-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/asyncobjects/preferences.py new/mailmanclient-3.3.4/src/mailmanclient/asyncobjects/preferences.py --- old/mailmanclient-3.3.3/src/mailmanclient/asyncobjects/preferences.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/asyncobjects/preferences.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2021 by the Free Software Foundation, Inc. +# Copyright (C) 2021-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/asyncobjects/user.py new/mailmanclient-3.3.4/src/mailmanclient/asyncobjects/user.py --- old/mailmanclient-3.3.3/src/mailmanclient/asyncobjects/user.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/asyncobjects/user.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2021 by the Free Software Foundation, Inc. +# Copyright (C) 2021-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/client.py new/mailmanclient-3.3.4/src/mailmanclient/client.py --- old/mailmanclient-3.3.3/src/mailmanclient/client.py 2021-05-18 03:52:19.000000000 +0200 +++ new/mailmanclient-3.3.4/src/mailmanclient/client.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # @@ -18,6 +18,7 @@ import warnings from operator import itemgetter +from urllib.parse import quote from mailmanclient.constants import (MISSING) from mailmanclient.restobjects.address import Address @@ -248,7 +249,8 @@ return self.get_list(fqdn_listname).get_member(subscriber_address) def get_nonmember(self, fqdn_listname, nonmember_address): - """Get the Member object for a given MailingList and Non-member's Email. + """Get the Member object for a given MailingList and Non-member's + Email. :param str fqdn_listname: Fully qualified address for the MailingList. :param str subscriber_address: Email Address for the non-member. @@ -446,8 +448,8 @@ def find_lists(self, subscriber, role=None, count=50, page=1, mail_host=None): - """Given a subscriber and a role, return all the list they are subscribed - to with given role. + """Given a subscriber and a role, return all the list they are + subscribed to with given role. If no role is specified all the related mailing lists are returned without duplicates, even though there can potentially be multiple @@ -480,7 +482,7 @@ :param int count: Number of entries per-page (defaults to 50). :param int page: The page number to return (defaults to 1). """ - url = 'users/find?q={}'.format(query) + url = 'users/find?q={}'.format(quote(query)) response, content = self._connection.call(url) if 'entries' not in content: return [] @@ -495,5 +497,5 @@ :param int count: Number of entries per-page (defaults to 50). :param int page: The page number to return (defaults to 1). """ - url = 'users/find?q={}'.format(query) + url = 'users/find?q={}'.format(quote(query)) return Page(self._connection, url, User, count, page) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/conftest.py new/mailmanclient-3.3.4/src/mailmanclient/conftest.py --- old/mailmanclient-3.3.3/src/mailmanclient/conftest.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/conftest.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2017-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2017-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/constants.py new/mailmanclient-3.3.4/src/mailmanclient/constants.py --- old/mailmanclient-3.3.3/src/mailmanclient/constants.py 2021-09-03 04:00:21.000000000 +0200 +++ new/mailmanclient-3.3.4/src/mailmanclient/constants.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # @@ -15,7 +15,7 @@ # along with mailmanclient. If not, see <http://www.gnu.org/licenses/>. -__version__ = '3.3.3' +__version__ = '3.3.4' DEFAULT_PAGE_ITEM_COUNT = 50 MISSING = object() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/docs/NEWS.rst new/mailmanclient-3.3.4/src/mailmanclient/docs/NEWS.rst --- old/mailmanclient-3.3.3/src/mailmanclient/docs/NEWS.rst 2021-09-03 04:00:21.000000000 +0200 +++ new/mailmanclient-3.3.4/src/mailmanclient/docs/NEWS.rst 2022-10-23 08:00:29.000000000 +0200 @@ -3,6 +3,13 @@ ======================= +.. _news-3-3-4: + +3.3.4 (2022-10-23) +================== +- URL quote the query in find_user* methods. (Fixes :issue:`75`) +- Add support for Python 3.10 and drops support for 3.6. + .. _news-3.3.3: 3.3.3 (2021-09-02) @@ -20,6 +27,7 @@ a Member. (Closes :issue:`78`) - Add a new ``Client.find_users`` API which allows searching for the users. (Closes :issue:`71`) +- Add bounce parameters in Member resource. .. _news-3.3.2: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/docs/api/index.rst new/mailmanclient-3.3.4/src/mailmanclient/docs/api/index.rst --- old/mailmanclient-3.3.3/src/mailmanclient/docs/api/index.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/docs/api/index.rst 2022-10-23 08:00:29.000000000 +0200 @@ -0,0 +1,8 @@ +API Reference +============= + +This file will be overwritten by the pydoctor build triggered at the end +of the Sphinx build. + +It's a hack to be able to reference the API index page from inside Sphinx +and have it as part of the TOC. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/docs/apiref.rst new/mailmanclient-3.3.4/src/mailmanclient/docs/apiref.rst --- old/mailmanclient-3.3.3/src/mailmanclient/docs/apiref.rst 2021-03-13 05:29:08.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/docs/apiref.rst 1970-01-01 01:00:00.000000000 +0100 @@ -1,69 +0,0 @@ -============= -API Reference -============= - -.. autoclass:: mailmanclient.Client - :members: - :undoc-members: - :private-members: - :inherited-members: - -.. autoclass:: mailmanclient.Domain - :members: - :undoc-members: - -.. autoclass:: mailmanclient.MailingList - :members: - :undoc-members: - -.. autoclass:: mailmanclient.ListArchivers - :members: - :undoc-members: - -.. autoclass:: mailmanclient.Bans - :members: - :undoc-members: - -.. autoclass:: mailmanclient.BannedAddress - :members: - :undoc-members: - -.. autoclass:: mailmanclient.HeaderMatches - :members: - :undoc-members: - -.. autoclass:: mailmanclient.HeaderMatch - :members: - :undoc-members: - -.. autoclass:: mailmanclient.Member - :members: - :undoc-members: - -.. autoclass:: mailmanclient.User - :members: - :undoc-members: - -.. autoclass:: mailmanclient.Addresses - :members: - :undoc-members: - -.. autoclass:: mailmanclient.Address - :members: - :undoc-members: - -.. autoclass:: mailmanclient.HeldMessage - :members: - :undoc-members: - -.. autoclass:: mailmanclient.Preferences - :members: - :undoc-members: - -.. autoclass:: mailmanclient.Settings - :members: - :undoc-members: - -.. autoclass:: mailmanclient.Queue - :members: - :undoc-members: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/docs/conftest.py new/mailmanclient-3.3.4/src/mailmanclient/docs/conftest.py --- old/mailmanclient-3.3.3/src/mailmanclient/docs/conftest.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/docs/conftest.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2017-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2017-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/docs/using.rst new/mailmanclient-3.3.4/src/mailmanclient/docs/using.rst --- old/mailmanclient-3.3.3/src/mailmanclient/docs/using.rst 2021-05-18 03:52:19.000000000 +0200 +++ new/mailmanclient-3.3.4/src/mailmanclient/docs/using.rst 2022-10-23 08:00:29.000000000 +0200 @@ -1314,6 +1314,7 @@ dmarc language.ar language.ast + language.bg language.ca language.cs language.da diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restbase/async_base.py new/mailmanclient-3.3.4/src/mailmanclient/restbase/async_base.py --- old/mailmanclient-3.3.3/src/mailmanclient/restbase/async_base.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restbase/async_base.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2021 by the Free Software Foundation, Inc. +# Copyright (C) 2021-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restbase/async_connection.py new/mailmanclient-3.3.4/src/mailmanclient/restbase/async_connection.py --- old/mailmanclient-3.3.3/src/mailmanclient/restbase/async_connection.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restbase/async_connection.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2021 by the Free Software Foundation, Inc. +# Copyright (C) 2021-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restbase/base.py new/mailmanclient-3.3.4/src/mailmanclient/restbase/base.py --- old/mailmanclient-3.3.3/src/mailmanclient/restbase/base.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restbase/base.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restbase/connection.py new/mailmanclient-3.3.4/src/mailmanclient/restbase/connection.py --- old/mailmanclient-3.3.3/src/mailmanclient/restbase/connection.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restbase/connection.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restbase/page.py new/mailmanclient-3.3.4/src/mailmanclient/restbase/page.py --- old/mailmanclient-3.3.3/src/mailmanclient/restbase/page.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restbase/page.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/address.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/address.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/address.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/address.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/archivers.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/archivers.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/archivers.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/archivers.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/ban.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/ban.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/ban.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/ban.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/configuration.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/configuration.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/configuration.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/configuration.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/domain.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/domain.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/domain.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/domain.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/header_match.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/header_match.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/header_match.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/header_match.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/held_message.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/held_message.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/held_message.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/held_message.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/mailinglist.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/mailinglist.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/mailinglist.py 2021-05-18 03:52:19.000000000 +0200 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/mailinglist.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/member.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/member.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/member.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/member.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # @@ -26,7 +26,9 @@ _properties = ('address', 'delivery_mode', 'email', 'list_id', 'moderation_action', 'display_name', 'role', 'self_link', - 'subscription_mode', 'member_id') + 'subscription_mode', 'member_id', 'bounce_score', + 'last_bounce_received', 'last_warning_sent', + 'total_warnings_sent') _writable_properties = ('address', 'delivery_mode', 'moderation_action') def __repr__(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/preferences.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/preferences.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/preferences.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/preferences.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/queue.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/queue.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/queue.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/queue.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/settings.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/settings.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/settings.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/settings.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/styles.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/styles.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/styles.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/styles.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2018-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/templates.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/templates.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/templates.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/templates.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2017-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2017-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/user.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/user.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/user.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/user.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2010-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2010-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/restobjects/utils.py new/mailmanclient-3.3.4/src/mailmanclient/restobjects/utils.py --- old/mailmanclient-3.3.3/src/mailmanclient/restobjects/utils.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/restobjects/utils.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2021 by the Free Software Foundation, Inc. +# Copyright (C) 2021-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/testing/documentation.py new/mailmanclient-3.3.4/src/mailmanclient/testing/documentation.py --- old/mailmanclient-3.3.3/src/mailmanclient/testing/documentation.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/testing/documentation.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2007-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2007-2022 by the Free Software Foundation, Inc. # # This file is part of GNU Mailman. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/testing/vcr_helpers.py new/mailmanclient-3.3.4/src/mailmanclient/testing/vcr_helpers.py --- old/mailmanclient-3.3.3/src/mailmanclient/testing/vcr_helpers.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/testing/vcr_helpers.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2015-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2015-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/tests/data/using.rst.yaml new/mailmanclient-3.3.4/src/mailmanclient/tests/data/using.rst.yaml --- old/mailmanclient-3.3.3/src/mailmanclient/tests/data/using.rst.yaml 2021-03-13 05:29:08.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/tests/data/using.rst.yaml 2022-10-23 08:00:29.000000000 +0200 @@ -4579,7 +4579,7 @@ body: {string: '{"http_etag": "\"d0de6b8bc582d17d16b96c7cecd7316bce83604f\"", "sections": ["antispam", "archiver.mail_archive", "archiver.master", "archiver.mhonarc", "archiver.prototype", "bounces", "database", "devmode", "digests", "dmarc", - "language.ar", "language.ast", "language.ca", "language.cs", "language.da", + "language.ar", "language.ast", "language.bg", "language.ca", "language.cs", "language.da", "language.de", "language.el", "language.en", "language.es", "language.et", "language.eu", "language.fi", "language.fr", "language.gl", "language.he", "language.hr", "language.hu", "language.ia", "language.it", "language.ja", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/tests/test_async_client.py new/mailmanclient-3.3.4/src/mailmanclient/tests/test_async_client.py --- old/mailmanclient-3.3.3/src/mailmanclient/tests/test_async_client.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/tests/test_async_client.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,12 +1,17 @@ import httpx import pytest +import pytest_asyncio import concurrent.futures from mailmanclient.asynclient import AsyncClient from mailmanclient import Client -@pytest.fixture(autouse=True) +if pytest_asyncio.__version__ < '0.17': + pytest_asyncio.fixture = pytest.fixture + + +@pytest_asyncio.fixture(autouse=True) def setup(): """Setup for testing. Create test data.""" client = Client('http://localhost:9001/3.1', 'restadmin', 'restpass') @@ -43,7 +48,7 @@ domain.delete() -@pytest.fixture +@pytest_asyncio.fixture async def client(): async with httpx.AsyncClient() as conn: client = AsyncClient( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/tests/test_client.py new/mailmanclient-3.3.4/src/mailmanclient/tests/test_client.py --- old/mailmanclient-3.3.3/src/mailmanclient/tests/test_client.py 2021-05-18 03:52:19.000000000 +0200 +++ new/mailmanclient-3.3.4/src/mailmanclient/tests/test_client.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2019-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/tests/test_domain.py new/mailmanclient-3.3.4/src/mailmanclient/tests/test_domain.py --- old/mailmanclient-3.3.3/src/mailmanclient/tests/test_domain.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/tests/test_domain.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2015-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2015-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/tests/test_list.py new/mailmanclient-3.3.4/src/mailmanclient/tests/test_list.py --- old/mailmanclient-3.3.3/src/mailmanclient/tests/test_list.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/tests/test_list.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2017-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2017-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/tests/test_page.py new/mailmanclient-3.3.4/src/mailmanclient/tests/test_page.py --- old/mailmanclient-3.3.3/src/mailmanclient/tests/test_page.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/tests/test_page.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2016-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2016-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/tests/test_rewrite_url.py new/mailmanclient-3.3.4/src/mailmanclient/tests/test_rewrite_url.py --- old/mailmanclient-3.3.3/src/mailmanclient/tests/test_rewrite_url.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/tests/test_rewrite_url.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2019-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/tests/test_templates.py new/mailmanclient-3.3.4/src/mailmanclient/tests/test_templates.py --- old/mailmanclient-3.3.3/src/mailmanclient/tests/test_templates.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/tests/test_templates.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2017-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2017-2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient/tests/test_unicode.py new/mailmanclient-3.3.4/src/mailmanclient/tests/test_unicode.py --- old/mailmanclient-3.3.3/src/mailmanclient/tests/test_unicode.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/src/mailmanclient/tests/test_unicode.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,6 +1,6 @@ # coding: utf-8 -# Copyright (C) 2015-2021 by the Free Software Foundation, Inc. +# Copyright (C) 2015-2022 by the Free Software Foundation, Inc. # # This file is part of mailmanclient. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient.egg-info/PKG-INFO new/mailmanclient-3.3.4/src/mailmanclient.egg-info/PKG-INFO --- old/mailmanclient-3.3.3/src/mailmanclient.egg-info/PKG-INFO 2021-09-03 04:51:45.000000000 +0200 +++ new/mailmanclient-3.3.4/src/mailmanclient.egg-info/PKG-INFO 2022-10-23 08:03:34.000000000 +0200 @@ -1,101 +1,11 @@ Metadata-Version: 2.1 Name: mailmanclient -Version: 3.3.3 +Version: 3.3.4 Summary: mailmanclient -- Python bindings for Mailman REST API Home-page: http://www.list.org/ Maintainer: Barry Warsaw Maintainer-email: ba...@list.org License: LGPLv3 -Description: .. - This file is part of mailmanclient. - - mailmanclient is free software: you can redistribute it and/or modify it - under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, version 3 of the License. - - mailmanclient is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public - License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with mailman.client. If not, see <http://www.gnu.org/licenses/>. - - - ============== - Mailman Client - ============== - - .. image:: https://gitlab.com/mailman/mailmanclient/badges/master/build.svg - :target: https://gitlab.com/mailman/mailmanclient/commits/master - - .. image:: https://readthedocs.org/projects/mailmanclient/badge - :target: https://mailmanclient.readthedocs.io - - .. image:: http://img.shields.io/pypi/v/mailmanclient.svg - :target: https://pypi.python.org/pypi/mailmanclient - - .. image:: http://img.shields.io/pypi/dm/mailmanclient.svg - :target: https://pypi.python.org/pypi/mailmanclient - - The ``mailmanclient`` library provides official Python bindings for the GNU - Mailman 3 REST API. - - - Requirements - ============ - - ``mailmanclient`` requires Python 3.6 or newer. - - - Documentation - ============= - - A `simple guide`_ to using the library is available within this package, in - the form of doctests. The manual is also available online at: - - https://mailmanclient.readthedocs.io/en/latest/ - - - Project details - =============== - - The project home page is: - - https://gitlab.com/mailman/mailmanclient - - You should report bugs at: - - https://gitlab.com/mailman/mailmanclient/issues - - You can download the latest version of the package either from the `Cheese Shop`_: - - http://pypi.python.org/pypi/mailmanclient - - or from the GitLab page above. Of course you can also just install it with - ``pip`` from the command line:: - - $ pip install mailmanclient - - You can grab the latest development copy of the code using Git, from the Gitlab - home page above. If you have Git installed, you can grab your own branch of - the code like this:: - - $ git clone https://gitlab.com/mailman/mailmanclient.git - - You may contact the developers via mailman-develop...@python.org - - - Acknowledgements - ================ - - Many thanks to Florian Fuchs for his contribution of an initial REST - client. Also thanks to all the contributors of Mailman Client who have - contributed code, raised issues or devoted their time in any capacity! - - .. _`simple guide`: https://mailmanclient.readthedocs.io/en/latest/src/mailmanclient/docs/using.html - .. _`Cheese Shop`: https://pypi.org/project/mailmanclient - Platform: UNKNOWN Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) Classifier: Operating System :: POSIX @@ -107,3 +17,96 @@ Provides-Extra: testing Provides-Extra: docs Provides-Extra: lint +License-File: COPYING.LESSER + +.. + This file is part of mailmanclient. + + mailmanclient is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, version 3 of the License. + + mailmanclient is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with mailman.client. If not, see <http://www.gnu.org/licenses/>. + + +============== +Mailman Client +============== + +.. image:: https://gitlab.com/mailman/mailmanclient/badges/master/build.svg + :target: https://gitlab.com/mailman/mailmanclient/commits/master + +.. image:: https://readthedocs.org/projects/mailmanclient/badge + :target: https://mailmanclient.readthedocs.io + +.. image:: http://img.shields.io/pypi/v/mailmanclient.svg + :target: https://pypi.python.org/pypi/mailmanclient + +.. image:: http://img.shields.io/pypi/dm/mailmanclient.svg + :target: https://pypi.python.org/pypi/mailmanclient + +The ``mailmanclient`` library provides official Python bindings for the GNU +Mailman 3 REST API. + + +Requirements +============ + +``mailmanclient`` requires Python 3.7 or newer. + + +Documentation +============= + +A `simple guide`_ to using the library is available within this package, in +the form of doctests. The manual is also available online at: + + https://mailmanclient.readthedocs.io/en/latest/ + + +Project details +=============== + +The project home page is: + + https://gitlab.com/mailman/mailmanclient + +You should report bugs at: + + https://gitlab.com/mailman/mailmanclient/issues + +You can download the latest version of the package either from the `Cheese Shop`_: + + http://pypi.python.org/pypi/mailmanclient + +or from the GitLab page above. Of course you can also just install it with +``pip`` from the command line:: + + $ pip install mailmanclient + +You can grab the latest development copy of the code using Git, from the Gitlab +home page above. If you have Git installed, you can grab your own branch of +the code like this:: + + $ git clone https://gitlab.com/mailman/mailmanclient.git + +You may contact the developers via mailman-develop...@python.org + + +Acknowledgements +================ + +Many thanks to Florian Fuchs for his contribution of an initial REST +client. Also thanks to all the contributors of Mailman Client who have +contributed code, raised issues or devoted their time in any capacity! + +.. _`simple guide`: https://mailmanclient.readthedocs.io/en/latest/src/mailmanclient/docs/using.html +.. _`Cheese Shop`: https://pypi.org/project/mailmanclient + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient.egg-info/SOURCES.txt new/mailmanclient-3.3.4/src/mailmanclient.egg-info/SOURCES.txt --- old/mailmanclient-3.3.3/src/mailmanclient.egg-info/SOURCES.txt 2021-09-03 04:51:45.000000000 +0200 +++ new/mailmanclient-3.3.4/src/mailmanclient.egg-info/SOURCES.txt 2022-10-23 08:03:34.000000000 +0200 @@ -35,11 +35,12 @@ src/mailmanclient/asyncobjects/user.py src/mailmanclient/docs/NEWS.rst src/mailmanclient/docs/__init__.py -src/mailmanclient/docs/apiref.rst src/mailmanclient/docs/async.rst src/mailmanclient/docs/conftest.py src/mailmanclient/docs/testing.rst src/mailmanclient/docs/using.rst +src/mailmanclient/docs/api/__init__.py +src/mailmanclient/docs/api/index.rst src/mailmanclient/restbase/__init__.py src/mailmanclient/restbase/async_base.py src/mailmanclient/restbase/async_connection.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/src/mailmanclient.egg-info/requires.txt new/mailmanclient-3.3.4/src/mailmanclient.egg-info/requires.txt --- old/mailmanclient-3.3.3/src/mailmanclient.egg-info/requires.txt 2021-09-03 04:51:45.000000000 +0200 +++ new/mailmanclient-3.3.4/src/mailmanclient.egg-info/requires.txt 2022-10-23 08:03:34.000000000 +0200 @@ -7,6 +7,7 @@ sphinx sphinx-rtd-theme sphinx-issues +pydoctor [lint] flake8>3.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/template.py new/mailmanclient-3.3.4/template.py --- old/mailmanclient-3.3.3/template.py 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/template.py 2022-10-23 08:00:29.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2021 by the Free Software Foundation, Inc. +# Copyright (C) 2022 by the Free Software Foundation, Inc. # # This file is part of mailman.client. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mailmanclient-3.3.3/tox.ini new/mailmanclient-3.3.4/tox.ini --- old/mailmanclient-3.3.3/tox.ini 2021-03-14 20:55:38.000000000 +0100 +++ new/mailmanclient-3.3.4/tox.ini 2022-10-23 08:00:29.000000000 +0200 @@ -1,5 +1,5 @@ [tox] -envlist = py{35,36,37,38},lint +envlist = py{37,38,39,310},lint [testenv] usedevelop = True @@ -8,7 +8,7 @@ deps = pytest-asyncio httpx - git+https://gitlab.com/mailman/mailman@master + git+https://gitlab.com/mailman/mailman@master [testenv:dependency] userdevelop = True