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

show the date of installation in pip list #13058

Open
1 task done
mrrezaie opened this issue Oct 29, 2024 · 1 comment
Open
1 task done

show the date of installation in pip list #13058

mrrezaie opened this issue Oct 29, 2024 · 1 comment
Labels
resolution: needs standard Should be agreed as a standard before implementation

Comments

@mrrezaie
Copy link

mrrezaie commented Oct 29, 2024

Hi, the pip list command only shows the package name and version. There is no info about date and time. It would be great if you add a new column for the date and time of installation.

Thank you in advance.

@mrrezaie mrrezaie added S: needs triage Issues/PRs that need to be triaged type: feature request Request for a new feature labels Oct 29, 2024
@notatallshaw
Copy link
Member

notatallshaw commented Oct 29, 2024

Pip gets package information from the .dist-info directory of a package: https://packaging.python.org/en/latest/specifications/recording-installed-packages/

As far as I'm aware there is no "installation date" available in this spec. Something like the mtime of a given file could be used as a proxy, but this would be problematic across different platforms and wouldn't be consistent or real (could be modified accidentally for a variety of reasons).

Discussions and proposals for new packaging standards are posted here: https://discuss.python.org/c/packaging/14. It's worth searching to see if this has already been discussed or proposed before.

@notatallshaw notatallshaw added resolution: needs standard Should be agreed as a standard before implementation and removed type: feature request Request for a new feature S: needs triage Issues/PRs that need to be triaged labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution: needs standard Should be agreed as a standard before implementation
Projects
None yet
Development

No branches or pull requests

2 participants