Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
python-flask-sqlalchemy


Commits:
2326c3ea by Jelle van der Waa at 2024-12-04T15:08:00+01:00
upgpkg: 3.1.1-3: Rebuild for Python 3.13

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-flask-sqlalchemy
        pkgdesc = Adds SQLAlchemy support to your Flask application
        pkgver = 3.1.1
-       pkgrel = 2
+       pkgrel = 3
        url = http://flask-sqlalchemy.pocoo.org/
        arch = any
        license = BSD-3-Clause


=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
 _pyname=flask-sqlalchemy
 pkgname=python-flask-sqlalchemy
 pkgver=3.1.1
-pkgrel=2
+pkgrel=3
 pkgdesc='Adds SQLAlchemy support to your Flask application'
 url='http://flask-sqlalchemy.pocoo.org/'
 arch=('any')
@@ -26,14 +26,18 @@ build() {
   cd ${_pyname}-${pkgver}
   python -m build --wheel --no-isolation
   python -m installer --destdir=tmp_install dist/*.whl
+  local python_version=$(python -c 'import sys; print(".".join(map(str, 
sys.version_info[:2])))')
   PYTHONPATH="$PWD"/tmp_install/`python -c "import site; 
print(site.getsitepackages()[0])"` \
   make -j1 -C docs man text SPHINXBUILD=sphinx-build
 }
 
 check() {
   cd ${_pyname}-${pkgver}
+  # Disable broken test.
+  # https://github.com/sqlalchemy/sqlalchemy/issues/11973
+  # 
https://github.com/sqlalchemy/sqlalchemy/commit/6ae7f2378971b16f024eb5ab851cc4533bc4e61a
   PYTHONPATH="$PWD"/tmp_install/`python -c "import site; 
print(site.getsitepackages()[0])"` \
-  py.test -vs -Wignore --disable-pytest-warnings
+  py.test -vs -Wignore --disable-pytest-warnings -k 'not 
test_explicit_table[db2] and not test_explicit_table[db4]'
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-flask-sqlalchemy/-/commit/2326c3ea50237e01f398774f70d1f2e502f23f81

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-flask-sqlalchemy/-/commit/2326c3ea50237e01f398774f70d1f2e502f23f81
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to