Received: by mail.netbsd.org (Postfix, from userid 605) id C4C9F84E07; Wed, 28 Aug 2019 06:37:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4BBBC84D4B for ; Wed, 28 Aug 2019 06:37:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id StKJfvPe7t9Q for ; Wed, 28 Aug 2019 06:37:38 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 666DF84DA7 for ; Wed, 28 Aug 2019 06:37:38 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5F684FBF4; Wed, 28 Aug 2019 06:37:38 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_156697425878790" MIME-Version: 1.0 Date: Wed, 28 Aug 2019 06:37:38 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/databases/py-alembic To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20190828063738.5F684FBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_156697425878790 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: adam Date: Wed Aug 28 06:37:38 UTC 2019 Modified Files: pkgsrc/databases/py-alembic: Makefile PLIST distinfo Log Message: py-alembic: updated to 1.1.0 1.1.0: bug [bug] [commands] Fixed bug where the double-percent logic applied to some dialects such as psycopg2 would be rendered in --sql mode, by allowing dialect options to be passed through to the dialect used to generate SQL and then providing paramstyle="named" so that percent signs need not be doubled. For users having this issue, existing env.py scripts need to add dialect_opts={"paramstyle": "named"} to their offline context.configure(). See the alembic/templates/generic/env.py template for an example. [bug] [py3k] Fixed use of the deprecated “imp” module, which is used to detect pep3147 availability as well as to locate .pyc files, which started emitting deprecation warnings during the test suite. The warnings were not being emitted earlier during the test suite, the change is possibly due to changes in py.test itself but this is not clear. The check for pep3147 is set to True for any Python version 3.5 or greater now and importlib is used when available. Note that some dependencies such as distutils may still be emitting this warning. Tests are adjusted to accommodate for dependencies that emit the warning as well. [bug] [mysql] Fixed issue where emitting a change of column name for MySQL did not preserve the column comment, even if it were specified as existing_comment. [bug] [setup] Removed the “python setup.py test” feature in favor of a straight run of “tox”. Per Pypa / pytest developers, “setup.py” commands are in general headed towards deprecation in favor of tox. The tox.ini script has been updated such that running “tox” with no arguments will perform a single run of the test suite against the default installed Python interpreter. usecase [usecase] [commands] The “alembic init” command will now proceed if the target directory exists as long as it’s still empty. Previously, it would not proceed if the directory existed. The new behavior is modeled from what git does, to accommodate for container or other deployments where an Alembic target directory may need to be already mounted instead of being created with alembic init. Pull request courtesy Aviskar KC. misc [change] Alembic 1.1 bumps the minimum version of SQLAlchemy to 1.1. As was the case before, Python requirements remain at Python 2.7, or in the 3.x series Python 3.4. [change] [internals] The test suite for Alembic now makes use of SQLAlchemy’s testing framework directly. Previously, Alembic had its own version of this framework that was mostly copied from that of SQLAlchemy to enable testing with older SQLAlchemy versions. The majority of this code is now removed so that both projects can leverage improvements from a common testing framework. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 pkgsrc/databases/py-alembic/Makefile cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/py-alembic/PLIST cvs rdiff -u -r1.16 -r1.17 pkgsrc/databases/py-alembic/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_156697425878790 Content-Disposition: inline Content-Length: 4800 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/databases/py-alembic/Makefile diff -u pkgsrc/databases/py-alembic/Makefile:1.17 pkgsrc/databases/py-alembic/Makefile:1.18 --- pkgsrc/databases/py-alembic/Makefile:1.17 Wed Jul 3 20:24:24 2019 +++ pkgsrc/databases/py-alembic/Makefile Wed Aug 28 06:37:38 2019 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.17 2019/07/03 20:24:24 adam Exp $ +# $NetBSD: Makefile,v 1.18 2019/08/28 06:37:38 adam Exp $ -DISTNAME= alembic-1.0.11 +DISTNAME= alembic-1.1.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_PYPI:=a/alembic/} Index: pkgsrc/databases/py-alembic/PLIST diff -u pkgsrc/databases/py-alembic/PLIST:1.3 pkgsrc/databases/py-alembic/PLIST:1.4 --- pkgsrc/databases/py-alembic/PLIST:1.3 Thu Oct 18 10:15:18 2018 +++ pkgsrc/databases/py-alembic/PLIST Wed Aug 28 06:37:38 2019 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2018/10/18 10:15:18 adam Exp $ +@comment $NetBSD: PLIST,v 1.4 2019/08/28 06:37:38 adam Exp $ bin/alembic-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -121,57 +121,15 @@ ${PYSITELIB}/alembic/testing/__init__.py ${PYSITELIB}/alembic/testing/assertions.py ${PYSITELIB}/alembic/testing/assertions.pyc ${PYSITELIB}/alembic/testing/assertions.pyo -${PYSITELIB}/alembic/testing/compat.py -${PYSITELIB}/alembic/testing/compat.pyc -${PYSITELIB}/alembic/testing/compat.pyo -${PYSITELIB}/alembic/testing/config.py -${PYSITELIB}/alembic/testing/config.pyc -${PYSITELIB}/alembic/testing/config.pyo -${PYSITELIB}/alembic/testing/engines.py -${PYSITELIB}/alembic/testing/engines.pyc -${PYSITELIB}/alembic/testing/engines.pyo ${PYSITELIB}/alembic/testing/env.py ${PYSITELIB}/alembic/testing/env.pyc ${PYSITELIB}/alembic/testing/env.pyo -${PYSITELIB}/alembic/testing/exclusions.py -${PYSITELIB}/alembic/testing/exclusions.pyc -${PYSITELIB}/alembic/testing/exclusions.pyo ${PYSITELIB}/alembic/testing/fixtures.py ${PYSITELIB}/alembic/testing/fixtures.pyc ${PYSITELIB}/alembic/testing/fixtures.pyo -${PYSITELIB}/alembic/testing/mock.py -${PYSITELIB}/alembic/testing/mock.pyc -${PYSITELIB}/alembic/testing/mock.pyo -${PYSITELIB}/alembic/testing/plugin/__init__.py -${PYSITELIB}/alembic/testing/plugin/__init__.pyc -${PYSITELIB}/alembic/testing/plugin/__init__.pyo -${PYSITELIB}/alembic/testing/plugin/bootstrap.py -${PYSITELIB}/alembic/testing/plugin/bootstrap.pyc -${PYSITELIB}/alembic/testing/plugin/bootstrap.pyo -${PYSITELIB}/alembic/testing/plugin/noseplugin.py -${PYSITELIB}/alembic/testing/plugin/noseplugin.pyc -${PYSITELIB}/alembic/testing/plugin/noseplugin.pyo -${PYSITELIB}/alembic/testing/plugin/plugin_base.py -${PYSITELIB}/alembic/testing/plugin/plugin_base.pyc -${PYSITELIB}/alembic/testing/plugin/plugin_base.pyo -${PYSITELIB}/alembic/testing/plugin/pytestplugin.py -${PYSITELIB}/alembic/testing/plugin/pytestplugin.pyc -${PYSITELIB}/alembic/testing/plugin/pytestplugin.pyo -${PYSITELIB}/alembic/testing/provision.py -${PYSITELIB}/alembic/testing/provision.pyc -${PYSITELIB}/alembic/testing/provision.pyo ${PYSITELIB}/alembic/testing/requirements.py ${PYSITELIB}/alembic/testing/requirements.pyc ${PYSITELIB}/alembic/testing/requirements.pyo -${PYSITELIB}/alembic/testing/runner.py -${PYSITELIB}/alembic/testing/runner.pyc -${PYSITELIB}/alembic/testing/runner.pyo -${PYSITELIB}/alembic/testing/util.py -${PYSITELIB}/alembic/testing/util.pyc -${PYSITELIB}/alembic/testing/util.pyo -${PYSITELIB}/alembic/testing/warnings.py -${PYSITELIB}/alembic/testing/warnings.pyc -${PYSITELIB}/alembic/testing/warnings.pyo ${PYSITELIB}/alembic/util/__init__.py ${PYSITELIB}/alembic/util/__init__.pyc ${PYSITELIB}/alembic/util/__init__.pyo Index: pkgsrc/databases/py-alembic/distinfo diff -u pkgsrc/databases/py-alembic/distinfo:1.16 pkgsrc/databases/py-alembic/distinfo:1.17 --- pkgsrc/databases/py-alembic/distinfo:1.16 Wed Jul 3 20:24:24 2019 +++ pkgsrc/databases/py-alembic/distinfo Wed Aug 28 06:37:38 2019 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.16 2019/07/03 20:24:24 adam Exp $ +$NetBSD: distinfo,v 1.17 2019/08/28 06:37:38 adam Exp $ -SHA1 (alembic-1.0.11.tar.gz) = 7e22f168f674d54be4b0ef69c12f872fec0a2394 -RMD160 (alembic-1.0.11.tar.gz) = 58501afb51bdedc155189161f0fd4ee7a8c331c8 -SHA512 (alembic-1.0.11.tar.gz) = 5e59c90a0f0b0ca1fab356accc7f28cd4e2a76625fc7a268e6b3f925b3dd905aa3fda3d0044474b79fc969610fb9f0e795de5c4bdf42f047a194d178ca3d016c -Size (alembic-1.0.11.tar.gz) = 1032693 bytes +SHA1 (alembic-1.1.0.tar.gz) = 1639ccf471adced412acd9ce916f188d7bf41fee +RMD160 (alembic-1.1.0.tar.gz) = 01e8079da01ea524cecea563361d4b04d8584526 +SHA512 (alembic-1.1.0.tar.gz) = 9ddd5b64048aba67c03effa8839eec2ba486295f86223f281c345ef95077c3dc205773a2a4367c5204ca7789e3f05235de9ed6bc0d200f51515bf3ce5ed8e447 +Size (alembic-1.1.0.tar.gz) = 1028979 bytes --_----------=_156697425878790--