```python
warnings.warn(message, DeprecationWarning)
```
See [warnings](https://docs.python.org/3/library/warnings.html#warnings.warn).