Open
Description
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?
Activity
heavy-metal-blues-code commentedon Jan 24, 2024
I'm facing same issue, I have raised a question on QA section about it.
I have tried to look for information on
changelog.md
but as with all Microsoft documenting I ended up in circles.songdavid98 commentedon Feb 9, 2024
I'm facing the same issue here.
RossK1 commentedon Feb 9, 2024
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 :(
heavy-metal-blues-code commentedon Feb 16, 2024
@RossK1,
I've addressed the issue by implementing your suggestion to hard-code
msgraph-core==0.2.2
, which I did by configuring asetup.py
file for the Python project I'm currently engaged in. Besides, I managed to carve out some time to design a CI pipeline and arrange an Azure Artifacts feed for hosting the package, which is now being generated successfully and used in production.linickx commentedon Feb 28, 2024
+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
JoAllg commentedon Apr 27, 2024
I just found the upgrading section in the
msgraph-sdk
documentation. Hope it helps.Just the "Fluent Request Builder Pattern" might require a major rewrite as requests are not done using URLs anymore.
Ndiritu commentedon Jul 10, 2024
Apologies for the gaps in the docs to use the
graph-core
v1.0 package on its own. This will be considered for future sprints.You may consider transitioning to using
msgraph-sdk
via the upgrade guide & see similar code samples hereD3SL commentedon Sep 4, 2024
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).