Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(package-managers/python)!: Support Python 3.11
Add "3.11" to the list of python versions which ORT allows to pass to the `-p` option of `python-inspector`. This enables the successful analysis of Python projects which require Python 3.11 via both, `Pip` and `Poetry`. In particular, it does not seem to require upgrading the Python installation to version 3.11. The change is breaking, because also the default Python version is changed to 3.11. For analyzing Python projects targeting 3.10 the Python version as of now must be explicitly specified. Note: The reason why the binary artifact URL of `MarkupSafe` became empty in the expected result for the test is simply, because there is no "Built Distribution", but only a "Source Distribution", see [1]. Furthermore, it's still correct to list `MarkupSafe` as dependency, because it specifies `>= 3.6` as Python version constraint, mich matches version 3.11. [1] https://pypi.org/project/MarkupSafe/2.0.1/#files Signed-off-by: Frank Viernau <[email protected]>
- Loading branch information