gnu: python-flask-sqlalchemy: Update to 3.1.1.

* gnu/packages/python-web.scm (python-flask-sqlalchemy): Update to
3.1.1. Fix build.
[source]<uri>: Adjust name as it was changed in PyPI source archive.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Skip some failing tests.
[propagated-inputs]: Remove python-sqlalchemy; add python-sqlalchemy-2.
[native-inputs]: Add python-flit-core and python-pytest.

Change-Id: Id9a7516ca56a8d6e30cd9a40253886e4e9dbf668
This commit is contained in:
Sharlatan Hellseher 2024-12-16 16:45:52 +00:00
parent 63547f5c50
commit 6774c9e75a
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -5135,16 +5135,25 @@ applications.")
(define-public python-flask-sqlalchemy (define-public python-flask-sqlalchemy
(package (package
(name "python-flask-sqlalchemy") (name "python-flask-sqlalchemy")
(version "2.5.1") (version "3.1.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "Flask-SQLAlchemy" version)) (uri (pypi-uri "flask_sqlalchemy" version))
(sha256 (sha256
(base32 (base32
"04jrx4sjrz1b20j38qk4qin975xwz30krzq59rfv3b3w7ss49nib")))) "04l3dfivznlpvk9p9f20zdbyxl869k42z2w7glddlbc0h6w8pdp4"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments
(list
#:test-flags
#~(list "-k" (string-append "not test_explicit_table[db2]"
" and not test_explicit_table[db4]"))))
(native-inputs
(list python-flit-core
python-pytest))
(propagated-inputs (propagated-inputs
(list python-flask python-sqlalchemy)) (list python-flask
python-sqlalchemy-2))
(home-page "https://github.com/mitsuhiko/flask-sqlalchemy") (home-page "https://github.com/mitsuhiko/flask-sqlalchemy")
(synopsis "Module adding SQLAlchemy support to your Flask application") (synopsis "Module adding SQLAlchemy support to your Flask application")
(description (description