diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-04 22:40:03 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-04 22:40:10 +0000 |
| commit | b82086d6eb9971dc2228fd640b516ded1c9591c0 (patch) | |
| tree | b2e5e975542fc1078614091c6e653002f821982d /gnu | |
| parent | 2764d68cb408d70b8407fcf152a29bac778f49e7 (diff) | |
gnu: python-tweepy: Update to 4.16.0, fix build.
* gnu/packages/python-web.scm (python-tweepy): Update to 4.16.0.
[build-system]: Switch to pyproject-build-system.
[arguments] <tests?>: Enable.
<test-backend, test-flags>: Use 'unittest.
<phases>: Use defailt 'check.
[propagated-inputs]: Add python-async-lru and python-oauthlib.
[native-inputs]: Add nss-certs-for-test, python-flit-core, and
python-urllib3-1.26.
Change-Id: I113133c6e43cfa88541f6da7579ba42643fce1bd
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-web.scm | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 67292785fd9..c6293f56b81 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -12209,35 +12209,38 @@ Full documentation may be found at (define-public python-tweepy (package (name "python-tweepy") - (version "4.4.0") + (version "4.16.0") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/tweepy/tweepy") - (commit (string-append "v" version)))) + (url "https://github.com/tweepy/tweepy") + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 - "0jl3j20iqvzqqw5q5ldval5wrc2pdx94zff3b6b87j51yjx3qjhr")))) - (build-system python-build-system) + (base32 "1k99qf0h1ykz0c56wdnlsyvd6zrcsrc4rl7rnlaxrpjppxjnpcpn")))) + (build-system pyproject-build-system) (arguments - `(#:tests? #f ;XXX: need /etc/ssl/certs/ca-certificates.crt - #:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "-m" "unittest" "discover" "tests"))))))) - (propagated-inputs - (list python-aiohttp python-requests python-requests-oauthlib)) + ;; tests: 149 passed, 3 skipped, 1 warning + (list #:test-backend #~'unittest + #:test-flags #~(list "discover" "tests"))) (native-inputs - (list python-vcrpy)) + (list nss-certs-for-test + python-flit-core + python-urllib3-1.26 + python-vcrpy)) + (propagated-inputs + (list python-aiohttp + python-async-lru + python-oauthlib + python-requests + python-requests-oauthlib)) (home-page "https://www.tweepy.org/") (synopsis "Twitter library for Python") - (description "This package provides @code{Tweepy}, an easy-to-use Python -library for accessing the Twitter API.") + (description + "This package provides @code{Tweepy}, an easy-to-use Python library for +accessing the Twitter API.") (license license:expat))) (define-public python-quart |
