-
Notifications
You must be signed in to change notification settings - Fork 40
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
Breaking changes between pypi-published v0.2.2 and release v1.0.0 and samples failing #447
Comments
I'm facing same issue, I have raised a question on QA section about it. |
I'm facing the same issue here. |
This is particularly problematic because v1.0.0 was pushed to pypi on 22 Jan 2024 so unless your requirements.txt or other code specify msgraph-core==0.2.2, things break without any deprecation or other warning :( |
@RossK1, |
+1 ... no working samples is a major headache. samples/graph_client_samples.py was hugely flexible, it's not clear (to me at least) how to implement the same in v1.0.0 |
I just found the upgrading section in the Just the "Fluent Request Builder Pattern" might require a major rewrite as requests are not done using URLs anymore. |
Apologies for the gaps in the docs to use the You may consider transitioning to using |
learn.microsoft.com, devblogs.microsoft.com, pypi, this github, and the msgraph-sdk github all say wildly different things. As near as I can tell there is no authoritative up to date and accurate documentation anywhere. Also for anyone else who eventually finds there way here: As of 2024-09-04 the msgraph-sdk package doesn't exist in conda-forge (yet). |
The version published on pypi is v0.2.2 from July 2021. That version works with the samples in this repo.
The most recent release on github is v1.0.0, presumably coinciding with the v1.0.0 release of msgraph-sdk-python. This version does not work with the samples in this repo. There are numerous breaking points: the import "msgraph.core" is no longer valid, there no longer appears to be a GraphClient, etc.
Could these samples please be updated or removed?
It looks like this library is no longer intended to be used standalone, with the main documentation now directing users to the main sdk repo and the instructions reflecting it's usage. Is this correct?
The text was updated successfully, but these errors were encountered: