Skip to content

MNT: several updates to pyproject.toml, ignore uv.lock#927

Open
mwtoews wants to merge 1 commit into
corteva:masterfrom
mwtoews:pyproject-toml-fixes
Open

MNT: several updates to pyproject.toml, ignore uv.lock#927
mwtoews wants to merge 1 commit into
corteva:masterfrom
mwtoews:pyproject-toml-fixes

Conversation

@mwtoews

@mwtoews mwtoews commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Apologies for cobbling a few fixes into one PR.

These changes are related to PEP 639, and clear up deprecation warnings when building:

  • Change [project.license] from a table to a SPDX license expression
  • Add [project.license-files]
  • Remove the license from the classifiers
  • Correction [options.package_data] -> [tool.setuptools.package-data]

Other changes:

  • Remove [tool.black], because target_version was incorrect (should be target-version), but more importantly this was tracking an old version of Python, and by default, Black will infer target versions from the project metadata (docs)
  • Ignore uv.lock files, which are created with (e.g.) uv sync --all-extras

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.

1 participant