Git Product home page Git Product logo

Comments (4)

jaraco avatar jaraco commented on July 30, 2024

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.

jaraco avatar jaraco commented on July 30, 2024

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.

jaraco avatar jaraco commented on July 30, 2024

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.

jaraco avatar jaraco commented on July 30, 2024

The latter issue is #26, so closing.

from cherry-picker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.