Skip to content

Expand uv_build supported versions in build-system#9231

Merged
manzt merged 1 commit intomainfrom
manzt/pyproj
Apr 16, 2026
Merged

Expand uv_build supported versions in build-system#9231
manzt merged 1 commit intomainfrom
manzt/pyproj

Conversation

@manzt
Copy link
Copy Markdown
Collaborator

@manzt manzt commented Apr 16, 2026

Also migrates/removes deprecated metadata in pyproject.toml

Previously, with uv>=0.11:

❯ uv sync
Resolved 381 packages in 3ms
   Building marimo @ file:///Users/tmanz/github/marimo-team/marimo
⠙ Preparing packages... (0/1)                       
                                                                                            
warning: `build_system.requires = ["uv-build>=0.8.3,<0.11.0"]` does not contain the current uv version 0.11.7
warning: Found license classifier `License :: OSI Approved :: Apache Software License`. License classifiers are ambiguous and deprecated per PEP     

Built marimo @ file:///Users/tmanz/github/marimo-team/marimo
Prepared 1 package in 6ms
Uninstalled 1 package in 0.89ms
Installed 1 package in 4ms
 ~ marimo==0.23.1 (from file:///Users/tmanz/github/marimo-team/marimo)

Also migrates/removes deprecated metadata in pyproject.toml
Copilot AI review requested due to automatic review settings April 16, 2026 18:23
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
marimo-docs Ready Ready Preview, Comment Apr 16, 2026 6:24pm

Request Review

Comment thread pyproject.toml
]
readme = "README.md"
license = { file = "LICENSE" }
license = "Apache-2.0"
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Python packaging metadata to eliminate uv build warnings and modernize license metadata in pyproject.toml.

Changes:

  • Expand uv_build version range in [build-system].requires to support uv 0.11.x.
  • Replace license = { file = "LICENSE" } with an SPDX license expression.
  • Remove the deprecated/ambiguous license classifier.

Comment thread pyproject.toml
]
readme = "README.md"
license = { file = "LICENSE" }
license = "Apache-2.0"
Comment thread pyproject.toml
requires-python = ">=3.10"
classifiers = [
"Operating System :: OS Independent",
"License :: OSI Approved :: Apache Software License",
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://packaging.python.org/en/latest/specifications/pyproject-toml/#classifiers

The use of License :: classifiers is deprecated and tools MAY issue a warning informing users about that. Build tools MAY raise an error if both the license string value (translating to License-Expression metadata field) and the License :: classifiers are used.

@manzt manzt added internal A refactor or improvement that is not user facing enhancement New feature or request and removed internal A refactor or improvement that is not user facing labels Apr 16, 2026
@manzt manzt merged commit 8d215f0 into main Apr 16, 2026
58 of 60 checks passed
@manzt manzt deleted the manzt/pyproj branch April 16, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants