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

Mark version as dynamic in pyproject.toml #146

Merged
merged 1 commit into from
Dec 30, 2024
Merged

Conversation

simu
Copy link
Member

@simu simu commented Dec 30, 2024

We need to set dynamic = ["version"] in pyproject.toml, since the spec requires that required fields must be listed in dynamic if they're to be provided by the build backend (maturin for us).

See PyO3/maturin#2390 for the maturin issue to adhere to the spec.

Checklist

  • The PR has a meaningful title. The title will be used to auto generate the changelog
  • PR contains a single logical change (to build a better changelog).
  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency, internal
    as they show up in the changelog
  • Link this PR to related PRs or issues.

We need to set `dynamic = ["version"]` in `pyproject.toml`, since the
spec requires that required fields must be listed in `dynamic` if
they're to be provided by the build backend (maturin for us).

See PyO3/maturin#2390 for the maturin issue
to adhere to the spec.
@simu simu added the ignore label Dec 30, 2024
Copy link

Benchmark for 2846362

Click to view benchmark
Test Base PR %
Reclass::inventory() multi-threaded 1642.6±83.32µs 1638.3±98.92µs -0.26%
Reclass::inventory() single-threaded 3.7±0.05ms 3.6±0.04ms -2.70%

@simu simu requested a review from a team December 30, 2024 12:41
@simu simu merged commit 2f45d9f into main Dec 30, 2024
18 checks passed
@simu simu deleted the fix/build-python-package branch December 30, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants