[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/28: gnu: python-3.9: Add a search path specification for PYTHONTZPATH
From: |
guix-commits |
Subject: |
12/28: gnu: python-3.9: Add a search path specification for PYTHONTZPATH. |
Date: |
Fri, 15 Jan 2021 16:34:49 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 5f20a347450b620f1c582b16aa007f8c2feea13f
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 15 00:07:46 2021 -0500
gnu: python-3.9: Add a search path specification for PYTHONTZPATH.
Python 3.9 implemented PEP 615
(<)https://www.python.org/dev/peps/pep-0615/>),
which relies on either a compiled time default value or the PYTHONTZPATH
environment variable to find the system tzdata database.
* gnu/packages/python.scm (python-3.9)[native-search-paths]: Add a new
search
path specification for PYTHONTZPATH.
---
gnu/packages/python.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 85eb797..d3df1a4 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -475,7 +475,12 @@ data types.")
(variable "PYTHONPATH")
(files (list (string-append "lib/python"
(version-major+minor version)
- "/site-packages"))))))))
+ "/site-packages"))))
+ ;; Used to locate tzdata by the zoneinfo module introduced in
+ ;; Python 3.9.
+ (search-path-specification
+ (variable "PYTHONTZPATH")
+ (files (list "share/zoneinfo")))))))
;; Current 3.x version.
(define-public python-3 python-3.9)
- 10/28: gnu: python-pytest-forked: Update to 1.3.0., (continued)
- 10/28: gnu: python-pytest-forked: Update to 1.3.0., guix-commits, 2021/01/15
- 06/28: gnu: python-mccabe: Add missing python-toml input., guix-commits, 2021/01/15
- 07/28: gnu: python-pyflakes: Fix build., guix-commits, 2021/01/15
- 08/28: gnu: python-mccabe: Fix indentation., guix-commits, 2021/01/15
- 09/28: gnu: python-typed-ast: Update to 1.4.2., guix-commits, 2021/01/15
- 13/28: gnu: python-babel: Fix build., guix-commits, 2021/01/15
- 14/28: gnu: python-simplejson: Update to 3.17.2, fixing build., guix-commits, 2021/01/15
- 15/28: gnu: python-backpack: Fix build., guix-commits, 2021/01/15
- 16/28: gnu: python-hypothesis: Update to 6.0.2, guix-commits, 2021/01/15
- 11/28: gnu: python-pympler: Update to 0.9., guix-commits, 2021/01/15
- 12/28: gnu: python-3.9: Add a search path specification for PYTHONTZPATH.,
guix-commits <=
- 17/28: gnu: python-flake8-pyi: Update to 20.10.0., guix-commits, 2021/01/15
- 20/28: gnu: python-hypothesmith: Update to 0.1.8., guix-commits, 2021/01/15
- 18/28: gnu: python-virtualenv: Update to 20.3.1., guix-commits, 2021/01/15
- 19/28: gnu: Add python-libcst-minimal., guix-commits, 2021/01/15
- 23/28: gnu: Add python-pylama., guix-commits, 2021/01/15
- 24/28: gnu: python2-pylint: Remove package., guix-commits, 2021/01/15
- 21/28: gnu: python-typing-inspect: Fix build on Python 3.9., guix-commits, 2021/01/15
- 22/28: gnu: Add python-mypy-minimal., guix-commits, 2021/01/15
- 25/28: gnu: python2-orator: Remove package., guix-commits, 2021/01/15
- 28/28: gnu: python-isort: Update to 5.7.0, fixing build on Python 3.9., guix-commits, 2021/01/15