pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/py-alembic py-alembic: updated to 1.1.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/1718a67e17a8
branches: trunk
changeset: 400453:1718a67e17a8
user: adam <adam%pkgsrc.org@localhost>
date: Wed Aug 28 06:37:38 2019 +0000
description:
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.
diffstat:
databases/py-alembic/Makefile | 4 +-
databases/py-alembic/PLIST | 44 +------------------------------------------
databases/py-alembic/distinfo | 10 ++++----
3 files changed, 8 insertions(+), 50 deletions(-)
diffs (94 lines):
diff -r 75c763532126 -r 1718a67e17a8 databases/py-alembic/Makefile
--- a/databases/py-alembic/Makefile Wed Aug 28 06:32:52 2019 +0000
+++ b/databases/py-alembic/Makefile Wed Aug 28 06:37:38 2019 +0000
@@ -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/}
diff -r 75c763532126 -r 1718a67e17a8 databases/py-alembic/PLIST
--- a/databases/py-alembic/PLIST Wed Aug 28 06:32:52 2019 +0000
+++ b/databases/py-alembic/PLIST Wed Aug 28 06:37:38 2019 +0000
@@ -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/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
diff -r 75c763532126 -r 1718a67e17a8 databases/py-alembic/distinfo
--- a/databases/py-alembic/distinfo Wed Aug 28 06:32:52 2019 +0000
+++ b/databases/py-alembic/distinfo Wed Aug 28 06:37:38 2019 +0000
@@ -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