diff options
author | Christopher Baines <mail@cbaines.net> | 2021-03-05 22:56:40 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2021-03-06 00:18:30 +0000 |
commit | a8448da0f4a090818104e64dd79f90b0e50d5e77 (patch) | |
tree | 494c58b4724f12cd9de0db9b0a7096de2b922c0f /gnu/packages/time.scm | |
parent | 4f4b749e75b38b8c08b4f67ef51c2c8740999e28 (diff) | |
parent | a714af38d5d1046081524d859cde4cd8fd12a923 (diff) | |
download | guix-patches-a8448da0f4a090818104e64dd79f90b0e50d5e77.tar guix-patches-a8448da0f4a090818104e64dd79f90b0e50d5e77.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/time.scm')
-rw-r--r-- | gnu/packages/time.scm | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 746ba97c0f..73e7f04834 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -269,14 +269,14 @@ Python datetime objects.") (define-public python-tzlocal (package (name "python-tzlocal") - (version "1.5.1") + (version "2.1") (source (origin (method url-fetch) (uri (pypi-uri "tzlocal" version)) (sha256 (base32 - "0kiciwiqx0bv0fbc913idxibc4ygg4cb7f8rcpd9ij2shi4bigjf")))) + "0i1fm4sl04y65qnaqki0w75j34w863gxjj8ag0vwgvaa572rfg34")))) (build-system python-build-system) (arguments `(#:phases @@ -284,9 +284,12 @@ Python datetime objects.") (add-before 'check 'fix-symlink-test ;; see: https://github.com/regebro/tzlocal/issues/53 (lambda _ - (delete-file "tzlocal/test_data/symlink_localtime/etc/localtime") + (delete-file "tests/test_data/symlink_localtime/etc/localtime") (symlink "../usr/share/zoneinfo/Africa/Harare" - "tzlocal/test_data/symlink_localtime/etc/localtime") + "tests/test_data/symlink_localtime/etc/localtime") + ;; And skip the test_fail test, it is known to fail + (substitute* "tests/tests.py" + (("def test_fail") "def _test_fail")) #t))))) (propagated-inputs `(("python-pytz" ,python-pytz))) |