-
Notifications
You must be signed in to change notification settings - Fork 13
Fix compatibility with NiceGUI 2.16.x #286
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
Conversation
@pascalzauberzeug Did you upgrade pip? Before upgrading pip (on 24.3.1) I indeed get the same message as you. After upgrading to pip 25.1.1, I get this instead. Try it on your machine, too!
@falkoschindler I think the issue may have to be intrinsically with NiceGUI itself. Though a simple fix in RoSys is much appreciated, we should proceed with more care and caution. |
Boiled things down further:
Then:
Realization: So RoSys before the PR excluding httpx 0.25.1 (aka the release of httpx where httpcore 1.0 support was introduced) means it marks itself incompatible with h11 0.16.0, which is only supported by httpcore 1.0.9 as of two weeks ago. Therefore, it is right to do |
@evnchn Edit: I just noticed my statement is wrong. |
From the above, where (Edit: Made a typo to |
According to the poetry documentation here, |
This reverts commit d64c546.
Hmm but I just hope to get this across correctly @falkoschindler
Unfortunately not. So, we may want to do:
|
@evnchn @codingpaula and I decided to use |
@evnchn You're right! I must have misread the documentation. Sorry for the confusion. 🤦🏻♂️ |
We had problems installing the newest NiceGUI version 2.16.1 together with RoSys that we didn't really understand, since the version requirements don't contradict themselves:
I still don't quite understand the underlying issue, but requiring
httpx = "^0.25.0"
instead ofhttpx = "^0.24.0"
in RoSys does fix it.