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
[Feature Request] Ability to show python package releases for python interpreter #10
Comments
So something like |
It's more like a combination of |
Although the name |
Not sure what's a better name though. |
After doing some research I figured that you can already do this with the Windows pip list --outdated --format=freeze | %{$_.split('==')[0]} | %{pypi version --limit 1 --no-pre-releases --show-installed-version $_} Linux/MacOS pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n 1 pypi version --limit 1 --no-pre-releases --show-installed-version Notes:
|
Would be nice if this would be supported out of box (even though can be worked around with various shell scripts). Also the versions printed are not in reverse chronological order 🤔 |
The versions not being printed in chronological order is because it shows them in the same order |
Couldn't this app collect internally those versions and sort them before displaying? |
Collect them how though, because I can't seem to find any way of doing that, most of the answers on stackoverflow are outdated. currently the only solution I can think of is to parse the output of pip list. I can try to do that |
As much as I would like to do this, this is currently a bit out of scope for this library because it would rely on running and parsing the output of Running and parsing shell commands within python just to sort the output is a bit too convoluted for this library in my opinion Sorry, Please don't mind :) |
That's fine thank you, created https://github.com/gaborbernat/pypi_changes that achieves what I mostly wanted. |
@gaborbernat Great, Looking forward to that :)) |
has been released now https://twitter.com/gjbernat/status/1456207118470684674 |
@gaborbernat looks nice, good work! |
Is your feature request related to a problem/bug/intentional feature? Please describe if it is.
Ability to view when your project dependencies have updated/changed.
Describe the solution you'd like.
would display in reverse chronological order the latest release for all packages found in the
env/bin/python
interpreter. Bonus point for showing the lastn
releases, wheren
is a CLI argument.The text was updated successfully, but these errors were encountered: