pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-sanic py-sanic: updated to 20.9.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/43fa05f3ac6f
branches:  trunk
changeset: 439970:43fa05f3ac6f
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Oct 01 06:53:12 2020 +0000

description:
py-sanic: updated to 20.9.0

Version 20.9.0

Features
* Pass subprotocols in websockets (both sanic server and ASGI)
* Automatically set test_mode flag on app instance
* Add new unified method for updating app values
* Adds WEBSOCKET_PING_TIMEOUT and WEBSOCKET_PING_INTERVAL configuration values
* httpx version dependency updated, it is slated for removal as a dependency in v20.12
* Added auto, text, and json fallback error handlers (in v21.3, the default will change form html to auto)

Bugfixes
* Resolves exception from unread bytes in stream

Deprecations and Removals
* config.from_envar, config.from_pyfile, and config.from_object are deprecated and set to be removed in v21.3

Developer infrastructure
* Update isort calls to be compatible with new API
* Remove version section from setup.cfg
* Adding --strict-markers for pytest

Improved Documentation
* Add explicit ASGI compliance to the README

diffstat:

 www/py-sanic/Makefile               |   8 ++++----
 www/py-sanic/PLIST                  |   8 +++++++-
 www/py-sanic/distinfo               |  12 ++++++------
 www/py-sanic/patches/patch-setup.py |   8 ++++----
 4 files changed, 21 insertions(+), 15 deletions(-)

diffs (95 lines):

diff -r 064e61f6d9d3 -r 43fa05f3ac6f www/py-sanic/Makefile
--- a/www/py-sanic/Makefile     Thu Oct 01 06:51:31 2020 +0000
+++ b/www/py-sanic/Makefile     Thu Oct 01 06:53:12 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2020/06/29 14:29:20 adam Exp $
+# $NetBSD: Makefile,v 1.15 2020/10/01 06:53:12 adam Exp $
 
-DISTNAME=      sanic-20.6.3
+DISTNAME=      sanic-20.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/sanic/}
@@ -12,11 +12,11 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-aiofiles>=0.3.0:../../devel/py-aiofiles
 DEPENDS+=      ${PYPKGPREFIX}-httptools>=0.0.10:../../www/py-httptools
-DEPENDS+=      ${PYPKGPREFIX}-httpx>=0.9.3:../../www/py-httpx
+DEPENDS+=      ${PYPKGPREFIX}-httpx>=0.15.4:../../www/py-httpx
 DEPENDS+=      ${PYPKGPREFIX}-multidict>=4.0:../../databases/py-multidict
 DEPENDS+=      ${PYPKGPREFIX}-ujson>=1.35:../../textproc/py-ujson
 DEPENDS+=      ${PYPKGPREFIX}-uvloop>=0.5.3:../../devel/py-uvloop
-DEPENDS+=      ${PYPKGPREFIX}-websockets>=7.0:../../www/py-websockets
+DEPENDS+=      ${PYPKGPREFIX}-websockets>=8.1:../../www/py-websockets
 TEST_DEPENDS+= ${PYPKGPREFIX}-uvicorn-[0-9]*:../../www/py-uvicorn
 
 USE_LANGUAGES= # none
diff -r 064e61f6d9d3 -r 43fa05f3ac6f www/py-sanic/PLIST
--- a/www/py-sanic/PLIST        Thu Oct 01 06:51:31 2020 +0000
+++ b/www/py-sanic/PLIST        Thu Oct 01 06:53:12 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2020/06/29 14:29:20 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2020/10/01 06:53:12 adam Exp $
 bin/sanic-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -39,6 +39,9 @@
 ${PYSITELIB}/sanic/cookies.py
 ${PYSITELIB}/sanic/cookies.pyc
 ${PYSITELIB}/sanic/cookies.pyo
+${PYSITELIB}/sanic/deprecated.py
+${PYSITELIB}/sanic/deprecated.pyc
+${PYSITELIB}/sanic/deprecated.pyo
 ${PYSITELIB}/sanic/errorpages.py
 ${PYSITELIB}/sanic/errorpages.pyc
 ${PYSITELIB}/sanic/errorpages.pyo
@@ -78,6 +81,9 @@
 ${PYSITELIB}/sanic/testing.py
 ${PYSITELIB}/sanic/testing.pyc
 ${PYSITELIB}/sanic/testing.pyo
+${PYSITELIB}/sanic/utils.py
+${PYSITELIB}/sanic/utils.pyc
+${PYSITELIB}/sanic/utils.pyo
 ${PYSITELIB}/sanic/views.py
 ${PYSITELIB}/sanic/views.pyc
 ${PYSITELIB}/sanic/views.pyo
diff -r 064e61f6d9d3 -r 43fa05f3ac6f www/py-sanic/distinfo
--- a/www/py-sanic/distinfo     Thu Oct 01 06:51:31 2020 +0000
+++ b/www/py-sanic/distinfo     Thu Oct 01 06:53:12 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.11 2020/06/29 14:29:20 adam Exp $
+$NetBSD: distinfo,v 1.12 2020/10/01 06:53:12 adam Exp $
 
-SHA1 (sanic-20.6.3.tar.gz) = 5705b7f51f10c63ccec2978bd1413da140243fb9
-RMD160 (sanic-20.6.3.tar.gz) = 9931fb982e96cdfa81c084d994543bb1ce685450
-SHA512 (sanic-20.6.3.tar.gz) = e04bcc223a9095c7c6f7d3dab0d29b8899dbe15d7c5f3f7d50a27670166a58ba680bca6ecabc5134e645d89d898650d1d8798e8ca8e47e43f3ef788bd6f442b8
-Size (sanic-20.6.3.tar.gz) = 142170 bytes
-SHA1 (patch-setup.py) = c5582ae42d6cc459e37bafe9a21a301c0d65ed21
+SHA1 (sanic-20.9.0.tar.gz) = 34065045f83e4a451b2606cf82a3e23ad4306d8f
+RMD160 (sanic-20.9.0.tar.gz) = 63ffe38b0b2006bdfba6e46ecf42eecd06822ffb
+SHA512 (sanic-20.9.0.tar.gz) = 4f5ea058f65fa6c5f4ffa00af9f48108801dcfa19d750a0fafd688517eaeca9264d0aa82d6ceb7668abcaf9ba2b1dbeb7ce7339837619597ede322b1d600a588
+Size (sanic-20.9.0.tar.gz) = 146608 bytes
+SHA1 (patch-setup.py) = 8c749c3f50c63a37fd588ea1107b55eeaef34851
diff -r 064e61f6d9d3 -r 43fa05f3ac6f www/py-sanic/patches/patch-setup.py
--- a/www/py-sanic/patches/patch-setup.py       Thu Oct 01 06:51:31 2020 +0000
+++ b/www/py-sanic/patches/patch-setup.py       Thu Oct 01 06:53:12 2020 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-setup.py,v 1.6 2020/06/29 14:29:20 adam Exp $
+$NetBSD: patch-setup.py,v 1.7 2020/10/01 06:53:12 adam Exp $
 
 Allow newer versions.
 
---- setup.py.orig      2020-06-28 10:14:53.000000000 +0000
+--- setup.py.orig      2020-09-30 14:40:18.000000000 +0000
 +++ setup.py
 @@ -81,7 +81,7 @@ requirements = [
      "aiofiles>=0.3.0",
      "websockets>=8.1,<9.0",
      "multidict>=4.0,<5.0",
--    "httpx==0.11.1",
-+    "httpx>=0.11.1",
+-    "httpx==0.15.4",
++    "httpx>=0.15.4",
  ]
  
  tests_require = [



Home | Main Index | Thread Index | Old Index