This repository has been archived by the owner on May 5, 2024. It is now read-only.
Releases: dhruvmanila/pie
Releases · dhruvmanila/pie
v0.10.0
Changelog
- 9488b9a: build: add
make test
target to run tests (@dhruvmanila) - 3ca609a: feat:
clean
cmd to remove dangling virtualenvs (@dhruvmanila) - 6ce29d9: feat: introduce multiple finder strategy (glob) (@dhruvmanila)
- e55ff9f: feat: support PEP 440 version (@dhruvmanila)
- 85acf39: refactor: introduce finder strategy (@dhruvmanila)
- f071e1d: refactor: pass venv name instead of dir path (@dhruvmanila)
v0.9.0
Changelog
- 632b02c: docs: update warning for package rename (@dhruvmanila)
- e8280c9: fix: print help message when root cmd is invoked (@dhruvmanila)
- 81ac3d1: refactor!: rename package
pyvenv
->pie
(@dhruvmanila)
v0.8.0
Features
-
List out all the Python versions which can be found by the tool. The order is exactly the same to search for a given version using the
--python
flag.❯ ./pyvenv ls --execs Found Python versions: 3.10.5 (/Users/dhruv/.pyenv/versions/3.10.5/bin/python3.10) 3.10.2 (/Users/dhruv/.pyenv/versions/3.10.2/bin/python3.10) 3.11.0 (/Users/dhruv/.pyenv/versions/3.11.0/bin/python3.11) 3.8.13 (/Users/dhruv/.pyenv/versions/3.8.13/bin/python3.8) 3.9.12 (/Users/dhruv/.pyenv/versions/3.9.12/bin/python3.9) 3.9.6 (/usr/bin/python3) 3.10.7 (/Users/dhruv/.pyenv/versions/3.10.7/bin/python3.10) 3.11.1 (/Users/dhruv/.pyenv/versions/3.11.1/bin/python3.11) 3.9.13 (/Users/dhruv/.pyenv/versions/3.9.13/bin/python3.9) 3.10.8 (/Users/dhruv/.asdf/installs/python/3.10.8/bin/python3.10) 3.11.0 (/Users/dhruv/.asdf/installs/python/3.11.0/bin/python3.11)
-
A message will be provided when the environment created was aborted.
❯ ./pyvenv create --python 3.11.1 ==> Creating a virtualenv for this project... Using /Users/dhruv/.pyenv/versions/3.11.1/bin/python3.11 (3.11.1) to create virtualenv... ^CEnvironment creation aborted!
New providers
- MacOS provider: This is for the Python versions installed via the official python.org installer on macOS.
- asdf provider: This is for the
asdf
tool.
Changelog
- 6b88ab3: feat: Python version provider (asdf) (@dhruvmanila)
- c27c00e: feat: find all Python versions on the system (@dhruvmanila)
- 85d120e: feat: flag to output available Python versions (@dhruvmanila)
- ae635ef: feat: macOS Python version provider (@dhruvmanila)
- ff70c48: feat: provide msg when env creation is aborted (@dhruvmanila)
- adc2a8c: feat: resolve symlinks, remove duplicates (ls --execs) (@dhruvmanila)
- 6d01a8c: fix: restore isExecutable signature (@dhruvmanila)
- 264e955: refactor: return directly (@dhruvmanila)
v0.7.2
Changelog
- 7aa4b25: ci: allow running test workflow from GitHub (@dhruvmanila)
- aabc2b0: ci: test workflow trigger on paths (@dhruvmanila)
- 7a37502: docs: provide warning for alpha status (@dhruvmanila)
- 56ffdd2: fix(test): add .gitkeep to allow empty directory (@dhruvmanila)
- b8a9fab: fix: evaluate symlink when creating *Project (@dhruvmanila)
- 3c32eae: refactor: use builtin fn to write file (@dhruvmanila)
- fdb0288: refactor: venv module for collecting venv info (@dhruvmanila)
v0.7.1
Changelog
- 0308ec9: Revert "build: create draft release to edit CHANGELOG" (@dhruvmanila)
- a5f4f83: ci: test workflow (@dhruvmanila)
- 403d2e7: docs: document root command flags (@dhruvmanila)
- 1e69692: fix: simplify branching for remove command (@dhruvmanila)
v0.7.0
What's Changed
-
New package
pythonfinder
to provide an interface for finding Python executables. The finder will use all the providers and use the executable for which the Python version matches or use the first one if none given. This can be provided with the--python
flag like so:pyvenv create --python 3.11.0
-
Perform cleanup if the user interrupts while creating the virtual environment. Previously, the half completed virtual environment directory would still remain.
Note
- Currently, only the stable versions are supported for creating the virtual environment. In the future, other versions such as pre-release, anaconda, etc might be supported.
Build
- Upgrade to Go 1.19 to use the
unix
build directive.
Changelog
- 4f1b850: build: create draft release to edit CHANGELOG (@dhruvmanila)
- 29e7ada: build: upgrade to go1.19 (@dhruvmanila)
- cd92cda: ci: update Go version to 1.19 (@dhruvmanila)
- 7696645: docs: provide gifs using
vhs
(@dhruvmanila) - ee588b2: feat: pythonfinder to find the given version (@dhruvmanila)
- 12cfd77: fix: correct error message for unexpected output (@dhruvmanila)
- 4c7fa5c: fix: delete virtualenv in main goroutine (@dhruvmanila)
- 41fc06f: fix: provide build directive for unix (@dhruvmanila)
- 3ccfd0d: fix: remove virtualenv if create cmd is cancelled (@dhruvmanila)
- 38d0bd6: fix: simplify virtualenv creation (@dhruvmanila)
- 6c1732d: fix: strict Python version regex (@dhruvmanila)
- 324b11a: refactor: exit instead of returning error (@dhruvmanila)
- a38d7cc: refactor: move
--venv
logic in project package (@dhruvmanila) - b4ee286: refactor: pathutil package (@dhruvmanila)
- 25af667: refactor: separate Python file regex per OS (@dhruvmanila)
Full Changelog: v0.6.5...v0.7.0
v0.6.5
Changelog
- dac7cd2: fix: windows root path includes separator (@dhruvmanila)
v0.6.4
Changelog
- 595217a: fix: use volume name as root path on windows (@dhruvmanila)
v0.6.3
Changelog
- 154bdfd: feat: confirm before removing a virtualenv (@dhruvmanila)
v0.6.2
Changelog
- 61430b1: fix: create all parent directories as well (@dhruvmanila)
- ccfc015: fix: create data directory if not existing (@dhruvmanila)