Suggestion for easy patch to support custom wheel files
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 383
- Forks
- 93
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 1
Description
Suggestion for easy patch to support custom wheel files.
Please move in containerize.py the line
lines.append("COPY {} {}".format(self.destination_dir, self.destination_dir))
up before the "pip install" block.
This way pip will see a custom wheel file that is lies next to the entry point and can be installed using a line in the requirements.txt file.
See stackoverflow question:
https://stackoverflow.com/questions/70249688/how-to-use-tensorflow-cloud-with-my-own-python-wheel
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
Read containerize.py, focusing on the line that appends the COPY instruction and the pip install block. Move the COPY instruction before pip installation so a custom wheel beside the entry point is available to pip through requirements.txt; done means the generated container can install that wheel.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cloud, devops
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100