Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(python): Add project.dynamic = ["version"] to pyproject.toml #20345

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

Jesse-Bakker
Copy link
Contributor

This fixes installing using the latest version of uv, which otherwise
fails with

TOML parse error at line 5, column 1
        |
      5 | [project]
        | ^^^^^^^^^
      `pyproject.toml` is using the `[project]` table, but the required
      `project.version` field is neither set nor present in the
      `project.dynamic` list

CC: @ritchie46 astral-sh/uv#9989

This fixes installing using the latest version of `uv`, which otherwise
fails with

```
TOML parse error at line 5, column 1
        |
      5 | [project]
        | ^^^^^^^^^
      `pyproject.toml` is using the `[project]` table, but the required
      `project.version` field is neither set nor present in the
      `project.dynamic` list
```
@github-actions github-actions bot added fix Bug fix python Related to Python Polars labels Dec 18, 2024
@stinodego stinodego changed the title fix(python): Add project.dynamic = ["version"] to pyproject.toml build(python): Add project.dynamic = ["version"] to pyproject.toml Dec 18, 2024
@stinodego stinodego added build Changes that affect the build system or external dependencies and removed fix Bug fix labels Dec 18, 2024
@stinodego stinodego changed the title build(python): Add project.dynamic = ["version"] to pyproject.toml build(python): Add project.dynamic = ["version"] to pyproject.toml Dec 18, 2024
@stinodego stinodego merged commit 2d24796 into pola-rs:main Dec 18, 2024
13 checks passed
l1n added a commit to l1n/py-spy that referenced this pull request Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Changes that affect the build system or external dependencies python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants