GNU bug report logs - #77583
[PATCH] gnu: xandikos: Update to 0.2.12.

Previous Next

Package: guix-patches;

Reported by: David Pflug <david <at> pflug.io>

Date: Sun, 6 Apr 2025 18:18:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 77583 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#77583; Package guix-patches. (Sun, 06 Apr 2025 18:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Pflug <david <at> pflug.io>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 06 Apr 2025 18:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: David Pflug <david <at> pflug.io>
To: guix-patches <at> gnu.org
Cc: David Pflug <david <at> pflug.io>
Subject: [PATCH] gnu: xandikos: Update to 0.2.12.
Date: Sun,  6 Apr 2025 14:16:56 -0400
* gnu/packages/dav.scm (xandikos): Update to 0.2.12.

Change-Id: I50f6b1cfb8ddea5690d1aca9d503c6ab349b108a
---
 gnu/packages/dav.scm | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm
index 546118055f..4fcfa1ce1a 100644
--- a/gnu/packages/dav.scm
+++ b/gnu/packages/dav.scm
@@ -84,25 +84,27 @@ (define-public radicale
 (define-public xandikos
   (package
     (name "xandikos")
-    (version "0.2.8")
+    (version "0.2.12")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "xandikos" version))
        (sha256
-        (base32 "00ghmzcc37b17pp0r6d9v5vpxmz500kzxqj1k9ppcjhbbpvp9w8n"))))
-    (build-system python-build-system)
+        (base32 "0x6g5s9pkippxg429r9agp3w0xsid2vv1h45wfc3xzdfvgj6ygsr"))))
+    (build-system pyproject-build-system)
     (propagated-inputs
      (list python-aiohttp
            python-defusedxml
            python-dulwich
            python-icalendar
            python-jinja2
-           python-multidict))
-    (home-page "https://www.xandikos.org/")
-    (synopsis "Lightweight CalDAV/CardDAV server")
-    (description
-     "Xandikos is a lightweight yet complete CardDAV/CalDAV server that backs
+           python-multidict
+           python-vobject)
+     (native-inputs (list python-setuptools python-wheel))
+     (home-page "https://www.xandikos.org/")
+     (synopsis "Lightweight CalDAV/CardDAV server")
+     (description
+      "Xandikos is a lightweight yet complete CardDAV/CalDAV server that backs
 onto a Git repository.
 
 Features:

base-commit: d473abf0b40fe4bedf9423a6822d067a9a7826cf
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#77583; Package guix-patches. (Thu, 17 Apr 2025 20:54:05 GMT) Full text and rfc822 format available.

Message #8 received at 77583 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: David Pflug <david <at> pflug.io>
Cc: 77583 <at> debbugs.gnu.org
Subject: Re: [bug#77583] [PATCH] gnu: xandikos: Update to 0.2.12.
Date: Thu, 17 Apr 2025 22:50:17 +0200
David Pflug <david <at> pflug.io> writes:

> * gnu/packages/dav.scm (xandikos): Update to 0.2.12.
>
> Change-Id: I50f6b1cfb8ddea5690d1aca9d503c6ab349b108a

Hi!  There was a missing paren, but even after fixing it, it fails to
build:

--8<---------------cut here---------------start------------->8---
adding license file 'AUTHORS'
writing manifest file 'xandikos.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "/tmp/guix-build-xandikos-0.2.12.drv-0/xandikos-0.2.12/setup.py", line 4, in <module>
    setup()
  File "/gnu/store/l1698ag2c1mli49fhf9yrmblrgaadm05-python-setuptools-67.6.1/lib/python3.10/site
-packages/setuptools/__init__.py", line 108, in setup
    return distutils.core.setup(**attrs)
  File "/gnu/store/l1698ag2c1mli49fhf9yrmblrgaadm05-python-setuptools-67.6.1/lib/python3.10/site
-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/gnu/store/l1698ag2c1mli49fhf9yrmblrgaadm05-python-setuptools-67.6.1/lib/python3.10/site
-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/gnu/store/l1698ag2c1mli49fhf9yrmblrgaadm05-python-setuptools-67.6.1/lib/python3.10/site
-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/gnu/store/l1698ag2c1mli49fhf9yrmblrgaadm05-python-setuptools-67.6.1/lib/python3.10/site-packages/setuptools/dist.py", line 1221, in run_command
    super().run_command(command)
  File "/gnu/store/l1698ag2c1mli49fhf9yrmblrgaadm05-python-setuptools-67.6.1/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/gnu/store/l1698ag2c1mli49fhf9yrmblrgaadm05-python-setuptools-67.6.1/lib/python3.10/site-packages/setuptools/command/test.py", line 224, in run
    self.run_tests()
  File "/gnu/store/l1698ag2c1mli49fhf9yrmblrgaadm05-python-setuptools-67.6.1/lib/python3.10/site-packages/setuptools/command/test.py", line 227, in run_tests
    test = unittest.main(
  File "/gnu/store/50047r6f9chb6dwd01f9hai90y9arwb4-python-3.10.7/lib/python3.10/unittest/main.py", line 100, in __init__
    self.parseArgs(argv)
  File "/gnu/store/50047r6f9chb6dwd01f9hai90y9arwb4-python-3.10.7/lib/python3.10/unittest/main.py", line 124, in parseArgs
    self._do_discovery(argv[2:])
  File "/gnu/store/50047r6f9chb6dwd01f9hai90y9arwb4-python-3.10.7/lib/python3.10/unittest/main.py", line 244, in _do_discovery
    self.createTests(from_discovery=True, Loader=Loader)
  File "/gnu/store/50047r6f9chb6dwd01f9hai90y9arwb4-python-3.10.7/lib/python3.10/unittest/main.py", line 154, in createTests
    self.test = loader.discover(self.start, self.pattern, self.top)
  File "/gnu/store/50047r6f9chb6dwd01f9hai90y9arwb4-python-3.10.7/lib/python3.10/unittest/loader.py", line 349, in discover
    tests = list(self._find_tests(start_dir, pattern))
  File "/gnu/store/50047r6f9chb6dwd01f9hai90y9arwb4-python-3.10.7/lib/python3.10/unittest/loader.py", line 405, in _find_tests
    tests, should_recurse = self._find_test_path(
  File "/gnu/store/50047r6f9chb6dwd01f9hai90y9arwb4-python-3.10.7/lib/python3.10/unittest/loader.py", line 483, in _find_test_path
    tests = self.loadTestsFromModule(package, pattern=pattern)
  File "/gnu/store/l1698ag2c1mli49fhf9yrmblrgaadm05-python-setuptools-67.6.1/lib/python3.10/site-packages/setuptools/command/test.py", line 57, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/gnu/store/50047r6f9chb6dwd01f9hai90y9arwb4-python-3.10.7/lib/python3.10/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/tmp/guix-build-xandikos-0.2.12.drv-0/xandikos-0.2.12/xandikos/wsgi.py", line 42, in <module>
    backend = XandikosBackend(path=os.environ["XANDIKOSPATH"])
  File "/gnu/store/50047r6f9chb6dwd01f9hai90y9arwb4-python-3.10.7/lib/python3.10/os.py", line 679, in __getitem__
    raise KeyError(key) from None
KeyError: 'XANDIKOSPATH'
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("setup.py" "test" "-v") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `check' failed after 0.7 seconds
command "python" "setup.py" "test" "-v" failed with status 1
--8<---------------cut here---------------end--------------->8---

Could you take a look?

Thanks in advance,
Ludo’.




This bug report was last modified 16 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.