pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/py-alembic
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.
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
Home |
Main Index |
Thread Index |
Old Index