SIGN IN SIGN UP

fix(cosmosdb): replace distutils.strtobool removed in Python 3.12 (#1018)

## Problem

The `cosmosdb` module imports `distutils.util.strtobool` in
`_emulator.py`. The `distutils` module was deprecated in Python 3.10
([PEP 632](https://peps.python.org/pep-0632/)) and **removed in Python
3.12**. This causes an `ImportError` when using the CosmosDB module on
Python 3.12+:

```
ModuleNotFoundError: No module named 'distutils'
```

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Roy Moore <roy@moore.co.il>
A
Aleksander Fidelus committed
3e487f4bab679204820826cfcbc282cb8fc60008
Parent: 1fadb40
Committed by GitHub <noreply@github.com> on 6/2/2026, 11:35:10 PM