Skip to content

Commit

Permalink
Update py-flask-sqlalchemy to 2.2.
Browse files Browse the repository at this point in the history
Version 2.2
-----------

Released on February 27, 2017, codename Dubnium

- Minimum SQLAlchemy version is 0.8 due to use of ``sqlalchemy.inspect``.
- Added support for custom ``query_class`` and ``model_class`` as args
  to the ``SQLAlchemy`` constructor. (`#328`_)
- Allow listening to SQLAlchemy events on ``db.session``. (`#364`_)
- Allow ``__bind_key__`` on abstract models. (`#373`_)
- Allow ``SQLALCHEMY_ECHO`` to be a string. (`#409`_)
- Warn when ``SQLALCHEMY_DATABASE_URI`` is not set. (`#443`_)
- Don't let pagination generate invalid page numbers. (`#460`_)
- Drop support of Flask < 0.10. This means the db session is always tied to
  the app context and its teardown event. (`#461`_)
- Tablename generation logic no longer accesses class properties unless they
  are ``declared_attr``. (`#467`_)

.. _#328: pallets-eco/flask-sqlalchemy#328
.. _#364: pallets-eco/flask-sqlalchemy#364
.. _#373: pallets-eco/flask-sqlalchemy#373
.. _#409: pallets-eco/flask-sqlalchemy#409
.. _#443: pallets-eco/flask-sqlalchemy#443
.. _#460: pallets-eco/flask-sqlalchemy#460
.. _#461: pallets-eco/flask-sqlalchemy#461
.. _#467: pallets-eco/flask-sqlalchemy#467
  • Loading branch information
kleink committed Mar 14, 2017
1 parent 5411db9 commit 39d2655
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions www/py-flask-sqlalchemy/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.7 2016/06/08 17:43:45 wiz Exp $
# $NetBSD: Makefile,v 1.8 2017/03/14 14:49:01 kleink Exp $

DISTNAME= Flask-SQLAlchemy-2.1
DISTNAME= Flask-SQLAlchemy-2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/Flask-SQLAlchemy/}
Expand All @@ -13,7 +13,7 @@ LICENSE= modified-bsd
USE_LANGUAGES= # empty

DEPENDS+= ${PYPKGPREFIX}-flask>=0.10:../../www/py-flask
DEPENDS+= ${PYPKGPREFIX}-sqlalchemy>=0.6:../../databases/py-sqlalchemy
DEPENDS+= ${PYPKGPREFIX}-sqlalchemy>=0.8:../../databases/py-sqlalchemy

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
10 changes: 5 additions & 5 deletions www/py-flask-sqlalchemy/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.4 2015/10/26 18:48:55 kleink Exp $
$NetBSD: distinfo,v 1.5 2017/03/14 14:49:01 kleink Exp $

SHA1 (Flask-SQLAlchemy-2.1.tar.gz) = 3542d3f8f562efbff8cfdb4a884abba134bb7d2f
RMD160 (Flask-SQLAlchemy-2.1.tar.gz) = 1ecd59f41088c611b0448a9d6de23278f39b9f74
SHA512 (Flask-SQLAlchemy-2.1.tar.gz) = 023f3dd011a57768e921928dd3df791a54c64bb8a0cc1bb545dbb8e16dda263b730da74a0d400e5a057819830dd4cd014a642098a081c956a7ea8a2d37ec112a
Size (Flask-SQLAlchemy-2.1.tar.gz) = 95967 bytes
SHA1 (Flask-SQLAlchemy-2.2.tar.gz) = 021698b810acea0aa3a67e79930002c9dd3759f3
RMD160 (Flask-SQLAlchemy-2.2.tar.gz) = ac5e362eedba60c1648c3ab965c6d163eef717b0
SHA512 (Flask-SQLAlchemy-2.2.tar.gz) = 43a53ed174fc88db69568fbda5b131388e38436c4c3ed2f62607bf57149f9781772bfe5382eac54239790a10bb5a3ae22b89b2d1e3fc27ec77a1c0b9dbfe78ec
Size (Flask-SQLAlchemy-2.2.tar.gz) = 100736 bytes

0 comments on commit 39d2655

Please sign in to comment.