Skip to content

Conversation

@zeke
Copy link
Member

@zeke zeke commented Apr 2, 2025

The python_packages key in cog.yaml is deprecated and may eventually stop working entirely.

This PR updates the cog init command to use python_requirements instead, and adds a starter requirements.txt file to the mix with some helpful comments.

@zeke zeke requested review from a team, 8W9aG, gandalfhz, michaeldwan and nevillelyh April 2, 2025 01:09
@zeke zeke changed the title update cog init to use requirements.txt Update cog init command to use python_requirements and requirements.txt Apr 2, 2025
@zeke zeke force-pushed the update-cog-init-to-use-requirements.txt branch from ad189da to 88b8706 Compare April 2, 2025 01:11
Copy link
Contributor

@aron aron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@zeke zeke merged commit 4787a64 into main Apr 2, 2025
21 checks passed
@zeke zeke deleted the update-cog-init-to-use-requirements.txt branch April 2, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants