msgraph-sdk-python-core
msgraph-sdk-python-core copied to clipboard
Missing 'deprecated' dependency
Describe the bug
Importing msgraph_core.requests.batch_request_content fails with ModuleNotFoundError: No module named 'deprecated'
Expected behavior
Import should work (without manually installing 'deprecated' package)
How to reproduce
-
pip install msgraph-core -
import msgraph_core.requests.batch_request_content
SDK Version
1.3.8
Latest version known to work for scenario above?
No response
Known Workarounds
Installing deprecated package
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
The actual root cause is here:
https://github.com/microsoftgraph/msgraph-sdk-python-core/blob/a33614f802864a8d9ea2b1f6686df4721c88bf93/src/msgraph_core/requests/batch_request_item.py#L10
this was originally introduced in #821 with https://github.com/microsoftgraph/msgraph-sdk-python-core/commit/83863f7a6e8310480f9e55f3e399835ececd0439 and included in v1.2.1.