[BUG] Python version discrepancy
Description
No idea where to post this, so reporting here as a possible bug 🤷♂️
There are two different Python versions used:
- .python-version:
3.13 - .github/workflows/publish.yml:
python-version: "3.12" - .github/CONTRIBUTING.md#prerequisites:
development targets 3.12
pyproject.toml is even more relaxed and claims the following:
requires-python = ">=3.10,<3.14"
It should be consistent, shouldn't it?
Steps to Reproduce
Open the files mentioned and compare the values.
Expected behavior
Consistent version range across the main build files.
Screenshots/Code snippets
n/a
Operating System
Ubuntu 20.04
Python Version
3.10
crewAI Version
main branch
crewAI Tools Version
n/a
Virtual Environment
Venv
Evidence
already given
Possible Solution
already stated
Additional context
n/a
I noticed this issue already has several linked PRs addressing the discrepancy.
The inconsistency is clear: .python-version targets 3.13, while publish.yml and CONTRIBUTING.md reference 3.12, and pyproject.toml allows 3.10–3.13.
For consistency, the project should ideally have one clearly defined supported/development Python policy, with .python-version, CI/CD, contributor documentation, and requires-python aligned accordingly.
I'll avoid claiming the issue since there are already active PRs addressing it.
Hi @jaceklaskowski, @Vidit-Ostwal,
I ran into another instance of this while filing a couple of bug reports today — the issue template's dropdowns are out of step with the rest of the repo.
Python. The template offers only 3.10, 3.11, 3.12, but:
pyproject.toml:requires-python = ">=3.10,<3.14".github/workflows/tests.yml:python-version: ['3.10', '3.11', '3.12', '3.13']
So someone on 3.13 — a version CI actually tests — can't select it and ends up picking a version they aren't running. I'm on 3.13.13 and had to put the real one in Additional context both times.
Operating System. The list ends at macOS Sonoma (macOS 14, 2023), so it's missing Sequoia (15) and Tahoe (26). I'm on macOS Tahoe 26.5.2 and had to select "Other". The Ubuntu options stop at 24.04, so 26.04 LTS is missing as well.
The environment fields only help triage if people can pick the truth, and right now several of us can't. @Vidit-Ostwal happy to open a small PR updating bug_report.yml and feature_request.yml if that's welcome — it'd reference this issue.
Thanks!
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.