pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-falcon
Module Name: pkgsrc
Committed By: markd
Date: Mon May 8 20:30:55 UTC 2023
Modified Files:
pkgsrc/devel/py-falcon: ALTERNATIVES Makefile PLIST distinfo
Log Message:
py-falcon: update to 3.1.1
3.0.0
A major new release that includes ASGI-based asyncio and WebSocket support,
fantastic multipart/form-data parsing, better error handling, enhancements to
existing features, and the usual assortment of bug fixes.
* Python 3.8 and 3.9 are now fully supported.
* Python 3.6+ is only required when using the new ASGI interface. WSGI is still
supported on Python 3.5+.
* Python 3.5 support is deprecated and may be removed in the next major release.
* Python 3.4 is no longer supported.
* The Falcon 2.x series was the last to support Python language version 2. As a
result, support for CPython 2.7 and PyPy2.7 was removed in Falcon 3.0.
* The class OptionalRepresentation and the attribute has_representation were
deprecated. The default error serializer now generates a representation for
every error type that derives from falcon.HTTPError. In addition, Falcon
now ensures that any previously set response body is cleared before handling
any raised exception.
* The class NoRepresentation was deprecated. All subclasses of falcon.HTTPError
now have a media type representation.
3.0.1
This is a minor point release to take care of a couple of bugs that we did not
catch for 3.0.0.
3.1.0
This release contains several refinements to request validation and error
handling, along with some tweaks to response handling for static and downloadable
files.
Due to popular demand, TestClient and ASGIConductor now expose convenience
shorthand aliases for the simulate_* methods, i.e., simulate_get() is now also
available as get(), etc.
Some important bugs were also fixed to ensure applications properly clean up
response streams and do not hang when reading request bodies that are streamed
using chunked transfer encoding.
This release also adds support for CPython 3.10 and deprecates CPython 3.6.
3.1.1
This is a minor point release addressing a couple of high impact bugs, and
enabling the framework on the recently released CPython 3.11.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-falcon/ALTERNATIVES
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-falcon/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-falcon/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-falcon/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-falcon/ALTERNATIVES
diff -u pkgsrc/devel/py-falcon/ALTERNATIVES:1.1 pkgsrc/devel/py-falcon/ALTERNATIVES:1.2
--- pkgsrc/devel/py-falcon/ALTERNATIVES:1.1 Tue Apr 25 20:55:35 2017
+++ pkgsrc/devel/py-falcon/ALTERNATIVES Mon May 8 20:30:55 2023
@@ -1,2 +1,3 @@
bin/falcon-bench @PREFIX@/bin/falcon-bench-@PYVERSSUFFIX@
+bin/falcon-inspect-app @PREFIX@/bin/falcon-inspect-app-@PYVERSSUFFIX@
bin/falcon-print-routes @PREFIX@/bin/falcon-print-routes-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-falcon/Makefile
diff -u pkgsrc/devel/py-falcon/Makefile:1.10 pkgsrc/devel/py-falcon/Makefile:1.11
--- pkgsrc/devel/py-falcon/Makefile:1.10 Sun May 1 07:51:48 2022
+++ pkgsrc/devel/py-falcon/Makefile Mon May 8 20:30:55 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2022/05/01 07:51:48 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2023/05/08 20:30:55 markd Exp $
-DISTNAME= falcon-2.0.0
+DISTNAME= falcon-3.1.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=f/falcon/}
@@ -24,6 +23,7 @@ USE_PKG_RESOURCES= yes
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} falcon-bench falcon-bench-${PYVERSSUFFIX} && \
+ ${MV} falcon-inspect-app falcon-inspect-app-${PYVERSSUFFIX} && \
${MV} falcon-print-routes falcon-print-routes-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
Index: pkgsrc/devel/py-falcon/PLIST
diff -u pkgsrc/devel/py-falcon/PLIST:1.4 pkgsrc/devel/py-falcon/PLIST:1.5
--- pkgsrc/devel/py-falcon/PLIST:1.4 Sat May 16 17:08:53 2020
+++ pkgsrc/devel/py-falcon/PLIST Mon May 8 20:30:55 2023
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.4 2020/05/16 17:08:53 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2023/05/08 20:30:55 markd Exp $
bin/falcon-bench-${PYVERSSUFFIX}
+bin/falcon-inspect-app-${PYVERSSUFFIX}
bin/falcon-print-routes-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -10,14 +11,55 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.tx
${PYSITELIB}/falcon/__init__.py
${PYSITELIB}/falcon/__init__.pyc
${PYSITELIB}/falcon/__init__.pyo
-${PYSITELIB}/falcon/api.py
-${PYSITELIB}/falcon/api.pyc
-${PYSITELIB}/falcon/api.pyo
-${PYSITELIB}/falcon/api.so
${PYSITELIB}/falcon/api_helpers.py
${PYSITELIB}/falcon/api_helpers.pyc
${PYSITELIB}/falcon/api_helpers.pyo
${PYSITELIB}/falcon/api_helpers.so
+${PYSITELIB}/falcon/app.py
+${PYSITELIB}/falcon/app.pyc
+${PYSITELIB}/falcon/app.pyo
+${PYSITELIB}/falcon/app.so
+${PYSITELIB}/falcon/app_helpers.py
+${PYSITELIB}/falcon/app_helpers.pyc
+${PYSITELIB}/falcon/app_helpers.pyo
+${PYSITELIB}/falcon/app_helpers.so
+${PYSITELIB}/falcon/asgi/__init__.py
+${PYSITELIB}/falcon/asgi/__init__.pyc
+${PYSITELIB}/falcon/asgi/__init__.pyo
+${PYSITELIB}/falcon/asgi/_asgi_helpers.py
+${PYSITELIB}/falcon/asgi/_asgi_helpers.pyc
+${PYSITELIB}/falcon/asgi/_asgi_helpers.pyo
+${PYSITELIB}/falcon/asgi/_request_helpers.py
+${PYSITELIB}/falcon/asgi/_request_helpers.pyc
+${PYSITELIB}/falcon/asgi/_request_helpers.pyo
+${PYSITELIB}/falcon/asgi/app.py
+${PYSITELIB}/falcon/asgi/app.pyc
+${PYSITELIB}/falcon/asgi/app.pyo
+${PYSITELIB}/falcon/asgi/multipart.py
+${PYSITELIB}/falcon/asgi/multipart.pyc
+${PYSITELIB}/falcon/asgi/multipart.pyo
+${PYSITELIB}/falcon/asgi/reader.py
+${PYSITELIB}/falcon/asgi/reader.pyc
+${PYSITELIB}/falcon/asgi/reader.pyo
+${PYSITELIB}/falcon/asgi/request.py
+${PYSITELIB}/falcon/asgi/request.pyc
+${PYSITELIB}/falcon/asgi/request.pyo
+${PYSITELIB}/falcon/asgi/response.py
+${PYSITELIB}/falcon/asgi/response.pyc
+${PYSITELIB}/falcon/asgi/response.pyo
+${PYSITELIB}/falcon/asgi/stream.py
+${PYSITELIB}/falcon/asgi/stream.pyc
+${PYSITELIB}/falcon/asgi/stream.pyo
+${PYSITELIB}/falcon/asgi/structures.py
+${PYSITELIB}/falcon/asgi/structures.pyc
+${PYSITELIB}/falcon/asgi/structures.pyo
+${PYSITELIB}/falcon/asgi/ws.py
+${PYSITELIB}/falcon/asgi/ws.pyc
+${PYSITELIB}/falcon/asgi/ws.pyo
+${PYSITELIB}/falcon/asgi_spec.py
+${PYSITELIB}/falcon/asgi_spec.pyc
+${PYSITELIB}/falcon/asgi_spec.pyo
+${PYSITELIB}/falcon/asgi_spec.so
${PYSITELIB}/falcon/bench/__init__.py
${PYSITELIB}/falcon/bench/__init__.pyc
${PYSITELIB}/falcon/bench/__init__.pyo
@@ -126,13 +168,19 @@ ${PYSITELIB}/falcon/cmd/__init__.pyo
${PYSITELIB}/falcon/cmd/bench.py
${PYSITELIB}/falcon/cmd/bench.pyc
${PYSITELIB}/falcon/cmd/bench.pyo
-${PYSITELIB}/falcon/cmd/print_routes.py
-${PYSITELIB}/falcon/cmd/print_routes.pyc
-${PYSITELIB}/falcon/cmd/print_routes.pyo
+${PYSITELIB}/falcon/cmd/inspect_app.py
+${PYSITELIB}/falcon/cmd/inspect_app.pyc
+${PYSITELIB}/falcon/cmd/inspect_app.pyo
${PYSITELIB}/falcon/constants.py
${PYSITELIB}/falcon/constants.pyc
${PYSITELIB}/falcon/constants.pyo
${PYSITELIB}/falcon/constants.so
+${PYSITELIB}/falcon/cyutil/misc.pyx
+${PYSITELIB}/falcon/cyutil/misc.so
+${PYSITELIB}/falcon/cyutil/reader.pyx
+${PYSITELIB}/falcon/cyutil/reader.so
+${PYSITELIB}/falcon/cyutil/uri.pyx
+${PYSITELIB}/falcon/cyutil/uri.so
${PYSITELIB}/falcon/errors.py
${PYSITELIB}/falcon/errors.pyc
${PYSITELIB}/falcon/errors.pyo
@@ -152,6 +200,10 @@ ${PYSITELIB}/falcon/http_status.py
${PYSITELIB}/falcon/http_status.pyc
${PYSITELIB}/falcon/http_status.pyo
${PYSITELIB}/falcon/http_status.so
+${PYSITELIB}/falcon/inspect.py
+${PYSITELIB}/falcon/inspect.pyc
+${PYSITELIB}/falcon/inspect.pyo
+${PYSITELIB}/falcon/inspect.so
${PYSITELIB}/falcon/media/__init__.py
${PYSITELIB}/falcon/media/__init__.pyc
${PYSITELIB}/falcon/media/__init__.pyo
@@ -171,12 +223,24 @@ ${PYSITELIB}/falcon/media/msgpack.py
${PYSITELIB}/falcon/media/msgpack.pyc
${PYSITELIB}/falcon/media/msgpack.pyo
${PYSITELIB}/falcon/media/msgpack.so
+${PYSITELIB}/falcon/media/multipart.py
+${PYSITELIB}/falcon/media/multipart.pyc
+${PYSITELIB}/falcon/media/multipart.pyo
+${PYSITELIB}/falcon/media/multipart.so
+${PYSITELIB}/falcon/media/urlencoded.py
+${PYSITELIB}/falcon/media/urlencoded.pyc
+${PYSITELIB}/falcon/media/urlencoded.pyo
+${PYSITELIB}/falcon/media/urlencoded.so
${PYSITELIB}/falcon/media/validators/__init__.py
${PYSITELIB}/falcon/media/validators/__init__.pyc
${PYSITELIB}/falcon/media/validators/__init__.pyo
${PYSITELIB}/falcon/media/validators/jsonschema.py
${PYSITELIB}/falcon/media/validators/jsonschema.pyc
${PYSITELIB}/falcon/media/validators/jsonschema.pyo
+${PYSITELIB}/falcon/middleware.py
+${PYSITELIB}/falcon/middleware.pyc
+${PYSITELIB}/falcon/middleware.pyo
+${PYSITELIB}/falcon/middleware.so
${PYSITELIB}/falcon/redirects.py
${PYSITELIB}/falcon/redirects.pyc
${PYSITELIB}/falcon/redirects.pyo
@@ -192,7 +256,6 @@ ${PYSITELIB}/falcon/request_helpers.so
${PYSITELIB}/falcon/responders.py
${PYSITELIB}/falcon/responders.pyc
${PYSITELIB}/falcon/responders.pyo
-${PYSITELIB}/falcon/responders.so
${PYSITELIB}/falcon/response.py
${PYSITELIB}/falcon/response.pyc
${PYSITELIB}/falcon/response.pyo
@@ -224,6 +287,10 @@ ${PYSITELIB}/falcon/status_codes.py
${PYSITELIB}/falcon/status_codes.pyc
${PYSITELIB}/falcon/status_codes.pyo
${PYSITELIB}/falcon/status_codes.so
+${PYSITELIB}/falcon/stream.py
+${PYSITELIB}/falcon/stream.pyc
+${PYSITELIB}/falcon/stream.pyo
+${PYSITELIB}/falcon/stream.so
${PYSITELIB}/falcon/testing/__init__.py
${PYSITELIB}/falcon/testing/__init__.pyc
${PYSITELIB}/falcon/testing/__init__.pyo
@@ -249,18 +316,24 @@ ${PYSITELIB}/falcon/uri.so
${PYSITELIB}/falcon/util/__init__.py
${PYSITELIB}/falcon/util/__init__.pyc
${PYSITELIB}/falcon/util/__init__.pyo
-${PYSITELIB}/falcon/util/compat.py
-${PYSITELIB}/falcon/util/compat.pyc
-${PYSITELIB}/falcon/util/compat.pyo
-${PYSITELIB}/falcon/util/compat.so
+${PYSITELIB}/falcon/util/deprecation.py
+${PYSITELIB}/falcon/util/deprecation.pyc
+${PYSITELIB}/falcon/util/deprecation.pyo
+${PYSITELIB}/falcon/util/deprecation.so
${PYSITELIB}/falcon/util/misc.py
${PYSITELIB}/falcon/util/misc.pyc
${PYSITELIB}/falcon/util/misc.pyo
${PYSITELIB}/falcon/util/misc.so
+${PYSITELIB}/falcon/util/reader.py
+${PYSITELIB}/falcon/util/reader.pyc
+${PYSITELIB}/falcon/util/reader.pyo
${PYSITELIB}/falcon/util/structures.py
${PYSITELIB}/falcon/util/structures.pyc
${PYSITELIB}/falcon/util/structures.pyo
${PYSITELIB}/falcon/util/structures.so
+${PYSITELIB}/falcon/util/sync.py
+${PYSITELIB}/falcon/util/sync.pyc
+${PYSITELIB}/falcon/util/sync.pyo
${PYSITELIB}/falcon/util/time.py
${PYSITELIB}/falcon/util/time.pyc
${PYSITELIB}/falcon/util/time.pyo
Index: pkgsrc/devel/py-falcon/distinfo
diff -u pkgsrc/devel/py-falcon/distinfo:1.7 pkgsrc/devel/py-falcon/distinfo:1.8
--- pkgsrc/devel/py-falcon/distinfo:1.7 Tue Oct 26 10:18:26 2021
+++ pkgsrc/devel/py-falcon/distinfo Mon May 8 20:30:55 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 10:18:26 nia Exp $
+$NetBSD: distinfo,v 1.8 2023/05/08 20:30:55 markd Exp $
-BLAKE2s (falcon-2.0.0.tar.gz) = 21145994f826432cb16cfe7fa24524b158f1f1f766b2b94bb58874f8dfdc6b49
-SHA512 (falcon-2.0.0.tar.gz) = 1b821d96452208dcfbaa978ecc9340b0b531878aeb362a5b27668fea5f354315275afc7c2ba3012b2cf86c8e32b52d10c932bcf2cc91789a1b4f5a458da5078b
-Size (falcon-2.0.0.tar.gz) = 397801 bytes
+BLAKE2s (falcon-3.1.1.tar.gz) = 74d1e0fb681aecd65b281fd515bbb45bc20b68d123d2b8ea1999fb611438717b
+SHA512 (falcon-3.1.1.tar.gz) = 2f91320f02247c4eb0aff9ded6b6b7f84fc1680b23b092ef0b88158aeea13c1c1639f9cc10742ad472f17af2ec19ae72de8e51a556c38fa47b2c3665651e6c4b
+Size (falcon-3.1.1.tar.gz) = 647079 bytes
Home |
Main Index |
Thread Index |
Old Index