From 5024f061e4ca4939567e6ba667499b6713952b21 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 16 Dec 2024 21:05:24 +0100 Subject: [PATCH] gnu: Add python-devpi-server. * gnu/packages/python-web.scm (python-devpi-server): New variable. Change-Id: I5ca0e39595f2081f4a71bc0bc71106cac1508ce4 --- gnu/packages/python-web.scm | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7fb04659fdae3eb4c518ef8341d7752a21d4c9e8..92e4145bd3ce558346a219255debf58223062482 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -168,6 +168,54 @@ devpi-client and others.") (license license:expat))) +(define-public python-devpi-server + (package + (name "python-devpi-server") + (version "6.14.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "devpi-server" version)) + (sha256 + (base32 "08smfjhnvqj68fp45gzqm9axjcgnksc0z31v48llivnzlxwf8cmr")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; These all fail with: "module 'py' has no attribute 'io'" + '(list "--ignore=test_devpi_server/test_importexport.py" + "--ignore=test_devpi_server/test_main.py" + "--ignore=test_devpi_server/test_genconfig.py"))) + (propagated-inputs (list python-argon2-cffi + python-attrs + python-defusedxml + python-devpi-common + python-httpx + python-itsdangerous + python-lazy + python-legacy-cgi + python-passlib + python-platformdirs + python-pluggy + python-py + python-pyramid + python-repoze-lru + python-ruamel.yaml + python-strictyaml + python-waitress)) + (native-inputs + (list python-execnet + python-pytest + python-pytest-timeout + python-setuptools + python-webtest + python-wheel)) + (home-page "https://devpi.net") + (synopsis "Pypi.org caching server") + (description "This package implements a reliable private and pypi.org +caching server.") + (license license:expat))) + (define-public python-huggingface-hub (package (name "python-huggingface-hub")