Clean up .pytest_cache warnings in local/CI environment #6
Labels
No labels
area:ai
area:ci-cd
area:notifications
area:observability
area:public-pages
backlog
bug
duplicate
enhancement
help wanted
invalid
question
type:decision
type:feature
type:infra
type:maintenance
type:security
v1.0.1
v1.1.0
v1.2.0
v1.3.0
v2.0.0
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rbrooks/WeatherBot#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Target release: v1.0.1
Investigate
.pytest_cachewarnings so cache behavior is clean for CI and local developer experience.Source:
SECURITY_AUDIT_REMEDIATION_PLAN.md→ "Remaining non-blocking follow-up".Investigated on the updated dev server (
main@e9a05e2, pytest 9 / Python 3.12): ran the full suite with caching enabled (pytest -q -W default) → 307 passed, 0 warnings, no.pytest_cache-related warnings. pytest also writes its own.pytest_cache/.gitignorecontaining*, so the cache is already self-ignored and never shows ingit status.So there is no warning to clear on the current stack. The only real gap was hygiene: the project
.gitignoredidn't list the cache dir. Added.pytest_cache/explicitly inad57e0b. Closing.