-
Notifications
You must be signed in to change notification settings - Fork 69
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
fixes #55 : Refactor ISO code usage using Python langcodes #60
fixes #55 : Refactor ISO code usage using Python langcodes #60
Conversation
Thank you for the pull request!The Scribe team will do our best to address your contribution as soon as we can. The following is a checklist for maintainers to make sure this process goes as well as possible. Feel free to address the points below yourself in further commits if you realize that actions are needed :) If you're not already a member of our public Matrix community, please consider joining! We'd suggest using Element as your Matrix client, and definitely join the General and Data rooms once you're in. It'd be great to have you! Maintainer checklist
|
Hey @shashank-iitbhu! Really happy to get this so quickly! Thanks so much :) A quick note on this is that it looks like your GitHub email isn't set up properly. See the note in the maintainer checklist:
Do you want to check that and maybe reopen this PR after? Big thing is that your account likely won't get credit for the commit as it is now. |
Signed-off-by: Shashank Mittal <[email protected]>
0b63cea
to
71c0370
Compare
I have configured my email with this PR. Let me know if this works. |
Looks great now @shashank-iitbhu! Thanks for the quick reaction :) |
@wkyoshida, do you have an idea on the tensorflow version error (just installed 2.11 for work earlier today). Before the version in the env file and requirements were different, but post fix in my commit it's still saying:
|
- langcodes>=3.0.0 | ||
- language_data>=1.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do these need to get added in the requirements.txt
too?
Thinking it might be the cause for this error (logs) in the CI runs on Ubuntu runners at least?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yes, forgot to add them in requirements.txt
, Let me push another commit.
Still not sure yet what the issue is.. 🤔 |
Signed-off-by: Shashank Mittal <[email protected]>
…/Scribe-Data into langcodes-implementation merge
Still all are failing... 🤔 |
I'll give that a try, and if it doesn't work I'll try to remove it all together. We're not really using it for anything major anyway. |
The failures in the Ubuntu runners (logs) appear now to be due to failing tests actually. I believe some of the tests might need updating given the new changes. Could try running the |
Signed-off-by: Shashank Mittal <[email protected]>
The tests were failing because |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much for the changes here, @shashank-iitbhu! Really appreciate the work here 😊 Hopefully you can make it to the sync today and we can discuss #57 (if that's still of interest). I'd be happy to set up the baseline docs this week and then you can take it from there!
FYI you two I decided to update the data download process for generating autosuggestions to remove Tensorflow as it looks like there will be problems from now on given M1 vs. not M1 macs. We're now at least not getting that error anymore, but now we're looking at:
Looks like the last hurdle for a good Mac build though, so progress 😊 |
Contributor checklist
Description
get_language_iso
andget_language_from_iso
insrc/scribe_data/utlis.py
.langcodes
andlanguage_data
: Adds langcodes and language_data as dependencies toenvironment.yaml
file.LanguageTagError
attribute oflangcodes
with try and except for error handling.test_update_utils.py
file.Related issue