python-poetry / python-poetry/poetry
Includes do not seem to work correctly
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.3k
- Forks
- 2.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 30
Description
Description
Hello,
I'm opening this issue just for conscience as if I really needed to fix these includes I would do it in the downstream distribution recipe script but anyway.
I can't seem to make the include/exclude fields work for a cythonized module using the reported syntax from the documentation.
This is the pyproject.toml file I've been using.
This is the build.log, this is poetry.config.log.
Workarounds
Delete the extra files from the downstream distribution build recipe.
Poetry Installation Method
system package manager (eg: dnf, apt etc.)
Operating System
Life / DogeOS
Poetry Version
1.8.4
Poetry Configuration
It's attached above.
Python Sysconfig
No response
Example pyproject.toml
I've linked it in the description above.
Poetry Runtime Logs
I'm adding it as an attachment above because it seems too long for the github issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked pyproject.toml, build.log, and poetry.config.log, then reproduce the include/exclude behavior with Poetry 1.8.4. Compare the observed files with the documented syntax and identify the expected versus actual distribution contents. Done means the documented include/exclude configuration works for the cythonized module without the downstream cleanup workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100