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

Add support for Python 3.12 #427

Merged
merged 4 commits into from
Oct 5, 2023
Merged

Add support for Python 3.12 #427

merged 4 commits into from
Oct 5, 2023

Conversation

bkeryan
Copy link
Collaborator

@bkeryan bkeryan commented Oct 3, 2023

What does this Pull Request accomplish?

Update pyproject.toml to specify a newer version of grpcio-tools when using Python 3.12. Continue using the older grpcio-tools with older Python versions to avoid any changes to codegen.

Enable Python 3.12 in PR run-tests workflow.

Why should this Pull Request be merged?

Test with the latest released Python.

What testing has been done?

Ran poetry run pytest -v on a machine with MeasurementLink and Python 3.12 installed. Warnings: #428
Manually tested nidcpower_source_dc_voltage in InstrumentStudio with Python 3.12.
Was unable to load TestStand code modules with Python 3.12 in TestStand 2021 SP1.

@github-actions
Copy link

github-actions bot commented Oct 3, 2023

Test Results

     15 files  +    3       15 suites  +3   3m 32s ⏱️ +45s
   305 tests ±    0     238 ✔️ ±    0       67 💤 ±    0  0 ±0 
4 560 runs  +912  3 535 ✔️ +707  1 025 💤 +205  0 ±0 

Results for commit bde998d. ± Comparison against base commit 15d3738.

♻️ This comment has been updated with latest results.

@bkeryan bkeryan changed the title Enable testing with Python 3.12 Add support for Python 3.12 Oct 5, 2023
@bkeryan bkeryan merged commit f5524d3 into main Oct 5, 2023
@bkeryan bkeryan deleted the users/bkeryan/python-3.12 branch October 5, 2023 18:55
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