diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-09 21:08:52 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-09 21:09:38 +0000 |
| commit | 5754f6a0976fb06d9bf1702b9b98e991d7b4dbc0 (patch) | |
| tree | 978525f64ce0f3d7c1ba8670a4a1c5f1782d1ed2 /gnu/packages | |
| parent | 02d1d6907ee6fcda816b287bddc4dc64878523b4 (diff) | |
gnu: python-paste: Update to 3.10.1.
* gnu/packages/python-web.scm (python-paste): Update to 3.10.1.
[source] <uri>: Adjust it as PyPI archive has been changed.
<patches>: Remove them.
<snippet>: Likewise, all tests passed without modifications.
[propagated-inputs]: Remove python-six and python-setuptools.
[native-inputs]: Add python-setuptools.
* gnu/packages/patches/python-paste-remove-timing-test.patch: Delete file.
* gnu/local.mk (python-paste-remove-timing-test.patch): Deregister patch.
Change-Id: I8b8560318e01fdcddfeb2f6916414e1c59cbcb6a
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/patches/python-paste-remove-timing-test.patch | 16 | ||||
| -rw-r--r-- | gnu/packages/python-web.scm | 21 |
2 files changed, 7 insertions, 30 deletions
diff --git a/gnu/packages/patches/python-paste-remove-timing-test.patch b/gnu/packages/patches/python-paste-remove-timing-test.patch deleted file mode 100644 index 6ab8d1a59c0..00000000000 --- a/gnu/packages/patches/python-paste-remove-timing-test.patch +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | Remove this test to verify that things were modified since a certain time. | ||
| 2 | |||
| 3 | That assumption doesn't hold up when your environment doesn't have access to a | ||
| 4 | real clock and thinks it's living in 1970 :) | ||
| 5 | |||
| 6 | --- a/tests/test_fileapp.py 2015-04-23 13:48:37.000000000 -0700 | ||
| 7 | +++ b/tests/test_fileapp.py 2016-02-22 19:20:08.332802417 -0800 | ||
| 8 | @@ -223,8 +223,6 @@ | ||
| 9 | status=304) | ||
| 10 | res = app.get('/', headers={'If-None-Match': 'asdf'}, | ||
| 11 | status=200) | ||
| 12 | - res = app.get('/', headers={'If-Modified-Since': 'Sat, 1 Jan 2005 12:00:00 GMT'}, | ||
| 13 | - status=200) | ||
| 14 | res = app.get('/', headers={'If-Modified-Since': last_mod + '; length=100'}, | ||
| 15 | status=304) | ||
| 16 | res = app.get('/', headers={'If-Modified-Since': 'invalid date'}, | ||
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 4f6287c0b6e..b4f6da8f02e 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -6541,28 +6541,21 @@ package from WTForms. The package has been renamed to | |||
| 6541 | (define-public python-paste | 6541 | (define-public python-paste |
| 6542 | (package | 6542 | (package |
| 6543 | (name "python-paste") | 6543 | (name "python-paste") |
| 6544 | (version "3.5.2") | 6544 | (version "3.10.1") |
| 6545 | (source | 6545 | (source |
| 6546 | (origin | 6546 | (origin |
| 6547 | (method url-fetch) | 6547 | (method url-fetch) |
| 6548 | (uri (pypi-uri "Paste" version)) | 6548 | (uri (pypi-uri "paste" version)) |
| 6549 | (sha256 | 6549 | (sha256 |
| 6550 | (base32 | 6550 | (base32 |
| 6551 | "1xjakxrdvy4kgfy170gb9bl8zp9hqjjwh1h1vlik1pxw606399ym")) | 6551 | "0jjyl39r5ncx98rwi855x71qrwvwm59idgn7q0c7m2jyb8314g8w")))) |
| 6552 | (patches (search-patches "python-paste-remove-timing-test.patch")) | ||
| 6553 | (modules '((guix build utils))) | ||
| 6554 | (snippet | ||
| 6555 | '(begin | ||
| 6556 | ;; This test calls out to the internet. | ||
| 6557 | (delete-file "tests/test_proxy.py") #t)))) | ||
| 6558 | (build-system pyproject-build-system) | 6552 | (build-system pyproject-build-system) |
| 6559 | (native-inputs | 6553 | (native-inputs |
| 6560 | (list python-pytest python-wheel)) | 6554 | (list python-pytest |
| 6561 | (propagated-inputs | 6555 | python-setuptools |
| 6562 | (list python-six python-setuptools)) | 6556 | python-wheel)) |
| 6563 | (home-page "https://pythonpaste.readthedocs.io/") | 6557 | (home-page "https://pythonpaste.readthedocs.io/") |
| 6564 | (synopsis | 6558 | (synopsis "Python web development tools, focusing on WSGI") |
| 6565 | "Python web development tools, focusing on WSGI") | ||
| 6566 | (description | 6559 | (description |
| 6567 | "Paste provides a variety of web development tools and middleware which | 6560 | "Paste provides a variety of web development tools and middleware which |
| 6568 | can be nested together to build web applications. Paste's design closely | 6561 | can be nested together to build web applications. Paste's design closely |
