@@ -19874,30 +19874,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