From 654f524184fc9429e1756fdeef0a962f1066a2b2 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 7 Oct 2025 12:00:04 +0100 Subject: [PATCH] gnu: python-sqlitedict: Update to 2.1.0. * gnu/packages/databases.scm (python-sqlitedict): Update to 2.1.0. [build-system]: Switch to pyproject-build-system. [arguments] : Skip one test. : Use default 'check. [native-inputs]: Add python-setuptools. Change-Id: I2757230d4e94f47fa2453ae5bd8968a6ef7ac8e3 --- gnu/packages/databases.scm | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 11b71737180a0bb49b5eda0c8583e4a75b7c7c1f..28141d4cbc1e612738ca9c79b3776ea7e0c1a345 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -981,27 +981,21 @@ auto-completion and syntax highlighting.") (define-public python-sqlitedict (package (name "python-sqlitedict") - (version "2.0.0") + (version "2.1.0") (source (origin (method url-fetch) (uri (pypi-uri "sqlitedict" version)) (sha256 (base32 - "05sxy016k3p5sjjhdg0ad9z15i6vm3rq4cr9m8nrc7jfdx0p18r3")))) - (build-system python-build-system) + "134y1ya74ah3g1pd3g9iqjlrcjr2y5b2iny2skqrcab0dnwwzn83")))) + (build-system pyproject-build-system) (arguments (list - #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-vv" - "-k" - ;; No idea why these fail. - (string-append "not test_py24_error" - " and not test_tablenames")))))))) - (native-inputs (list python-pytest)) + #:test-flags + ;; assert os.system('env PYTHONPATH=. %s tests/autocommit.py' % + ;; sys.executable) == 0 + #~(list "--deselect=tests/test_autocommit.py::test"))) + (native-inputs (list python-pytest python-setuptools)) (home-page "https://github.com/piskvorky/sqlitedict") (synopsis "Persistent dict backed up by sqlite3 and pickle") (description