-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Reduce/Eliminate dependencies #78
Comments
A quick review shows:
Overall, it seems reasonably easy to limit the dependencies. Many of them seem like they are unused or reasonably easy to avoid. Making the CLI interface an optional extra would help (and would seem reasonable - for most people, this project will be used as a pure library, and the CLI is unneeded). I should also point out that I'm not against depending on other libraries, but there's a balance to be had. In this instance, it was pulling in requests and all its dependencies in particular that shocked me - that plus something that we were planning on using as a pure library pulling in a command line package like click. |
I have much less skin in this compared to @techalchemy but I'm on board for doing this. |
I'd be willing to develop a PR for this, but (a) making the CLI an extra may impact users of the project, so I'd like confirmation that it's an acceptable change before I go ahead, and (b) I'd like to know better why |
Sorry for the highly delayed response here -- I have no strong opinions here as long as functionality is retained. This was developed as an ecosystem library when I refactored it out of pipenv.
|
As a side note I'll be pushing release automation for this library and am happy to add any of the people in this thread as committers / maintainers etc. Feel free to let me know and I'd be happy to add some release documentation and such. |
@gaborbernat says virtualenv and tox will soon have code that can do this, so we might want to consider using/copying that implementation once it's landed (any updates here, @gaborbernat?). wntrblm/nox#231 (comment) |
- Remove `vistir` and `crayons` - Reimplement heavily relied-upon functionality - Copy over `vistir` utilities used heavily in tests to avoid this as a test dependency as well - Rewrite mocks that relied on vistir-specific invocations - Regenerate lockfile - Begins to address #78 Signed-off-by: Dan Ryan <[email protected]>
We're working on some updates to python resolution when creating virtual environments from within virtual environments with nox in wntrblm/nox#231. It was suggested to use pythonfinder rather than rolling our own python resolver, which is rather tricky as you know.
We were going to discuss it even though the nox owner is hesitant to add new dependencies to nox. Then it was noted that pythonfinder has many dependencies, and the idea was rejected outright. The number of dependencies may become a deterrent to pythonfinder adoption, so I wanted to create an issue to let you know, and perhaps consider reducing/eliminating its dependencies.
The text was updated successfully, but these errors were encountered: