[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 07/07: gnu: Add python-docspec.
From: |
Maxim Cournoyer |
Subject: |
Re: 07/07: gnu: Add python-docspec. |
Date: |
Thu, 18 Jan 2024 14:28:11 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
I'm not in the Python team, but I thought I'd give some feedback on
recent Python packages added.
guix-commits@gnu.org writes:
> gnu: Add python-docspec.
>
> * gnu/packages/python-xyz.scm (python-docspec): New variable.
>
> Change-Id: I3103bde3483273a335156b38de742f493fd366f1
> ---
> gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 61958d5eac..58a1a2b3cd 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -622,6 +622,31 @@ Python dataclasses.")
> from JSON payloads using the @code{databind.core} framework.")
> (license license:expat)))
>
> +(define-public python-docspec
> + (package
> + (name "python-docspec")
> + (version "2.2.1")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (pypi-uri "docspec" version))
> + (sha256
> + (base32 "1zqmdrc6k8pprra8p3wpzq2ml2gph1cfjmsyg07f8b8fvizffm28"))))
> + (build-system pyproject-build-system)
> + (arguments (list #:tests? #false)) ;there are none
This commit and a few others mention there are no tests; perhaps that's
true of the PyPI archive, but in this case it's worth fetching from Git
in my opinion to run the tests. Here for example, there appear to be a
Pytest test suite:
https://github.com/NiklasRosenstein/python-docspec/tree/develop/docspec/test
Fetching from git and adding pytest no native-inputs may be enough to
have it run.
Something to keep in mind for future submissions!
--
Thanks,
Maxim
- Re: 07/07: gnu: Add python-docspec.,
Maxim Cournoyer <=