diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-16 16:45:52 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-16 16:47:45 +0000 |
commit | 6774c9e75a835e91e9b0e415c749e48e4f724e24 (patch) | |
tree | b7c5b4f84860f605672568e8caa50457ddf4924d | |
parent | 63547f5c50c0eb7d9726be4648448c1e5ee522c9 (diff) | |
download | guix-6774c9e75a835e91e9b0e415c749e48e4f724e24.tar guix-6774c9e75a835e91e9b0e415c749e48e4f724e24.tar.gz |
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
-rw-r--r-- | gnu/packages/python-web.scm | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 335798977f..a4a55478d0 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -5135,16 +5135,25 @@ applications.") (define-public python-flask-sqlalchemy (package (name "python-flask-sqlalchemy") - (version "2.5.1") + (version "3.1.1") (source (origin (method url-fetch) - (uri (pypi-uri "Flask-SQLAlchemy" version)) + (uri (pypi-uri "flask_sqlalchemy" version)) (sha256 (base32 - "04jrx4sjrz1b20j38qk4qin975xwz30krzq59rfv3b3w7ss49nib")))) - (build-system python-build-system) + "04l3dfivznlpvk9p9f20zdbyxl869k42z2w7glddlbc0h6w8pdp4")))) + (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 - (list python-flask python-sqlalchemy)) + (list python-flask + python-sqlalchemy-2)) (home-page "https://github.com/mitsuhiko/flask-sqlalchemy") (synopsis "Module adding SQLAlchemy support to your Flask application") (description |