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

Update pyproject.toml metadata format for poetry 2.0 (closer to PEP 621) #1293

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ewjoachim
Copy link
Member

Closes #

Successful PR Checklist:

  • Tests
    • (not applicable?)
  • Documentation
    • (not applicable?)

PR label(s):

@ewjoachim ewjoachim requested a review from a team as a code owner January 19, 2025 14:58
@github-actions github-actions bot added the PR type: dependencies 🤖 Contains only dependencies updates label Jan 19, 2025
Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  procrastinate
  worker.py
Project Total  

This report was generated by python-coverage-comment-action

@@ -2,49 +2,51 @@
requires = ["poetry-core", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"

[tool.poetry]
[project]
name = "procrastinate"
version = "0.0.0"
Copy link
Member

Choose a reason for hiding this comment

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

I think we can use dynamic = ["version"].

Copy link
Member Author

Choose a reason for hiding this comment

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

Hm, I had made that change, I wonder why it was undone...

Copy link
Member Author

Choose a reason for hiding this comment

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

Hm, because Poetry complains if we do that. It will be a change for when we switch to uv.

Copy link
Member

Choose a reason for hiding this comment

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

Ah yes, the official recommendation from poetry check was to use

[project]
dynamic = ["version"]

[tool.poetry]
version = "0.0.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR type: dependencies 🤖 Contains only dependencies updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants