Skip to content

chore: rework requirements files#333

Merged
tigattack merged 7 commits into
mainfrom
chore/requirements_rework
Aug 27, 2025
Merged

chore: rework requirements files#333
tigattack merged 7 commits into
mainfrom
chore/requirements_rework

Conversation

@tigattack

@tigattack tigattack commented Aug 27, 2025

Copy link
Copy Markdown
Member

Initial Checklist

  • Has @tigattack been added as a reviewer?
  • If applicable, have the relevant project(s), milestone(s), and label(s) been applied?
  • If applicable, have you added details of the cog to the readme as per README.md?

Details

Does this resolve an issue?
No

Changes

Features / Fixes

  • Rework requirements files
    • Development and cog dependencies were mixed together, with pip, wheel, and Red in their own file. pip and wheel do not need to explicitly specified, and Red did not have a version constraint. These points are now solved, and requirements correctly separated, tidied up, and constrained to relevant versions.
  • Add version constraint for prometheus-client
    • Also fixes package name in cog info.json.
  • Adjust version constraints globally
  • Add a workflow to auto-update requirements.txt by compiling cog dependencies and committing the updated file.

Development and cog dependencies were mixed together, with pip, wheel, and Red in their own file.

pip and wheel do not need to explicitly specified, and Red did not have a version constraint.

These points are now solved, and requirements correctly separated, tidied up, and constrained to relevant versions.
Also fixes package name in cog requirements.
Use PEP440 "compatible release" constraint.
@tigattack tigattack added ci chore cog-prometheus-metrics Issues related to the prometheus metrics cog. labels Aug 27, 2025
@tigattack
tigattack merged commit 3f553ec into main Aug 27, 2025
6 checks passed
@tigattack
tigattack deleted the chore/requirements_rework branch August 27, 2025 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore ci cog-prometheus-metrics Issues related to the prometheus metrics cog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant