From owner-svn-ports-branches@freebsd.org Mon Mar 25 07:48:28 2019 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 52E1215554B0; Mon, 25 Mar 2019 07:48:28 +0000 (UTC) (envelope-from koobs@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EA3C184E10; Mon, 25 Mar 2019 07:48:27 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C3D4B4C98; Mon, 25 Mar 2019 07:48:27 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2P7mRVl020042; Mon, 25 Mar 2019 07:48:27 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2P7mRgt020039; Mon, 25 Mar 2019 07:48:27 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201903250748.x2P7mRgt020039@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Mon, 25 Mar 2019 07:48:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r496799 - in branches/2019Q1/www/py-requests: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: in branches/2019Q1/www/py-requests: . files X-SVN-Commit-Revision: 496799 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: EA3C184E10 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.965,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2019 07:48:28 -0000 Author: koobs Date: Mon Mar 25 07:48:26 2019 New Revision: 496799 URL: https://svnweb.freebsd.org/changeset/ports/496799 Log: MFH: r490937 www/py-requests: Update to 2.21.0 - 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. This update includes a pinned urllib3 version bump to < 1.25, which paves the way for a net/urllib3 update to 1.24 [1]. Note: 2.20.0 includes a security vulnerability fix for CVE-2018-18074 Changelog: https://github.com/requests/requests/blob/v2.21.0/HISTORY.md PR: 229322 [1] Security: 50ad9a9a-1e28-11e9-98d7-0050562a4d7b Approved by: ports-secteam (miwi) Modified: branches/2019Q1/www/py-requests/Makefile branches/2019Q1/www/py-requests/distinfo branches/2019Q1/www/py-requests/files/patch-setup.py Directory Properties: branches/2019Q1/ (props changed) Modified: branches/2019Q1/www/py-requests/Makefile ============================================================================== --- branches/2019Q1/www/py-requests/Makefile Mon Mar 25 07:39:00 2019 (r496798) +++ branches/2019Q1/www/py-requests/Makefile Mon Mar 25 07:48:26 2019 (r496799) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= requests -PORTVERSION= 2.18.4 -PORTREVISION= 1 +PORTVERSION= 2.21.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -22,16 +21,13 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.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} -# Actually 2.6-2.7,3.3+ +# Actually 2.6-2.7,3.4+ USES= python USE_PYTHON= autoplist concurrent distutils CONFLICTS_INSTALL= py*-requests1-* NO_ARCH= yes - -# Automated tests failinng due to httpbin issue -# https://github.com/kennethreitz/httpbin/issues/403 do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test Modified: branches/2019Q1/www/py-requests/distinfo ============================================================================== --- branches/2019Q1/www/py-requests/distinfo Mon Mar 25 07:39:00 2019 (r496798) +++ branches/2019Q1/www/py-requests/distinfo Mon Mar 25 07:48:26 2019 (r496799) @@ -1,3 +1,3 @@ -TIMESTAMP = 1519435351 -SHA256 (requests-2.18.4.tar.gz) = 9c443e7324ba5b85070c4a818ade28bfabedf16ea10206da1132edaa6dda237e -SIZE (requests-2.18.4.tar.gz) = 126224 +TIMESTAMP = 1548125465 +SHA256 (requests-2.21.0.tar.gz) = 502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e +SIZE (requests-2.21.0.tar.gz) = 111528 Modified: branches/2019Q1/www/py-requests/files/patch-setup.py ============================================================================== --- branches/2019Q1/www/py-requests/files/patch-setup.py Mon Mar 25 07:39:00 2019 (r496798) +++ branches/2019Q1/www/py-requests/files/patch-setup.py Mon Mar 25 07:48:26 2019 (r496799) @@ -1,21 +1,12 @@ -# 1: Backport bumping idna max version -# https://github.com/requests/requests/commit/991e8b76b7a9d21f698b24fa0058d3d5968721bc -# 2: pytest-cov and its dependencies are not compulsory +# pytest-cov and its dependencies are not compulsory ---- 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 = ['requests'] - - requires = [ - 'chardet>=3.0.2,<3.1.0', -- 'idna>=2.5,<2.7', -+ 'idna>=2.5,<2.8', - 'urllib3>=1.21.1,<1.23', - 'certifi>=2017.4.17' - +@@ -50,7 +50,6 @@ requires = [ ] --test_requirements = ['pytest-httpbin==0.0.7', 'pytest-cov', 'pytest-mock', 'pytest-xdist', 'PySocks>=1.5.6, !=1.5.7', 'pytest>=2.8.0'] -+test_requirements = ['pytest-httpbin==0.0.7', 'pytest-mock', 'pytest-xdist', 'PySocks>=1.5.6, !=1.5.7', 'pytest>=2.8.0'] - - about = {} - with open(os.path.join(here, 'requests', '__version__.py'), 'r', 'utf-8') as f: + test_requirements = [ + 'pytest-httpbin==0.0.7', +- 'pytest-cov', + 'pytest-mock', + 'pytest-xdist', + 'PySocks>=1.5.6, !=1.5.7',