guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 49b2fd4f060b207f746120e3b20079d2c810fad2
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Oct 25 13:12:09 2025 +0200
gnu: datasette: Update to 1.0a19.
* gnu/packages/databases.scm (datasette): Update to 1.0a19.
[arguments]<#:test-flags>: Ignore python-black tests.
<#:phases>: Add phase 'relax-requirements.
[native-inputs]: Remove python-black, python-pip, python-wheel.
Replace python-pytest-asyncio by python-pytest-asyncio-0.26.
Change-Id: I307b5648637fa6787aba50bffb8b1caea1e6d1a2
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/databases.scm | 36 ++++++++++++++++++++----------------
1 file changed, 20 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index ff1ef5ad9e..29a0b227c2 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -6156,16 +6156,16 @@ mechanism of @code{dogpile}.")
(define-public datasette
(package
(name "datasette")
- (version "1.0a16")
- (source (origin
- (method git-fetch) ;for tests
- (uri (git-reference
- (url "https://github.com/simonw/datasette")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "10c754idn9ka5hhai1qwjwlxw4dajdlrh162k71i5gwn4cgq6wr5"))))
+ (version "1.0a19")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/simonw/datasette")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0wb73iksrc5vg2lnq3q4vr7yhlzxwr711jfmjdndd0s77996zsfh"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -6175,7 +6175,14 @@ mechanism of @code{dogpile}.")
;; These contain two unexpected extra items.
"not test_searchable"
" and not test_searchmode")
- "-n" (number->string (parallel-job-count)))))
+ "--ignore=tests/test_black.py"
+ "-n" (number->string (parallel-job-count)))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "setup.py"
+ (("\"pip\",") "")))))))
(propagated-inputs
(list python-aiofiles
python-asgi-csrf
@@ -6197,17 +6204,14 @@ mechanism of @code{dogpile}.")
(native-inputs
(list nss-certs-for-test
python-beautifulsoup4
- python-black
python-cogapp
- python-pip
python-pytest
- python-pytest-asyncio
+ python-pytest-asyncio-0.26
python-pytest-runner
python-pytest-timeout
python-pytest-xdist
python-setuptools
- python-trustme
- python-wheel))
+ python-trustme))
(home-page "https://datasette.io/")
(synopsis "Multi-tool for exploring and publishing data")
(description "Datasette is a tool for exploring and publishing data.