Hello community,
here is the log from the commit of package python-certbot-nginx for
openSUSE:Factory checked in at 2019-09-13 14:59:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-certbot-nginx (Old)
and /work/SRC/openSUSE:Factory/.python-certbot-nginx.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-certbot-nginx"
Fri Sep 13 14:59:25 2019 rev:11 rq:730174 version:0.38.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-certbot-nginx/python-certbot-nginx.changes
2019-08-28 16:04:45.510770949 +0200
+++
/work/SRC/openSUSE:Factory/.python-certbot-nginx.new.7948/python-certbot-nginx.changes
2019-09-13 14:59:26.673280099 +0200
@@ -1,0 +2,6 @@
+Wed Sep 11 12:31:27 UTC 2019 - Marketa Calabkova <[email protected]>
+
+- update to version 0.38.0
+ * Disable session tickets for Nginx users when appropriate.
+
+-------------------------------------------------------------------
Old:
----
certbot-nginx-0.37.2.tar.gz
New:
----
certbot-nginx-0.38.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-certbot-nginx.spec ++++++
--- /var/tmp/diff_new_pack.T45RqV/_old 2019-09-13 14:59:27.501280134 +0200
+++ /var/tmp/diff_new_pack.T45RqV/_new 2019-09-13 14:59:27.529280135 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-certbot-nginx
-Version: 0.37.2
+Version: 0.38.0
Release: 0
Summary: Nginx plugin for Certbot
License: Apache-2.0
++++++ certbot-nginx-0.37.2.tar.gz -> certbot-nginx-0.38.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-nginx-0.37.2/PKG-INFO
new/certbot-nginx-0.38.0/PKG-INFO
--- old/certbot-nginx-0.37.2/PKG-INFO 2019-08-21 23:48:52.000000000 +0200
+++ new/certbot-nginx-0.38.0/PKG-INFO 2019-09-03 21:42:49.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: certbot-nginx
-Version: 0.37.2
+Version: 0.38.0
Summary: Nginx plugin for Certbot
Home-page: https://github.com/letsencrypt/letsencrypt
Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/certbot-nginx-0.37.2/certbot_nginx/tests/parser_test.py
new/certbot-nginx-0.38.0/certbot_nginx/tests/parser_test.py
--- old/certbot-nginx-0.37.2/certbot_nginx/tests/parser_test.py 2019-08-21
23:48:40.000000000 +0200
+++ new/certbot-nginx-0.38.0/certbot_nginx/tests/parser_test.py 2019-09-03
21:42:35.000000000 +0200
@@ -30,8 +30,16 @@
self.assertEqual(nparser.root, self.config_path)
def test_root_absolute(self):
- nparser = parser.NginxParser(os.path.relpath(self.config_path))
- self.assertEqual(nparser.root, self.config_path)
+ curr_dir = os.getcwd()
+ try:
+ # On Windows current directory may be on a different drive than
self.tempdir.
+ # However a relative path between two different drives is invalid.
So we move to
+ # self.tempdir to ensure that we stay on the same drive.
+ os.chdir(self.temp_dir)
+ nparser = parser.NginxParser(os.path.relpath(self.config_path))
+ self.assertEqual(nparser.root, self.config_path)
+ finally:
+ os.chdir(curr_dir)
def test_root_no_trailing_slash(self):
nparser = parser.NginxParser(self.config_path + os.path.sep)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-nginx-0.37.2/certbot_nginx/tests/util.py
new/certbot-nginx-0.38.0/certbot_nginx/tests/util.py
--- old/certbot-nginx-0.37.2/certbot_nginx/tests/util.py 2019-08-21
23:48:40.000000000 +0200
+++ new/certbot-nginx-0.38.0/certbot_nginx/tests/util.py 2019-09-03
21:42:35.000000000 +0200
@@ -3,7 +3,6 @@
import shutil
import tempfile
import unittest
-import warnings
import josepy as jose
import mock
@@ -11,6 +10,7 @@
import zope.component
from certbot import configuration
+from certbot import util
from certbot.compat import os
from certbot.plugins import common
from certbot.tests import util as test_util
@@ -34,20 +34,16 @@
"rsa512_key.pem"))
def tearDown(self):
- # On Windows we have various files which are not correctly closed at
the time of tearDown.
- # For know, we log them until a proper file close handling is written.
- # Useful for development only, so no warning when we are on a CI
process.
- def onerror_handler(_, path, excinfo):
- """On error handler"""
- if not os.environ.get('APPVEYOR'): # pragma: no cover
- message = ('Following error occurred when deleting path {0}'
- 'during tearDown process: {1}'.format(path,
str(excinfo)))
- warnings.warn(message)
-
- shutil.rmtree(self.temp_dir, onerror=onerror_handler)
- shutil.rmtree(self.config_dir, onerror=onerror_handler)
- shutil.rmtree(self.work_dir, onerror=onerror_handler)
- shutil.rmtree(self.logs_dir, onerror=onerror_handler)
+ # Cleanup opened resources after a test. This is usually done through
atexit handlers in
+ # Certbot, but during tests, atexit will not run registered functions
before tearDown is
+ # called and instead will run them right before the entire test
process exits.
+ # It is a problem on Windows, that does not accept to clean resources
before closing them.
+ util._release_locks() # pylint: disable=protected-access
+
+ shutil.rmtree(self.temp_dir)
+ shutil.rmtree(self.config_dir)
+ shutil.rmtree(self.work_dir)
+ shutil.rmtree(self.logs_dir)
def get_data_filename(filename):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-nginx-0.37.2/certbot_nginx.egg-info/PKG-INFO
new/certbot-nginx-0.38.0/certbot_nginx.egg-info/PKG-INFO
--- old/certbot-nginx-0.37.2/certbot_nginx.egg-info/PKG-INFO 2019-08-21
23:48:52.000000000 +0200
+++ new/certbot-nginx-0.38.0/certbot_nginx.egg-info/PKG-INFO 2019-09-03
21:42:49.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: certbot-nginx
-Version: 0.37.2
+Version: 0.38.0
Summary: Nginx plugin for Certbot
Home-page: https://github.com/letsencrypt/letsencrypt
Author: Certbot Project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/certbot-nginx-0.37.2/setup.py
new/certbot-nginx-0.38.0/setup.py
--- old/certbot-nginx-0.37.2/setup.py 2019-08-21 23:48:41.000000000 +0200
+++ new/certbot-nginx-0.38.0/setup.py 2019-09-03 21:42:36.000000000 +0200
@@ -4,7 +4,7 @@
import sys
-version = '0.37.2'
+version = '0.38.0'
# Remember to update local-oldest-requirements.txt when changing the minimum
# acme/certbot version.