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:   adam
Date:           Thu Jan 18 18:21:31 UTC 2024

Modified Files:
        pkgsrc/devel/py-falcon: Makefile PLIST distinfo

Log Message:
py-falcon: updated to 3.1.3

3.1.3

This is a minor bugfix release that only pins the ``pytest-asyncio`` test
dependency in order to prevent an incompatible version from interfering with
the build workflow.

3.1.2

Summary
-------

This is a minor point release fixing a couple of high impact bugs,
as well as publishing binary wheels for the recently released CPython 3.12.

Changes to Supported Platforms
------------------------------

- Falcon is now supported (including binary wheels) on CPython 3.12.
  A couple of remaining stdlib deprecations from 3.11 and 3.12 will be
  addressed in Falcon 4.0.
- As with the previous release, Python 3.5 & 3.6 remain deprecated and
  will no longer be supported in Falcon 4.0.
- EOL Python 3.7 will no longer be actively supported in 4.0, but the framework
  should still continue to install from source. We may remove the support for
  3.7 altogether later in the 4.x series if we are faced with incompatible
  ecosystem changes in typing, Cython, etc.

Fixed
-----

- Some essential files were unintentionally omitted from the source distribution
  archive, rendering it unsuitable to run the test suite off.
  This has been fixed, and the ``sdist`` tarball should now be usable as a base
  for packaging Falcon in OS distributions.
- :ref:`WebSocket <ws>` implementation has been fixed to properly handle
  :class:`~falcon.HTTPError` and :class:`~falcon.HTTPStatus` exceptions raised by
  custom :func:`error handlers <falcon.asgi.App.add_error_handler>`.
  The WebSocket connection is now correctly closed with an appropriate code
  instead of bubbling up an unhandled error to the application server.
- Falcon's :class:`~falcon.testing.TestClient` mimics the behavior of real WSGI
  servers (and the WSGI spec) by presenting the ``PATH_INFO`` CGI variable
  already in the percent-decoded form. However, the client also used to
  indiscriminately set the non-standard ``RAW_URI`` CGI variable to ``/``, which
  made writing tests for apps :ref:`decoding raw URL path <raw_url_path_recipe>`
  cumbersome. This has been fixed, and the raw path of a simulated request is now
  preserved in ``RAW_URI``.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-falcon/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-falcon/PLIST
cvs rdiff -u -r1.8 -r1.9 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/Makefile
diff -u pkgsrc/devel/py-falcon/Makefile:1.12 pkgsrc/devel/py-falcon/Makefile:1.13
--- pkgsrc/devel/py-falcon/Makefile:1.12        Tue Nov  7 22:37:59 2023
+++ pkgsrc/devel/py-falcon/Makefile     Thu Jan 18 18:21:31 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2023/11/07 22:37:59 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2024/01/18 18:21:31 adam Exp $
 
-DISTNAME=      falcon-3.1.1
+DISTNAME=      falcon-3.1.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/falcon/}
@@ -10,21 +10,20 @@ HOMEPAGE=   https://falconframework.org/
 COMMENT=       Unladen web framework for building APIs and app backends
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=47:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.34:../../devel/py-wheel
+TOOL_DEPENDS+= ${PYPKGPREFIX}-cython>=0.29.21:../../devel/py-cython
 TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 TEST_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
 TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 38
 
-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"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-falcon/PLIST
diff -u pkgsrc/devel/py-falcon/PLIST:1.5 pkgsrc/devel/py-falcon/PLIST:1.6
--- pkgsrc/devel/py-falcon/PLIST:1.5    Mon May  8 20:30:55 2023
+++ pkgsrc/devel/py-falcon/PLIST        Thu Jan 18 18:21:31 2024
@@ -1,13 +1,13 @@
-@comment $NetBSD: PLIST,v 1.5 2023/05/08 20:30:55 markd Exp $
+@comment $NetBSD: PLIST,v 1.6 2024/01/18 18:21:31 adam 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
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/falcon/__init__.py
 ${PYSITELIB}/falcon/__init__.pyc
 ${PYSITELIB}/falcon/__init__.pyo

Index: pkgsrc/devel/py-falcon/distinfo
diff -u pkgsrc/devel/py-falcon/distinfo:1.8 pkgsrc/devel/py-falcon/distinfo:1.9
--- pkgsrc/devel/py-falcon/distinfo:1.8 Mon May  8 20:30:55 2023
+++ pkgsrc/devel/py-falcon/distinfo     Thu Jan 18 18:21:31 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2023/05/08 20:30:55 markd Exp $
+$NetBSD: distinfo,v 1.9 2024/01/18 18:21:31 adam Exp $
 
-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
+BLAKE2s (falcon-3.1.3.tar.gz) = 6e625a47d2ee6be8e6743d8056738f1e9dab7741441c2739d9522925071bc7dc
+SHA512 (falcon-3.1.3.tar.gz) = 85721e8b0659cc1afef8eeaca4b1524708f831c79bf6be65bcf5ae2b8bc97cbcfe861e52a352311c72e986f0e8b6e42e6dab6e2c8d9f03c2e48bff6ce4be46d4
+Size (falcon-3.1.3.tar.gz) = 577770 bytes



Home | Main Index | Thread Index | Old Index