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.5.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8dc0fdc66d73
branches:  trunk
changeset: 445608:8dc0fdc66d73
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jan 26 11:20:07 2021 +0000

description:
py-alembic: updated to 1.5.2

1.5.2

[bug] [regression] [versioning]
Fixed regression where new “loop detection” feature introduced in 757 produced false positives for revision names that have overlapping substrings between revision number and down revision and/or 
dependency, if the downrev/dependency were not in sequence form.

[bug] [environment]
Fixed regression where Alembic would fail to create a transaction properly if the sqlalchemy.engine.Connection were a so-called “branched” connection, that is, one where the .connect() method had 
been called to create a “sub” connection.


1.5.1

[bug] [commands] [installation]
Fixed installation issue where the “templates” directory was not being installed, preventing commands like “list_templates” and “init” from working.


1.5.0

[changed] [environment]
To accommodate SQLAlchemy 1.4 and 2.0, the migration model now no longer assumes that the SQLAlchemy Connection will autocommit an individual operation. This essentially means that for databases that 
use non-transactional DDL (pysqlite current driver behavior, MySQL), there is still a BEGIN/COMMIT block that will surround each individual migration. Databases that support transactional DDL should 
continue to have the same flow, either per migration or per-entire run, depending on the value of the Environment.configure.transaction_per_migration flag.

[changed] [environment]
A CommandError is raised if a sqlalchemy.engine.Engine is passed to the MigrationContext.configure() method instead of a sqlalchemy.engine.Connection object. Previously, this would be a warning only.
[changed]
Alembic 1.5.0 now supports Python 2.7 and Python 3.6 and above, as well as SQLAlchemy 1.3.0 and above. Support is removed for Python 3 versions prior to 3.6 and SQLAlchemy versions prior to the 1.3 
series.

diffstat:

 databases/py-alembic/Makefile |   6 +++---
 databases/py-alembic/PLIST    |  20 +++++++-------------
 databases/py-alembic/distinfo |  10 +++++-----
 3 files changed, 15 insertions(+), 21 deletions(-)

diffs (90 lines):

diff -r f59d5cd80e37 -r 8dc0fdc66d73 databases/py-alembic/Makefile
--- a/databases/py-alembic/Makefile     Tue Jan 26 06:23:15 2021 +0000
+++ b/databases/py-alembic/Makefile     Tue Jan 26 11:20:07 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2020/10/15 13:53:46 adam Exp $
+# $NetBSD: Makefile,v 1.27 2021/01/26 11:20:07 adam Exp $
 
-DISTNAME=      alembic-1.4.3
+DISTNAME=      alembic-1.5.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/alembic/}
@@ -13,7 +13,7 @@
 DEPENDS+=      ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
 DEPENDS+=      ${PYPKGPREFIX}-editor>=0.3:../../editors/py-editor
 DEPENDS+=      ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako
-DEPENDS+=      ${PYPKGPREFIX}-sqlalchemy>=0.9.8:../../databases/py-sqlalchemy
+DEPENDS+=      ${PYPKGPREFIX}-sqlalchemy>=1.3.0:../../databases/py-sqlalchemy
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 
 USE_LANGUAGES= # none
diff -r f59d5cd80e37 -r 8dc0fdc66d73 databases/py-alembic/PLIST
--- a/databases/py-alembic/PLIST        Tue Jan 26 06:23:15 2021 +0000
+++ b/databases/py-alembic/PLIST        Tue Jan 26 11:20:07 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2020/02/16 21:11:41 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2021/01/26 11:20:07 adam Exp $
 bin/alembic-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -10,6 +10,9 @@
 ${PYSITELIB}/alembic/__init__.py
 ${PYSITELIB}/alembic/__init__.pyc
 ${PYSITELIB}/alembic/__init__.pyo
+${PYSITELIB}/alembic/__main__.py
+${PYSITELIB}/alembic/__main__.pyc
+${PYSITELIB}/alembic/__main__.pyo
 ${PYSITELIB}/alembic/autogenerate/__init__.py
 ${PYSITELIB}/alembic/autogenerate/__init__.pyc
 ${PYSITELIB}/alembic/autogenerate/__init__.pyo
@@ -127,12 +130,6 @@
 ${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/fixture_functions.py
-${PYSITELIB}/alembic/testing/fixture_functions.pyc
-${PYSITELIB}/alembic/testing/fixture_functions.pyo
 ${PYSITELIB}/alembic/testing/fixtures.py
 ${PYSITELIB}/alembic/testing/fixtures.pyc
 ${PYSITELIB}/alembic/testing/fixtures.pyo
@@ -142,18 +139,15 @@
 ${PYSITELIB}/alembic/testing/plugin/bootstrap.py
 ${PYSITELIB}/alembic/testing/plugin/bootstrap.pyc
 ${PYSITELIB}/alembic/testing/plugin/bootstrap.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/requirements.py
 ${PYSITELIB}/alembic/testing/requirements.pyc
 ${PYSITELIB}/alembic/testing/requirements.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 f59d5cd80e37 -r 8dc0fdc66d73 databases/py-alembic/distinfo
--- a/databases/py-alembic/distinfo     Tue Jan 26 06:23:15 2021 +0000
+++ b/databases/py-alembic/distinfo     Tue Jan 26 11:20:07 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.22 2020/10/15 13:53:46 adam Exp $
+$NetBSD: distinfo,v 1.23 2021/01/26 11:20:07 adam Exp $
 
-SHA1 (alembic-1.4.3.tar.gz) = abc6e8e80a3cc498fc4e09510dcd10dc09822a4b
-RMD160 (alembic-1.4.3.tar.gz) = 92c8b575588299afdc351beb28971b9995f98c8b
-SHA512 (alembic-1.4.3.tar.gz) = 925d8957fd9008d041737a9e79ec8d7a4c5deba1976e980362d355a75348c1638d783d9d48234a5bc3b2dc3f2f09dcb281d0c80ae0f0c5bc32e176c3dfa05463
-Size (alembic-1.4.3.tar.gz) = 1108131 bytes
+SHA1 (alembic-1.5.2.tar.gz) = bbb1642a118b0232ab8d9ea6e52286bea5944251
+RMD160 (alembic-1.5.2.tar.gz) = fbab13a82820bb2398b6a7a7b78e34ea6df90b28
+SHA512 (alembic-1.5.2.tar.gz) = 35a00cee17d626aec55d6fe5b99dec58dfc52167a1ff1559cb69a45b9eccdaf1a0ceb58f8c2bd0d6e590ac2577fea32d82b412b5e706d0b9c183775d44253668
+Size (alembic-1.5.2.tar.gz) = 1129660 bytes


Home | Main Index | Thread Index | Old Index