Skip to content

Support for python 3.13 #3994

@SpyrosRoum

Description

@SpyrosRoum

Contact Details [Optional]

No response

Feature Description

Hey people, I see there is a hard requirement for python < 3.13, and I wonder if there have been any efforts to allow for python 3.13 too.

Problem or Use Case

No response

Proposed Solution

Allowing for python 3.13 would be nice :)

Alternatives Considered

No response

Additional Context

I did try to do the upgrade locally. The steps I followed were to:

  • Edit pyproject.toml and remove the <3.13 requirement
  • Create a 3.13 env with uv
  • Run uv pip install -e ".[server,dev]" as per the CONTRIBUTING.md file
  • Then I tried to run the tests with bash scripts/test-coverage-xml.sh

At this point the issues started. The first one was:

ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: argument --splitting-algorithm: invalid choice: 'least_duration' (choose from )

I looked for the --splitting-algorithm flag in the bash script and removed it, which allowed the tests to run, but then I hit a second issue:

numpy and bs4 where not installed...
After manually installing these two, the tests started running but failed with an error in numpy.

All of this tells me that there is probably something wrong with my set up that might not be related to python 3.13 at all.

Priority

None

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

backendImplementations related to the backendplannedPlanned for the short term

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions