tool.poetry → project#10901
Conversation
1aa666d to
f0e7475
Compare
There was a problem hiding this comment.
You are confusing project.authors with tool.poetry.authors (it only accept string).
That would require to rewrite the pyproject.toml to use the project section over the tool.poetry
|
Ah, right. But then what's the point of maintaining that information in the poetry-specific |
|
As you said, it because of legacy, we used |
|
Note that PEP 639 support was merged into poetry yesterday: python-poetry/poetry#10413. Once this change is released, |
29af90a to
d9cc4a9
Compare
tool.poetry → project
df96391 to
ede59f3
Compare
|
Some of the CI errors are unrelated: asyncpg 0.29 lacks Python 3.13 wheels, so the build system attempts to build from sources, which fails. Bumping asyncpg should work because asyncpg 0.30 does ship Python 3.13 wheels. Not sure why building from sources fails at this point. |
|
The other issue seems unrelated as well, looks like a Python 3.12-3.13 mix-up not necessarily caused by my changes: I guess should revert to Python 3.12. That's one of the main migration issues according to Caret requirements. |
|
For the python version issue: on master it install 3.12. I think it would be best to use |
5427402 to
435cbd6
Compare
|
I have just:
An alternative would be to keep dependencies in the |
435cbd6 to
d001bae
Compare
|
Now I need a way to fix this: I don't know much about poetry, will have to look into the documentation how to define the proper "group" now that dependencies have moved to the |
Miss click, want to comment only
ea1e2e3 to
b45edef
Compare
b45edef to
63e2471
Compare
|
Almost there. Note that in some cases, when the rightmost version segment is |
|
Errors in |
90380fb to
bf53fc2
Compare
FirelightFlagboy
left a comment
There was a problem hiding this comment.
LGTM, one last thing would be to squash the commit.
I can do that if you prefer.
bf53fc2 to
d9ddc2d
Compare
Get rid of the `tool.poetry` table where possible. General instructions for `pyproject.toml` tables: https://python-poetry.org/docs/pyproject/ Specific instructions for dependencies: https://python-poetry.org/docs/dependency-specification/
PERF401 Use a list comprehension to create a transformed list
Fixes this Poetry error: pyproject.toml changed significantly since poetry.lock was last generated. Run `poetry lock` to fix the lock file.
|
I would advise against squashing, to discriminate between the manual changes and the last commit which is the result of an automated But I'll squash if you insist. |
https://python-poetry.org/docs/pyproject#authors