chore: Convert to PEP 621 project metadata format#352
Open
VaiTon wants to merge 6 commits intoopenfoodfacts:mainfrom
Open
chore: Convert to PEP 621 project metadata format#352VaiTon wants to merge 6 commits intoopenfoodfacts:mainfrom
VaiTon wants to merge 6 commits intoopenfoodfacts:mainfrom
Conversation
Member
VaiTon
commented
Feb 9, 2026
- Migrate pyproject.toml from Poetry-specific [tool.poetry] to standard [project] section
- Update dependencies specification to use standard requires-python and dependencies arrays
- Normalize license identifier to AGPL-3.0-only format
- Maintain all Poetry-specific configuration in [tool.poetry] for compatibility
- Update poetry.lock with latest dependency versions
Contributor
|
Just to make sure, have you tried the modifications locally? Everything works as expected? |
Member
Author
|
I tried setting up everything but I don't have enough space on my disk and so ES goes to read-only mode :) I'm trying to override that somehow. Apart from that the API seems to be working |
- Migrate pyproject.toml from Poetry-specific [tool.poetry] to standard [project] section - Update dependencies specification to use standard requires-python and dependencies arrays - Normalize license identifier to AGPL-3.0-only format - Maintain all Poetry-specific configuration in [tool.poetry] for compatibility - Update poetry.lock with latest dependency versions
Since v2, Poetry supports PEP-621, ie. having [project] and related fields in pyproject.toml.
- poetry-builder installs Poetry 2.3.2 and exports requirements.txt. - docs-builder copies that file, installs system packages (curl, cargo), creates the unprivileged user, and installs Python dependencies with pip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.