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

WIP: Operation pewetomy #2325

Closed
wants to merge 9 commits into from
Closed

WIP: Operation pewetomy #2325

wants to merge 9 commits into from

Conversation

uranusjr
Copy link
Member

@uranusjr uranusjr commented Jun 7, 2018

Supercedes #2161. Remove all dependence on Pew, and replace all functionality with our own implementation.

Most are quite straightforward (but still needs testing), only new and shell requires particular attention. new is converted to use virtualenv directly, with a little post-creation patching to make it compatible with Pew (mostly the project association stuff).

shell is the coolest part. I rewrote all shell detection as pipenv.shelltools (except the NT backend is 99% _win_utils from the previous implementation), and re-implemented pew.workon_cmd. I’m not that familiar with the compat shell, and largely did copy-pasting job in that part, so more testing are probably required to avoid regression.

We need to manually test the hell out of this before it can land in a stable release.

skurfer and others added 3 commits June 8, 2018 00:20
For ZSH users with HIST_IGNORE_SPACE, this will keep activation noise out of the shell’s history.
This will need A LOT of manual testing, on:

* macOS
* Linux

* Bash
* Fish
* Zsh
* more?

* Fancy mode
* Compat (default) mode

Windows is surprisingly the simplest here, and I am quite sure it will
work splendidly. On other platforms, I don't know. Let's see.
@uranusjr uranusjr added Category: Future Issue is planned for the future. Type: Behavior Change This issue describes a behavior change. labels Jun 7, 2018
uranusjr added 6 commits June 8, 2018 03:48
Becauss pathlib does not like trailing whitespace
This gives me cryptic errors if virtualenv_location is empty (because the
None from .get() is passed into os.path.join and hell breaks loose).
@uranusjr uranusjr force-pushed the operation-pewetomy branch from ae118c7 to e37326a Compare June 8, 2018 03:27
@uranusjr uranusjr changed the title Operation pewetomy WIP: Operation pewetomy Jun 8, 2018
@uranusjr
Copy link
Member Author

Moved part of this to https://github.com/pypa/pipenv/projects/3. Purge can be done later.

@uranusjr uranusjr closed this Jun 15, 2018
@uranusjr uranusjr deleted the operation-pewetomy branch July 30, 2018 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Future Issue is planned for the future. Type: Behavior Change This issue describes a behavior change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants