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

test: run tests on python 3.12 #688

Merged
merged 2 commits into from
Feb 16, 2024
Merged

test: run tests on python 3.12 #688

merged 2 commits into from
Feb 16, 2024

Conversation

mvadari
Copy link
Collaborator

@mvadari mvadari commented Feb 15, 2024

High Level Overview of Change

Title says it all.

Context of Change

I was running something on Python 3.12 and wanted to make sure everything would work properly.

Type of Change

  • Tests (You added tests for code that already exists, or your new feature included in this PR)

Did you update CHANGELOG.md?

  • Yes
  • No, this change does not impact library users

Test Plan

CI passes.

@mvadari mvadari changed the title tests: run tests on python 3.12 test: run tests on python 3.12 Feb 15, 2024
@@ -2,7 +2,7 @@ name: Unit test

on:
push:
branches: [master]
branches: [main]
pull_request:
workflow_dispatch:

Copy link
Collaborator

Choose a reason for hiding this comment

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

the lint-and-type-check job is executed only on Python 3.7. It shouldn't cause any issue unless there is a breaking change in the linter in between python versions. Should we change it? What do you think?

Copy link
Collaborator Author

@mvadari mvadari Feb 16, 2024

Choose a reason for hiding this comment

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

That is on purpose, to ensure backwards compatibility. It used to be done on the latest version, but a non-backwards-compatible typing issue was found.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That change could also be done in a separate PR, since it's irrelevant to this PR.

@mvadari mvadari merged commit 2e1435c into main Feb 16, 2024
21 checks passed
@mvadari mvadari deleted the python-12 branch February 16, 2024 22:02
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