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

[enhancement] Use dependabot to upgrade dependencies in pip.yml #507

Open
pandafy opened this issue Nov 26, 2024 · 2 comments
Open

[enhancement] Use dependabot to upgrade dependencies in pip.yml #507

pandafy opened this issue Nov 26, 2024 · 2 comments
Labels

Comments

@pandafy
Copy link
Member

pandafy commented Nov 26, 2024

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.

@shwetd19
Copy link

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 ?

@nemesifier
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants