So I'm trying to get individual patches for the django overhaul I've been working on polished up and ready for submission. Trying to follow the steps in the manual for running and testing builds of these is not working. lfam from IRC suggested that guile-gcrypt might be missing, but that implies that required dependencies are missing.
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 2cfaddbc5f..e2f90c1240 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -31,6 +31,7 @@
;;; Copyright © 2019 Pierre Langlois <
address@hidden>
;;; Copyright © 2019 Chris Marusich <
address@hidden>
;;; Copyright © 2020 Lars-Dominik Braun <
address@hidden>
+;;; Copyright © 2020 Josh Marshall <
address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1398,6 +1399,32 @@ executed.")
(define-public python2-coverage
(package-with-python2 python-coverage))
+(define-public python-pytest-asyncio
+ (package
+ (name "python-pytest-asyncio")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-asyncio" version))
+ (sha256
+ (base32 "1bysy4nii13bm7h345wxf8fxcjhab7l374pqdv7vwv3izl053b4z"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pytest" ,python-pytest)))
+ (native-inputs
+ `(("python-coverage" ,python-coverage)
+ ("python-async-generator" ,python-async-generator)
+ ("python-hypothesis" ,python-hypothesis)))
+ (home-page "
https://github.com/pytest-dev/pytest-asyncio")
+ (synopsis "Pytest support for asyncio.")
+ (description "Python asyncio code is usually written in the form of
+coroutines, which makes it slightly more difficult to test using normal
+testing tools. pytest-asyncio provides useful fixtures and markers to make
+testing easier.")
+ (license license:asl2.0)))
+
+
(define-public python-cov-core
(package
(name "python-cov-core")
anadon@goodadvicemallard:~/documents/code/guix$ guix environment guix -- ./pre-inst-env guix
guile: warning: failed to install locale
guix environment: error: failed to connect to `/var/guix/daemon-socket/socket': Connection refused
anadon@goodadvicemallard:~/documents/code/guix$ guix environment guix -- ./pre-inst-env guix build python-pytest-asyncio
guile: warning: failed to install locale
guix build: error: failed to connect to `/usr/local/var/guix/daemon-socket/socket': Connection refused
The daemon has been run via systemd and `anadon@goodadvicemallard:~/documents/code/guix$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild` to similar effect.