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

GitHub workflows: Test with Python 3.13 and use Python 3.11.9 by default #1061

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

bkeryan
Copy link
Collaborator

@bkeryan bkeryan commented Jan 28, 2025

What does this Pull Request accomplish?

Update GitHub workflows to run tests with Python 3.13 and to use Python 3.11.9 by default for non-versioned scripts/testing.

Why should this Pull Request be merged?

Follow NI Python versioning policy.

Removing Python 3.8 will be in a separate PR.

What testing has been done?

PR build.

Copy link

github-actions bot commented Jan 28, 2025

Test Results

0 files   -     40  0 suites   - 40   0s ⏱️ - 54m 33s
0 tests  -    702  0 ✅  -    702  0 💤 ±    0  0 ❌ ±0 
0 runs   - 17 060  0 ✅  - 15 990  0 💤  - 1 070  0 ❌ ±0 

Results for commit d22410c. ± Comparison against base commit a16856d.

♻️ This comment has been updated with latest results.

@@ -62,14 +62,15 @@ ni-python-styleguide = ">=0.4.1"
# and regenerate gRPC stubs.
grpcio-tools = [
{version = "1.49.1", python = ">=3.8,<3.12"},
{version = "1.59.0", python = "^3.12"},
{version = "1.59.0", python = ">=3.12,<3.13"},
{version = "1.67.0", python = "^3.13"},
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is incompatible with nimi-python's protobuf version constraint: ni/nimi-python#2075

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This poetry.lock is out of date due to the nimi-python <-> grpcio-tools <-> protobuf version conflict.

Run poetry check --lock
  poetry check --lock
  shell: /usr/bin/bash -e {0}
  env:
    POETRY_VERSION: 1.8.[2](https://github.com/ni/measurement-plugin-python/actions/runs/13020781477/job/36320812060#step:5:2)
    PYTHON_VERSION: [3](https://github.com/ni/measurement-plugin-python/actions/runs/13020781477/job/36320812060#step:5:3).11.9
    pythonLocation: /opt/hostedtoolcache/Python/3.11.9/x6[4](https://github.com/ni/measurement-plugin-python/actions/runs/13020781477/job/36320812060#step:5:4)
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.9/x[6](https://github.com/ni/measurement-plugin-python/actions/runs/13020781477/job/36320812060#step:5:6)4/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.9/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.[9](https://github.com/ni/measurement-plugin-python/actions/runs/13020781477/job/36320812060#step:5:9)/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib
Error: pyproject.toml changed significantly since poetry.lock was last generated. Run `poetry lock [--no-update]` to fix the lock file.
Error: Process completed with exit code 1.

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.

1 participant