Skip to content

fix: update requires-python to include Python 3.14#1815

Open
yurivski wants to merge 6 commits intoData-Centric-AI-Community:developfrom
yurivski:fix/python-3.14-support
Open

fix: update requires-python to include Python 3.14#1815
yurivski wants to merge 6 commits intoData-Centric-AI-Community:developfrom
yurivski:fix/python-3.14-support

Conversation

@yurivski
Copy link
Copy Markdown

@yurivski yurivski commented Mar 9, 2026

Fixes #1811

The pyproject.toml lists Programming Language :: Python :: 3.14 in classifiers
but requires-python was set to >=3.10,<3.14, preventing installation on Python 3.14.

Changes

  • Updated requires-python from <3.14 to <3.15

Testing

  • Full test suite passed on Python 3.13.5 (2195 passed, 4 skipped, 0 failures)
  • Spark backend tests excluded (optional dependency)

@akx
Copy link
Copy Markdown
Contributor

akx commented Mar 12, 2026

Full test suite passed on Python 3.13.5 (2195 passed, 4 skipped, 0 failures)

Did you try installing or testing on Python 3.14?

@yurivski
Copy link
Copy Markdown
Author

Did you try installing or testing on Python 3.14?

I tested on Python 3.13.5 — I don't have 3.14 installed locally.
The test suite passed fully (2195 passed, 4 skipped, 0 failures).

The main motivation for this change is that the classifiers already list
Python 3.14 support, but requires-python was blocking installation.
Since the htmlmin dependency (which previously blocked newer Python versions)
was removed in 4.17.0, the upper bound seemed outdated.

Happy to run additional tests if needed.

@lahwaacz
Copy link
Copy Markdown

FWIW, we are running the ydata-profiling testsuite on Arch Linux with Python 3.14 in the AUR package and it generally works except for a few skipped tests (which are most likely unrelated to Python 3.14 anyway). Please merge this update.

@lahwaacz
Copy link
Copy Markdown

@yurivski
Copy link
Copy Markdown
Author

3.14 should also be added here: https://github.com/Data-Centric-AI-Community/ydata-profiling/blob/develop/.github/workflows/tests.yml#L19

Thanks for confirming it works on Python 3.14! I've added 3.14 to the CI test matrix in tests.yml as suggested.

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.

project.toml is requiring python to be <3.14 despite 3.14 classifier

4 participants