Hello community, here is the log from the commit of package python-pelican for openSUSE:Factory checked in at 2019-09-26 20:40:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pelican (Old) and /work/SRC/openSUSE:Factory/.python-pelican.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pelican" Thu Sep 26 20:40:30 2019 rev:7 rq:733081 version:4.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pelican/python-pelican.changes 2019-08-27 10:20:19.383943815 +0200 +++ /work/SRC/openSUSE:Factory/.python-pelican.new.2352/python-pelican.changes 2019-09-26 20:40:35.674645007 +0200 @@ -1,0 +2,7 @@ +Tue Sep 24 18:28:52 UTC 2019 - BenoƮt Monin <benoit.mo...@gmx.fr> + +- update to version 4.1.2: + * Fix pelican.settings.load_source to avoid caching issues + PR #2621 + +------------------------------------------------------------------- Old: ---- pelican-4.1.1.tar.gz New: ---- pelican-4.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pelican.spec ++++++ --- /var/tmp/diff_new_pack.W1jYj7/_old 2019-09-26 20:40:36.114643831 +0200 +++ /var/tmp/diff_new_pack.W1jYj7/_new 2019-09-26 20:40:36.122643810 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pelican -Version: 4.1.1 +Version: 4.1.2 Release: 0 Summary: A tool to generate a static blog from reStructuredText or Markdown input files License: AGPL-3.0-only ++++++ pelican-4.1.1.tar.gz -> pelican-4.1.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pelican-4.1.1/PKG-INFO new/pelican-4.1.2/PKG-INFO --- old/pelican-4.1.1/PKG-INFO 2019-08-23 19:06:52.000000000 +0200 +++ new/pelican-4.1.2/PKG-INFO 2019-09-23 20:21:15.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: pelican -Version: 4.1.1 +Version: 4.1.2 Summary: Static site generator supporting reStructuredText and Markdown source content. Home-page: https://getpelican.com/ Author: Alexis Metaireau @@ -75,6 +75,11 @@ Release history ############### + 4.1.2 - 2019-09-23 + ================== + + Fix pelican.settings.load_source to avoid caching issues - PR #2621 + 4.1.1 - 2019-08-23 ================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pelican-4.1.1/docs/changelog.rst new/pelican-4.1.2/docs/changelog.rst --- old/pelican-4.1.1/docs/changelog.rst 2019-08-23 19:06:51.000000000 +0200 +++ new/pelican-4.1.2/docs/changelog.rst 2019-09-23 20:21:14.000000000 +0200 @@ -1,6 +1,11 @@ Release history ############### +4.1.2 - 2019-09-23 +================== + +Fix pelican.settings.load_source to avoid caching issues - PR #2621 + 4.1.1 - 2019-08-23 ================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pelican-4.1.1/pelican/settings.py new/pelican-4.1.2/pelican/settings.py --- old/pelican-4.1.1/pelican/settings.py 2019-08-23 19:05:56.000000000 +0200 +++ new/pelican-4.1.2/pelican/settings.py 2019-09-23 20:20:18.000000000 +0200 @@ -14,12 +14,16 @@ from pelican.log import LimitFilter + try: - # SourceFileLoader is the recommended way in Python 3.3+ - from importlib.machinery import SourceFileLoader + # spec_from_file_location is the recommended way in Python 3.5+ + import importlib.util def load_source(name, path): - return SourceFileLoader(name, path).load_module() + spec = importlib.util.spec_from_file_location(name, path) + mod = importlib.util.module_from_spec(spec) + spec.loader.exec_module(mod) + return mod except ImportError: # but it does not exist in Python 2.7, so fall back to imp import imp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pelican-4.1.1/pelican.egg-info/PKG-INFO new/pelican-4.1.2/pelican.egg-info/PKG-INFO --- old/pelican-4.1.1/pelican.egg-info/PKG-INFO 2019-08-23 19:06:51.000000000 +0200 +++ new/pelican-4.1.2/pelican.egg-info/PKG-INFO 2019-09-23 20:21:14.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: pelican -Version: 4.1.1 +Version: 4.1.2 Summary: Static site generator supporting reStructuredText and Markdown source content. Home-page: https://getpelican.com/ Author: Alexis Metaireau @@ -75,6 +75,11 @@ Release history ############### + 4.1.2 - 2019-09-23 + ================== + + Fix pelican.settings.load_source to avoid caching issues - PR #2621 + 4.1.1 - 2019-08-23 ================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pelican-4.1.1/pyproject.toml new/pelican-4.1.2/pyproject.toml --- old/pelican-4.1.1/pyproject.toml 2019-08-23 19:06:51.000000000 +0200 +++ new/pelican-4.1.2/pyproject.toml 2019-09-23 20:21:14.000000000 +0200 @@ -1,6 +1,6 @@ [tool.poetry] name = "pelican" -version = "4.1.1" +version = "4.1.2" description = "Static site generator supporting Markdown and reStructuredText" authors = ["Justin Mayer <ent...@gmail.com>"] license = "AGPLv3" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pelican-4.1.1/setup.py new/pelican-4.1.2/setup.py --- old/pelican-4.1.1/setup.py 2019-08-23 19:06:51.000000000 +0200 +++ new/pelican-4.1.2/setup.py 2019-09-23 20:21:14.000000000 +0200 @@ -7,7 +7,7 @@ from setuptools import setup -version = "4.1.1" +version = "4.1.2" requires = ['feedgenerator >= 1.9', 'jinja2 >= 2.7', 'pygments', 'docutils', 'pytz >= 0a', 'blinker', 'unidecode', 'six >= 1.4',