post: commit 571da38 in bojemoi
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 6s
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 6s
This commit is contained in:
48
content/posts/commits/2026-02-19-commit-571da38.md
Normal file
48
content/posts/commits/2026-02-19-commit-571da38.md
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
---
|
||||||
|
title: "[bojemoi] docker: fix compileall -b for importable .pyc without source"
|
||||||
|
date: 2026-02-19T22:49:44+01:00
|
||||||
|
draft: false
|
||||||
|
tags: ["commit", "bojemoi", "main"]
|
||||||
|
categories: ["Git Activity"]
|
||||||
|
summary: "Commit 571da38 par Betty dans bojemoi"
|
||||||
|
author: "Betty"
|
||||||
|
---
|
||||||
|
|
||||||
|
## Commit `571da38`
|
||||||
|
|
||||||
|
| | |
|
||||||
|
|---|---|
|
||||||
|
| **Repository** | bojemoi |
|
||||||
|
| **Branch** | `main` |
|
||||||
|
| **Author** | Betty |
|
||||||
|
| **Hash** | `571da389d630243db62524b86be10253d4f03bc4` |
|
||||||
|
|
||||||
|
|
||||||
|
### Description
|
||||||
|
|
||||||
|
compileall without -b generates __pycache__/module.cpython-XY.pyc which
|
||||||
|
Python only uses as cache when .py exists. Use -b to generate module.pyc
|
||||||
|
alongside source so SourcelessFileLoader can find it after .py deletion.
|
||||||
|
|
||||||
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
||||||
|
|
||||||
|
### Files Changed
|
||||||
|
|
||||||
|
```
|
||||||
|
M dozor/Dockerfile.dozor
|
||||||
|
M medved/Dockerfile.medved
|
||||||
|
M provisioning/Dockerfile.provisioning
|
||||||
|
M razvedka/Dockerfile.razvedka
|
||||||
|
M vigie/Dockerfile.vigie
|
||||||
|
```
|
||||||
|
|
||||||
|
### Diff Summary
|
||||||
|
|
||||||
|
```
|
||||||
|
dozor/Dockerfile.dozor | 2 +-
|
||||||
|
medved/Dockerfile.medved | 2 +-
|
||||||
|
provisioning/Dockerfile.provisioning | 2 +-
|
||||||
|
razvedka/Dockerfile.razvedka | 2 +-
|
||||||
|
vigie/Dockerfile.vigie | 2 +-
|
||||||
|
5 files changed, 5 insertions(+), 5 deletions(-)
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user