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

Poetry to define virtualenvs regardless of a package #5263

Closed
2 tasks done
stefanoborini opened this issue Mar 2, 2022 · 2 comments
Closed
2 tasks done

Poetry to define virtualenvs regardless of a package #5263

stefanoborini opened this issue Mar 2, 2022 · 2 comments
Labels
kind/feature Feature requests/implementations status/duplicate Duplicate issues

Comments

@stefanoborini
Copy link

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

Poetry is, by nature, connected to PEP-517 and the pyproject.toml specifications, so it is tailored to something that is fundamentally a python package, such as a library or an application. However, in some cases, I would like to define a well-constructed python environment that is not associated to a package, because it would make little sense to do so.

For example, I currently have a source code in R, but to test and stress the web application I use selenium and python with pytest. To run this testsuite, I need pytest, some pytest plugins, selenium, and many other packages. At the moment, I use simple pip installs, but it would be nice to be able to specify these dependencies and the management of a virtual env using poetry.

This issue would require specification of poetry config outside of a pyproject.toml, because it is intrinsically not a package. It's just a bunch of python test files, ran by pytest. Of course I could misuse the pyproject.toml file and claim it's a package, but it's a bit wrong.

I see other scenarios where poetry would be managing just virtualenvs without necessarily handling an associated python package.

@stefanoborini stefanoborini added kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Mar 2, 2022
@finswimmer
Copy link
Member

Hello @stefanoborini,

something like this has been asked before in #1132.

fin swimmer

@finswimmer finswimmer added the status/duplicate Duplicate issues label Mar 4, 2022
@mkniewallner mkniewallner removed the status/triage This issue needs to be triaged label Jun 11, 2022
Copy link

github-actions bot commented Mar 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Feature requests/implementations status/duplicate Duplicate issues
Projects
None yet
Development

No branches or pull requests

3 participants