From nobody Mon Sep 11 03:14:51 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RkWzc0wxZz4tHkJ; Mon, 11 Sep 2023 03:14:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RkWzb74mQz3fY3; Mon, 11 Sep 2023 03:14:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694402092; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vM5KLRXRJO/gH6Pn9mc/wf3IVrvQWGuU+3RJ/2RiTas=; b=QjHeL1l82QHa7g7Cj33zyY1rHoLRHetYHbBLC19+gaWuA1cOQj798V2GbqPbqBASiqlCeb FcakuAPTDiVDO1lAwgANn4+vhaRK/lYjZjdV8/WrlSyh6IVXCnh/ozHByQk/8PlMblKCp6 Z+ODNLX060c3cY1dz7FoHpIBmOowklUSS9tAC87uRBLUFh2hloJx5gH0oZaFNGZ9QLgpg7 pAL9nDzpeHO8iuxiUdd2er7sQ5UBAkWffV3gz2ZlpgM7NJ+NlzJHLECyKWPvLJy8QjQ6MH S0aYjga9FtSE13NyeM/vLwOpgU1tzEercdil8ljIriABM9p2hrmunYZ8yt+x3g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694402092; a=rsa-sha256; cv=none; b=B6iG1hMZa3RJWedxXY9pK4lp2nmEnmxcSeRI3nLYnOXPXEbl8uDLD1nG6DjRLpKj7kCGLZ 11AdvHoU9aUcWy0arIYjscgZ0WV1hk3kTkbqM9srZD9er+uZVXK+pWMjl/RpGg3Tx6tdcG 0wgeouS6jl82TH1eeU9BCNiFyn5IifMSf0+yBNtvtTNYHfjxXJSyp8TP4c6P4A+FvcbSkh MaW30Of5xltQ+cYEChCdfdSq4OlJNni3b6XfIcb28DiEFVZXJs458Cg9bjTHhKvofIZvDG AxjAnTLKMneOYwqnofLJ0oHgc1/xP2KbV4iGjPyc7rMfHjtPqoXwPUAEtESrZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694402092; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vM5KLRXRJO/gH6Pn9mc/wf3IVrvQWGuU+3RJ/2RiTas=; b=tsHRllDTEpZgIOqtLaC3787OabWpFAgaKuSent1Px2ObwqXg9B8xn5+Qt0t1KC9t0HKFFd kuwAxaj4x4bivHVpHsIxKS97WJJQ/oe11CakR74ukiNUuld83xl81WAhmTdxLQwVpRJULz uPDEQqvXQiJrjQCFAUDMJ91vJORYo8qbiplTjDd/K6ms5m/MbURhP5sFUKEcgy7bfm+g/w H6i2g4EhD5YptLswgqNUPXyV0cSAzRXkbsgTP8zwvZWHKSfmJmOhL192eBjgThGKne9aA2 +KT05UjKLTNxCErP8vONkCS0C0GFFa3YRtjzms7yaTyEPhIscMTLX7769OUFFg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RkWzb68HDzYjS; Mon, 11 Sep 2023 03:14:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38B3EplD023598; Mon, 11 Sep 2023 03:14:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38B3Epd8023595; Mon, 11 Sep 2023 03:14:51 GMT (envelope-from git) Date: Mon, 11 Sep 2023 03:14:51 GMT Message-Id: <202309110314.38B3Epd8023595@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: e547a4c33f2c - main - www/py-httpx: Allow build with py-httpcore 0.18.0+ List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e547a4c33f2c6bd3b6e105d66982fb5c49bea118 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e547a4c33f2c6bd3b6e105d66982fb5c49bea118 commit e547a4c33f2c6bd3b6e105d66982fb5c49bea118 Author: Po-Chuan Hsieh AuthorDate: 2023-09-11 03:09:17 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-09-11 03:11:33 +0000 www/py-httpx: Allow build with py-httpcore 0.18.0+ - Bump PORTREVISION for package change Obtained from: https://github.com/encode/httpx/pull/2803 --- www/py-httpx/Makefile | 3 ++- www/py-httpx/files/patch-httpcore | 41 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/www/py-httpx/Makefile b/www/py-httpx/Makefile index 387737c22ab0..1f4e483f7732 100644 --- a/www/py-httpx/Makefile +++ b/www/py-httpx/Makefile @@ -1,5 +1,6 @@ PORTNAME= httpx PORTVERSION= 0.24.1 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}httpcore>=0.15.0<0.18.0:www/py-httpcore@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpcore>=0.18.0<0.19.0:www/py-httpcore@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}idna>=0:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR} diff --git a/www/py-httpx/files/patch-httpcore b/www/py-httpx/files/patch-httpcore new file mode 100644 index 000000000000..e2dd8caca829 --- /dev/null +++ b/www/py-httpx/files/patch-httpcore @@ -0,0 +1,41 @@ +Obtained from: https://github.com/encode/httpx/pull/2803 + +--- httpx/_types.py.orig 2020-02-02 00:00:00 UTC ++++ httpx/_types.py +@@ -16,6 +16,7 @@ from typing import ( + Iterator, + List, + Mapping, ++ MutableMapping, + NamedTuple, + Optional, + Sequence, +@@ -87,7 +88,7 @@ AuthTypes = Union[ + + RequestContent = Union[str, bytes, Iterable[bytes], AsyncIterable[bytes]] + ResponseContent = Union[str, bytes, Iterable[bytes], AsyncIterable[bytes]] +-ResponseExtensions = Mapping[str, Any] ++ResponseExtensions = MutableMapping[str, Any] + + RequestData = Mapping[str, Any] + +@@ -104,7 +105,7 @@ FileTypes = Union[ + ] + RequestFiles = Union[Mapping[str, FileTypes], Sequence[Tuple[str, FileTypes]]] + +-RequestExtensions = Mapping[str, Any] ++RequestExtensions = MutableMapping[str, Any] + + + class SyncByteStream: +--- pyproject.toml.orig 2020-02-02 00:00:00 UTC ++++ pyproject.toml +@@ -29,7 +29,7 @@ classifiers = [ + ] + dependencies = [ + "certifi", +- "httpcore>=0.15.0,<0.18.0", ++ "httpcore>=0.18.0,<0.19.0", + "idna", + "sniffio", + ]