indygreg / indygreg/python-zstandard
Unable to build only cext backend with pep517 builders
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 642
- Forks
- 116
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 5
Description
The root issue is the `[build_system]` requires array has cffi as an unconditional build-time dependency. Even if you pass `--config-setting='--global-option=--no-cffi-backend'` to `python -m build` it'll fail the build if cffi isn't present. The setup.py entry point does not enforce this requirement if you disable building the cffi backend.
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 inspecting the [build_system] requires array and the setup.py entry point. Reproduce the cext-only build with python -m build and --config-setting='--global-option=--no-cffi-backend' without cffi installed; done means the build succeeds without requiring cffi when that backend is disabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100