* bug#63797: python-matrix-nio-0.20.0 sanity-check build failure (non-zero exit code) @ 2023-05-29 19:50 W. T. Meyer 2023-06-11 20:54 ` bug#63797: [PATCH 0/2] fix python-matrix-nio build Arjan Adriaanse 0 siblings, 1 reply; 5+ messages in thread From: W. T. Meyer @ 2023-05-29 19:50 UTC (permalink / raw) To: 63797 [-- Attachment #1: Type: text/plain, Size: 2004 bytes --] Hi everyone, python-matrix-nio-0.20.0 cannot currently be build: #+begin_src building /gnu/store/lnyrxhl8h2mcyxjgkwhn52vpckp9bpy2-python-matrix-nio-0.20.0.drv... - 'sanity-check' phasebuilder for `/gnu/store/lnyrxhl8h2mcyxjgkwhn52vpckp9bpy2-python-matrix-nio-0.20.0.drv' failed with exit code 1 build of /gnu/store/lnyrxhl8h2mcyxjgkwhn52vpckp9bpy2-python-matrix-nio-0.20.0.drv failed #+end_src On a first glance and according to the build log this is because a version of python-h11 between 12.0 and 13.0 is expected; but Guix only offers python-h11 v14.0.0: #+begin_src starting phase `sanity-check' validating 'matrix-nio' /gnu/store/bl1sld962ra3r5aggj3knhz18min4ks8-python-matrix-nio-0.20.0/lib/python3.10/site-packages ...checking requirements: ERROR: matrix-nio==0.20.0 ContextualVersionConflict(h11 0.14.0 (/gnu/store/wpjdilwd82w59k2s1jk04ghrdfybh23b-python-h11-0.14.0/lib/python3.10/site-packages), Requirement.parse('h11<0.13.0,>=0.12.0'), {'matrix-nio'}) error: in phase 'sanity-check': uncaught exception: %exception #<&invoke-error program: "python" arguments: ("/gnu/store/iqsjkp55pcx5bfcp2jm9yj5rlx9a0whd-sanity-check.py" "/gnu/store/bl1sld962ra3r5aggj3knhz18min4ks8-python-matrix-nio-0.20.0/lib/python3.10/site-packages") exit-status: 1 term-signal: #f stop-signal: #f> phase `sanity-check' failed after 0.3 seconds command "python" "/gnu/store/iqsjkp55pcx5bfcp2jm9yj5rlx9a0whd-sanity-check.py" "/gnu/store/bl1sld962ra3r5aggj3knhz18min4ks8-python-matrix-nio-0.20.0/lib/python3.10/site-packages" failed with status 1 #+end_src A possible solution could be to define a package variant of python-h11 as python-h11-13.0 and let matrix-nio depend on that in the propagated-inputs of matrix-nio. I haven't had the time to investigate this any further, but I'll at least try to further look into this/maybe try to work on a patch myself (I have only recently started using Guix, so getting to a set-up where I can hack on guix packages may need some time still). Regards, Wilko Meyer [-- Attachment #2: yrxhl8h2mcyxjgkwhn52vpckp9bpy2-python-matrix-nio-0.20.0.drv.gz --] [-- Type: application/octet-stream, Size: 11942 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#63797: [PATCH 0/2] fix python-matrix-nio build 2023-05-29 19:50 bug#63797: python-matrix-nio-0.20.0 sanity-check build failure (non-zero exit code) W. T. Meyer @ 2023-06-11 20:54 ` Arjan Adriaanse 2023-06-11 20:54 ` bug#63797: [PATCH 1/2] gnu: python-aiofiles: Update to 23.1.0 Arjan Adriaanse ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: Arjan Adriaanse @ 2023-06-11 20:54 UTC (permalink / raw) To: 63797; +Cc: Arjan Adriaanse This updates python-matrix-nio which fixes the python-h11 dependency problem. It also requires updating python-aiofiles. Tested by successfully building dependent packages. Arjan Adriaanse (2): gnu: python-aiofiles: Update to 23.1.0. gnu: python-matrix-nio: Update to 0.20.2. gnu/packages/matrix.scm | 16 ++++++++-------- gnu/packages/python-xyz.scm | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) base-commit: 74443c30f3e20655a046c0d3ea236822ef130968 -- 2.39.2 ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#63797: [PATCH 1/2] gnu: python-aiofiles: Update to 23.1.0. 2023-06-11 20:54 ` bug#63797: [PATCH 0/2] fix python-matrix-nio build Arjan Adriaanse @ 2023-06-11 20:54 ` Arjan Adriaanse 2023-06-11 20:54 ` bug#63797: [PATCH 2/2] gnu: python-matrix-nio: Update to 0.20.2 Arjan Adriaanse 2023-07-01 4:25 ` bug#63797: [PATCH 0/2] fix python-matrix-nio build Andrew Tropin 2 siblings, 0 replies; 5+ messages in thread From: Arjan Adriaanse @ 2023-06-11 20:54 UTC (permalink / raw) To: 63797; +Cc: Arjan Adriaanse * gnu/packages/python-xyz.scm (python-aiofiles): Update to 23.1.0. --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index dd35f94214..1b06c6d508 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29278,14 +29278,14 @@ (define-public python-contextvars (define-public python-aiofiles (package (name "python-aiofiles") - (version "0.6.0") + (version "23.1.0") (source (origin (method url-fetch) (uri (pypi-uri "aiofiles" version)) (sha256 (base32 - "14m01kjxm2j7zyljjj6xlhlgygcsriymbx730gc5jp9xglaina70")))) + "0d8n79slihf1lkbh2m6yw51rlq6n6vssljsdacbdpq0rkbglglpd")))) (build-system python-build-system) (home-page "https://github.com/Tinche/aiofiles") (synopsis "File support for @code{asyncio}") -- 2.39.2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#63797: [PATCH 2/2] gnu: python-matrix-nio: Update to 0.20.2. 2023-06-11 20:54 ` bug#63797: [PATCH 0/2] fix python-matrix-nio build Arjan Adriaanse 2023-06-11 20:54 ` bug#63797: [PATCH 1/2] gnu: python-aiofiles: Update to 23.1.0 Arjan Adriaanse @ 2023-06-11 20:54 ` Arjan Adriaanse 2023-07-01 4:25 ` bug#63797: [PATCH 0/2] fix python-matrix-nio build Andrew Tropin 2 siblings, 0 replies; 5+ messages in thread From: Arjan Adriaanse @ 2023-06-11 20:54 UTC (permalink / raw) To: 63797; +Cc: Arjan Adriaanse * gnu/packages/matrix.scm (python-matrix-nio): Update to 0.20.2. --- gnu/packages/matrix.scm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm index f356674ed9..6107dfc979 100644 --- a/gnu/packages/matrix.scm +++ b/gnu/packages/matrix.scm @@ -34,6 +34,7 @@ (define-module (gnu packages matrix) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages xml) + #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix gexp) @@ -159,14 +160,14 @@ (define-public synapse (define-public python-matrix-nio (package (name "python-matrix-nio") - (version "0.20.0") + (version "0.20.2") (source (origin (method url-fetch) - (uri (pypi-uri "matrix-nio" version)) + (uri (pypi-uri "matrix_nio" version)) (sha256 - (base32 "1ycrp48b15nm2d3w3qpzps21czl3gbikadl10sncbzr9wdwn44g4")))) - (build-system python-build-system) + (base32 "110wg1grhqqgwvlgr98r2k8wxcggpj7lbdwmgkgmi2l7qj1vw3dm")))) + (build-system pyproject-build-system) (arguments `(#:phases (modify-phases %standard-phases @@ -187,15 +188,13 @@ (define-public python-matrix-nio "and not test_connect_wrapper")))))))) (native-inputs `(("python-pytest" ,python-pytest) - ("python-hyperframe" ,python-hyperframe) + ("python-poetry-core" ,python-poetry-core) ("python-hypothesis" ,python-hypothesis) - ("python-hpack" ,python-hpack) ("python-faker" ,python-faker) ("python-pytest-aiohttp" ,python-pytest-aiohttp) ("python-pytest-asyncio" ,python-pytest-asyncio) ("python-aioresponses" ,python-aioresponses) ("python-pytest-benchmark" ,python-pytest-benchmark) - ("python-toml" ,python-toml) ("tests" ;; The release on pypi comes without tests. We can't build from this ;; checkout, though, because installation requires an invocation of @@ -208,13 +207,14 @@ (define-public python-matrix-nio (file-name (git-file-name name version)) (sha256 (base32 - "10j8g3ns3v1ghdn262dxg50ayaczdp1hj97pj4ydw02bncqhddpd")))))) + "1rd90sk5yygxzvcs4qhzr80bch7d3xszyfjf99pn10xsj10mi752")))))) (propagated-inputs (list python-aiofiles python-aiohttp python-aiohttp-socks python-atomicwrites python-cachetools + python-dataclasses python-future python-h11 python-h2 -- 2.39.2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#63797: [PATCH 0/2] fix python-matrix-nio build 2023-06-11 20:54 ` bug#63797: [PATCH 0/2] fix python-matrix-nio build Arjan Adriaanse 2023-06-11 20:54 ` bug#63797: [PATCH 1/2] gnu: python-aiofiles: Update to 23.1.0 Arjan Adriaanse 2023-06-11 20:54 ` bug#63797: [PATCH 2/2] gnu: python-matrix-nio: Update to 0.20.2 Arjan Adriaanse @ 2023-07-01 4:25 ` Andrew Tropin 2 siblings, 0 replies; 5+ messages in thread From: Andrew Tropin @ 2023-07-01 4:25 UTC (permalink / raw) To: Arjan Adriaanse, 63797-done; +Cc: W. T. Meyer, Arjan Adriaanse [-- Attachment #1: Type: text/plain, Size: 732 bytes --] On 2023-06-11 22:54, Arjan Adriaanse wrote: > This updates python-matrix-nio which fixes the python-h11 dependency > problem. It also requires updating python-aiofiles. Tested by > successfully building dependent packages. > > Arjan Adriaanse (2): > gnu: python-aiofiles: Update to 23.1.0. > gnu: python-matrix-nio: Update to 0.20.2. > > gnu/packages/matrix.scm | 16 ++++++++-------- > gnu/packages/python-xyz.scm | 4 ++-- > 2 files changed, 10 insertions(+), 10 deletions(-) > > > base-commit: 74443c30f3e20655a046c0d3ea236822ef130968 Hi Arjan, Thank you for the patches, applied, pushed as https://git.savannah.gnu.org/cgit/guix.git/commit/?id=356c0009d4 -- Best regards, Andrew Tropin [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 832 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-07-01 4:26 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-05-29 19:50 bug#63797: python-matrix-nio-0.20.0 sanity-check build failure (non-zero exit code) W. T. Meyer 2023-06-11 20:54 ` bug#63797: [PATCH 0/2] fix python-matrix-nio build Arjan Adriaanse 2023-06-11 20:54 ` bug#63797: [PATCH 1/2] gnu: python-aiofiles: Update to 23.1.0 Arjan Adriaanse 2023-06-11 20:54 ` bug#63797: [PATCH 2/2] gnu: python-matrix-nio: Update to 0.20.2 Arjan Adriaanse 2023-07-01 4:25 ` bug#63797: [PATCH 0/2] fix python-matrix-nio build Andrew Tropin
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.