Skip to content

Use Poetry for dependency management #102

Open
@ArifNawaz36

Description

@ArifNawaz36

Issue Title

Use Poetry for dependency management

Type

  • Big
  • Feature Request
  • Info
  • Bug
  • Documentation
  • Other (please specify):

Description

Both Pip and Poetry are powerful package managers that can be used to manage dependencies in Python. Pip is the default package manager that is best for small projects where you have a small number of dependencies. Poetry is a modern package/dependency manager that is best suited for large and complex projects.

Expected Behavior

Poetry will be used for package/dependency management to make it simplified and more consistent across different platforms. It supports lock files to ensure consistent installations. Different poetry commands will be executed. For example, poetry install, poetry add package-name, poetry update etc.

Current Behavior

Currently, Pip is being used as a package manager which installs dependencies from the requirements.txt file.

Steps to Reproduce

  1. pip install poetry, if poetry is not installed in your virtual environment
  2. poetry install, this will install all of your dependencies
  3. poetry update, if you want to update one/more packages

Screenshots / Code Snippets (if applicable)

Environment

  • Operating System: Windows, MacOS, Linux
  • Browser (if applicable):
  • Version/Commit ID (if applicable):

Possible Solution (if you have any in mind)

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency filehacktoberfestHacktoberfest

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions