]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40683: Add zoneinfo to LIBSUBDIRS (GH-20229)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 19 May 2020 16:13:15 +0000 (09:13 -0700)
committerGitHub <noreply@github.com>
Tue, 19 May 2020 16:13:15 +0000 (09:13 -0700)
Without this, only the _zoneinfo module is getting installed, not the
zoneinfo module. I believe this was not noticed earlier because
test.test_zoneinfo was also not being installed.
(cherry picked from commit 2abededbc4165d2daa14ae9d74b1f33cce0593d7)

Co-authored-by: Paul Ganssle <paul@ganssle.io>
Makefile.pre.in
Misc/NEWS.d/next/Build/2020-05-19-10-54-08.bpo-40683.W8JHrr.rst [new file with mode: 0644]

index de50f6b7f7022feb9d4fec2b4132417abe39eed4..5a18704e441985bd4f944f24e6aea6c04ffa1d0c 100644 (file)
@@ -1429,6 +1429,7 @@ LIBSUBDIRS=       tkinter tkinter/test tkinter/test/test_tkinter \
                test/test_importlib/source \
                test/test_importlib/zipdata01 \
                test/test_importlib/zipdata02 \
+               test/test_zoneinfo test/test_zoneinfo/data \
                test/ziptestdata \
                asyncio \
                test/test_asyncio \
@@ -1450,7 +1451,8 @@ LIBSUBDIRS=       tkinter tkinter/test tkinter/test/test_tkinter \
                multiprocessing multiprocessing/dummy \
                unittest unittest/test unittest/test/testmock \
                venv venv/scripts venv/scripts/common venv/scripts/posix \
-               curses pydoc_data
+               curses pydoc_data \
+               zoneinfo
 libinstall:    build_all $(srcdir)/Modules/xxmodule.c
        @for i in $(SCRIPTDIR) $(LIBDEST); \
        do \
diff --git a/Misc/NEWS.d/next/Build/2020-05-19-10-54-08.bpo-40683.W8JHrr.rst b/Misc/NEWS.d/next/Build/2020-05-19-10-54-08.bpo-40683.W8JHrr.rst
new file mode 100644 (file)
index 0000000..d57e064
--- /dev/null
@@ -0,0 +1,2 @@
+Fixed an issue where the :mod:`zoneinfo` module and its tests were not
+included when Python is installed with ``make``.