public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pypandoc] rawhide: Version 1.17
@ 2026-06-01  7:12 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-01  7:12 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-pypandoc
            Branch : rawhide
            Commit : 8ae8da7dc8b5eb6a624b6b11c970d28ffd26cf44
            Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
            Date   : 2026-06-01T09:11:41+02:00
            Stats  : +12/-8 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-pypandoc/c/8ae8da7dc8b5eb6a624b6b11c970d28ffd26cf44?branch=rawhide

            Log:
            Version 1.17

... (rhbz#2447669)

---
diff --git a/.gitignore b/.gitignore
index d18585f..912b03e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@
 /python-pypandoc-1.14.tar.gz
 /python-pypandoc-1.15.tar.gz
 /python-pypandoc-1.16.2.tar.gz
+/python-pypandoc-1.17.tar.gz

diff --git a/python-pypandoc.spec b/python-pypandoc.spec
index 2c5bbef..b9ef6ba 100644
--- a/python-pypandoc.spec
+++ b/python-pypandoc.spec
@@ -1,5 +1,5 @@
 Name:           python-pypandoc
-Version:        1.16.2
+Version:        1.17
 Release:        %autorelease
 Summary:        Thin wrapper for pandoc
 
@@ -11,6 +11,7 @@ BuildArch:      noarch
 
 # for tests
 BuildRequires:  pandoc
+BuildRequires:  pytest
 BuildRequires:  texlive-scheme-basic
 BuildRequires:  texlive-collection-fontsrecommended
 BuildRequires:  tex(ecrm1000.tfm)
@@ -51,15 +52,12 @@ Recommends:     texlive-collection-fontsrecommended
 
 %check
 # Disable test that requires network
-sed -i -r 's/test_basic_conversion_from_http_url/_disabled_\0/' tests.py
-
-# https://github.com/NicklasTegner/pypandoc/issues/277
-sed -i -r 's/test_basic_conversion_from_file_pattern/_disabled_\0/' tests.py
+sed -i -r 's/test_basic_conversion_from_http_url/_disabled_\0/' tests/test_pypandoc.py
 
 # https://github.com/jgm/pandoc/issues/8128
-sed -i -r 's/test_conversion_with_data_files/_disabled_\0/' tests.py
+sed -i -r 's/test_conversion_with_data_files/_disabled_\0/' tests/test_pypandoc.py
 
-%python3 tests.py
+%pytest -v
 
 %global _docdir_fmt %{name}
 
@@ -67,5 +65,10 @@ sed -i -r 's/test_conversion_with_data_files/_disabled_\0/' tests.py
 %license LICENSE
 %doc README.md examples/
 
+# The raison d'être for the executable is to acquire and run embedded pandoc.
+# In our builds, pandoc is always provided by the distribution, so let's not
+# install the binary at all.
+%exclude %{_bindir}/pypandoc
+
 %changelog
 %autochangelog

diff --git a/sources b/sources
index 4d6acfe..1d1cd1b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-pypandoc-1.16.2.tar.gz) = d64899776792203ae6854471bce47c5241f9141ef75d6bd6a2d5288940ae193b50d9fa4fad44ffaf975b327972f94044aa0a97d2a226142aa4fb0a89a9d52611
+SHA512 (python-pypandoc-1.17.tar.gz) = 2871c708a3e0da99f16327b665d44265cca3a72c9dd03f9446e6952640cc86f61774a02902c6245287e2ec067cd2ca1f81174795940a7f4fa4c9cdaf22cfc2ab

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-01  7:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-01  7:12 [rpms/python-pypandoc] rawhide: Version 1.17 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox