pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-sanic



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Oct  1 06:53:12 UTC 2020

Modified Files:
        pkgsrc/www/py-sanic: Makefile PLIST distinfo
        pkgsrc/www/py-sanic/patches: patch-setup.py

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/www/py-sanic/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/py-sanic/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/www/py-sanic/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-sanic/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-sanic/Makefile
diff -u pkgsrc/www/py-sanic/Makefile:1.14 pkgsrc/www/py-sanic/Makefile:1.15
--- pkgsrc/www/py-sanic/Makefile:1.14   Mon Jun 29 14:29:20 2020
+++ pkgsrc/www/py-sanic/Makefile        Thu Oct  1 06:53:12 2020
@@ -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 @@ LICENSE=    mit AND apache-2.0
 
 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

Index: pkgsrc/www/py-sanic/PLIST
diff -u pkgsrc/www/py-sanic/PLIST:1.8 pkgsrc/www/py-sanic/PLIST:1.9
--- pkgsrc/www/py-sanic/PLIST:1.8       Mon Jun 29 14:29:20 2020
+++ pkgsrc/www/py-sanic/PLIST   Thu Oct  1 06:53:12 2020
@@ -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/constants.pyo
 ${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/static.pyo
 ${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

Index: pkgsrc/www/py-sanic/distinfo
diff -u pkgsrc/www/py-sanic/distinfo:1.11 pkgsrc/www/py-sanic/distinfo:1.12
--- pkgsrc/www/py-sanic/distinfo:1.11   Mon Jun 29 14:29:20 2020
+++ pkgsrc/www/py-sanic/distinfo        Thu Oct  1 06:53:12 2020
@@ -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

Index: pkgsrc/www/py-sanic/patches/patch-setup.py
diff -u pkgsrc/www/py-sanic/patches/patch-setup.py:1.6 pkgsrc/www/py-sanic/patches/patch-setup.py:1.7
--- pkgsrc/www/py-sanic/patches/patch-setup.py:1.6      Mon Jun 29 14:29:20 2020
+++ pkgsrc/www/py-sanic/patches/patch-setup.py  Thu Oct  1 06:53:12 2020
@@ -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