Skip to content

Migrate dataprep to pyproject.toml, require Python 3.10#4855

Open
odosk wants to merge 1 commit intomasterfrom
odosk/SpecifyPythonVersionForDependency
Open

Migrate dataprep to pyproject.toml, require Python 3.10#4855
odosk wants to merge 1 commit intomasterfrom
odosk/SpecifyPythonVersionForDependency

Conversation

@odosk
Copy link
Copy Markdown
Contributor

@odosk odosk commented Apr 7, 2026

Changes:

  • Add pyproject.toml with requires-python = ">=3.10" and [build-system] so pip install . works reliably with setuptools
  • Migrate dependencies from requirements.txt into pyproject.toml
  • Remove requirements.txt
  • Update README: pip install -r requirements.txt -> pip install . (run from dataprep/), correct Python version note (3.8+ -> 3.10+), recommend Python 3.13

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

…3.10+

pillow 12.x and orjson 3.11.6+ have no Python 3.9 wheels. Mend was
scanning with Python 3.9 and resolving to vulnerable builds (pillow
11.3.0, orjson 3.11.5). Adding requires-python = ">=3.10" in
pyproject.toml tells Mend and pip the minimum Python version.

Changes:
- Add pyproject.toml with requires-python = ">=3.10" and [build-system]
  so pip install . works reliably with setuptools
- Migrate dependencies from requirements.txt into pyproject.toml
- Remove requirements.txt
- Update README: pip install -r requirements.txt -> pip install .
  (run from dataprep/), correct Python version note (3.8+ -> 3.10+),
  recommend Python 3.13

Resolves VESPANG-2848

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@odosk odosk requested a review from thomasht86 April 7, 2026 10:06
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.

2 participants