ansible-openwisp2 icon indicating copy to clipboard operation
ansible-openwisp2 copied to clipboard

[change] Change definition of dependencies to leverage dependabot

Open pandafy opened this issue 1 year ago • 3 comments

Dependabot currently cannot upgrade Python dependencies defined in pip.yml. To address this, we should extract these dependencies into a requirements.txt file. This will allow Dependabot to generate pull requests for updating the modules automatically.

pandafy avatar Nov 26 '24 19:11 pandafy

Het, @pandafy , I'd like to work on this issue!

I'll extract the Python dependencies from pip.yml into a requirements.txt file. I guess this will allow Dependabot to track and upgrade dependencies automatically.

Here’s my approach:

  1. Identify all dependencies currently listed in pip.yml.
  2. Move them into a structured requirements.txt file.
  3. Update the Ansible tasks to install dependencies from requirements.txt instead of directly listing them in pip.yml.
  4. Test the changes to ensure compatibility with the existing setup.

Let me know if you have any specific preferences or additional requirements! 🚀

can I go on with it ?

shwetd19 avatar Jan 27 '25 18:01 shwetd19

@shwetd19 once we get https://github.com/openwisp/ansible-wireguard-openwisp/pull/60 merged you can proceed with this as it should be pretty similar.

nemesifier avatar Jan 27 '25 21:01 nemesifier

Hey @nemesifier @pandafy can you please review my PR for this, pls let me know if any change is required

shwetd19 avatar Jan 30 '25 13:01 shwetd19