gnu: python-scrapy: Update to 2.12.0.

* gnu/packages/python-web.scm (python-scrapy): Update to 2.12.0.
[arguments]: Update list of disabled tests.
[propagated-inputs]: Remove python-botocore and python-setuptools; add
python-packaging and python-typing-extensions.
[native-inputs]: Add python-mypy and python-setuptools; remove
python-pyftpdlib and python-uvloop.

Change-Id: If747801ccbb6047b8d1a98714dafae8ab3743b07
This commit is contained in:
Ricardo Wurmus 2025-01-16 14:09:00 +01:00
parent a58cb6b365
commit ad7be46ae4
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -9579,13 +9579,13 @@ (define-public python-parsel
(define-public python-scrapy
(package
(name "python-scrapy")
(version "2.11.2")
(version "2.12.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "scrapy" version))
(sha256
(base32 "07a0nfzkz4vr1353456lavvw36l9s2ia7x91l7mzygzwhi9mdgfz"))))
(base32 "13vqykvjv9d0hj02l0s025r107dncfj7as0r0iv484lv01v6wvfn"))))
(build-system pyproject-build-system)
(arguments
(list #:test-flags
@ -9594,41 +9594,45 @@ (define-public python-scrapy
"not " (string-join
(list "test_pformat"
"test_pformat_old_windows"
"test_pformat_windows")
" and not ")))
"test_pformat_windows"
;; Connection refused.
"test_persist")
" and not "))
;; Connection refused to some local FTP server.
"--ignore=tests/test_feedexport.py")
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'prepare-test-environment
(lambda _
(setenv "HOME" "/tmp"))))))
(propagated-inputs
(list python-botocore ; Optional: For S3FeedStorage class.
python-cryptography
(list python-cryptography
python-cssselect
python-defusedxml
python-itemadapter
python-itemloaders
python-lxml
python-packaging
python-parsel
python-protego
python-pydispatcher
python-pyopenssl
python-queuelib
python-service-identity
python-setuptools
python-tldextract
python-typing-extensions
python-twisted
python-w3lib
python-zope-interface))
(native-inputs
(list nss-certs-for-test
python-mypy
python-pexpect
python-pyftpdlib
python-pytest
python-pytest-xdist
python-setuptools
python-sybil
python-testfixtures
python-uvloop
python-wheel))
(home-page "https://scrapy.org")
(synopsis "High-level Web crawling and Web scraping framework")