unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrew Tropin <andrew@trop.in>
To: "Miguel Ángel Moreno" <me@mianmoreno.com>, 62389@debbugs.gnu.org
Cc: Ricardo Wurmus <rekado@elephly.net>,
	jgart@dismail.de, Tobias Geerinckx-Rice <me@tobias.gr>,
	lars@6xq.net, me@mianmoreno.com
Subject: [bug#62389] [PATCH v2 2/6] gnu: python-twisted: Update to 22.10.0.
Date: Thu, 31 Aug 2023 09:23:12 +0400	[thread overview]
Message-ID: <87r0njhjjz.fsf@trop.in> (raw)
In-Reply-To: <5eb3a1e70596428bfda2097192b1b48b357dac88.1686158920.git.me@mianmoreno.com>

[-- Attachment #1: Type: text/plain, Size: 2920 bytes --]

On 2023-06-07 19:29, Miguel Ángel Moreno wrote:

> * gnu/packages/python-xyz.scm (python-twisted): Update to 22.10.0.
> [arguments]: Disable tests and add phases.
> [inputs]: Add python's tk output as a dependency.
> [native-inputs]: Add Python dependencies.
> ---
>  gnu/packages/python-xyz.scm | 31 +++++++++++++++++++------------
>  1 file changed, 19 insertions(+), 12 deletions(-)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 29166b5887..e08a30e136 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -18062,30 +18062,37 @@ (define-public python-fastimport
>  (define-public python-twisted
>    (package
>      (name "python-twisted")
> -    (version "19.7.0")
> +    (version "22.10.0")
>      (source (origin
>                (method url-fetch)
> -              (uri (pypi-uri "Twisted" version ".tar.bz2"))
> +              (uri (pypi-uri "Twisted" version ".tar.gz"))
>                (sha256
>                 (base32
> -                "17d3hnxv9qndagzz63mdpyk99xj63p9gq586vjn0rxk8cl197nym"))))
> +                "0cad5n7h8nd0nyl865sn8l4ja0mkwbx9n41cnkklcpsgm50bvb1j"))))
>      (build-system python-build-system)
>      (arguments
> -     '(#:tests? #f                    ; FIXME: some tests fail
> -       #:phases
> -       (modify-phases %standard-phases
> -         ;; Remove scripts, because they depend on [conch]
> -         (add-after 'unpack 'remove-entrypoint
> -           (lambda _
> -             (substitute* "src/twisted/python/_setup.py"
> -               (("\".+ = twisted\\.conch\\.scripts\\..+\",") "")))))))
> +     (list
> +      #:tests? #f                       ; FIXME: some tests fail
> +      #:phases
> +      #~(modify-phases %standard-phases
> +          (add-after 'unpack 'adjust-for-older-attrs
> +            (lambda _
> +              (substitute* (find-files "." "\\.py$")
> +                (("from attrs\\b")
> +                 "from attr")))))))
> +    (inputs (list (list python "tk")))
> +    (native-inputs (list python-wheel))
>      (propagated-inputs
>       (list python-zope-interface
>             python-pyhamcrest
>             python-incremental
>             python-hyperlink
>             python-constantly
> -           python-automat))
> +           python-automat
> +           python-typing-extensions
> +           python-bcrypt
> +           python-cryptography
> +           python-pyasn1))
>      (home-page "https://twistedmatrix.com/")
>      (synopsis "Asynchronous networking framework written in Python")
>      (description
> -- 
> 2.40.1

The patch series LGTM, but python-twisted requires to rebuild more than
300 packages, so it probably should be pushed to a separate branch first
to ensure everything builds on a CI.  CCed python team, Ricardo and
Tobias.

-- 
Best regards,
Andrew Tropin

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2023-08-31  5:26 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-22 17:29 [bug#62389] [PATCH 00/12] gnu: synapse: Update to 1.67.0 conses
2023-03-22 17:30 ` [bug#62389] [PATCH 01/12] gnu: Add python-matrix-common conses
2023-03-22 17:30 ` [bug#62389] [PATCH 02/12] gnu: python-twisted: Update to 22.10.0 conses
2023-03-22 17:31 ` [bug#62389] [PATCH 03/12] gnu: python-pyopenssl: Move to python-cryptography-next conses
2023-03-22 17:31 ` [bug#62389] [PATCH 04/12] gnu: python-urllib3: " conses
2023-03-22 17:31 ` [bug#62389] [PATCH 05/12] gnu: python-treq: Update to 20.9.0 conses
2023-03-22 17:31 ` [bug#62389] [PATCH 06/12] gnu: python-josepy: Move to python-cryptography-next conses
2023-03-22 17:31 ` [bug#62389] [PATCH 07/12] gnu: python-secretstorage: " conses
2023-03-22 17:32 ` [bug#62389] [PATCH 08/12] gnu: python-acme: " conses
2023-03-22 17:32 ` [bug#62389] [PATCH 09/12] gnu: python-pysaml2: " conses
2023-03-22 17:32 ` [bug#62389] [PATCH 10/12] gnu: python-incremental: Update to 21.3.0 conses
2023-03-22 17:32 ` [bug#62389] [PATCH 11/12] gnu: Add python-txredisapi conses
2023-03-22 17:33 ` [bug#62389] [PATCH 12/12] gnu: synapse: Update to 1.67.0 conses
2023-06-07 17:29 ` [bug#62389] [PATCH v2 1/6] gnu: Add python-matrix-common Miguel Ángel Moreno
2023-06-07 17:29   ` [bug#62389] [PATCH v2 2/6] gnu: python-twisted: Update to 22.10.0 Miguel Ángel Moreno
2023-08-31  5:23     ` Andrew Tropin [this message]
2023-06-07 17:31   ` [bug#62389] [PATCH v2 3/6] gnu: python-treq: Update to 20.9.0 Miguel Ángel Moreno
2023-06-07 17:31   ` [bug#62389] [PATCH v2 4/6] gnu: python-incremental: Update to 21.3.0 Miguel Ángel Moreno
2023-06-07 17:32   ` [bug#62389] [PATCH v2 5/6] gnu: Add python-txredisapi Miguel Ángel Moreno
2023-06-07 17:33   ` [bug#62389] [PATCH v2 6/6] gnu: synapse: Update to 1.67.0 Miguel Ángel Moreno
2024-02-11 19:52 ` [bug#62389] [PATCH v3 1/5] gnu: Add python-matrix-common Miguel Ángel Moreno
2024-02-11 19:53 ` Miguel Ángel Moreno
2024-02-11 19:54   ` [bug#62389] [PATCH v3 2/5] gnu: python-twisted: Update to 22.10.0 Miguel Ángel Moreno
2024-02-11 19:54   ` [bug#62389] [PATCH v3 3/5] gnu: python-treq: Update to 20.9.0 Miguel Ángel Moreno
2024-02-11 19:55   ` [bug#62389] [PATCH v3 4/5] gnu: Add python-txredisapi Miguel Ángel Moreno
2024-02-11 19:55   ` [bug#62389] [PATCH v3 5/5] gnu: synapse: Update to 1.67.0 Miguel Ángel Moreno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r0njhjjz.fsf@trop.in \
    --to=andrew@trop.in \
    --cc=62389@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    --cc=lars@6xq.net \
    --cc=me@mianmoreno.com \
    --cc=me@tobias.gr \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).