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 konoha upper bound #2778

Closed
wants to merge 2 commits into from
Closed

Conversation

hauntsaninja
Copy link
Contributor

@hauntsaninja hauntsaninja commented May 18, 2022

You can find the list of changes in konoha 5.0 here:
https://github.com/himkt/konoha/releases/tag/v5.0.0

None of them appear to affect flair.

(In general, I recommend against potentially unnecessary pins in
libraries. The reason I'm here is actually because konoha in turn
had an unnecessary pin of another library that we needed to update)

You can find the list of changes in konoha 5.0 here:
https://github.com/himkt/konoha/releases/tag/v5.0.0

None of them affect flair.

(In general, I recommend against potentially unnecessary pins in
libraries. The reason I'm here is actually because konoha in turn
had an unnecessary pin of another library that we needed to update)
@alanakbik
Copy link
Collaborator

Hello @hauntsaninja thanks for updating this! Unfortunately it seems the update is breaking our unit tests.

I think this may have something to do with some of the dependencies added between 4.0.0 and 5.0.0 (see himkt/konoha@v4.0.0...v5.0.0#diff-f53a023eedfa3fbf2925ec7dc76eecdc954ea94b7e47065393dbad519613dc89) and in particular the importlib-metadata dependency (see celery/kombu#1339 and deprecation info here)

@hauntsaninja hauntsaninja marked this pull request as draft May 20, 2022 03:34
@hauntsaninja
Copy link
Contributor Author

hauntsaninja commented May 20, 2022

Yeah, looks like there's some controversy surrounding flake8 and importlib-metadata, e.g. python/importlib_metadata#319 PyCQA/flake8#1438

I'll see if I can get CI green, if not I'll abandon this :-)

@hauntsaninja hauntsaninja marked this pull request as ready for review May 20, 2022 04:02
@hauntsaninja
Copy link
Contributor Author

Adding a pin in requirements-dev.txt to keep flake8 happy seems to have worked!

@Lingepumpe
Copy link
Contributor

I would not cap the version from above unless there is a known issue that this fixes. My vote is for konoha>=4.0.0, with no upper cap.

@himkt
Copy link
Contributor

himkt commented Oct 4, 2022

Hello @hauntsaninja, this is the author of konoha. Thank you so much for the patch of konoha upgrade.
(Sorry for being inactive a long time)

@alanakbik Now the CI looks green with the latest version of konoha (action. Do we still have some blocker for this?

One possible concern is about Python3.6 (konoha won't work with py36 due to some dependency updates). But I found the installation already fails with the latest master branch w/py36 (action, simply runs CI with py36). If we can drop the support for py36 (or already dropped it), I think it's possible to upgrade the konoha version as well.

@hauntsaninja
Copy link
Contributor Author

hauntsaninja commented Oct 4, 2022

This PR has conflicts now and I'm not interested in seeing it through. Was easier to delete flair from the codebase I was working on.

@himkt
Copy link
Contributor

himkt commented Oct 5, 2022

@alanakbik If we can work on upgrading the package, please let me know. 🙏 I'll create a tracking issue or PR.

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.

None yet

4 participants