-
Notifications
You must be signed in to change notification settings - Fork 11
remove Python dependency #5
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
Conversation
|
I found that
But
Dump of file libintl-8.dll |
|
Gettext_jll ships libintl as well as libgettext, but it currently only exports a variable for the path of the latter. I'm confused about what (Would be good to get CI fixed in this package to use github actions, so that Windows is tested.) |
|
Hmm, it looks like I think that in Julia we probably never want to use the system |
|
JuliaPackaging/Yggdrasil#11038 builds However, I think a pure Julia version could have a much nicer API and implementation compared to |
|
I think the first step should just be to call |
|
The new GettextRuntime_jll package is registered now and provides GNU libintl |
|
I've updated this PR to use |
|
Right now, @garrison and @waldyrious are the only members of the Julia-i18n org … could you guys invite some more maintainers, e.g. me and/or someone from JuliaLang like @viralshah? I'm worried about this org getting orphaned. |
|
Sure, @stevengj, makes sense! There are actually two more members in the organization, but they have their membership set to private so they're not visible at the moment — namely, @nalimilan and @neomatrixcode (who IIRC was the org's creator). I'd urge them to change the visibility of their membership in the interests of openness, and to ensure the organization's public profile adequately reflects its membership. I have sent invitations to @stevengj and @viralshah, both as owners. |
|
Thanks @waldyrious! Any thoughts on merging this PR? I should probably rebase once #12 is merged, first, so that CI can run. |
|
I have no idea how I ended up being a private member. I've just changed that. @stevengj you're also a private member so maybe that's the default in this org? |
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
|
CI is failing on Windows with: The It's possible that this function is not needed, and |
|
Looking at the On the other hand, all of the Windows-specific API code is only compiled if I should probably just change it to use |
I am all for reducing dependencies and setup for running software, but I'm afraid I am not familiar with this codebase, so I'd rather leave it to those who actually understand the problems at play to make a decision :)
I believe that's GitHub's default, unfortunately. If you know of a way to change the default, please do share, as I'd be interested in implementing that for other organizations I'm a member of! |
|
Hmm, I removed the call to Seems like we need to make sure that |
|
|
|
Progress: it's not a Unicode thing — Windows is failing even with an ascii pathname. |
|
I have a feeling that there's some Windows-specific way to set the language that we are not doing? It is giving: Gettext.setlocale() = "English_United States.1252"and ignoring the Update: Yup, you have to call |
|
Hooray, Windows is finally working (including Unicode pathnames). Okay to merge? |
Closes #1: calls the
libgettextlibrary (provided byGettext_jll) directly rather than via Python.Also closes #7: moves
_"..."evaluation to runtime.