-
Notifications
You must be signed in to change notification settings - Fork 27
fluent-runtime requires an outdated version of fluent-syntax #176
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
Comments
Sorry for the delay in getting to this. The config you're linking to is for local testing during development, specifically for verifying that the runtime package remains compatible with v0.17 of the syntax package. The published version of the library has a dependency @alexgibson Are you really sure that this is the source of your problems? Bedrock has itself a pinned dependency on fluent.syntax 0.17.0 with a comment that this is "to avoid compatibility issues", but I can't find mention of what those compatibility issues might be. |
I believe the conflict is due to two other packages:
|
I'm sorry, I'm not seeing the conflict here. Doesn't |
Perhaps I’m misunderstanding here, but Fluent runtime strictly requires 0.17, whereas the other libraries require 0.18 at minimum. Hence the conflict? |
At least this is what our requirements compiler seems to think:
If you don't think this is the case, I can try again and see if we still hit a conflict. |
@eemeli Sorry i think i understand and you're right. I need to figure out why 0.17 is pinned in our dependencies. But re-reading the error above, it doesn't seem to be because of the reason I filed the issue for. Thanks for pointing it out! |
Just popping in here with some info. I couldn't recall why i had downpinned fluent.syntax to 0.17, so I removed it as an explicit dependency - and then got the kind of conflicts Alex showed, above. So I then upgraded
So, I suspect that was the reason behind the 0.17 hard pin. Any tips for fixing this are v welcome! |
Check your actual local |
Hi @eemeli - thanks for the tip. I've tweaked a few things and I found that if I don't specify fluent-syntax at all, I wonder, is it worth increasing the mininum version of python-fluent/fluent.runtime/setup.py Line 31 in 61328fa
(Not sure if that would break other poeple's uses, though) |
Good that you figured it out! I'm clearly still not familiar enough with Python's dependency management. Once #180 lands, we'll need to bump up both packages to |
Thanks @eemeli - I appreciate the heads-up! |
The
fluent-runtime
library seems to pinfluent-syntax
to 0.17: https://github.com/projectfluent/python-fluent/blob/master/fluent.runtime/tox.ini#L11This prevents us from updating / using some other fluent packages, which require 0.18.
See: mozilla/bedrock#12209
The text was updated successfully, but these errors were encountered: