Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-reportlab for
openSUSE:Factory checked in at 2023-10-05 20:03:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-reportlab (Old)
and /work/SRC/openSUSE:Factory/.python-reportlab.new.28202 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-reportlab"
Thu Oct 5 20:03:00 2023 rev:38 rq:1115632 version:4.0.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-reportlab/python-reportlab.changes
2023-09-25 20:00:06.299458580 +0200
+++
/work/SRC/openSUSE:Factory/.python-reportlab.new.28202/python-reportlab.changes
2023-10-05 20:03:27.563376897 +0200
@@ -1,0 +2,22 @@
+Tue Oct 3 08:31:37 UTC 2023 - OndÅej Súkup <[email protected]>
+
+- drop reportlab-missing-includes.patch
+- add importlib.patch to fix support for python3.12
+- update to 4.0.5:
+ * add in test for alpha composite colour
+ * Added an SvgPath class; as used in github.com/deeplook/svglib
+ * Added a simple log axis ticklabeller class
+ * Allow for strokeWidth in LineSwatch
+ * update extension alias'
+ * allow BalancedColumns to work in a container flowable (ie with no frame)
+ * allow custom styles for inrowsplitStaart & inrowsplitend
+ * setup.py test --failfast works
+ * allow running all tests without renderPM support
+ * AR made some changes to allow running without renderPM support
+ * AR merged accessibility branch and released 4.0.0
+ * initial support for rml ul ol dl tagging
+ * added support for an ol/ul/dl caption paragraph
+ * implement a safer toColor with rl_config.toColorCanUse option and
rl_extended_literal_eval
+ * added _ExpandedCellTupleEx for more tagging support
+
+-------------------------------------------------------------------
Old:
----
reportlab-3.6.13.tar.gz
reportlab-missing-includes.patch
New:
----
importlib.patch
reportlab-4.0.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-reportlab.spec ++++++
--- /var/tmp/diff_new_pack.Y4C3bo/_old 2023-10-05 20:03:29.023429643 +0200
+++ /var/tmp/diff_new_pack.Y4C3bo/_new 2023-10-05 20:03:29.027429788 +0200
@@ -18,18 +18,17 @@
%{?sle15_python_module_pythons}
Name: python-reportlab
-Version: 3.6.13
+Version: 4.0.5
Release: 0
Summary: The Reportlab Toolkit
License: BSD-3-Clause
URL: https://www.reportlab.com/
Source0:
https://files.pythonhosted.org/packages/source/r/reportlab/reportlab-%{version}.tar.gz
Source1: encryption.gif
-Patch0: reportlab-missing-includes.patch
+# PATCH-FIX-UPSTREAM importlib.path
https://hg.reportlab.com/hg-public/reportlab/rev/18ae86d14b0a
+Patch0: importlib.patch
BuildRequires: %{python_module Pillow >= 9.0.0}
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module xml}
BuildRequires: fdupes
BuildRequires: freetype2-devel
BuildRequires: python-rpm-macros
@@ -40,6 +39,7 @@
Obsoletes: %{oldpython}-ReportLab < %{version}
Provides: %{oldpython}-ReportLab = %{version}
%endif
+BuildArch: noarch
%python_subpackages
%description
@@ -55,12 +55,12 @@
%python_build --no-download-t1-files
mypython=%{expand:%%__%(pythons="%{pythons}"; echo ${pythons##python* })}
-PYTHONPATH=$(readlink -f build/lib.linux-*/) \
+PYTHONPATH=$(readlink -f build/lib/) \
$mypython docs/genAll.py
%install
%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitearch}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export CFLAGS="%{optflags}"
@@ -70,13 +70,13 @@
cp %{SOURCE1} .
sed -i 's@http://www.reportlab.com/rsrc/@@' test_*.py
###
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
$python runAll.py --verbosity=2
}
%files %{python_files}
-%license LICENSE.txt
+%license LICENSE
%doc CHANGES.md README.txt docs/reportlab-userguide.pdf
-%{python_sitearch}/reportlab/
-%{python_sitearch}/reportlab-%{version}-py*.egg-info
+%{python_sitelib}/reportlab/
+%{python_sitelib}/reportlab-%{version}-py*.egg-info
++++++ importlib.patch ++++++
--- a/CHANGES.md Fri Sep 29 16:43:43 2023 +0100
+++ b/CHANGES.md Fri Sep 29 16:43:56 2023 +0100
@@ -11,6 +11,11 @@
The contributors lists are in no order and apologies to those accidentally not
mentioned. If we missed you, please let us know!
+CHANGES 4.0.6 ??/??/2023
+---------------------------
+ * fix importlib usage in reportlab init, reported by Frank Epperlein and
others
+ * add value axes extraMinMaxValues as aid to parallel axes
+
CHANGES 4.0.5 12/07/2023
---------------------------
* add in test for alpha composite colour
--- a/src/reportlab/__init__.py Fri Sep 29 16:43:43 2023 +0100
+++ b/src/reportlab/__init__.py Fri Sep 29 16:43:56 2023 +0100
@@ -18,12 +18,15 @@
return -1 if a<b else (1 if a>b else 0)
def _fake_import(fn,name):
- from importlib import machinery
- m = machinery.SourceFileLoader(name,fn)
+ from importlib.util import spec_from_loader, module_from_spec
+ from importlib.machinery import SourceFileLoader
+ spec = spec_from_loader(name, SourceFileLoader(name, fn))
+ module = module_from_spec(spec)
try:
- sys.modules[name] = m.load_module(name)
+ spec.loader.exec_module(module)
except FileNotFoundError:
raise ImportError('file %s not found' % ascii(fn))
+ sys.modules[name] = module
#try to use dynamic modifications from
#reportlab.local_rl_mods.py
++++++ reportlab-3.6.13.tar.gz -> reportlab-4.0.5.tar.gz ++++++
++++ 40781 lines of diff (skipped)