Pip2 Fails to install the latest api spec version
See original GitHub issueWhen using pip2 to install the linode cli, it installs the correct version, but seems to install the wrong Spec version (4.0.8, instead of the latest 4.1.0).
This issue has been documented by customers via https://www.linode.com/community/questions/18361/linode-cli-version-mismatch and reproduced.
I have some theories why this might be happening, and will follow up in this ticket. However, for now, if you encounter this issue, installing the linode cli with pip3
will fix the issue.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Error after upgrading pip: cannot import name 'main'
After running pip3 install --upgrade pip , pip version becomes 19.2.3. But main() has been moved in pip._internal in the latest version, which ......
Read more >pip install - pip documentation v22.3.1
Description#. Install packages from: PyPI (and other indexes) using requirement specifiers. VCS project urls. Local project directories.
Read more >How can I upgrade pip to the latest version?
I usually just run the following commands to upgrade both pip2 (= pip by default) and pip3 : sudo -H pip3 install --upgrade...
Read more >apispec
apispec 6.0.2. pip install apispec. Copy PIP instructions. Latest version. Released: Nov 10, 2022.
Read more >Installing lxml
XML Schema support is also still worked on in libxml2, so newer versions will give you better compliance with the W3C spec. To...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the feedback! It sounds like the warning itself is helpful and desirable as long as there is actually a new CLI version ready to update to in all cases. It also looks like PyPI has an API that can retrieve current package versions… I’m going to experiment with fetching the most recent version from PyPI and only presenting the warning if there is in fact a new version to upgrade to. If that doesn’t add too much overhead I’ll put up a PR for it.
Sounds like a reasonable approach to me. I’m not opposed to the client-side check to PyPI, although like @Dorthu I can foresee someone out there being a little antsy about it. (Overly paranoid folks who obsessively watch their traffic with Wireshark, maybe? It’s nothing compared to everything Microsoft that phones home to the mothership…)
Thanks for looking into this, guys. Been a Linode customer for eight years now, and while I’ve had the occasional rough patch here and there, I’ve stuck with you longer than I’ve been with any other host. Keep up the great work.