Miro Hrončok

Results 305 comments of Miro Hrončok

> For Fedora Atomic Desktops, we can plug this at the end of https://pagure.io/workstation-ostree-config/blob/main/f/fedora-common-ostree.yaml#_104, which is basically a script with full RW access to the system during the build of...

> find all .pyc files we can understand (by path) all paths matching the following path regexes: 0. `.*/__pycache__/[^/]+\.cpython-312\.pyc$` 1. `.*/__pycache__/[^/]+\.cpython-312\.opt-1\.pyc$` 2. `.*/__pycache__/[^/]+\.cpython-312\.opt-2\.pyc$` For option C, we would need to...

```python MIN_MAGIC = 3390 # The first magic number supporting PEP 552 ZERO = bytes((0, 0, 0, 0)) def pyc_set_zero_mtime(pyc_path): with open(pyc_path, "r+b") as f: w = f.read(4) if len(w)...

```diff - regex = re.compile(".*/__pycache__/[^/]+\.cpython-.*(\.opt-1|\.opt-2)?\.pyc$") + regex = re.compile(r".*/__pycache__/[^/]+\.cpython-.*(\.opt-1|\.opt-2)?\.pyc$") ```

Most was sorted out, but there are remaining problems. Keeping this open.

https://github.com/python/cpython/blob/v3.13.0a6/Modules/signalmodule.c#L1931-L1951 Maybe this can be inlined?

> I am retrying with `@retry_on_failure()` Nah. One particular build either passes this test immediately or fails all the retrying attempts.

On it. First, I have verified that I can still reproduce the failures without https://github.com/giampaolo/psutil/commit/aab8d09d029420756f85df839b993e3f139dd2ac. Now building with psutil/tests/test_misc.py changes from that commit.

Unfortunately no difference, still fails. ``` ====================================================================== FAIL: psutil.tests.test_misc.TestCommonModule.test_debug ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/psutil-release-5.9.8/psutil/tests/test_misc.py", line 582, in test_debug assert msg.startswith("psutil-debug"), msg AssertionError ---------------------------------------------------------------------- Ran 569 tests in...