From ad9bb4c5bd3f97384a2c2c328856183f4c3b7ec0 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 2 Dec 2024 20:34:30 +0000 Subject: gnu: python-alembic: Update to 1.14.0. * gnu/packages/databases.scm (python-alembic): Update to 1.14.0. [arguments]: Skip 4 tests requiring latest python-pytz. [propagated-inputs]: Add python-typing-extensions. [native-inputs]: Remove python-pytest-cov; add python-pytest, python-setuptools, and python-wheel. Change-Id: Ife6a19416839ad1f94e912f926871db362ab820c --- gnu/packages/databases.scm | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index becd781c95..5b86e3dd67 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3840,18 +3840,37 @@ (define-public python-alchemy-mock (define-public python-alembic (package (name "python-alembic") - (version "1.7.5") + (version "1.14.0") (source (origin (method url-fetch) (uri (pypi-uri "alembic" version)) (sha256 - (base32 "0lxi2g2025lz5k7k5dd5fc1lfijqi2yw6qqyjzp073z6laa8cckw")))) + (base32 "0jrh9q4h2jv2bafpd6isx2dvc90rpx6j7fpdvfwd0hin7fsr425h")))) (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "--ignore=tests/integration" + "-k" (string-join + ;; XXX: Tests require fresh python-pytz timezones, remove + ;; when updated. + (list "not test_custom_tz" + "test_custom_tz_lowercase" + "test_custom_tz_utc" + "test_custom_tzdata_tz") + " and not ")))) (native-inputs - (list python-mock python-pytest-cov)) + (list python-mock + python-pytest + python-setuptools + python-wheel)) (propagated-inputs - (list python-dateutil python-sqlalchemy python-mako python-editor)) + (list python-dateutil + python-editor + python-mako + python-sqlalchemy + python-typing-extensions)) (home-page "https://bitbucket.org/zzzeek/alembic") (synopsis "Database migration tool for SQLAlchemy") (description -- cgit v1.2.3