Skip to content

Commit

Permalink
[Enhance] Extract dependencies from pip.yml to requirements.txt for D…
Browse files Browse the repository at this point in the history
…ependabot compatibility
  • Loading branch information
aadi-joshi committed Nov 28, 2024
1 parent 9f03131 commit 204c482
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
8 changes: 4 additions & 4 deletions dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "./tasks" # Path where requirements.txt is located; adjust if it's in a subdirectory
directory: "./tasks" # path of requirements.txt
schedule:
interval: "daily" # Change this to "weekly" or "monthly" if needed
open-pull-requests-limit: 5 # Optional: limit the number of open PRs from Dependabot
interval: "daily" # can be changed to weekly or monthly
open-pull-requests-limit: 5 # to limit the number of open PRs from Dependabot
commit-message:
prefix: "fix" # Prefix for commit messages created by Dependabot
prefix: "fix" # for commit messages created by Dependabot
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ psycopg2
raven
service_identity
uwsgi
django~=4.0 # Replace with {{ openwisp2_django_version }}
openwisp2_controller # Install the latest version by default
openwisp2_network_topology # Install the latest version by default
openwisp2_firmware_upgrader # Install the latest version by default
openwisp2_monitoring # Install the latest version by default
openwisp2_radius # Install the latest version by default
django~=4.0
openwisp2_controller
openwisp2_network_topology
openwisp2_firmware_upgrader
openwisp2_monitoring
openwisp2_radius
3 changes: 0 additions & 3 deletions tasks/pip.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
# pip.yml
# Specifies project dependencies and references requirements.txt

dependencies:
- "-r ../requirements.txt"

0 comments on commit 204c482

Please sign in to comment.