Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-acme for openSUSE:Factory checked in at 2023-11-06 21:14:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-acme (Old) and /work/SRC/openSUSE:Factory/.python-acme.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-acme" Mon Nov 6 21:14:51 2023 rev:64 rq:1123632 version:2.7.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes 2023-06-07 23:08:48.087823962 +0200 +++ /work/SRC/openSUSE:Factory/.python-acme.new.17445/python-acme.changes 2023-11-06 21:15:09.629212974 +0100 @@ -1,0 +2,10 @@ +Mon Oct 30 15:33:46 UTC 2023 - Markéta Machová <mmach...@suse.com> + +- Update to 2.7.3 + * Do not call deprecated datetime.utcnow() and datetime.utcfromtimestamp() + * Support for Python 3.7 was deprecated and will be removed in our next planned release. + * Fixed a bug that caused the ACME account to not be properly restored on + renewal causing problems in setups where the user had multiple accounts with + the same ACME server. + +------------------------------------------------------------------- Old: ---- acme-2.6.0.tar.gz New: ---- acme-2.7.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-acme.spec ++++++ --- /var/tmp/diff_new_pack.oAs8hJ/_old 2023-11-06 21:15:10.813256559 +0100 +++ /var/tmp/diff_new_pack.oAs8hJ/_new 2023-11-06 21:15:10.813256559 +0100 @@ -20,7 +20,7 @@ %define skip_python2 1 %define libname acme Name: python-%{libname} -Version: 2.6.0 +Version: 2.7.3 Release: 0 Summary: Python library for the ACME protocol License: Apache-2.0 ++++++ acme-2.6.0.tar.gz -> acme-2.7.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-2.6.0/PKG-INFO new/acme-2.7.3/PKG-INFO --- old/acme-2.6.0/PKG-INFO 2023-05-09 21:44:41.127784000 +0200 +++ new/acme-2.7.3/PKG-INFO 2023-10-24 22:42:34.431056700 +0200 @@ -1,8 +1,8 @@ Metadata-Version: 2.1 Name: acme -Version: 2.6.0 +Version: 2.7.3 Summary: ACME protocol implementation in Python -Home-page: https://github.com/letsencrypt/letsencrypt +Home-page: https://github.com/certbot/certbot Author: Certbot Project Author-email: certbot-...@eff.org License: Apache License 2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-2.6.0/acme/__init__.py new/acme-2.7.3/acme/__init__.py --- old/acme-2.6.0/acme/__init__.py 2023-05-09 21:44:36.000000000 +0200 +++ new/acme-2.7.3/acme/__init__.py 2023-10-24 22:42:04.000000000 +0200 @@ -6,6 +6,7 @@ """ import sys +import warnings # This code exists to keep backwards compatibility with people using acme.jose # before it became the standalone josepy package. @@ -19,3 +20,10 @@ # preserved (acme.jose.* is josepy.*) if mod == 'josepy' or mod.startswith('josepy.'): sys.modules['acme.' + mod.replace('josepy', 'jose', 1)] = sys.modules[mod] + +if sys.version_info[:2] == (3, 7): + warnings.warn( + "Python 3.7 support will be dropped in the next planned release of " + "acme. Please upgrade your Python version.", + PendingDeprecationWarning, + ) # pragma: no cover diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-2.6.0/acme/_internal/tests/fields_test.py new/acme-2.7.3/acme/_internal/tests/fields_test.py --- old/acme-2.6.0/acme/_internal/tests/fields_test.py 2023-05-09 21:44:36.000000000 +0200 +++ new/acme-2.7.3/acme/_internal/tests/fields_test.py 2023-10-24 22:42:04.000000000 +0200 @@ -34,7 +34,7 @@ """Tests for acme.fields.RFC3339Field.""" def setUp(self): - self.decoded = datetime.datetime(2015, 3, 27, tzinfo=pytz.utc) + self.decoded = datetime.datetime(2015, 3, 27, tzinfo=pytz.UTC) self.encoded = '2015-03-27T00:00:00Z' def test_default_encoder(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-2.6.0/acme/_internal/tests/test_util.py new/acme-2.7.3/acme/_internal/tests/test_util.py --- old/acme-2.6.0/acme/_internal/tests/test_util.py 2023-05-09 21:44:36.000000000 +0200 +++ new/acme-2.7.3/acme/_internal/tests/test_util.py 2023-10-24 22:42:04.000000000 +0200 @@ -4,20 +4,25 @@ """ import os +import sys from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import serialization import josepy as jose from josepy.util import ComparableECKey from OpenSSL import crypto -import pkg_resources + +if sys.version_info >= (3, 9): # pragma: no cover + import importlib.resources as importlib_resources +else: # pragma: no cover + import importlib_resources def load_vector(*names): """Load contents of a test vector.""" # luckily, resource_string opens file in binary mode - return pkg_resources.resource_string( - __name__, os.path.join('testdata', *names)) + vector_ref = importlib_resources.files(__package__).joinpath('testdata', *names) + return vector_ref.read_bytes() def _guess_loader(filename, loader_pem, loader_der): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-2.6.0/acme/fields.py new/acme-2.7.3/acme/fields.py --- old/acme-2.6.0/acme/fields.py 2023-05-09 21:44:36.000000000 +0200 +++ new/acme-2.7.3/acme/fields.py 2023-10-24 22:42:04.000000000 +0200 @@ -34,7 +34,7 @@ Handles decoding/encoding between RFC3339 strings and aware (not naive) `datetime.datetime` objects - (e.g. ``datetime.datetime.now(pytz.utc)``). + (e.g. ``datetime.datetime.now(pytz.UTC)``). """ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-2.6.0/acme.egg-info/PKG-INFO new/acme-2.7.3/acme.egg-info/PKG-INFO --- old/acme-2.6.0/acme.egg-info/PKG-INFO 2023-05-09 21:44:41.000000000 +0200 +++ new/acme-2.7.3/acme.egg-info/PKG-INFO 2023-10-24 22:42:34.000000000 +0200 @@ -1,8 +1,8 @@ Metadata-Version: 2.1 Name: acme -Version: 2.6.0 +Version: 2.7.3 Summary: ACME protocol implementation in Python -Home-page: https://github.com/letsencrypt/letsencrypt +Home-page: https://github.com/certbot/certbot Author: Certbot Project Author-email: certbot-...@eff.org License: Apache License 2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-2.6.0/acme.egg-info/requires.txt new/acme-2.7.3/acme.egg-info/requires.txt --- old/acme-2.6.0/acme.egg-info/requires.txt 2023-05-09 21:44:41.000000000 +0200 +++ new/acme-2.7.3/acme.egg-info/requires.txt 2023-10-24 22:42:34.000000000 +0200 @@ -11,6 +11,7 @@ sphinx_rtd_theme [test] +importlib_resources>=1.3.1 pytest pytest-xdist typing-extensions diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-2.6.0/docs/conf.py new/acme-2.7.3/docs/conf.py --- old/acme-2.6.0/docs/conf.py 2023-05-09 21:44:36.000000000 +0200 +++ new/acme-2.7.3/docs/conf.py 2023-10-24 22:42:04.000000000 +0200 @@ -37,6 +37,7 @@ 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.viewcode', + 'sphinx_rtd_theme', ] autodoc_member_order = 'bysource' @@ -122,14 +123,7 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -# https://docs.readthedocs.io/en/stable/faq.html#i-want-to-use-the-read-the-docs-theme-locally -# on_rtd is whether we are on readthedocs.org -on_rtd = os.environ.get('READTHEDOCS', None) == 'True' -if not on_rtd: # only import and set the theme if we're building docs locally - import sphinx_rtd_theme - html_theme = 'sphinx_rtd_theme' - html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] -# otherwise, readthedocs.org uses their theme by default, so no need to specify it +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/acme-2.6.0/docs/jws-help.txt new/acme-2.7.3/docs/jws-help.txt --- old/acme-2.6.0/docs/jws-help.txt 2023-05-09 21:44:36.000000000 +0200 +++ new/acme-2.7.3/docs/jws-help.txt 2023-10-24 22:42:04.000000000 +0200 @@ -3,6 +3,6 @@ positional arguments: {sign,verify} -optional arguments: +options: -h, --help show this help message and exit --compact diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-2.6.0/setup.py new/acme-2.7.3/setup.py --- old/acme-2.6.0/setup.py 2023-05-09 21:44:37.000000000 +0200 +++ new/acme-2.7.3/setup.py 2023-10-24 22:42:05.000000000 +0200 @@ -3,7 +3,7 @@ from setuptools import find_packages from setuptools import setup -version = '2.6.0' +version = '2.7.3' install_requires = [ 'cryptography>=3.2.1', @@ -22,6 +22,15 @@ ] test_extras = [ + # In theory we could scope importlib_resources to env marker 'python_version<"3.9"'. But this + # makes the pinning mechanism emit warnings when running `poetry lock` because in the corner + # case of an extra dependency with env marker coming from a setup.py file, it generate the + # invalid requirement 'importlib_resource>=1.3.1;python<=3.9;extra=="test"'. + # To fix the issue, we do not pass the env marker. This is fine because: + # - importlib_resources can be applied to any Python version, + # - this is a "test" extra dependency for limited audience, + # - it does not change anything at the end for the generated requirement files. + 'importlib_resources>=1.3.1', 'pytest', 'pytest-xdist', 'typing-extensions', @@ -31,7 +40,7 @@ name='acme', version=version, description='ACME protocol implementation in Python', - url='https://github.com/letsencrypt/letsencrypt', + url='https://github.com/certbot/certbot', author="Certbot Project", author_email='certbot-...@eff.org', license='Apache License 2.0',