Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Py39 #395

Merged
merged 24 commits into from
Oct 7, 2020
Merged

Py39 #395

Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ source:
- patches/0029-Xcode-12-Beta-4-declares-_dyld_shared_cache_contains.patch
- patches/0030-gh21564.patch
- patches/0031-gh21228.patch
- patches/0032-Fix-TZPATH-on-windows.patch

# TODO :: Depend on our own packages for these:
- url: https://github.com/python/cpython-source-deps/archive/xz-5.2.2.zip # [win]
Expand Down
25 changes: 25 additions & 0 deletions recipe/patches/0032-Fix-TZPATH-on-windows.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 1218ca492f4781ffc680e4a450ca1933ddcb29f4 Mon Sep 17 00:00:00 2001
From: Isuru Fernando <[email protected]>
Date: Wed, 7 Oct 2020 10:08:30 -0500
Subject: [PATCH] Fix TZPATH on windows

---
Lib/sysconfig.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py
index bf04ac541e..11e81d4f44 100644
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -546,7 +546,7 @@ def get_config_vars(*args):

if os.name == 'nt':
_init_non_posix(_CONFIG_VARS)
- _CONFIG_VARS['TZPATH'] = ''
+ _CONFIG_VARS['TZPATH'] = os.path.join(_PREFIX, "share", "zoneinfo")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

if os.name == 'posix':
_init_posix(_CONFIG_VARS)
# For backward compatibility, see issue19555
--
2.28.0