Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2019 09:19:19 -0400
From:      Dan Langille <dan@langille.org>
To:        Kubilay Kocak <koobs@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r490937 - in head/www/py-requests: . files
Message-ID:  <1C45C910-3CEF-4389-8FF3-9E67E0BCCE7A@langille.org>
In-Reply-To: <201901221046.x0MAkBmv027213@repo.freebsd.org>
References:  <201901221046.x0MAkBmv027213@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
It appears this never got merged to 2019Q1

--=20
Dan Langille - BSDCan / PGCon
dan@langille.org


> On Jan 22, 2019, at 5:46 AM, Kubilay Kocak <koobs@FreeBSD.org> wrote:
>=20
> Author: koobs
> Date: Tue Jan 22 10:46:11 2019
> New Revision: 490937
> URL: https://svnweb.freebsd.org/changeset/ports/490937
>=20
> Log:
>  www/py-requests: Update to 2.21.0
>=20
>   - Update USES comment (Python 3.3 support dropped)
>   - Rebase setup.py patch (idna change released)
>   - Remove comment about failing tests due to httpbin issue which =
seems
>     to now be fixed.
>=20
>  This update includes a pinned urllib3 version bump to < 1.25, which =
paves
>  the way for a net/urllib3 update to 1.24 [1].
>=20
>  Note: 2.20.0 includes a security vulnerability fix for CVE-2018-18074
>=20
>  Changelog:
>=20
>    https://github.com/requests/requests/blob/v2.21.0/HISTORY.md
>=20
>  PR: 		229322 [1]
>  Security:	50ad9a9a-1e28-11e9-98d7-0050562a4d7b
>  MFH:		2019Q1
>=20
> Modified:
>  head/www/py-requests/Makefile
>  head/www/py-requests/distinfo
>  head/www/py-requests/files/patch-setup.py
>=20
> Modified: head/www/py-requests/Makefile
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/www/py-requests/Makefile	Tue Jan 22 10:44:39 2019	=
(r490936)
> +++ head/www/py-requests/Makefile	Tue Jan 22 10:46:11 2019	=
(r490937)
> @@ -2,8 +2,7 @@
> # $FreeBSD$
>=20
> PORTNAME=3D	requests
> -PORTVERSION=3D	2.18.4
> -PORTREVISION=3D	1
> +PORTVERSION=3D	2.21.0
> CATEGORIES=3D	www python
> MASTER_SITES=3D	CHEESESHOP
> PKGNAMEPREFIX=3D	${PYTHON_PKGNAMEPREFIX}
> @@ -22,16 +21,13 @@ TEST_DEPENDS=3D	=
${PYTHON_PKGNAMEPREFIX}pytest>=3D2.8.0:dev
> 		=
${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \
> 		=
${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR}
>=20
> -# Actually 2.6-2.7,3.3+
> +# Actually 2.6-2.7,3.4+
> USES=3D		python
> USE_PYTHON=3D	autoplist concurrent distutils
>=20
> CONFLICTS_INSTALL=3D	py*-requests1-*
>=20
> NO_ARCH=3D	yes
> -
> -# Automated tests failinng due to httpbin issue
> -# https://github.com/kennethreitz/httpbin/issues/403
>=20
> do-test:
> 	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
>=20
> Modified: head/www/py-requests/distinfo
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/www/py-requests/distinfo	Tue Jan 22 10:44:39 2019	=
(r490936)
> +++ head/www/py-requests/distinfo	Tue Jan 22 10:46:11 2019	=
(r490937)
> @@ -1,3 +1,3 @@
> -TIMESTAMP =3D 1519435351
> -SHA256 (requests-2.18.4.tar.gz) =3D =
9c443e7324ba5b85070c4a818ade28bfabedf16ea10206da1132edaa6dda237e
> -SIZE (requests-2.18.4.tar.gz) =3D 126224
> +TIMESTAMP =3D 1548125465
> +SHA256 (requests-2.21.0.tar.gz) =3D =
502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e
> +SIZE (requests-2.21.0.tar.gz) =3D 111528
>=20
> Modified: head/www/py-requests/files/patch-setup.py
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/www/py-requests/files/patch-setup.py	Tue Jan 22 10:44:39 2019	=
(r490936)
> +++ head/www/py-requests/files/patch-setup.py	Tue Jan 22 10:46:11 2019	=
(r490937)
> @@ -1,21 +1,12 @@
> -# 1: Backport bumping idna max version
> -# =
https://github.com/requests/requests/commit/991e8b76b7a9d21f698b24fa0058d3=
d5968721bc
> -# 2: pytest-cov and its dependencies are not compulsory
> +# pytest-cov and its dependencies are not compulsory
>=20
> ---- setup.py.orig	2017-08-15 13:19:39 UTC
> +--- setup.py.orig	2019-01-22 02:52:54 UTC
> +++ setup.py
> -@@ -43,12 +43,12 @@ packages =3D ['requests']
> -=20
> - requires =3D [
> -     'chardet>=3D3.0.2,<3.1.0',
> --    'idna>=3D2.5,<2.7',
> -+    'idna>=3D2.5,<2.8',
> -     'urllib3>=3D1.21.1,<1.23',
> -     'certifi>=3D2017.4.17'
> -=20
> +@@ -50,7 +50,6 @@ requires =3D [
>  ]
> --test_requirements =3D ['pytest-httpbin=3D=3D0.0.7', 'pytest-cov', =
'pytest-mock', 'pytest-xdist', 'PySocks>=3D1.5.6, !=3D1.5.7', =
'pytest>=3D2.8.0']
> -+test_requirements =3D ['pytest-httpbin=3D=3D0.0.7', 'pytest-mock', =
'pytest-xdist', 'PySocks>=3D1.5.6, !=3D1.5.7', 'pytest>=3D2.8.0']
> -=20
> - about =3D {}
> - with open(os.path.join(here, 'requests', '__version__.py'), 'r', =
'utf-8') as f:
> + test_requirements =3D [
> +     'pytest-httpbin=3D=3D0.0.7',
> +-    'pytest-cov',
> +     'pytest-mock',
> +     'pytest-xdist',
> +     'PySocks>=3D1.5.6, !=3D1.5.7',
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1C45C910-3CEF-4389-8FF3-9E67E0BCCE7A>