Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: freeze python dependencies #100

Merged
merged 6 commits into from
Feb 26, 2024
Merged

chore: freeze python dependencies #100

merged 6 commits into from
Feb 26, 2024

Conversation

gruyaume
Copy link
Collaborator

@gruyaume gruyaume commented Feb 26, 2024

Description

Here we freeze Python dependencies using pip-tool's pip-compile command and add the necessary .in requirements files. We also replace renovate with dependabot because of its support for maintaining pip-compile generated files.

Adding/Removing Python dependencies

If we need to add/remove dependencies, we should make those changes in the .in file, then manually run the pip-compile command, and finally create a PR with the change. The .txt files should not be modified manually.

Example:

pip-compile requirements.in > requirements.txt

Notes

  • Once this PR is merged, we should close the Renovate GitHub issue: Dependency Dashboard #6
  • A similar PR will be created in all of the Telco projects

Reference

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that validate the behaviour of the software
  • I validated that new and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have bumped the version of the library

@gruyaume gruyaume requested a review from a team as a code owner February 26, 2024 16:58
@gruyaume gruyaume marked this pull request as draft February 26, 2024 17:08
@gruyaume gruyaume marked this pull request as ready for review February 26, 2024 18:42
@gruyaume gruyaume merged commit 65490cc into main Feb 26, 2024
25 checks passed
@gruyaume gruyaume deleted the dev-freeze branch February 26, 2024 21:26
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.

2 participants