gnu: python-sanic: Update to 20.12.2.
* gnu/packages/python-web.scm (python-sanic) [version]: Update to 20.12.2. [arguments]: Relax dependency versions. [native-inputs]: Add python-pytest-asyncio. [home-page]: Update. [synopsis]: Remove Python version. [description]: Ditto.
This commit is contained in:
		
							parent
							
								
									955fcf0a19
								
							
						
					
					
						commit
						999a1cba54
					
				
					 1 changed files with 7 additions and 7 deletions
				
			
		|  | @ -5658,14 +5658,14 @@ as a Python package.") | ||||||
| (define-public python-sanic | (define-public python-sanic | ||||||
|   (package |   (package | ||||||
|     (name "python-sanic") |     (name "python-sanic") | ||||||
|     (version "20.9.1") |     (version "20.12.2") | ||||||
|     (source |     (source | ||||||
|      (origin |      (origin | ||||||
|        (method url-fetch) |        (method url-fetch) | ||||||
|        (uri (pypi-uri "sanic" version)) |        (uri (pypi-uri "sanic" version)) | ||||||
|        (sha256 |        (sha256 | ||||||
|         (base32 |         (base32 | ||||||
|          "06p0lsxqbfbka2yaqlpp0bg5pf7ma44zi6kq7qbb6hhry48dp1w6")))) |          "1c02gdp1j18xny9jd33fp0w57qqi7g66zwmaykv2dhcks96f5mxr")))) | ||||||
|     (build-system python-build-system) |     (build-system python-build-system) | ||||||
|     (arguments |     (arguments | ||||||
|      '(#:phases |      '(#:phases | ||||||
|  | @ -5674,9 +5674,8 @@ as a Python package.") | ||||||
|            ;; Allow using recent dependencies. |            ;; Allow using recent dependencies. | ||||||
|            (lambda* (#:key inputs #:allow-other-keys) |            (lambda* (#:key inputs #:allow-other-keys) | ||||||
|              (substitute* "setup.py" |              (substitute* "setup.py" | ||||||
|                (("httpcore==0.3.0") "httpcore") |  | ||||||
|                (("pytest==5.2.1") "pytest") |                (("pytest==5.2.1") "pytest") | ||||||
|                (("multidict==5.0.0") "multidict") |                (("multidict>=5.0,<6.0") "multidict") | ||||||
|                (("httpx==0\\.15\\.4") "httpx")) |                (("httpx==0\\.15\\.4") "httpx")) | ||||||
|              #t)) |              #t)) | ||||||
|          (replace 'check |          (replace 'check | ||||||
|  | @ -5702,14 +5701,15 @@ as a Python package.") | ||||||
|        ("python-pytest-benchmark" ,python-pytest-benchmark) |        ("python-pytest-benchmark" ,python-pytest-benchmark) | ||||||
|        ("python-pytest-sanic" ,python-pytest-sanic) |        ("python-pytest-sanic" ,python-pytest-sanic) | ||||||
|        ("python-pytest-sugar" ,python-pytest-sugar) |        ("python-pytest-sugar" ,python-pytest-sugar) | ||||||
|  |        ("python-pytest-asyncio" ,python-pytest-asyncio) | ||||||
|        ("python-urllib3" ,python-urllib3) |        ("python-urllib3" ,python-urllib3) | ||||||
|        ("python-uvicorn" ,python-uvicorn))) |        ("python-uvicorn" ,python-uvicorn))) | ||||||
|     (home-page |     (home-page | ||||||
|      "https://github.com/huge-success/sanic/") |      "https://github.com/sanic-org/sanic/") | ||||||
|     (synopsis |     (synopsis | ||||||
|      "Async Python 3.6+ web server/framework") |      "Async Python web server/framework") | ||||||
|     (description |     (description | ||||||
|      "Sanic is a Python 3.6+ web server and web framework |      "Sanic is a Python web server and web framework | ||||||
| that's written to go fast.  It allows the usage of the | that's written to go fast.  It allows the usage of the | ||||||
| @code{async/await} syntax added in Python 3.5, which makes | @code{async/await} syntax added in Python 3.5, which makes | ||||||
| your code non-blocking and speedy.") | your code non-blocking and speedy.") | ||||||
|  |  | ||||||
		Reference in a new issue