-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Add upperbound to microsoft-kiota-abstractions #43021
Add upperbound to microsoft-kiota-abstractions #43021
Conversation
Is there a reason we can't just fix the problem and exclude the problematic release? We limit version only if the fix isn't easy and requires some effort |
They have entirely removed the module. So, unless we update the provider code, just excluding the specific version won't help. I guess, we can remove the constraint once we fix the provider by removing references to the removed classes/methods |
If the fix is easy then lets fix :) |
I can definitely take this work, but I don't think it's straightforward. At least not to me, as it's the first time I will be working with this provider. It failed the MyPy checks on the other PR I'm working on. Would it be fine if I created an issue and assigned myself? |
yes but please also add comment to the provider yaml and add the link to the issue so we have better tracking of it |
Yes. Crating an issue and referring to it in the comment just above the dependency (as we do for other cases like that) is the way we do it. This makes it later very easy to check "has this issue been followed? What is the status? Should we do something with it"? This is all very difficult if we do not know what's the reason of upper-binding a dependency, so our rule-of-thumb is that we never upper-bind any dependency without a comment explaining why, what is the condition of removing the binding and linking to appropriate issue. |
Also once you create the issue - we could ask other people who are involved in microsoft provider - maybe @ambika-garg could help with it for example ? |
Hey @potiuk ,I'd be happy to assist with this issue. |
Thanks. I've updated the PR. @ambika-garg, I just created #43036 |
* add upperbound to microsoft-kiota-abstractions * add * add comment about breaking change
* add upperbound to microsoft-kiota-abstractions * add * add comment about breaking change (cherry picked from commit 7b151d3)
* add upperbound to microsoft-kiota-abstractions * add * add comment about breaking change
* add upperbound to microsoft-kiota-abstractions * add * add comment about breaking change
* add upperbound to microsoft-kiota-abstractions * add * add comment about breaking change
Currently, MyPy check is failing as we don't have a pin on
microsoft-kiota-abstractions
.They recently released newer minor version which has a breaking change.
Breaking change.
following module missing: 1.4.0 . vs 1.3.3
They released newer version at Mon, 14 Oct 2024 17:09:01 GMT . Source: https://pypi.org/rss/project/microsoft-kiota-abstractions/releases.xml