PyRIT icon indicating copy to clipboard operation
PyRIT copied to clipboard

[DRAFT] TEST: GitHub Actions: Add Python 3.14 and 3.14t to the testing

Open cclauss opened this issue 1 month ago • 6 comments

https://www.python.org/downloads/release/python-3140/

main-job:
    strategy:
      matrix:
-       python: ["3.10", "3.11", "3.12", "3.13"]
+       python: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"]

% uv sync --python=3.14 is blocked by:

  • datasets apache/arrow#47438
  • gradio https://github.com/gradio-app/gradio
  • ~pyodbc mkleehammer/pyodbc#1444~ Solved in pyodbc v5.3.0
  • semantic-kernel microsoft/semantic-kernel#13261
  • spacy explosion/spaCy#13870
  • torch pytorch/pytorch#156856

Also (could be automated by Dependabot),

  • https://github.com/actions/checkout/releases
  • https://github.com/actions/setup-python/releases
  • https://github.com/actions/cache/releases

Description

Tests and Documentation

cclauss avatar Oct 14 '25 12:10 cclauss

Looks like it's failing right now. There may be a few dependencies that aren't yet 3.14 compatible, of course.

romanlutz avatar Oct 15 '25 01:10 romanlutz

Yes. The blockers I see so far are:

  • explosion/spaCy#13870
  • pytorch/pytorch#156856

Are there others?

cclauss avatar Oct 15 '25 05:10 cclauss

Yes. The blockers I see so far are:

Are there others?

Agreed. ~~I'm checking to see what pulls in spaCy anyway since that's a decent-sized dependency we don't use (I think)~~ Spacy is part of a recent extra addition.

romanlutz avatar Oct 15 '25 18:10 romanlutz

Heads up I'll leave this open until everything works fine in 3.14 and 3.14t because people expect things to work.

romanlutz avatar Oct 16 '25 03:10 romanlutz

% uv sync --python=3.14 is blocked by:

  • datasets apache/arrow#47438
  • gradio https://github.com/gradio-app/gradio
  • pyodbc mkleehammer/pyodbc#1444
  • semantic-kernel https://github.com/microsoft/semantic-kernel
  • spacy explosion/spaCy#13870
  • torch pytorch/pytorch#156856

cclauss avatar Oct 16 '25 13:10 cclauss

I'm about to remove semantic-kernel in #1005 but the others are all important.

romanlutz avatar Oct 16 '25 17:10 romanlutz