Comments (4)
Oh, I think it may be a bug in pipx. I'd pipx upgrade cherry_picker
, and it said it did, but cherry_picker --version
shows 1.3.2.
from cherry-picker.
Ah yes, a bug in mangled names:
cpython main $ pipx upgrade cherry_picker
⚠️ File exists at /Users/jaraco/.local/bin/cherry_picker and points to /Users/jaraco/.local/pipx/venvs/cherry_picker/bin/cherry_picker, not
/Users/jaraco/.local/pipx/venvs/cherry-picker/bin/cherry_picker. Not modifying.
upgraded package cherry-picker from 1.3.2 to 2.0.0 (location: /Users/jaraco/.local/pipx/venvs/cherry-picker)
cherry-picker main $ pipx upgrade cherry_picker
cherry-picker is already at latest version 2.0.0 (location: /Users/jaraco/.local/pipx/venvs/cherry-picker)
⚠️ File exists at /Users/jaraco/.local/bin/cherry_picker and points to /Users/jaraco/.local/pipx/venvs/cherry_picker/bin/cherry_picker, not
/Users/jaraco/.local/pipx/venvs/cherry-picker/bin/cherry_picker. Not modifying.
from cherry-picker.
After working around the pipx bug, now cherry_picker doesn't work at all:
cherry-picker main $ pipx uninstall cherry_picker
uninstalled cherry-picker! ✨ 🌟 ✨
cherry-picker main $ pipx uninstall cherry-picker
Nothing to uninstall for cherry-picker 😴
cherry-picker main $ pipx uninstall cherry_picker
Nothing to uninstall for cherry-picker 😴
cherry-picker main $ ls ~/.local/bin/cherry*
/Users/jaraco/.local/bin/cherry_picker
cherry-picker main $ ls -la ~/.local/bin/cherry*
lrwxr-xr-x 1 jaraco staff 63 Oct 6 2020 /Users/jaraco/.local/bin/cherry_picker -> /Users/jaraco/.local/pipx/venvs/cherry_picker/bin/cherry_picker
cherry-picker main $ rm ~/.local/bin/cherry_picker
cherry-picker main $ pipx install cherry-picker
done! ✨ 🌟 ✨herry-picker
installed package cherry-picker 2.0.0, Python 3.9.2
These apps are now globally available
- cherry_picker
cherry-picker main $ cherry_picker --version
Traceback (most recent call last):
File "/Users/jaraco/.local/bin/cherry_picker", line 5, in <module>
from cherry_picker import cherry_pick_cli
ImportError: cannot import name 'cherry_pick_cli' from 'cherry_picker' (/Users/jaraco/.local/pipx/venvs/cherry-picker/lib/python3.9/site-packages/cherry_picker/__init__.py)
from cherry-picker.
The latter issue is #26, so closing.
from cherry-picker.
Related Issues (20)
- Error message from git is hidden when a git command fails
- Username detection fails with a trailing slash
- Make # replacing more strict
- Would be useful if cherry-picker messages were more prominent HOT 1
- Remove multiple commit prefixes
- Problems with pushing into remote repository
- Constant failures: "Command '['git', 'log', '--format=%H', '3.12..']' returned non-zero exit status 128" HOT 1
- Consider switching from `toml` to `tomli` HOT 2
- Cannot create a backport HOT 2
- The Demo video (animation) on asciinema is broken: 404 Not Found HOT 4
- Unexpected run state encountered HOT 3
- Consider laxing the requirements for maintenance branch names?
- Consider reviewing some PRs and cutting a new release? HOT 3
- Backport branch deleted even if push fails
- Bandit 1.7.5 found missing request timeout
- breaks on dry cherry-picking for multiple branches HOT 1
- Releasing using twine is broken HOT 1
- squash merge of release branches created sketchy history HOT 1
- Move out the changelog from readme to a dedicated changelog
- "You're not inside a cpython repo right now! 🙅" says cherry_picker when I'm in my cpython git repo HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cherry-picker.