Monday, January 30, 2023

Re: devel/py3-async-timeout update (was: Re: new ports needed to update py-aiohttp (current version fails with LLVM 15))

On 2023/01/30 20:48, Jeremie Courreges-Anglas wrote:
> On Mon, Jan 30 2023, Jeremie Courreges-Anglas <jca@wxcvbn.org> wrote:
>
> [...]
>
> > After updating devel/py-async-timeout to 4.0.2 I get tests that perform
> > better than in -current (10 failures):
> > [...]
> > FAILED tests/test_client_request.py::test_default_loop[pyloop]
> > FAILED tests/test_http_parser.py::test_c_parser_loaded - AssertionError: asse...
> > FAILED tests/test_http_parser.py::test_url_connect[py-parser-pyloop] - TypeEr...
> > FAILED tests/test_http_parser.py::test_headers_connect[py-parser-pyloop] - Ty...
> > FAILED tests/test_web_app.py::test_set_loop_default_loop
> > FAILED tests/test_web_server.py::test_unsupported_upgrade[pyloop]
> > ====== 6 failed, 2036 passed, 20 skipped, 6 xfailed in 243.53s (0:04:03) =======
>
> devel/py-async-timeout is currently only used as a test dep for
> www/py-aiohttp. To stay useful, it should be updated after or at the
> same time the py-aiohttp update goes in (''make test'' for old
> py-aiohttp fails with new py-async-timeout).
>
> ok?
>
> Stuart, if you feel like committing it along with the aiohttp update,
> please do (ok jca@).

Ah yes, I have this in a local diff, plus I removed NO_TEST.
Joerg, ok with out?

>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/py-async-timeout/Makefile,v
> retrieving revision 1.12
> diff -u -p -r1.12 Makefile
> --- Makefile 26 Nov 2022 15:02:49 -0000 1.12
> +++ Makefile 30 Jan 2023 19:39:16 -0000
> @@ -1,9 +1,8 @@
> COMMENT = timeout context manager for asyncio programs
>
> -MODPY_EGG_VERSION = 3.0.0
> +MODPY_EGG_VERSION = 4.0.2
> DISTNAME = async-timeout-${MODPY_EGG_VERSION}
> PKGNAME = py-${DISTNAME}
> -REVISION = 5
>
> CATEGORIES = devel
>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/py-async-timeout/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- distinfo 19 Jul 2018 06:04:57 -0000 1.2
> +++ distinfo 30 Jan 2023 19:39:16 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (async-timeout-3.0.0.tar.gz) = s8DdxBZzZhm9SpXKMd6NppIMO5oUDGTb7ysvp79SEoc=
> -SIZE (async-timeout-3.0.0.tar.gz) = 10803
> +SHA256 (async-timeout-4.0.2.tar.gz) = IWPhZA3bUreoyA0KZ6CFh+XSRcycVTp0qEcFa8KXaxU=
> +SIZE (async-timeout-4.0.2.tar.gz) = 8221
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/devel/py-async-timeout/pkg/PLIST,v
> retrieving revision 1.5
> diff -u -p -r1.5 PLIST
> --- pkg/PLIST 26 Nov 2022 15:02:49 -0000 1.5
> +++ pkg/PLIST 30 Jan 2023 19:39:16 -0000
> @@ -6,6 +6,7 @@ lib/python${MODPY_VERSION}/site-packages
> lib/python${MODPY_VERSION}/site-packages/async_timeout-${MODPY_EGG_VERSION}.dist-info/RECORD
> lib/python${MODPY_VERSION}/site-packages/async_timeout-${MODPY_EGG_VERSION}.dist-info/WHEEL
> lib/python${MODPY_VERSION}/site-packages/async_timeout-${MODPY_EGG_VERSION}.dist-info/top_level.txt
> +lib/python${MODPY_VERSION}/site-packages/async_timeout-${MODPY_EGG_VERSION}.dist-info/zip-safe
> lib/python${MODPY_VERSION}/site-packages/async_timeout/__init__.py
> ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/async_timeout/${MODPY_PYCACHE}/
> lib/python${MODPY_VERSION}/site-packages/async_timeout/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
>
> --
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE

No comments:

Post a Comment