[arch-commits] Commit in python-sqlalchemy/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Jan 23 21:30:13 UTC 2021


    Date: Saturday, January 23, 2021 @ 21:30:13
  Author: felixonmars
Revision: 826962

upgpkg: python-sqlalchemy 1.3.21-1

Modified:
  python-sqlalchemy/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-23 21:04:41 UTC (rev 826961)
+++ PKGBUILD	2021-01-23 21:30:13 UTC (rev 826962)
@@ -4,8 +4,8 @@
 
 pkgbase=python-sqlalchemy
 pkgname=('python-sqlalchemy' 'python2-sqlalchemy')
-pkgver=1.3.20
-pkgrel=3
+pkgver=1.3.21
+pkgrel=1
 arch=('x86_64') # python2 package contain .so
 url="https://www.sqlalchemy.org/"
 license=('MIT')
@@ -13,10 +13,13 @@
 checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pytest-xdist' 'python2-pytest-xdist' 'python-mock' 'python2-mock')
 source=("https://pypi.io/packages/source/S/SQLAlchemy/SQLAlchemy-$pkgver.tar.gz"{,.asc})
 validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1')
-sha512sums=('29c52ada1a66f906ed2563df2ab093eceb7c09de45749c96031f30a1512d20b1d698e00640c777169ef3db99ab012151770a3daea45a51df934269b554ff4b28'
+sha512sums=('50ea60b849e6f043507728482dc1a90faea853c3fb16affe1d68197903578cb31f26b3543f4671be6aec2a705343193bfa7579e8d417e74c92ee104af4fba753'
             'SKIP')
 
 prepare() {
+  sed -i '/warnings.filterwarnings("error", category=DeprecationWarning)/a \    warnings.filterwarnings("ignore", category=DeprecationWarning, message="Creating a LegacyVersion has been deprecated and will be removed in the next major release")' \
+      SQLAlchemy-$pkgver/lib/sqlalchemy/testing/warnings.py
+
   cp -a SQLAlchemy-$pkgver SQLAlchemy2-$pkgver
 }
 



More information about the arch-commits mailing list