logoalt Hacker News

notatallshawyesterday at 7:53 PM2 repliesview on HN

Pip maintainer here, to do this in pip (26.0+) now you have to manually calculate the date, e.g. --uploaded-prior-to="$(date -u -d '3 days ago' '+%Y-%m-%dT%H:%M:%SZ')"

In pip 26.1 (release scheduled for April 2026), it will support the day ISO-8601 duration format, which uv also supports, so you will be able to do --uploaded-prior-to=P3D, or via env vars or config files, as all pip options can be set in either.


Replies

VladVladikofftoday at 12:03 AM

Thanks!

lijoktoday at 12:03 AM

[flagged]