Skip to content
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

Update dependencies #281

Merged
merged 2 commits into from
Mar 6, 2023
Merged

Update dependencies #281

merged 2 commits into from
Mar 6, 2023

Conversation

FledgeXu
Copy link
Contributor

@FledgeXu FledgeXu commented Mar 5, 2023

Related to #279
This PR may need some tests before it's merged.

@FledgeXu
Copy link
Contributor Author

FledgeXu commented Mar 5, 2023

I tested the --redis-url and I didn't notice any bugs.

@kelson42 kelson42 requested a review from rgaudin March 5, 2023 09:08
Copy link
Member

@rgaudin rgaudin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you ; wouldn't close #279 though but the rest will be handled through the org-wide task first.
Please change the mistune version.

requirements.txt Outdated
@@ -1,19 +1,19 @@
kiwixstorage>=0.8.1,<1.0
pif>=0.8.2,<0.9
zimscraperlib>=1.8.0,<1.9
zimscraperlib>=2.0,<2.9
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why? should be <3.0

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will fix it than.

requirements.txt Outdated
tld>=0.12.6,<0.13
mistune>=2.0.0rc1,<2.1
tld>=0.13,<0.14
mistune>=3.0.0rc4,<3.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. There's no changelog so definitely not upgrading to a new major, rc. Requires extensive tests.

Copy link
Contributor Author

@FledgeXu FledgeXu Mar 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rgaudin You mean we don’t need to update tld and mistune, those two packages?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No tld is fine but mistune's new version is to the next major version while it is somewhat critical. Given there's no changelog to look at differences, let's keep it in 2.x

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, i will fix it.

@FledgeXu
Copy link
Contributor Author

FledgeXu commented Mar 6, 2023

I update the requirements.txt, based on the previous discussion.

@rgaudin rgaudin self-requested a review March 6, 2023 15:43
Copy link
Member

@rgaudin rgaudin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rgaudin rgaudin changed the title Bump up the version to Python 3.11.2. Update dependencies Mar 6, 2023
@rgaudin rgaudin merged commit 58b9967 into openzim:main Mar 6, 2023
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