UCL-ARC / python-tooling

Python package template for new research software projects
http://github-pages.arc.ucl.ac.uk/python-tooling/
MIT License
43 stars 2 forks source link

`venv` is not recommended, but no reason is given. #446

Closed dpshelio closed 1 month ago

dpshelio commented 2 months ago

Which Section of the Documentation Needs Improving?

virtual environments

What Can be Improved About This Section

:red_circle: for venv is not explained, though on the main page, when explaining the traffic light system says (bold is mine):

🔴 We actively discourage using this. This could be because it’s no longer maintained, not open source, or difficult to use. Consider moving to alternatives if you’re currently using something that’s red. A reason for not using this is given.

How to Improve This Section

I'd like to know the reason we said so, as it's what I normally recommend.

samcunliffe commented 2 months ago

My memory is hazy, but we recommended virtualenv above venv as virtualenv is interchangeable and venv has fewer features whilst also being slower...?

@ruaridhg can you remember any more? It looks like you were tasked with making the virtual environments table back in the original website-only repo (migrated here).

ruaridhg commented 2 months ago

My memory is hazy, but we recommended virtualenv above venv as virtualenv is interchangeable and venv has fewer features whilst also being slower...?

@ruaridhg can you remember any more? It looks like you were tasked with making the virtual environments table back in the original website-only repo (migrated here).

Also struggling to remember anything additional. I think it was more not recommended as a comparative recommendation since I don't think any of the 🔴 traffic light reasons apply to venv