Skip to content

makes a mess of "readme.text" in pyproject.toml #10714

@dimbleby

Description

@dimbleby

Description

Code here

package.readme_content = root / readme["text"]

constructs a bogus path for the readme content. Should just be package.readme_content = readme["text"]

Workarounds

Set the readme one of the other ways

Poetry Installation Method

pipx

Operating System

n/a

Poetry Version

2.3

Poetry Configuration

n/a

Python Sysconfig

sysconfig.log
Paste the output of 'python -m sysconfig', over this line.

Example pyproject.toml

[project]
readme = { text = "some text", content-type = "text/markdown" }

etc

Poetry Runtime Logs

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expectedstatus/triageThis issue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions