PyPI publication broken by switch to uv
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 570
- Forks
- 351
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 65
Description
Traceback (most recent call last):
File "/usr/local/bin/taskboot", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/site-packages/taskboot/cli.py", line 354, in main
args.func(target, args)
File "/usr/local/lib/python3.10/site-packages/taskboot/pypi.py", line 29, in publish_pypi
setup = target.check_path("setup.py")
File "/usr/local/lib/python3.10/site-packages/taskboot/target.py", line 68, in check_path
assert os.path.exists(full_path), "Missing file in target {}".format(path)
AssertionError: Missing file in target setup.py
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 with the publish_pypi entry point in taskboot/pypi.py and follow its call to target.py, focusing on the setup.py path check shown in the traceback. Reproduce the PyPI publication flow after the switch to uv and determine what the target now provides. Done means publication completes without the missing setup.py assertion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100