Skip to content

fix Python 3.7+ compatibility by avoiding union syntax and rely on typing #213

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 1 commit into from
Jun 18, 2025

Conversation

tarilabs
Copy link
Contributor

Oras is declared as Python 3.7+ compatible:

"Programming Language :: Python :: 3.7",

but #212 introduced newer Python syntax.

Fix propose to rely on typing.

cc @rasmusfaber @vsoch

…ping

Signed-off-by: tarilabs <matteo.mortari@gmail.com>
Copy link
Contributor

@rasmusfaber rasmusfaber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for fixing this.

@vsoch vsoch merged commit b7e00e5 into oras-project:main Jun 18, 2025
5 checks passed
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