Skip to content

Add os.environ fallback for Jython#155

Merged
zoofood merged 1 commit into
ActiveState:masterfrom
Kevin-McClusky:154-jython-fix
Sep 14, 2020
Merged

Add os.environ fallback for Jython#155
zoofood merged 1 commit into
ActiveState:masterfrom
Kevin-McClusky:154-jython-fix

Conversation

@Kevin-McClusky
Copy link
Copy Markdown
Contributor

This is a proposed fix for issue #154

Provides an additional fallback for Windows if ctypes, JNA, and winreg all fail.

Tested and works as expected in Windows 10 with Jython 2.7.2. Also tested to verify prior behavior is unchanged against Jython 2.7.2 with JNA and CPython 3.8.5.

This also will fix the downstream pip issue, where pip is currently broken in Jython with a standard Java install.

@zoofood
Copy link
Copy Markdown
Contributor

zoofood commented Aug 31, 2020

Thanks Kevin. I will review later this week. Appreciate the work you put into this.

@Kevin-McClusky
Copy link
Copy Markdown
Contributor Author

Hi @zoofood, I just wanted to ping you on this and see if you need anything more from me. Thanks!

@zoofood
Copy link
Copy Markdown
Contributor

zoofood commented Sep 14, 2020

LGTM. Thanks!

@zoofood zoofood merged commit 4868af8 into ActiveState:master Sep 14, 2020
@Kevin-McClusky
Copy link
Copy Markdown
Contributor Author

Thanks! Looks great.

Follow up question: any sense of when the version might be iterated to 1.4.5? The pip project tries to just use release versions of embedded libraries wherever possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants