Skip to content

Pipenv usage for repo #1868

Open
Open
@elreydetoda

Description

@elreydetoda

Is your feature request related to a problem? Please describe.
No, but it has been mentioned in this issue: #1395

Describe the solution you'd like
I was curious if the project would be opposed if I submitted a pull request for generating files for using pipenv (i.e. Pipfile & Pipfile.lock), because you can still generate requirements.txt from those file (this command specifically: pipenv lock -r) but it also allows you to install dev packages. You could put ansible-lint, and if there are other, in there and then run pipenv install -d, and that will install all the normal dependencies and dev ones as well.

This would allow the project to contain all python dependencies, even for development, and could be used for a very portable and and more deterministic development/CI environments. This isn't required as you can see from these issues: #863 and #1554, but I think it would help make it more approachable as well as pipenv will manage virtual envs for the user instead of having to manually have them create it i.e.: step 4 in: https://github.com/trailofbits/algo#deploy-the-algo-server

Describe alternatives you've considered
Not really, and just curious specifically about pipenv, because I am not well versed in other package management tools.

Additional context
great video, by the author ( @ken-reitz ) of pipenv, talking about it and it's different features: https://youtu.be/GBQAKldqgZs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions