Skip to content

Deprecate Python 3.7 due to EOL #5191

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

Merged
merged 18 commits into from
May 15, 2023
Merged

Conversation

jcwchen
Copy link
Member

@jcwchen jcwchen commented May 2, 2023

Description

  • Deprecate Python 3.7 due to EOL.
  • Use pip install -e . instead of python setup.py install in CIs, because it is the suggested way to develop onnx mentioned in README.md.
  • Set correct permission for clang-tidy.
  • Remove dependency: typing_extensions entirely, because starting Python 3.8, native typing support Literal and Protocol.

Motivation and Context

jcwchen added 2 commits May 2, 2023 07:27
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
@jcwchen jcwchen added topic: build Issues related to ONNX builds and packages module: CI pipelines Issues related to the CI pipeline run release CIs Use this label to trigger release tests in CI labels May 2, 2023
@jcwchen jcwchen requested review from a team as code owners May 2, 2023 14:39
@justinchuby
Copy link
Member

I would also update this line

target-version = "py37"

jcwchen added 2 commits May 2, 2023 09:14
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
@jcwchen jcwchen removed the run release CIs Use this label to trigger release tests in CI label May 3, 2023
jcwchen added 2 commits May 3, 2023 10:48
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
@jcwchen jcwchen added the run release CIs Use this label to trigger release tests in CI label May 3, 2023
jcwchen added 3 commits May 3, 2023 16:59
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
jcwchen added 3 commits May 15, 2023 09:39
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
@jcwchen jcwchen added the dependencies Pull requests that update a dependency file label May 15, 2023
@jcwchen jcwchen requested a review from xadupre May 15, 2023 20:23
@jcwchen
Copy link
Member Author

jcwchen commented May 15, 2023

Please note that this PR also removes a dependency: typing_extensions entirely, because starting Python 3.8, native typing support Literal and Protocol.

@jcwchen jcwchen merged commit ae003b9 into onnx:main May 15, 2023
q-ycong-p pushed a commit to q-ycong-p/onnx that referenced this pull request May 18, 2023
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
Signed-off-by: Yu Cong <congyc@amazon.com>
adityagoel4512 pushed a commit to adityagoel4512/onnx that referenced this pull request Jul 28, 2023
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
Signed-off-by: Aditya Goel <agoel4512@gmail.com>
@jcwchen jcwchen mentioned this pull request Sep 21, 2023
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file module: CI pipelines Issues related to the CI pipeline run release CIs Use this label to trigger release tests in CI topic: build Issues related to ONNX builds and packages
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Tracking] Deprecate Python 3.7 due to EOL [Tracking] Release CI for aarch64 fails due to the latest qemu docker image
5 participants