Idea: determine `entry_points` automatically from `*.dist-info/entry_points.txt` for `noarch: python` packages
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 32/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- python
- Domain
- build-system
Research direction
Start by tracing how v0 and v1 noarch: python recipes process the entry_points field and how installed *.dist-info/entry_points.txt files are handled. Define and validate the behavior for explicit lists, true-based discovery, and false-based disabling before identifying the required tests; done means the behavior is specified consistently for both recipe versions.
Written by the indexing model from the issue text.
Description
Checklist
- I added a descriptive title
- I searched open requests and couldn't find a duplicate
What is the idea?
Currently noarch: python recipes (both v0 and v1) require including a list of entry_points: manually. However, the respective packages already carry the upstream list of entry points in the *.dist-info/entry_points.txt file.
The idea (as initially discussed with @jaimergp) would be to change the entry_points for noarch: python packages to allow three kinds of values:
- an explicit list of entry points (the current behavior)
trueto automatically discover entry points fromentry_points.txtfalseto disable automatic discovery and not create any entry points
Why is this needed?
The current behavior of having to manually "copy" entry_points is both cumbersome and carries a potential of missync if people miss changing entry points upstream.
What should happen?
No response
Additional Context
I may be missing something non-obvious as to why this wouldn't work.
- Dominant language
- No language data
- Stars
- 35
- Forks
- 43
- Avg merge
- 2h 11m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing 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.
More from conda/ceps
-
Difficulty 2/5 1-3 hours Newbie friendliness 54/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
Difficulty 3/5 Half a day Newbie friendliness 28/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NucleusFramework/Nucleus#1020 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 2 days
-
[Bug]: pip install -U cudaq-qec fails with a conflict that names cudaq-qec itselfPossibly taken @fedonman claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
[bug] --affected remote with --base and --head finds no changes when the head is behind the baseOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
ardia-browser/ardia#6391 ·
Maintainers usually reply within 1 day