Date: Tue, 28 May 2019 08:56:37 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 238182] databases/py-pgcli: Requires sqlparse<0.3.0,>=0.2.2, RUN_DEPENDS on database/sqlparse (0.3.0) Message-ID: <bug-238182-21822-xT2tKlx8J2@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-238182-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-238182-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238182 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: koobs Date: Tue May 28 08:55:50 UTC 2019 New revision: 502867 URL: https://svnweb.freebsd.org/changeset/ports/502867 Log: databases/py-pgcli: Fix runtime dependency failures pgcli depends on sqlparse<0.3.0,>=3D0.2.2, and sqlparse was updated to 0.= 3.0 in ports r495481. pgcli depends on psycopg2>=3D2.7.4,<2.8, and psycopg2 was updated to 2.8.2 in ports r502646. These broke run time, with the following error(s) raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'sqlparse<0.3.0,>=3D0.2.2' distribution was not found and is required by pgcli raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'psycopg2>=3D2.7.4,<2.8' distri= bution was not found and is required by pgcli Upstream upgraded sqlparse support to include 0.3.0 in PR #1052 [1], this change backports that PR accordingly. Upstream has an open PR to unpin psycopg2 [2][3] but it needs to be updat= ed to use psycopg2 (not psycopg2-binary) in install_requires. This change patches out the psycopg2 max version. The test results shows no test failure delta with 2.8.2 over 2.7.7 (the version before ports r502646). While I'm here: - Declare pinned (maximum) RUN_DEPENDS versions according to setup.py to pick these issues up earlier during QA (max versions not being satisfied will error out during dependency builds/verification pre-commit [1] https://github.com/dbcli/pgcli/pull/1052 [2] https://github.com/dbcli/pgcli/pull/1059 [3] https://github.com/dbcli/pgcli/issues/1036 PR: 238182 Reported by: Marcin Cie?lak <saper saper info> Approved by: portmgr (blanket: run time fix, just fix it) Changes: head/databases/py-pgcli/Makefile head/databases/py-pgcli/files/ head/databases/py-pgcli/files/patch-PR1052 --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238182-21822-xT2tKlx8J2>