diff --git a/www/py-httpx/Makefile b/www/py-httpx/Makefile
index 68979470867b..7eea1fd748b8 100644
--- a/www/py-httpx/Makefile
+++ b/www/py-httpx/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	httpx
 PORTVERSION=	0.17.1
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +14,7 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}httpcore>=0.12.1<0.13:www/py-httpcore@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}httpcore>=0.12.1<0.14:www/py-httpcore@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}idna>=0:dns/py-idna@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rfc3986>=1.3<2:www/py-rfc3986@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sniffio>=0:devel/py-sniffio@${PY_FLAVOR}
diff --git a/www/py-httpx/files/patch-setup.py b/www/py-httpx/files/patch-setup.py
index 9caaa9755b45..836464d0a902 100644
--- a/www/py-httpx/files/patch-setup.py
+++ b/www/py-httpx/files/patch-setup.py
@@ -1,7 +1,11 @@
---- setup.py.orig	2020-10-08 12:15:02 UTC
+--- setup.py.orig	2021-03-15 09:19:02 UTC
 +++ setup.py
-@@ -61,7 +61,7 @@ setup(
-         "httpcore==0.12.*",
+@@ -59,10 +59,10 @@ setup(
+         "certifi",
+         "sniffio",
+         "rfc3986[idna2008]>=1.3,<2",
+-        "httpcore>=0.12.1,<0.13",
++        "httpcore>=0.12.1,<0.14",
      ],
      extras_require={
 -        "http2": "h2==3.*",