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

Switch to Poetry for dependency management #31

Open
brylie opened this issue Aug 17, 2021 · 3 comments
Open

Switch to Poetry for dependency management #31

brylie opened this issue Aug 17, 2021 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest-accepted help wanted Extra attention is needed

Comments

@brylie
Copy link
Collaborator

brylie commented Aug 17, 2021

We currently use pip to manage project dependencies. However, pip has some limitations that may be worth considering:

  • doesn't use pyproj.toml
  • doesn't automatically add new project dependencies to requirements.txt
  • no inbuilt way to upgrade all dependencies to the latest compatible versions
  • can't automatically activate environment variables contained in a .env file

The Poetry project resolves most of the above issues and has a plugin to source .env file environment variables automatically when activating the Poetry virtual environment (related to #30).

Further context

We are currently using pip because it is the defacto Python package manager, so it might necessitate fewer steps to get a development environment running. However, it may not be too much of a hurdle for developers to install Poetry instead.

@brylie
Copy link
Collaborator Author

brylie commented Aug 17, 2021

@Upasanadhameliya thoughts? Have you worked with Poetry before?

@Upasanadhameliya
Copy link
Contributor

Upasanadhameliya commented Aug 18, 2021

I haven't worked on it before, yet I like the idea and would be interested in checking it out and would try to implement the same 😃

@brylie brylie added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Aug 18, 2021
@brylie brylie changed the title [RFC] Consider using Poetry for dependency management Switch to Poetry for dependency management Aug 18, 2021
@Upasanadhameliya
Copy link
Contributor

@brylie I would like to work on this task. Please assign me the same 😸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest-accepted help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants