diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-11 03:17:54 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-11 03:22:53 +0100 |
| commit | ae52aad4420fd02798f8e289d91d8d7b32d658f3 (patch) | |
| tree | b0a9a623b9be9f2f856f3c21102ad8cbb6f996f7 /gnu/packages/python-web.scm | |
| parent | b027a4c3a290189f81079ee71cee0c48b48571ca (diff) | |
gnu: python-devpi-server: Update to 6.20.3.
* gnu/packages/python-web.scm (python-devpi-server): Update to 6.20.3.
[source]: Switch to git-fetch.
[arguments] <#:test-flags>: Drop all.
[phases]{chdir}: New phase.
{relax-requirements}: Drop python-py from scope.
[propagated-inputs]: Remove python-legacy-cgi and python-py; add
python-requests.
[native-inputs]: Add nss-certs-for-test.
Relates-to: guix/guix#7475
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 6f2e1aacd33..4491f41f4cc 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -880,30 +880,36 @@ server process.") | |||
| 880 | (define-public python-devpi-server | 880 | (define-public python-devpi-server |
| 881 | (package | 881 | (package |
| 882 | (name "python-devpi-server") | 882 | (name "python-devpi-server") |
| 883 | (version "6.17.0") | 883 | (version "6.20.3") |
| 884 | (source | 884 | (source |
| 885 | (origin | 885 | (origin |
| 886 | (method url-fetch) | 886 | (method git-fetch) |
| 887 | (uri (pypi-uri "devpi_server" version)) | 887 | (uri (git-reference |
| 888 | (url "https://github.com/devpi/devpi") | ||
| 889 | (commit (string-append "server-" version)))) | ||
| 890 | (file-name (git-file-name name version)) | ||
| 888 | (sha256 | 891 | (sha256 |
| 889 | (base32 "13lybrw8j6zjxwvx6sk7bw6854hd2m18s1xcvl0q100j4n06p6ml")))) | 892 | (base32 "11q1bnd8rl55gcv99xkmg10i8z9l91kvmgrvcz1803mwkcs0isp8")))) |
| 890 | (build-system pyproject-build-system) | 893 | (build-system pyproject-build-system) |
| 891 | (arguments | 894 | (arguments |
| 892 | (list | 895 | (list |
| 893 | #:test-flags | 896 | ;; tests: 1134 passed, 53 skipped, 29 warnings |
| 894 | ;; These all fail with: "module 'py' has no attribute 'io'" | ||
| 895 | #~(list "--ignore=test_devpi_server/test_importexport.py" | ||
| 896 | "--ignore=test_devpi_server/test_main.py" | ||
| 897 | "--ignore=test_devpi_server/test_genconfig.py") | ||
| 898 | #:phases | 897 | #:phases |
| 899 | #~(modify-phases %standard-phases | 898 | #~(modify-phases %standard-phases |
| 900 | (add-after 'unpack 'relax-requirements | 899 | (add-after 'unpack 'chdir |
| 900 | (lambda _ | ||
| 901 | (chdir "server"))) | ||
| 902 | (add-after 'chdir 'relax-requirements | ||
| 901 | (lambda _ | 903 | (lambda _ |
| 902 | (substitute* "pyproject.toml" | 904 | (substitute* "pyproject.toml" |
| 903 | ;; It straggles to check argon2 in passlib on any versions | 905 | ;; It straggles to check argon2 in passlib on any versions |
| 904 | ;; starting from 6.14.0: UnknownExtra("passlib 1.7.4 has no | 906 | ;; starting from 6.14.0: UnknownExtra("passlib 1.7.4 has no |
| 905 | ;; such extra feature 'argon2'",). | 907 | ;; such extra feature 'argon2'",). |
| 906 | (("passlib\\[argon2\\]") "passlib"))))))) | 908 | (("passlib\\[argon2\\]") "passlib") |
| 909 | (("\"py>=1.4.23\",") "")))) | ||
| 910 | (add-before 'check 'pre-check | ||
| 911 | (lambda _ | ||
| 912 | (setenv "HOME" "/tmp")))))) | ||
| 907 | (propagated-inputs (list python-argon2-cffi | 913 | (propagated-inputs (list python-argon2-cffi |
| 908 | python-attrs | 914 | python-attrs |
| 909 | python-defusedxml | 915 | python-defusedxml |
| @@ -911,18 +917,18 @@ server process.") | |||
| 911 | python-httpx | 917 | python-httpx |
| 912 | python-itsdangerous | 918 | python-itsdangerous |
| 913 | python-lazy | 919 | python-lazy |
| 914 | python-legacy-cgi | ||
| 915 | python-passlib | 920 | python-passlib |
| 916 | python-platformdirs | 921 | python-platformdirs |
| 917 | python-pluggy | 922 | python-pluggy |
| 918 | python-py | ||
| 919 | python-pyramid | 923 | python-pyramid |
| 920 | python-repoze-lru | 924 | python-repoze-lru |
| 925 | python-requests | ||
| 921 | python-ruamel.yaml-0.16 ;FIXME: rename | 926 | python-ruamel.yaml-0.16 ;FIXME: rename |
| 922 | python-strictyaml | 927 | python-strictyaml |
| 923 | python-waitress)) | 928 | python-waitress)) |
| 924 | (native-inputs | 929 | (native-inputs |
| 925 | (list python-execnet | 930 | (list nss-certs-for-test |
| 931 | python-execnet | ||
| 926 | python-pytest | 932 | python-pytest |
| 927 | python-pytest-asyncio | 933 | python-pytest-asyncio |
| 928 | python-pytest-timeout | 934 | python-pytest-timeout |
