Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pypandoc for openSUSE:Factory
checked in at 2026-04-14 17:48:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pypandoc (Old)
and /work/SRC/openSUSE:Factory/.python-pypandoc.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pypandoc"
Tue Apr 14 17:48:47 2026 rev:16 rq:1346215 version:1.17
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pypandoc/python-pypandoc.changes
2026-01-26 12:34:52.506564337 +0100
+++
/work/SRC/openSUSE:Factory/.python-pypandoc.new.21863/python-pypandoc.changes
2026-04-14 17:49:11.173689150 +0200
@@ -1,0 +2,19 @@
+Sun Apr 12 16:33:15 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to version 1.17
+ * Migrated build system from poetry/setuptools to Hatch
+ * Added a formal CLI accessible via pypandoc or python -m
+ pypandoc, including commands for version info and
+ pandoc downloads.
+ * Integrated with TinyTeX (via pytinytex) for automated
+ LaTeX package management and PDF conversion.
+ * Improved download_pandoc to use the GitHub API instead
+ of HTML scraping, adding retry logic and authenticated
+ request support.
+ * Fixed data corruption when handling binary input
+ formats (e.g., docx, epub) by avoiding unnecessary
+ decoding.
+ * Enhanced error reporting with actionable hints for
+ missing LaTeX dependencies.
+
+-------------------------------------------------------------------
Old:
----
pypandoc-1.16.2.tar.gz
New:
----
pypandoc-1.17.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pypandoc.spec ++++++
--- /var/tmp/diff_new_pack.4GhO92/_old 2026-04-14 17:49:12.113728006 +0200
+++ /var/tmp/diff_new_pack.4GhO92/_new 2026-04-14 17:49:12.117728171 +0200
@@ -17,14 +17,20 @@
%define base_name pypandoc
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
%{?sle15_python_module_pythons}
Name: python-pypandoc
-Version: 1.16.2
+Version: 1.17
Release: 0
Summary: Thin wrapper for pandoc
License: MIT
URL: https://github.com/JessicaTegner/pypandoc
Source:
https://github.com/JessicaTegner/pypandoc/archive/refs/tags/v%{version}.tar.gz#/pypandoc-%{version}.tar.gz
+BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pandocfilters}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core >= 1}
@@ -38,8 +44,15 @@
BuildRequires: tex(bookmark.sty)
Requires: pandoc
Suggests: ghc-citeproc
-ExcludeArch: %{ix86}
BuildArch: noarch
+ExcludeArch: %{ix86}
+%if %{with libalternatives}
+BuildRequires: alts
+Requires: alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
%python_subpackages
%description
@@ -53,16 +66,24 @@
%install
%pyproject_install
+%python_clone -a %{buildroot}%{_bindir}/pypandoc
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# 'test_basic_conversion_from_http_url' needs network
# 'test_conversion_with_data_files' =>
https://github.com/JessicaTegner/pypandoc/issues/278
-%pytest tests.py -k 'not test_basic_conversion_from_http_url and not
test_conversion_with_data_files and not
test_basic_conversion_from_file_pattern_pathlib_glob'
+%pytest -k 'not test_basic_conversion_from_http_url and not
test_conversion_with_data_files and not
test_basic_conversion_from_file_pattern_pathlib_glob'
+
+%post
+%python_install_alternative pypandoc
+
+%postun
+%python_uninstall_alternative pypandoc
%files %{python_files}
%license LICENSE
%doc README.md
+%python_alternative %{_bindir}/pypandoc
%{python_sitelib}/pypandoc
%{python_sitelib}/pypandoc-%{version}.dist-info
++++++ pypandoc-1.16.2.tar.gz -> pypandoc-1.17.tar.gz ++++++
++++ 3673 lines of diff (skipped)