~ruther/guix-local

ad9bb4c5bd3f97384a2c2c328856183f4c3b7ec0 — Sharlatan Hellseher 1 year, 6 months ago 8e0e3b4
gnu: python-alembic: Update to 1.14.0.

* gnu/packages/databases.scm (python-alembic): Update to 1.14.0.
[arguments]<test-flags>: 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
1 files changed, 23 insertions(+), 4 deletions(-)

M gnu/packages/databases.scm
M gnu/packages/databases.scm => gnu/packages/databases.scm +23 -4
@@ 3840,18 3840,37 @@ this library provides functions to facilitate such comparisons.")
(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