TST: exclude packages newer than a week old from resolution#19527
TST: exclude packages newer than a week old from resolution#19527neutrinoceros wants to merge 2 commits intoastropy:mainfrom
Conversation
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
bed8010 to
7148caa
Compare
7148caa to
57665b3
Compare
57665b3 to
7a04e61
Compare
|
Apparently the env var isn't overriding the static config properly. This issue seems specific to tox though, and I was able to confirm that uv behaves correctly on its own. |
|
will report to tox-uv later today or tomorrow. |
|
So, I tried (but failed) to reproduce the problem in a minimal project
[project]
name = "test"
version = "0.1.0"
requires-python = ">=3.14"
dependencies = [
# inifix is a tiny, 0-deps package of mine.
# 6.1.1 is almost a year old but 6.1.2 was published a couple days ago
"inifix>=6.1.1",
]
[tool.uv]
exclude-newer = "1 week"
[tox]
envlist =
py314,-pre
requires =
tox-uv
[testenv]
setenv =
pre: UV_EXCLUDE_NEWER = 0day # allow latest versions with no cooldown period. Also a security pun.
commands =
{list_dependencies_command}abridged logs I got |
|
some progress on this: it looks like tox isn't invalidating its own cache on edits to |
|
yes we are: #18835 (I forgot the specifics of this PR) |
|
except... that's not the whole story yet. The failing job is running on Circle CI, whose config wasn't updated in #18835 |
|
... and I don't think we're caching any dependency on this service. |
|
(still, I reported tox-dev/tox#3917 to clear the air) |
|
Keeping an eye out for astral-sh/uv#18839 |
6ed35b3 to
97f7ee2
Compare
97f7ee2 to
5ad8cf4
Compare
|
This is working as expected now. I would have prefered defining a global |
Description
Only allow packages to get in regular CI jobs after a cooldown period of a week, which should be more than enough time for upstream to address breaches in the style of llmlite.