-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Python bootstrap #182
Python bootstrap #182
Conversation
Welcome to Codecov 🎉Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment. Thanks for integrating Codecov - We've got you covered ☂️ |
- move to hatch instead of setuptools - Python 3.11 - upgrade dependencies - re-arrange Dockerfile to optimize image / build time - many small code adaptations linked to issues raised by linter or type checker - rework CI/CD workflows - add dummy test to open the road to many more
JQuery Chosen is deprecated and forces us to stay on JQuery 1 ogv.js has not been updated
19cc820
to
fbd9748
Compare
I just uploaded https://dev.library.kiwix.org/viewer#badminton_webm_2023-10/home.html which has been created by this new code. I would like to test this on IE11 / old Safari to ensure there is no regression since I updated the webp polyfill, but I probably do not have it at home. |
Added |
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.
We're getting a lot better at time every time 😉
- Simplify Youtube class to get rid of typing issues - Small fixes
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.
I'm OK with changes but some conversations are not resolved
I think I've provided feedback on remaining points. |
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.
Good to merge then
Fix #180
Changes:
load_mandatory_json
util function which raises an error if file is not present or JSON is not valid (instead of returning None)render_template
util function which returns a string or returns an error (to circumvent various types returned by Jinja)