docs(security): audyt --frozen + docs/SECURITY_PRACTICES.md#179
Merged
Conversation
Praktyka #4 z lirantal/pypi-security-best-practices (Use Deterministic Installations). Audyt wszystkich uv invocations w repo: - CI workflows (tests.yml, refresh-baseline.yml): --frozen present (good) - Dockerfile builder + test stages: --frozen present (good) - Entrypoint scripts: brak uv calls (good - moved to build time per obs 17168) - Makefile prepare-developer-machine-{macos,linux}: BRAK --frozen - dodano w tym commicie (pierwsze setup powinno respektowac lockfile) Wyjatki swiadome (udokumentowane w docs/SECURITY_PRACTICES.md): - make uv-sync (luzny dla aktywnego dev cycle) - make live-docs (sphinx-autobuild celowo poza lockfile) - make enable/disable-microsoft-auth (alternatywa: --extra office365) Nowy plik docs/SECURITY_PRACTICES.md agreguje polityki bezpieczenstwa BPP ze wszystkich PR-ow z serii pypi-security-best-practices: - Deterministyczne instalacje (--frozen) - Wheel-only policy (PR #177) - Cooldown przed instalacja (PR #175, #178) - Eksplicytny indeks PyPI (PR #174) - SHA-pinning GitHub Actions (PR #176) Doc zostanie rozbudowany w PR-ach #10 (secrets) i #11 (dep review).
This was referenced Apr 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Podsumowanie
PR 7/12 z serii pypi-security-best-practices — praktyka #4: Deterministic Installations.
Audit results
Wszystkie ścieżki instalacji w CI i Docker buildzie już używają
uv sync --frozen— audit potwierdza poprawny stan:.github/workflows/tests.yml.github/workflows/refresh-baseline.ymldocker/bpp_base/Dockerfile(2 spots)uvcalls)Makefile prepare-developer-machine-*Makefile uv-syncMakefile live-docsCo się zmienia
Makefile: dodano--frozendoprepare-developer-machine-macosi-linux(pierwszy setup deweloperski powinien respektować lockfile).docs/SECURITY_PRACTICES.md— agreguje polityki bezpieczeństwa BPPz całej serii pypi-security-best-practices PR-ów. Zawiera:
--frozen)doc.Plan testowy
make prepare-developer-machine-macosużywa--frozen(manual review).kolejne sekcje.
🤖 Generated with Claude Code