-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Migrate to our new Python standard + fix many subtle issues #47
Conversation
I'm a bit surprised that publishing to PyPi was not in Github workflow. Was it done manually previously ? |
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.
Thank you!
- Sorry about all the extra
.encode()
that you had to add foradd_item_for()
. We'll release scraperlib. - Same goes for all the flake8-errmsg ones.
- Question: what's the reasoning behind your
Path().as_posix()
usage? Given we don't manipulate paths string outside of pathlib, it sounds a bit cumbersome.
Thank you !
Do you have an ETA / release number I could watch? Should we wait for this scraperlib release for merge this PR, or go "as-is" and have a clean-up issue ?
I'm not sure to get this one. Are you speaking about openzim/_python-bootstrap#17? Does it have something to do with scraperlib?
We need to transform the |
Released!
Yes, nothing to do with scraperlib.
It is more meaningful! It implies some posix requirement which is not exact. I think |
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.
Thank you ;
- Dockerfile LABEL is incorrect (repo name)
- User-set description should be checked for length and refused if not compliant.
- User should also be able to set LongDescription (checked as well).
- Description should be user-defined first then from channel (stripped if over limit)
- LongDescription should only be set if user-defined or if description is longer than limit. Otherwise, not set at all.
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #47 +/- ##
=======================================
Coverage ? 24.90%
=======================================
Files ? 7
Lines ? 775
Branches ? 135
=======================================
Hits ? 193
Misses ? 570
Partials ? 12 ☔ View full report in Codecov by Sentry. |
…lder layout changes to accomodate for tests)
I've upgraded to |
Could you have a look at all unresolved conversations as well, I think we are ok but would like to have your confirmation before marking as resolved. |
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.
About ready
I think I finally understood your point regarding increasing the stack and retaining objects. I reverted multiple changes around this, adding few |
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.
Great ; you can change the datetime thing and rule and merge 👍
Rationale
Fix #46, i.e. migrate to our new Python standard + upgrade Zimscraperlib to 3.1.1
Changes
python:3.11-bookworm
(upgrade tobookworm
)