Skip to content

[ci] python 3.14#3692

Merged
andrey-churkin merged 6 commits intoopenvinotoolkit:developfrom
AlexanderDokuchaev:ad/p314
Apr 8, 2026
Merged

[ci] python 3.14#3692
andrey-churkin merged 6 commits intoopenvinotoolkit:developfrom
AlexanderDokuchaev:ad/p314

Conversation

@AlexanderDokuchaev
Copy link
Copy Markdown
Collaborator

@AlexanderDokuchaev AlexanderDokuchaev commented Oct 21, 2025

Changes

Enable tests with python3.14, but disable it for pytorch until support p314 by torchao

Remove usingdeprecated ast.Str

Related tickets

CVS-174503

Tests

https://github.com/openvinotoolkit/nncf/actions/runs/23946131553/job/69842634427

@github-actions github-actions Bot added the API Public API-impacting changes label Dec 5, 2025
@AlexanderDokuchaev
Copy link
Copy Markdown
Collaborator Author

Blocked by onnxruntime

@github-actions github-actions Bot added the NNCF PT Pull requests that updates NNCF PyTorch label Mar 11, 2026
@AlexanderDokuchaev
Copy link
Copy Markdown
Collaborator Author

Blocked by torchao, waiting 0.17.0

AttributeError: 'typing.Union' object has no attribute '__module__' and no __dict__ for setting new attributes. Did you mean: '__reduce__'?

@AlexanderDokuchaev AlexanderDokuchaev marked this pull request as ready for review April 3, 2026 12:56
@AlexanderDokuchaev AlexanderDokuchaev requested a review from a team as a code owner April 3, 2026 12:56
Copilot AI review requested due to automatic review settings April 3, 2026 12:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates CI to start exercising Python 3.14 and adjusts a Torch test utility to stop using deprecated ast.Str, aligning the codebase with newer Python AST behavior while temporarily disabling PyTorch execution on 3.14.

Changes:

  • Add Python 3.14 to the weekly precommit matrix.
  • Skip the pytorch-cpu precommit job when running under Python 3.14.
  • Replace ast.Str usage with ast.Constant in a test AST transformer.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
tests/torch/function_hook/test_handle_inner_functions.py Updates AST docstring detection to avoid deprecated ast.Str.
.github/workflows/weekly.yml Extends weekly CI matrix to include Python 3.14.
.github/workflows/call_precommit.yml Disables PyTorch CPU job on Python 3.14 via an if: condition.

Comment thread tests/torch/function_hook/test_handle_inner_functions.py
Comment thread .github/workflows/call_precommit.yml
@andrey-churkin andrey-churkin merged commit fd44fd3 into openvinotoolkit:develop Apr 8, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NNCF PT Pull requests that updates NNCF PyTorch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants