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

pip no longer allows searching + potential mixup wrt broot in docs #503

Closed
CouldBeThis opened this issue Mar 12, 2022 · 2 comments
Closed
Labels
🎁 feature request Not existing yet and need to be implemented 📦 manager: pip-based pip, pipx

Comments

@CouldBeThis
Copy link
Contributor

Today I was planning to install broot so I thought it was funny I read about it in this repo's documentation. Must be in the air. However:

$ mpm search broot
warning: Skip unavailable composer manager.
warning: Skip unavailable apm manager.
warning: Skip unavailable pip2 manager.
error: ERROR: XMLRPC request failed [code: -32500]
error: RuntimeError: PyPI's XMLRPC API is currently disabled due to unmanageable load and will be deprecated in the near future. See https://status.python.org/ for more information.
warning: Skip unavailable mas manager.
warning: Skip unavailable flatpak manager.
warning: Skip unavailable yarn manager.
warning: Skip unavailable opkg manager.
warning: Skip unavailable npm manager.
warning: Skip unavailable brew manager.
warning: Skip unavailable cask manager.
╒════════════════╤══════╤═══════════╤══════════════════╕
│ Package name   │ ID   │ Manager   │ Latest version   │
╞════════════════╪══════╪═══════════╪══════════════════╡
╘════════════════╧══════╧═══════════╧══════════════════╛
0 package found (pip3: 0, apt: 0, gem: 0).

Apparently pip search has been closed since last year. Which sucks especially for this project. :(


So I went to the broot website to obtain the package and I notice that they do not mention pip at all. So on investigating that, it turns out the broot package on pypi is actually not the CLI but rather

Library for converting python numpy datastructures to the ROOT output format.

who would think 2 projects would take the same name like that? especially such a weird made up word. But there you go. Perhaps an argument to have a short description or something? No idea how much extra work/resources that would be.

@github-actions github-actions bot added 🐛 bug Something isn't working, or a fix is proposed 🤖 ci Continuous integration, tests, automation and management of the project 📦 manager: apm apm 📦 manager: brew brew 📦 manager: composer composer 📦 manager: cask cask 📦 manager: dpkg-based apt, apt-mint, opkg 📦 manager: flatpak flatpak 📦 manager: gem gem 📦 manager: mas mas 📦 manager: npm-based npm, yarn 📦 manager: pip 🖥 platform: Linux Linux, Windows Subsystem for Linux v2 🖥 platform: Windows Windows 🖥 platform: macOS macOS labels Mar 12, 2022
@kdeldycke kdeldycke added 🎁 feature request Not existing yet and need to be implemented and removed 🖥 platform: Linux Linux, Windows Subsystem for Linux v2 📦 manager: gem gem 📦 manager: mas mas 🐛 bug Something isn't working, or a fix is proposed 📦 manager: composer composer 📦 manager: npm-based npm, yarn 🖥 platform: Windows Windows 📦 manager: brew brew 🖥 platform: macOS macOS 📦 manager: dpkg-based apt, apt-mint, opkg 📦 manager: flatpak flatpak 🤖 ci Continuous integration, tests, automation and management of the project 📦 manager: apm apm 📦 manager: cask cask labels Mar 14, 2022
@kdeldycke kdeldycke added 🙏 help wanted I can't do this alone and need contributors and removed ℹ️ help wanted labels Apr 12, 2022
@kdeldycke
Copy link
Owner

I just implemented this feature upstream in commit 3e89398. It will be available in the upcoming release of mpm v5.4.0.

Here is a preview of the results:

❯ mpm --description search --exact broot
╭──────────────┬───────┬─────────┬────────────────┬────────────────────╮
│ Package name │ ID    │ Manager │ Latest version │ Description        │
├──────────────┼───────┼─────────┼────────────────┼────────────────────┤
│ broot        │ broot │ brew    │ ?              │                    │
│ broot        │ broot │ cargo   │ 1.13.3         │ A new file manager │
╰──────────────┴───────┴─────────┴────────────────┴────────────────────╯
2 packages total (brew: 1, cargo: 1, cask: 0, gem: 0, mas: 0, npm: 0).
❯ mpm search --extended broot
╭────────────────────────────────────────┬────────────────────────────────────────┬─────────┬────────────────┬──────────────────────────────────────────────────────────────────────────────────────────╮
│ Package name                           │ ID                                     │ Manager │ Latest version │ Description                                                                              │
├────────────────────────────────────────┼────────────────────────────────────────┼─────────┼────────────────┼──────────────────────────────────────────────────────────────────────────────────────────┤
│ broot                                  │ broot                                  │ brew    │ ?              │                                                                                          │
│ broot                                  │ broot                                  │ cargo   │ 1.13.3         │ A new file manager                                                                       │
│ kak-broot                              │ kak-broot                              │ cargo   │ 1.0.0          │ A wrapper around kakoune and broot that allows you to use broot to open files in kakoune │
│ brootal                                │ brootal                                │ npm     │ 0.5.0          │ >                                                                                        │
│ @brootal/brosay                        │ @brootal/brosay                        │ npm     │ 1.0.2          │ Tell Brootal Bro what to say                                                             │
│ @brootal/core                          │ @brootal/core                          │ npm     │ 0.12.8         │                                                                                          │
│ @brootal/export-import-plugin          │ @brootal/export-import-plugin          │ npm     │ 0.1.11         │ Cascade Initialization example:                                                          │
│ @brootal/mongo-cascade-relation-plugin │ @brootal/mongo-cascade-relation-plugin │ npm     │ 0.2.7          │                                                                                          │
│ @brootal/mongoose                      │ @brootal/mongoose                      │ npm     │ 0.2.8          │                                                                                          │
│ @brootal/status-plugin                 │ @brootal/status-plugin                 │ npm     │ 0.2.1          │                                                                                          │
╰────────────────────────────────────────┴────────────────────────────────────────┴─────────┴────────────────┴──────────────────────────────────────────────────────────────────────────────────────────╯
10 packages total (npm: 7, cargo: 2, brew: 1, cask: 0, gem: 0, mas: 0).

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 2022
@kdeldycke kdeldycke removed the 🙏 help wanted I can't do this alone and need contributors label Jan 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🎁 feature request Not existing yet and need to be implemented 📦 manager: pip-based pip, pipx
Projects
None yet
Development

No branches or pull requests

2 participants