mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: python-pypdf: Update to 6.9.2.
* gnu/packages/pdf.scm (python-pypdf): Update to 6.9.2. [arguments] <test-flags>: Run tests in a single thread, there are not many of them; rework skipped tests. [propagated-inputs]: Remove python-typing-extensions. [native-inputs]: Remove python-flit, and python-pytest-xdist. Fixes: guix/guix#7276 Change-Id: I6635b1f9583edf8caa271c292ea14e6db6ab0d6e
This commit is contained in:
@@ -1686,40 +1686,34 @@ converter using the Poppler and Cairo libraries.")
|
||||
(define-public python-pypdf
|
||||
(package
|
||||
(name "python-pypdf")
|
||||
(version "6.0.0")
|
||||
(version "6.9.2")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/py-pdf/pypdf")
|
||||
(commit version)))
|
||||
(url "https://github.com/py-pdf/pypdf")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0p0650ya5f84d7khf34an9qpyww6yxnsdhgbppxfy3bg3qkx3s7g"))))
|
||||
(base32 "1x0v1h7783baxqqgm77sdc6qdzckzd3fz8wqxic4bc8bp9f0cagn"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; Disable tests that use the network and non-free assets.
|
||||
;; tests: 721 passed, 15 skipped, 434 deselected
|
||||
#:test-flags
|
||||
;; Disable tests that use the network and non-free assets.
|
||||
#~(list "-m" "not samples and not enable_socket"
|
||||
"--numprocesses" (number->string (parallel-job-count))
|
||||
"-k" (string-join
|
||||
;; ValueError: cannot save mode RGBA
|
||||
(list "not test_replace_image"
|
||||
;; assert None
|
||||
"test_writer_xmp_metadata_samples")
|
||||
" and not "))))
|
||||
;; OSError: broken data stream when writing image file
|
||||
(string-append "--deselect=tests/generic/test_image_xobject.py"
|
||||
"::test_handle_jpx__explicit_decode"))))
|
||||
(native-inputs
|
||||
(list python-flit
|
||||
python-flit-core
|
||||
(list python-flit-core
|
||||
python-pytest
|
||||
python-pytest-socket
|
||||
python-pytest-timeout
|
||||
python-pyyaml
|
||||
python-pytest-xdist))
|
||||
python-pyyaml))
|
||||
(propagated-inputs
|
||||
(list python-typing-extensions
|
||||
python-pillow))
|
||||
(list python-pillow))
|
||||
(home-page "https://github.com/py-pdf/pypdf")
|
||||
(synopsis "Python PDF library")
|
||||
(description
|
||||
|
||||
Reference in New Issue
Block a user