From: John Kehayias via Guix-patches via <guix-patches@gnu.org>
To: "52028@debbugs.gnu.org" <52028@debbugs.gnu.org>
Subject: [bug#52028] [core-updates-frozen] [PATCH] gnu: python-nautilus: Remove package.
Date: Sun, 21 Nov 2021 21:23:29 +0000 [thread overview]
Message-ID: <16mmmAFEE7vCWIebceljY2KxU8PsSPMrCh7h_KzRela_YVi4lJNyaVsEaKkNFadNpqC-zwWETIVRN3KHHPf5ak3eaugjyHvQjAmcA9fAXvo=@protonmail.com> (raw)
In-Reply-To: <ZDR3znxtz9dQ8WjjtzUHsz6xPkWdzkzF8hG_tsKZc_DNMLwZrVaBYpZYkM6W8UARmFNpE3daIpL52X5LtZL8gFKyIAp3ag47O70lOZgFWlU=@protonmail.com>
[-- Attachment #1: Type: text/plain, Size: 799 bytes --]
Rather than open a bug report for a soon-to-be-removed package, I'm attaching the diff here. Please do not apply it.
I added a few packages that were needed as I made changes and updates, in case this is useful to someone down the line. I also did a hacky workaround of python-nautilus having some template files getting compiled that probably should be skipped. Copying them to /tmp and back afterward was probably not how we should do it, but again, in case someone wants to revive this package. I should note that build failure was new on core-updates-frozen and this diff fails on the sanity-check.
Again, the actual patch is in the first message, this is just a diff in case someone wants to revive python-nautilus (though check again, probably want nautilus-python from Gnome).
John
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: nautilus-wip.diff --]
[-- Type: text/x-patch; name=nautilus-wip.diff, Size: 6711 bytes --]
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e882659d4b..c9801f14f1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15321,14 +15321,14 @@ (define-public python2-tabulate
(define-public python-kazoo
(package
(name "python-kazoo")
- (version "2.4.0")
+ (version "2.8.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "kazoo" version))
(sha256
(base32
- "16y213k7r8shyn2zw1k6lkzjgcrvm441pqv8scvcjixhvpbx3hm7"))))
+ "1zpj5cc8624w6i0pxgcxqkjwbkm4pkrv19d7wh5df3jais32g3jq"))))
(build-system python-build-system)
(arguments '(#:tests? #f)) ; XXX: needs zookeeper
(propagated-inputs
@@ -16948,31 +16948,151 @@ (define-public python-graphene
with an associated set of resolve methods that know how to fetch data.")
(license license:expat)))
+(define-public python-aiohttp-session
+ (package
+ (name "python-aiohttp-session")
+ (version "2.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "aiohttp-session" version))
+ (sha256
+ (base32 "0x7b5bl36d045l320v0g5rm0c000zdy626cpl1y0xqw4id31754m"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-aiohttp python-cryptography python-pynacl))
+ (home-page "https://github.com/aio-libs/aiohttp_session/")
+ (synopsis "sessions for aiohttp.web")
+ (description "sessions for aiohttp.web")
+ (license #f)))
+
+(define-public python-aiohttp-jinja2
+ (package
+ (name "python-aiohttp-jinja2")
+ (version "1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "aiohttp-jinja2" version))
+ (sha256
+ (base32 "02wiky2ra4nbdxgb5lpb29bsg8pwg4nsyd05wps93dk0q3maafvw"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-aiohttp python-jinja2 python-typing-extensions))
+ (native-inputs
+ (list python-pytest))
+ (home-page "https://github.com/aio-libs/aiohttp_jinja2/")
+ (synopsis
+ "jinja2 template renderer for aiohttp.web (http server for asyncio)")
+ (description
+ "jinja2 template renderer for aiohttp.web (http server for asyncio)")
+ (license #f)))
+
+(define-public python-aiohttp-cors
+ (package
+ (name "python-aiohttp-cors")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "aiohttp_cors" version))
+ (sha256
+ (base32 "0pczn54bqd32v8zhfbjfybiza6xh1szwxy6as577dn8g23bwcfad"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; some (all?) tests need http access
+ (propagated-inputs (list python-aiohttp
+ python-selenium ; for tests
+ python-typing))
+ (native-inputs
+ (list python-pytest python-pytest-cov python-pytest-runner)) ; for tests
+ (home-page "https://github.com/aio-libs/aiohttp-cors")
+ (synopsis "CORS support for aiohttp")
+ (description "CORS support for aiohttp")
+ (license license:asl2.0)))
+
+(define-public python-kafka-python
+ (package
+ (name "python-kafka-python")
+ (version "2.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "kafka-python" version))
+ (sha256
+ (base32 "1qypm52iv81kvb2khrj0fj6n17bhdvca4y9ydz6jcdxnlbzfgpq4"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; need to manually copy tox.ini?
+ (native-inputs (list python-tox))
+ (home-page "https://github.com/dpkp/kafka-python")
+ (synopsis "Pure Python client for Apache Kafka")
+ (description "Pure Python client for Apache Kafka")
+ (license #f)))
+
+(define-public python-aiokafka
+ (package
+ (name "python-aiokafka")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "aiokafka" version))
+ (sha256
+ (base32 "15ih5hn7jin0vliqjk5g7pv5fm5zgsp97jxfhfa8gn1ihz8l3z58"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; some (all?) tests need http access
+ (propagated-inputs (list python-dataclasses python-kafka-python))
+ (home-page "http://aiokafka.readthedocs.org")
+ (synopsis "Kafka integration with asyncio.")
+ (description "Kafka integration with asyncio.")
+ (license #f)))
+
(define-public python-nautilus
(package
(name "python-nautilus")
- (version "0.4.9")
+ (version "0.5.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "nautilus" version))
(sha256
(base32
- "01hwzjc1zshk4vvxrcghm398fpy4jls66dyz06g07mrwqif8878p"))))
+ "1phdams5zqjfmaaf0dzcp37rndcrfb78qxx3lhqmwvswq60hnibj"))))
(build-system python-build-system)
- (arguments `(#:tests? #f)) ; fails to import test modules
+ (arguments
+ `(#:tests? #f ; fails to import test modules
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'move-templates
+ (lambda _
+ (copy-recursively "nautilus/management/templates" "/tmp/naut")
+ (delete-file-recursively "nautilus/management/templates")
+ #t))
+ (add-after 'install 'restore-templates
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((lib (string-append (assoc-ref outputs "out") "/lib/python3.9/site-packages/nautilus/management/templates")))
+ (copy-recursively "/tmp/naut" lib))
+ #t)))))
(propagated-inputs
- `(("python-bcrypt" ,python-bcrypt)
+ `(("python-aiohttp" ,python-aiohttp)
+ ("python-aiohttp-cors" ,python-aiohttp-cors)
+ ("python-aiohttp-jinja2" ,python-aiohttp-jinja2)
+ ("python-aiokafka" ,python-aiokafka)
+ ("python-aiohttp-session" ,python-aiohttp-session)
+ ("python-pykafka" ,python-pykafka)
+ ("python-bcrypt" ,python-bcrypt)
("python-click" ,python-click)
("python-consul" ,python-consul)
+ ("python-cryptography" ,python-cryptography)
("python-graphene" ,python-graphene)
("python-jinja2" ,python-jinja2)
("python-peewee" ,python-peewee)
- ("python-pika" ,python-pika)
- ("python-tornado" ,python-tornado)
- ("python-wtforms" ,python-wtforms)))
+ ("python-pyjwt" ,python-pyjwt)
+ ("python-uvloop" ,python-uvloop)))
(native-inputs
- `(("python-nose2" ,python-nose2)))
+ `(("python-nose2" ,python-nose2)
+ ("python-pytest" ,python-pytest)))
(home-page "https://github.com/AlecAivazis/nautilus")
(synopsis "Library for creating microservice applications")
(description
next prev parent reply other threads:[~2021-11-21 21:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-21 21:15 [bug#52028] [core-updates-frozen] [PATCH] gnu: python-nautilus: Remove package John Kehayias via Guix-patches via
2021-11-21 21:23 ` John Kehayias via Guix-patches via [this message]
2021-11-22 1:42 ` bug#52028: " Maxim Cournoyer
2021-11-22 1:49 ` [bug#52028] " John Kehayias via Guix-patches via
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='16mmmAFEE7vCWIebceljY2KxU8PsSPMrCh7h_KzRela_YVi4lJNyaVsEaKkNFadNpqC-zwWETIVRN3KHHPf5ak3eaugjyHvQjAmcA9fAXvo=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=52028@debbugs.gnu.org \
--cc=john.kehayias@protonmail.com \
/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 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.