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

Issues/52 python dependencies to requirements #59

Conversation

shwetd19
Copy link
Contributor

@shwetd19 shwetd19 commented Jan 23, 2025

Checklist


Reference to Existing Issue

Closes #52.


Description of Changes

This pull request moves Python dependencies from pip.yml to a requirements.txt file for easier management. Here’s what was done:

  1. Created a requirements.txt file:

    • Added all dependencies, such as Flask, Werkzeug, and uwsgi, into this file to keep things organized.
  2. Updated pip.yml:

    • Adjusted the Ansible tasks to install dependencies from requirements.txt instead of listing them directly in the file.
    • Added steps to:
      • Update pip and related tools like setuptools and wheel.
      • Install dependencies in a virtual environment using the requirements.txt file.
  3. Dependabot Integration:

    • Made sure tools like Dependabot can track and update dependencies in requirements.txt automatically.
  4. Tested the Changes:

    • Ran the updated playbook to confirm everything works as expected.

These changes make it easier to manage and update dependencies while keeping the setup clean and consistent.

Copy link
Member

@pandafy pandafy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing @shwetd19! Read the Contributing Guidelines and properly format your commits.

@shwetd19 shwetd19 closed this Jan 23, 2025
@shwetd19 shwetd19 deleted the issues/52-python-dependencies-to-requirements branch January 23, 2025 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

[change] Move Python dependencies to requirements.txt
2 participants