Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update python version metadata (remove 3.7, 3.8, 3.9; add 3.13). #23067

Merged
merged 4 commits into from
Dec 17, 2024

Conversation

tianleiwu
Copy link
Contributor

@tianleiwu tianleiwu commented Dec 10, 2024

Description

  • Update python version metadata to be in sync with latest python packages (onnxruntime, onnxruntime-gpu and onnxruntime-qnn).
  • Update black format target-version to 3.10, and use lintrunner to format all files.
  • Update the lintrunner installation command line to be consistent.
  • Include requirements-lintrunner.txt in requirements-dev.txt to avoid duplicated settings.

Motivation and Context

#22993

Python support by numpy:
https://numpy.org/neps/nep-0029-deprecation_policy.html#drop-schedule

On Apr 05, 2024 drop support for Python 3.9
On Apr 04, 2025 drop support for Python 3.10
On Apr 24, 2026 drop support for Python 3.11

@snnn
Copy link
Member

snnn commented Dec 10, 2024

Related: #22507

@tianleiwu tianleiwu requested a review from a team as a code owner December 10, 2024 21:44
@tianleiwu tianleiwu marked this pull request as draft December 10, 2024 22:27
@tianleiwu tianleiwu force-pushed the tlwu/python_version_metadata branch from 4261952 to 660e1e2 Compare December 10, 2024 23:27
@tianleiwu tianleiwu marked this pull request as ready for review December 11, 2024 00:06
@tianleiwu tianleiwu requested a review from a team as a code owner December 11, 2024 00:06
@tianleiwu tianleiwu merged commit 5afab78 into main Dec 17, 2024
95 checks passed
@tianleiwu tianleiwu deleted the tlwu/python_version_metadata branch December 17, 2024 18:59
guschmue pushed a commit that referenced this pull request Dec 20, 2024
)

### Description

* Update python version metadata to be in sync with latest python
packages (onnxruntime, onnxruntime-gpu and onnxruntime-qnn).
* Update black format target-version to 3.10, and use lintrunner to
format all files.
* Update the lintrunner installation command line to be consistent.
* Include `requirements-lintrunner.txt` in `requirements-dev.txt` to
avoid duplicated settings.

### Motivation and Context

#22993

Python support by numpy:
https://numpy.org/neps/nep-0029-deprecation_policy.html#drop-schedule
```
On Apr 05, 2024 drop support for Python 3.9
On Apr 04, 2025 drop support for Python 3.10
```
tarekziade pushed a commit to tarekziade/onnxruntime that referenced this pull request Jan 10, 2025
…rosoft#23067)

### Description

* Update python version metadata to be in sync with latest python
packages (onnxruntime, onnxruntime-gpu and onnxruntime-qnn).
* Update black format target-version to 3.10, and use lintrunner to
format all files.
* Update the lintrunner installation command line to be consistent.
* Include `requirements-lintrunner.txt` in `requirements-dev.txt` to
avoid duplicated settings.

### Motivation and Context

microsoft#22993

Python support by numpy:
https://numpy.org/neps/nep-0029-deprecation_policy.html#drop-schedule
```
On Apr 05, 2024 drop support for Python 3.9
On Apr 04, 2025 drop support for Python 3.10
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants