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

New feature that would allow environments to be created with R or Lua instead of Python #54

Open
kesmit13 opened this issue Nov 12, 2020 · 2 comments

Comments

@kesmit13
Copy link

Currently, tox and tox-conda assume that they are being used for building and testing Python environments. However, Anaconda also supports R and Lua environments. It would be nice if it was possible to create an environment for those languages instead of Python. Currently, you can still create test environments, but Python always comes along for the ride even if you don't want it (which can sometimes cause dependency issues).

I'm thinking that maybe a language_base= option could be added to the top-level config that gives the base specification; something like python=3.8, r-base=3.4.3, mro-base=3.5.1, etc. That would be used for the initial environment creation rather than always just installing python.

There could be other niceties add too such as cran_deps= or lua_deps= to install from CRAN and LuaRocks repos, but I'd be happy with just being able to create environments for those other languages for now.

@kesmit13
Copy link
Author

Actually, for my current use case, I really just need to specify something like language_base = none so that it creates an empty environment. Then conda_deps= can specify the language base to install.

@gaborbernat
Copy link
Member

Currently, tox and tox-conda assume that they are being used for building and testing Python environments.

There's a tox rewrite on-going under https://github.com/tox-dev/tox/tree/rewrite#rewrite-branch, which removes this assumption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants