GNU bug report logs -
#74580
[PATCH 00/14] [python-team]
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Thu, 28 Nov 2024 07:48:02 UTC
Severity: normal
Tags: patch
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74580 in the body.
You can then email your comments to 74580 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 07:48:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nicolas Graves <ngraves <at> ngraves.fr>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 28 Nov 2024 07:48:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Some patches for python-team which will trigger quite some
rebuilds. httpcore in particular was behind a lot of the current
failures.
Nicolas Graves (14):
gnu: python-prawcore: Update to 2.4.0.
gnu: python-praw: Update to 7.8.1.
gnu: giara: Update to 1.1.0.
gnu: cpplint: Add missing native inputs.
gnu: python-ads: Add missing native-inputs.
gnu: python-tqdm: Update to 4.67.1.
gnu: python-fsspec: Update to 2024.10.0.
gnu: python-coverage: Update to 7.6.8.
gnu: python-websockets: Update to 13.1.
gnu: python-pytest-httpx: Update to 0.34.0.
gnu: python-coveralls: Update to 4.0.1.
gnu: python-httpcore: Update to 1.0.7.
gnu: python-httpx: Update to 0.27.2.
gnu: python-joblib: Update to 1.4.2.
gnu/packages/astronomy.scm | 1 +
gnu/packages/check.scm | 45 ++++++++------
gnu/packages/cpp.scm | 5 +-
gnu/packages/python-check.scm | 33 ++++-------
gnu/packages/python-web.scm | 107 +++++++++++++++-------------------
gnu/packages/python-xyz.scm | 72 +++++++++++++----------
gnu/packages/syndication.scm | 9 ++-
7 files changed, 141 insertions(+), 131 deletions(-)
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 07:53:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 74580 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-web.scm (python-prawcore): Update to 2.4.0.
[source]<origin>: Fetch from git to download tests.
[build-system]: Move to pyproject-build-system.
[arguments]<#:test-flags>: Skip failing tests.
[native-inputs]: Add python-flit-core.
---
gnu/packages/python-web.scm | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 677f304e0c..422dc7e39d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -347,18 +347,31 @@ (define-public python-portend
(define-public python-prawcore
(package
(name "python-prawcore")
- (version "2.3.0")
+ (version "2.4.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "prawcore" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/praw-dev/prawcore")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0vgmhjddqxnz5vy70dyqvakak51fg1nk6j3xavkc83d8nzacrwfs"))))
- (build-system python-build-system)
+ (base32 "1y7gh7kk002b2h1ppkr1llb2gjfnby28zvx11j4ji0wm3r3rjh5l"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; XXX: These tests fail with an incomplete request response.
+ (list #:test-flags
+ #~'("-k" #$(string-append
+ "not test_revoke__access_token_with_refresh_set"
+ " and not test_revoke__access_token_without_refresh_set"
+ " and not test_revoke__refresh_token_with_access_set"
+ " and not test_refresh__with_scopes"
+ " and not test_request__patch"))))
(native-inputs
(list python-betamax
python-betamax-matchers
python-betamax-serializers
+ python-flit-core
python-mock
python-pytest
python-testfixtures))
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 07:53:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 74580 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-web.scm (python-praw): Update to 7.8.1.
[source]<origin>: Fetch from git to download tests.
[build-system]: Move to pyproject-build-system.
[arguments]<#:test-flags>: Skip failing tests.
[native-inputs]: Add python-flit-core.
---
gnu/packages/python-web.scm | 40 ++++++++++++++++---------------------
1 file changed, 17 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 422dc7e39d..c5ff14b4ee 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -385,34 +385,28 @@ (define-public python-prawcore
(define-public python-praw
(package
(name "python-praw")
- (version "7.6.1")
+ (version "7.8.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "praw" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/praw-dev/praw")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "17pvdlcasr08p5hb1x7shjh8yvn621lzm0bvnwd3b1r1qpzrbz07"))))
- (build-system python-build-system)
+ (base32 "05qq43l4334cq8r8k731qnb45nq12vvfdxwbr6q84a1hafp7n4cg"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'disable-failing-tests
- (lambda _
- (with-directory-excursion "tests"
- ;; Integration tests depend on files that are not included.
- (for-each delete-file-recursively
- '("integration/models" "unit/models"))
- ;; The configuration file does not seem to exist.
- (delete-file "unit/test_config.py"))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-k"
- ;; These tests depend on test files that don't exist.
- (string-append "not test_bad_request_without_json_text_plain_response"
- " and not test_bad_request_without_json_text_html_response"))))))))
+ (list #:test-flags
+ #~(list "--ignore=tests/units/models"
+ "--ignore=tests/integration/models"
+ "--ignore=tests/unit/test_config.py"
+ "--ignore=tests/integration/test_reddit.py")))
(native-inputs
- (list python-betamax python-betamax-matchers python-pytest))
+ (list python-betamax
+ python-betamax-matchers
+ python-flit-core
+ python-pytest))
(propagated-inputs
(list python-prawcore python-update-checker python-websocket-client))
(synopsis "Python Reddit API Wrapper")
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 07:53:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 74580 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/syndication.scm (giara): Update to 1.1.0.
[arguments]<#:phases>: Add phase 'skip-validate-metainfo-file-test.
---
gnu/packages/syndication.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index e262426e28..fc3e904710 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -169,7 +169,7 @@ (define-public cawbird
(define-public giara
(package
(name "giara")
- (version "1.0.1")
+ (version "1.1.0")
(source
(origin
(method git-fetch)
@@ -178,7 +178,7 @@ (define-public giara
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "00vmfghp9g8yzn2d1xjawz5a8bdwn1jl1k24mjaf4vlvdy4sg9l4"))))
+ (base32 "1s2lr7s2sqzvphl84zcf68l6lzhp5faycz75yp36ak18aw9b8g0m"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
@@ -188,6 +188,11 @@ (define-public giara
(lambda _
(substitute* "meson_post_install.py"
(("gtk-update-icon-cache") "true"))))
+ (add-after 'unpack 'skip-validate-metainfo-file-test
+ (lambda _
+ (substitute* "data/meson.build"
+ (("if ascli_exe\\.found\\(\\)")
+ "if false"))))
(add-after 'glib-or-gtk-wrap 'wrap-paths
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 07:53:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 74580 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/cpp.scm (cpplint)[native-inputs]: Add python-setuptools
and python-wheel.
---
gnu/packages/cpp.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index eacc6e46ab..95c7340087 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -106,6 +106,7 @@ (define-module (gnu packages cpp)
#:use-module (gnu packages onc-rpc)
#:use-module (gnu packages perl)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages popt)
@@ -1250,7 +1251,9 @@ (define-public cpplint
python-pytest
python-pytest-cov
python-pytest-runner
- python-testfixtures))
+ python-setuptools
+ python-testfixtures
+ python-wheel))
(home-page "https://github.com/cpplint/cpplint")
(synopsis "Static code checker for C++")
(description "@code{cpplint} is a command-line tool to check C/C++ files
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 07:54:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 74580 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/astronomy.scm (python-ads)[native-inputs]: Add python-pytest.
---
gnu/packages/astronomy.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index dc0b82bbf4..0cd2a85b8b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1510,6 +1510,7 @@ (define-public python-ads
(native-inputs
(list nss-certs-for-test
python-httpretty
+ python-pytest
python-setuptools
python-wheel))
(propagated-inputs
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 07:54:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 74580 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-tqdm): Update to 4.67.1.
[build-system]: Switch to pyproject-build-system.
[arguments]: Use <#:test-flags> instead of <#:phases> to set
tests. Ignore failing test_rlock_creation.
[native-inputs]: Add python-setuptools, python-wheel.
---
gnu/packages/python-xyz.scm | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 55571a810f..03c62ff26b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26527,25 +26527,26 @@ (define-public python-pydub
(define-public python-tqdm
(package
(name "python-tqdm")
- (version "4.64.1")
+ (version "4.67.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "tqdm" version))
(sha256
- (base32
- "1r7i9kswpnrx4ppfvzz6discb04j1rqkqxdwa2sc2la900m6hksz"))))
- (build-system python-build-system)
+ (base32 "1wi7cql2fc76b5z9v1sr96ix2gxcb974z8qfydjkmh885k2zkbpq"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "pytest" "-vv"
- "-o" "asyncio_mode=auto"
- "-k" "not perf"))))))
+ (list #:test-flags
+ '(list "-o" "asyncio_mode=auto"
+ "-k" "not perf and not test_rlock_creation")))
(native-inputs
- (list python-pytest python-pytest-asyncio python-pytest-timeout
- python-setuptools-scm python-toml))
+ (list python-pytest
+ python-pytest-asyncio
+ python-pytest-timeout
+ python-setuptools
+ python-setuptools-scm
+ python-toml
+ python-wheel))
(home-page "https://github.com/tqdm/tqdm")
(synopsis "Fast, extensible progress meter")
(description
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 07:54:03 GMT)
Full text and
rfc822 format available.
Message #26 received at 74580 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-web.scm (python-websockets): Update to 13.1.
---
gnu/packages/python-web.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c5ff14b4ee..4a409f535a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7126,7 +7126,7 @@ (define-public python-warcio
(define-public python-websockets
(package
(name "python-websockets")
- (version "13.0")
+ (version "13.1")
(source
(origin
(method git-fetch)
@@ -7136,7 +7136,7 @@ (define-public python-websockets
(file-name (git-file-name name version))
(sha256
(base32
- "1brnaf1c4r9377p2npxpkik9ggqzmymvnnazdhw6s2wzfhlln8vv"))))
+ "1dx3rf6fmg4ir9cfcn1fil446qz879cwrjq2rcz5zvl71xkw6hb3"))))
(build-system pyproject-build-system)
(arguments
(list #:phases
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 07:54:03 GMT)
Full text and
rfc822 format available.
Message #29 received at 74580 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/check.scm (python-coverage): Update to 7.6.8.
[arguments]<#:test-flags>: Describe why tests fail.
---
gnu/packages/check.scm | 45 +++++++++++++++++++++++++-----------------
1 file changed, 27 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 7e0efabc8f..9b1df2fb3d 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2441,34 +2441,43 @@ (define-public python-testrepository
(define-public python-coverage
(package
(name "python-coverage")
- (version "7.6.7")
+ (version "7.6.8")
(source
(origin
(method url-fetch)
(uri (pypi-uri "coverage" version))
(sha256
(base32
- "094x8fsqfp7blrz3wh823p5vvzdrri5mw17z32hwjh8lwhk4i7fp"))))
+ "1z3wycig8hy7iq9nxwiiiyxn01yblnj69yl2dp424s5hxl1qaawb"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- #~(list "--numprocesses=auto"
- ;; XXX: Tests fail for multiple assertion reasons or missing
- ;; fake modules.
- "--ignore=tests/test_venv.py"
- "--ignore=tests/test_report.py"
- "--ignore=tests/test_plugins.py"
- "--ignore=tests/test_debug.py"
- "--ignore=tests/test_xml.py"
- "--ignore=tests/test_python.py"
- "--ignore=tests/test_concurrency.py"
- "--ignore=tests/test_process.py"
- "--deselect=tests/test_annotate.py::AnnotationGoldTest::test_multi"
- "--deselect=tests/test_cmdline.py::CmdLineStdoutTest::test_version"
- "--deselect=tests/test_api.py::RelativePathTest::test_files_up_one_level"
- "--deselect=tests/test_filereporter.py::FileReporterTest::test_zipfile"
- "--deselect=tests/test_oddball.py::DoctestTest::test_doctest")
+ #~(list
+ "--numprocesses" (number->string (parallel-job-count))
+ ;; XXX: Unable to properly compare reports.
+ "--ignore=tests/test_report.py"
+ ;; XXX: PyTracer or missing dependencies.
+ "--ignore=tests/test_venv.py"
+ "--ignore=tests/test_plugins.py"
+ "--ignore=tests/test_debug.py"
+ ;; XXX: Unclear why these fail.
+ "--ignore=tests/test_python.py"
+ "--deselect=tests/test_concurrency.py\
+::SigtermTest::test_sigterm_multiprocessing_saves_data"
+ ;; XXX: Unexpected paths order.
+ "--ignore=tests/test_process.py"
+ ;; XXX: PermissionError
+ "--deselect=tests/test_annotate.py::AnnotationGoldTest::test_multi"
+ ;; XXX: Needs C extension
+ "--deselect=tests/test_cmdline.py::CmdLineStdoutTest::test_version"
+ ;; XXX: Finds more files at toplevel
+ "--deselect=tests/test_api.py::RelativePathTest::test_files_up_one_level"
+ "--deselect=tests/test_xml.py::XmlReportTest::test_no_duplicate_packages"
+ ;; XXX: zip1 module missing.
+ "--deselect=tests/test_filereporter.py::FileReporterTest::test_zipfile"
+ ;; XXX: Checking coverage for too much files, not only the target one.
+ "--deselect=tests/test_oddball.py::DoctestTest::test_doctest")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-pyproject
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 07:54:04 GMT)
Full text and
rfc822 format available.
Message #32 received at 74580 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-fsspec): Update to 2024.10.0.
[arguments]<#:phases>: Rewrite phase 'fix-version. Add phase
'install-version.
<#:test-flags>: Ignore the sole failing test.
[native-inputs]: Add python-hatchling. Remove python-setuptools and
python-wheel.
---
gnu/packages/python-xyz.scm | 35 ++++++++++++++++++++++-------------
1 file changed, 22 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 03c62ff26b..cf0d423a95 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29367,7 +29367,7 @@ (define-public python-partd
(define-public python-fsspec
(package
(name "python-fsspec")
- (version "2023.5.0")
+ (version "2024.10.0")
(source
(origin
(method git-fetch)
@@ -29376,8 +29376,7 @@ (define-public python-fsspec
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32
- "0c0brw5s4330rj0yjcrqi56hanvaahn43854jai70qzqg1qvyl88"))))
+ (base32 "0fba2wsf0z80y2x60rag5h393vn0ln7s0fbmvvl1cwjw30pgl9qb"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -29385,21 +29384,31 @@ (define-public python-fsspec
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-version
(lambda _
- (substitute* "fsspec/__init__.py"
- (("__version__ = .*")
- (string-append "__version__ = \"" #$version "\"")))
- (substitute* "setup.py"
- (("versioneer.get_version\\(\\)")
- (string-append "\"" #$version "\""))))))
+ (call-with-output-file "fsspec/_version.py"
+ (lambda (port)
+ (display (string-append "__version__ = \"" #$version "\"")
+ port)))
+ (substitute* "pyproject.toml"
+ (("\\[tool\\.hatch\\.build\\.hooks\\.vcs\\]")
+ "")
+ (("^dynamic = \\[\"version\"\\]")
+ (string-append "version = \"" #$version "\"\n")))))
+ (add-after 'install 'install-version
+ (lambda _
+ (install-file
+ "fsspec/_version.py"
+ (dirname (car (find-files #$output "gui\\.py")))))))
#:test-flags
'(list
- ;; requires internet access
- "--ignore=fsspec/implementations/tests/test_dbfs.py")))
+ ;; XXX: Unclear why this test fail.
+ "-k" "not test_processes")))
(propagated-inputs
(list python-aiohttp python-libarchive-c python-requests python-tqdm))
(native-inputs
- (list python-pytest python-pytest-mock python-numpy python-setuptools
- python-wheel))
+ (list python-hatchling
+ python-pytest
+ python-pytest-mock
+ python-numpy))
(home-page "https://github.com/intake/filesystem_spec")
(synopsis "File-system specification")
(description "The purpose of this package is to produce a template or
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 07:54:04 GMT)
Full text and
rfc822 format available.
Message #35 received at 74580 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-check.scm (python-pytest-httpx): Update to 0.34.0.
---
gnu/packages/python-check.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index df0a490eae..2af10ed7f3 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3077,7 +3077,7 @@ (define-public python-pytest-parawtf
(define-public python-pytest-httpx
(package
(name "python-pytest-httpx")
- (version "0.22.0")
+ (version "0.34.0")
(source
(origin
;; pypi package doesn't include the tests
@@ -3087,7 +3087,7 @@ (define-public python-pytest-httpx
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1ncpd74hmsz4sadvjg99fnfscxpgh3mc2siini0dhxzwgwdkk5i7"))))
+ (base32 "0dk1z9zy483nffbmn883mcjrlwkn79c3sqlxf6qnwcgrvdw1w9zz"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 07:54:05 GMT)
Full text and
rfc822 format available.
Message #38 received at 74580 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-check.scm (python-coveralls): Update to 4.0.1.
[source]<origin>: Remove uneeded modules and snippet fields.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Move functionality to...
<#:test-flags>: ...here. Add failing tests.
[native-inputs]: Add poetry.
---
gnu/packages/python-check.scm | 29 ++++++++++-------------------
1 file changed, 10 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 2af10ed7f3..0e23f78a17 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -343,7 +343,7 @@ (define-public python-cucumber-tag-expressions
(define-public python-coveralls
(package
(name "python-coveralls")
- (version "3.2.0")
+ (version "4.0.1")
(home-page "https://github.com/coveralls-clients/coveralls-python")
(source
(origin
@@ -352,28 +352,19 @@ (define-public python-coveralls
(uri (git-reference (url home-page) (commit version)))
(file-name (git-file-name name version))
(sha256
- (base32
- "1915ab77nfb1rfw4i2ps0zy19wpf20lwxn81qxxbwyd2gy7m0fn8"))
- (modules '((guix build utils)))
- (snippet '(substitute* "setup.py"
- (("'coverage>=4.1,<6.0',") "'coverage',")))))
- (build-system python-build-system)
+ (base32 "1411h7rwxgp9ag26bmlpy7g7sdh39f56dc1mrd1n74bjsgvwzj6l"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases
- (add-before 'check 'disable-git-test
- (lambda _
- ;; Remove test that requires 'git' and the full checkout.
- (delete-file "tests/git_test.py")))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (if tests?
- ;; Test fails for unknown reasons. No fix available.
- (invoke "pytest" "-vv" "-k" "not test_reporter_with_branches")
- (format #t "test suite not run~%")))))))
+ (list #:test-flags '(list
+ ;; XXX: Avoid git dependency.
+ "--ignore=tests/git_test.py"
+ ;; XXX: Unable to find coverage package.
+ "--ignore=tests/api/reporter_test.py"
+ "--ignore=tests/integration_test.py")))
(propagated-inputs
(list python-coverage python-docopt python-pyyaml python-requests))
(native-inputs
- (list python-mock python-pytest python-responses))
+ (list poetry python-mock python-pytest python-responses))
(synopsis "Show coverage stats online via coveralls.io")
(description
"Coveralls.io is a service for publishing code coverage statistics online.
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 07:54:05 GMT)
Full text and
rfc822 format available.
Message #41 received at 74580 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-web.scm (python-httpcore): Update to 1.0.7.
[arguments]<#:test-flags>: Remove uneeded field.
[native-inputs]: Remove python-setuptools and python-wheel. Add
python-hatch-fancy-pypi-readme, and python-hatchling.
---
gnu/packages/python-web.scm | 33 +++++++--------------------------
1 file changed, 7 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4a409f535a..350ecad848 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6860,7 +6860,7 @@ (define-public python-vf-1
(define-public python-httpcore
(package
(name "python-httpcore")
- (version "0.17.0")
+ (version "1.0.7")
(source
(origin
;; PyPI tarball does not contain tests.
@@ -6870,39 +6870,19 @@ (define-public python-httpcore
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0qf2w6sgn51jd41a4k230jincrk6rchgc0k1bclxhyyzv44q4q8c"))))
+ (base32 "1wz54snks59m1mz2mv0i4p37zz2rrzd99gpg8sh3qkpck5h8lhc4"))))
(build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags
- '(list "--override-ini=asyncio_mode=auto"
- "-k"
- (string-join '("not test_ssl_request"
- ;; PytestUnraisableExceptionWarning
- "test_authenticated_socks5_request"
- "test_socks5_request"
- "test_socks5_request_connect_failed"
- "test_socks5_request_failed_to_provide_auth"
- "test_socks5_request_incorrect_auth"
- ;; marked with @pytest.mark.asyncio but it is not an async function
- "test_connection_pool_concurrency"
- "test_connection_pool_concurrency_same_domain_keepalive"
- "test_response_async_read"
- "test_response_async_streaming"
- ;; SSL connection has been closed
- "test_extra_info")
- " and not "))))
(native-inputs
(list nss-certs-for-test
+ python-hatch-fancy-pypi-readme
+ python-hatchling
python-pytest
python-pytest-asyncio
python-pytest-cov
python-pytest-httpbin
python-pytest-trio
python-uvicorn
- python-setuptools
- python-trustme
- python-wheel))
+ python-trustme))
(propagated-inputs
(list python-anyio
python-certifi
@@ -6936,7 +6916,8 @@ (define-public python-httpcore-bootstrap
(package/inherit python-httpcore
(name "python-httpcore-bootstrap")
(arguments (list #:tests? #f))
- (native-inputs (list python-setuptools python-wheel)))))
+ (native-inputs (list python-hatchling
+ python-hatch-fancy-pypi-readme)))))
(define-public python-httpx
(package
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 07:54:06 GMT)
Full text and
rfc822 format available.
Message #44 received at 74580 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-web.scm (python-httpx): Update to 0.27.2.
[native-inputs]: Add python-zstandard.
---
gnu/packages/python-web.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 350ecad848..d44cdbbeed 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6922,7 +6922,7 @@ (define-public python-httpcore-bootstrap
(define-public python-httpx
(package
(name "python-httpx")
- (version "0.24.1")
+ (version "0.27.2")
(source
(origin
;; PyPI tarball does not contain tests.
@@ -6932,7 +6932,7 @@ (define-public python-httpx
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "121cnzp5jq638wrvfmxa9q0rwank7q6v5fi1lnih50fd5219yvm8"))))
+ (base32 "1jd5w3nhpvrbj66nk2njvfnk0g1mkxivwa52j2yyhcna1xafsk1p"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -6964,7 +6964,8 @@ (define-public python-httpx
python-trustme
python-uvicorn
python-setuptools
- python-wheel))
+ python-wheel
+ python-zstandard))
(propagated-inputs
(list python-charset-normalizer
python-brotli
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 07:54:06 GMT)
Full text and
rfc822 format available.
Message #47 received at 74580 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-joblib): Update to 1.4.2.
[arguments]<#:test-flags>: Add --numprocesses flag.
[native-inputs]: Add python-pytest-xdist.
---
gnu/packages/python-xyz.scm | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cf0d423a95..322fb902d5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6889,19 +6889,22 @@ (define-public python-pystitcher
(define-public python-joblib
(package
(name "python-joblib")
- (version "1.3.2")
+ (version "1.4.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "joblib" version))
(sha256
(base32
- "1cbjjzsh9hzaqr2cqja95673p7j88b8bd02hjpkq8xz147k6by4j"))))
+ "03izdcvc3fa355cclzgvzmjnfwylvblz9q091b9gndi6df0wb0i3"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags ; disabled to avoid having to depend on ipython/jupyter
- #~(list "-k" "not test_parallel_call_cached_function_defined_in_jupyter")))
- (native-inputs (list python-pytest python-setuptools python-wheel))
+ #~(list
+ "--numprocesses" (number->string (parallel-job-count))
+ "-k" "not test_parallel_call_cached_function_defined_in_jupyter")))
+ (native-inputs
+ (list python-pytest python-pytest-xdist python-setuptools python-wheel))
(propagated-inputs (list python-psutil))
(home-page "https://joblib.readthedocs.io/")
(synopsis "Using Python functions as pipeline jobs")
@@ -6912,7 +6915,6 @@ (define-public python-joblib
logging and tracing of the execution.")
(license license:bsd-3)))
-
(define-public python-daemon
(package
(name "python-daemon")
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 16:03:02 GMT)
Full text and
rfc822 format available.
Message #50 received at 74580 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Nicolas,
Thanks for the patches.
They looks good from the first glance nice to more and more packages
migrating to pyproject-buid-system.
I've applied it locally and initiate the build on my machine, will let
you know when it's finished.
--
Oleg
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74580
; Package
guix-patches
.
(Thu, 28 Nov 2024 18:25:02 GMT)
Full text and
rfc822 format available.
Message #53 received at 74580 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
The whole set has been build successfully! I did not check dependent
packages.
--8<---------------cut here---------------start------------->8---
/gnu/store/93qf5wpxlqzpj0b6k0xmnm2hbx3ny1dq-python-prawcore-2.4.0
/gnu/store/k1y38iwn5cpqxh6gv52k1r0m36nqnmnp-python-praw-7.8.1
/gnu/store/n40ji4ip7d9jrq4nb7cazpj4qkmi8r1z-giara-1.1.0
/gnu/store/6ks3cpzfpv6wp1lk127zl04ww8qsj4yz-cpplint-1.5.5
/gnu/store/gkpy0pnj94b2xqzsciwhnqqx450mpdi9-python-ads-0.12.6
/gnu/store/06ri4k2c9454pj19yaypbsbh4jlm401w-python-tqdm-4.67.1
/gnu/store/wrh9kj48afrg5ci6378g3s7gy0j6pdg0-python-fsspec-2024.10.0
/gnu/store/8xymn7sq7yq18cn5jz1kkqfxsr6359kn-python-coverage-7.6.8
/gnu/store/ych6kgvpinb32i3yy5v0cngkf920j6af-python-websockets-13.1
/gnu/store/09v5bggg62w4xib86kbr0gpfsxfc2wmh-python-pytest-httpx-0.34.0
/gnu/store/x5hpi1ggr3ls8gmbwv7ig1z75kl6npaf-python-coveralls-4.0.1
/gnu/store/q8jlf1s3y6bcaway9d9kf427lmv3ksxc-python-httpcore-1.0.7
/gnu/store/bh3g91gq382mxa9314dgl2s2fj2f4nsm-python-httpx-0.27.2
/gnu/store/8ha54qxi3vphrx2bd0wdzkgsj01bn60v-python-joblib-1.4.2
--8<---------------cut here---------------end--------------->8---
I can push the patch set to python-team branch tonight or tomorrow,
maybe anyone would like to check them as well.
--
Oleg
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
You have taken responsibility.
(Fri, 06 Dec 2024 23:04:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Nicolas Graves <ngraves <at> ngraves.fr>
:
bug acknowledged by developer.
(Fri, 06 Dec 2024 23:04:02 GMT)
Full text and
rfc822 format available.
Message #58 received at 74580-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
The patch set pushed to python-team after successful local build.
--
Oleg
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 04 Jan 2025 12:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 165 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.