Max Muoto
Max Muoto
`pkg_resources` is no longer accessible by default in Python 3.12, which means this library is incompatible with Python 3.12. This PR moves from using `pkg_resources` to `importlib.metadata` which is the...
# Bug Report ## Description Python 3.12 is not supported due to the removal of `pkg_resources` as a public API. Its usage should be replaced with `importlib.metadata`. See [here](https://docs.python.org/3/library/importlib.metadata.html#module-importlib.metadata).
**Describe the bug** **Versions:** - Python version: 3.11 - Django version: 4.2 - Django-Ninja version: 1.0.1 - Pydantic version: 2.5.2 I have a simple endpoint set up, that uses a...
## Describe your changes Upgrade base image to 3.12
Wanted to cross-post this issue from Pyright: https://github.com/microsoft/pyright/issues/7291 From giving this same example a try in the [MyPy playground](https://mypy-play.net/?mypy=latest&python=3.12). (Version 3.12, MyPy 1.8.0). We see that that MyPy complains about...
It would be convenient to utilize glob patterns when specifying `path` for `[[tool.fixit.overrides]]`. For example, I might want to disable a rule for all of my tests: ```toml [[tool.fixit.overrides]] path...
Add reference to DjangoCon 2023 talk in `README`.
To give some context, I have `from __future__ import annotations` required in every-single file, and the TCH rule-set enabled across my codebase, along with the full Pyflakes rule-set. I'm running...
When running Python 3.12, the invalid escape sequence here leads to a `SyntaxWarning`.