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 Oct 18 16:29:01 UTC 2017

Modified Files:
        pkgsrc/databases/py-alembic: Makefile distinfo

Log Message:
py-alembic: update to 0.9.6

0.9.6

feature

[feature] [commands] The alembic history command will now make use of the revision environment env.py unconditionally if the revision_environment configuration flag is set to True. Previously, the 
environment would only be invoked if the history specification were against a database-stored revision token.

bug

[bug] [commands] Fixed a few Python3.6 deprecation warnings by replacing StopIteration with return, as well as using getfullargspec() instead of getargspec() under Python 3.

[bug] [commands] An addition to 441 fixed in 0.9.5, we forgot to also filter for the + sign in migration names which also breaks due to the relative migrations feature.

[bug] [autogenerate] Fixed bug expanding upon the fix for 85 which adds the correct module import to the “inner” type for an ARRAY type, the fix now accommodates for the generic 
sqlalchemy.types.ARRAY type added in SQLAlchemy 1.1, rendering the inner type correctly regardless of whether or not the Postgresql dialect is present.

[bug] [mysql] Fixed bug where server default comparison of CURRENT_TIMESTAMP would fail on MariaDB 10.2 due to a change in how the function is represented by the database during reflection.

[bug] [autogenerate] Fixed bug where comparison of Numeric types would produce a difference if the Python-side Numeric inadvertently specified a non-None “scale” with a “precision” of None, even 
though this Numeric type will pass over the “scale” argument when rendering. Pull request courtesy Ivan Mmelnychuk.

[bug] [batch] The name of the temporary table in batch mode is now generated off of the original table name itself, to avoid conflicts for the unusual case of multiple batch operations running 
against the same database schema at the same time.

[bug] [autogenerate] A ForeignKeyConstraint can now render correctly if the link_to_name flag is set, as it will not attempt to resolve the name from a “key” in this case. Additionally, the 
constraint will render as-is even if the remote column name isn’t present on the referenced remote table.

[bug] [runtime] [py3k] Reworked “sourceless” system to be fully capable of handling any combination of: Python2/3x, pep3149 or not, PYTHONOPTIMIZE or not, for locating and loading both env.py files 
as well as versioning files. This includes: locating files inside of __pycache__ as well as listing out version files that might be only in versions/__pycache__, deduplicating version files that may 
be in versions/__pycache__ and versions/ at the same time, correctly looking for .pyc or .pyo files based on if pep488 is present or not. The latest Python3x deprecation warnings involving importlib 
are also corrected.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/py-alembic/Makefile \
    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.1 pkgsrc/databases/py-alembic/Makefile:1.2
--- pkgsrc/databases/py-alembic/Makefile:1.1    Sun Sep 17 04:00:15 2017
+++ pkgsrc/databases/py-alembic/Makefile        Wed Oct 18 16:29:01 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2017/09/17 04:00:15 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2017/10/18 16:29:01 adam Exp $
 
-DISTNAME=      alembic-0.9.5
+DISTNAME=      alembic-0.9.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/alembic/}
@@ -10,15 +10,17 @@ HOMEPAGE=   https://bitbucket.org/zzzeek/a
 COMMENT=       Database migration tool for SQLAlchemy
 LICENSE=       mit
 
+DEPENDS+=      ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
 DEPENDS+=      ${PYPKGPREFIX}-editor>=0.3:../../editors/py-editor
-DEPENDS+=      ${PYPKGPREFIX}-mako>=0.8.1:../../devel/py-mako
 DEPENDS+=      ${PYPKGPREFIX}-nose>=1.3.0:../../devel/py-nose
 DEPENDS+=      ${PYPKGPREFIX}-sqlalchemy>=0.9.8:../../databases/py-sqlalchemy
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 USE_LANGUAGES= # none
 
 do-test:
-       ${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} run_tests.py
+       cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/databases/py-alembic/distinfo
diff -u pkgsrc/databases/py-alembic/distinfo:1.1 pkgsrc/databases/py-alembic/distinfo:1.2
--- pkgsrc/databases/py-alembic/distinfo:1.1    Sun Sep 17 04:00:15 2017
+++ pkgsrc/databases/py-alembic/distinfo        Wed Oct 18 16:29:01 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/09/17 04:00:15 minskim Exp $
+$NetBSD: distinfo,v 1.2 2017/10/18 16:29:01 adam Exp $
 
-SHA1 (alembic-0.9.5.tar.gz) = 25df8e5085ed47a87d6af47ae906f89079123d5c
-RMD160 (alembic-0.9.5.tar.gz) = 46ef9e3d83835e13a85bdb9392ef91af5a7be535
-SHA512 (alembic-0.9.5.tar.gz) = 7588a681a6cf50a58ad697cb879d465d259880a473647d598242609c6321a8be7f53fc0d9a24fe976c4c65750eb0acc1a8e60253d4ccda33c87319ac9985e8b8
-Size (alembic-0.9.5.tar.gz) = 990808 bytes
+SHA1 (alembic-0.9.6.tar.gz) = be22df78c2c9d49ebd0c6b7451eb6ca78dc12098
+RMD160 (alembic-0.9.6.tar.gz) = d7fbde395cb025d37ca1f4e9275c53f42206de83
+SHA512 (alembic-0.9.6.tar.gz) = f7bc6fa2888056d66b1d3640387b933b4accea6e6062ec089e5ce1353cbaa89ad3c1afac6c06aa52ddd497bdd41f9fdf5d4d860244ed8f339c69c16eb5494c46
+Size (alembic-0.9.6.tar.gz) = 998191 bytes



Home | Main Index | Thread Index | Old Index