Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There's a PyPI package for autoenv marked as v1.0.0, back from 2012.
Since
pip
looks for the latest package by version number rather than date, this makes a very old version of autenv the default. It's possible to get the newer code withpip install autoenv==0.2
, but that's unintuitive**, and even moreso if you're updating from v1.0I'm proposing to kick the version up to v2.0, so that pip will work as expected, while keeping the version in line with SemVer principals. I understand there's still ongoing development here, but the interface is probably consistent enough that it won't rapidly shoot up to v42.0 or anything crazy like that. And if it does so what?
In any case, thanks for your work on this. It's a nifty little tool.
** Particularly for my Python-novice coworkers, who I'm pushing on to autoenv in order to standardize the use of virtual environments. Honestly, they'll need the latest updates from master, since I make use of AUTOENV_CUR_DIR (and the quotation fix, #150) in the .env script, but that will be published with this, sort of by definition. I'm hoping it isn't too long until that happens.
To wit: I had originally typed "==2.0" in this comment, and didn't realize until some eight months later, because using "==0.2" to get the latest code really is unintuitive. My apologies to anyone I accidentally misled with that typo!