Repository navigation
prek: 0.4.4 -> 0.4.8 - #539683
prek: 0.4.4 -> 0.4.8#539683Nothing4You wants to merge 1 commit into
Conversation
Review dismissed automatically
|
|
Thanks for the update, it looks good! Why is this PR against |
|
I'm approving the PR, but I have no merge rights, so someone else should do that, maybe @mdaniels5757 (thanks!) |
|
see the outdated comment by nixpkgs-branch-check:
apparently when doing this against master it causes a ton of rebuilds. |
|
Pretty strange, it's probably a bug somewhere. I filed an issue against nixpkgs-update bot, because it should have updated this package. Sadly, it still thinks the package on staging/master is at 0.3.11, when in reality, it's 0.4.4. |
|
The rebuilds are because |
|
If @fabaff doesn't object, I'd say it's fine to do it in this PR (separate commit though). |
|
FYI 0.4.9 has been released. |
There was a problem hiding this comment.
LGTM, untested. Thank you!
Update: Running nixpkgs-review pr --post-result 539683, and it looks like several things are failing to build. Log excerpts:
> Executing pythonMetadataCheckPhase
> The 'pypck' derivation has version '0.9.13' but .dist-info/METADATA specifies version '0.dev0'.
> This usually means that the wrong version is hardcoded in pyproject.toml or setup.{py,cfg}.
> Use the pyprojectVersionPatchHook or patch the version manually so that the project metadata matches the derivation's version.
For full logs, run:
nix log /nix/store/pmv98cifp5qya19zg8xf0xjw7ky2zvhf-python3.14-pypck-0.9.13.drv
> contrib/libtests/pnggetset.c:761:4: error: implicit declaration of function 'png_read_end'; did you mean 'png_write_end'? [-Wimplicit-function-declaration]
> 761 | png_read_end(png_ptr, NULL);
> | ^~~~~~~~~~~~
> | png_write_end
> make[1]: *** [Makefile:1338: contrib/libtests/pnggetset.o] Error 1
> make[1]: Leaving directory '/build/libpng-1.6.58'
> make: *** [Makefile:941: all] Error 2
For full logs, run:
nix log /nix/store/jvyqvwkn82i4lic6pvmf2lqsmcxmlpmb-libpng-apng-1.6.58.drv
> FAILED tornado/test/httputil_test.py::MultipartFormDataTest::test_disposition_param_linear_performance - AssertionError: Disposition param parsing is not linear: d1=0.0004994450137...
> ========== 1 failed, 1164 passed, 157 skipped, 16 warnings in 26.84s ===========
For full logs, run:
nix log /nix/store/vy7jhjsavy16379izsl6n30gq4iil8is-python3.14-tornado-6.5.7.drv
> FAILED tests/test_cli.py::CliInteractionTest::test_get_status - AssertionError: 0 != 1
> ======================== 1 failed, 56 passed in 30.78s =========================
For full logs, run:
nix log /nix/store/7qwkdvivabi8dbk67p09w1712pb8m5b1-python3.14-tololib-1.2.2.drv
> error: command '/nix/store/lsz0fvnsh7n74z48h987mpcxf24nhrrz-gcc-wrapper-15.2.0/bin/g++' failed with exit code 1
>
> ERROR Backend subprocess exited when trying to invoke build_wheel
For full logs, run:
nix log /nix/store/95s9pwgklcwcswp8d9h7vch08byhigc2-python3.14-pyicu-2.15.3.drv
> /nix/store/k0z7qyk76b6z7p3i7skmkxkw77ccdpww-binutils-2.46/bin/ld.bfd: cannot find main.o: No such file or directory
> collect2: error: ld returned 1 exit status
> make[1]: *** [Makefile:227: zsh] Error 1
> make[1]: Leaving directory '/build/zsh-5.9.1/Src'
> make: *** [Makefile:73: all] Error 1
For full logs, run:
nix log /nix/store/dibgxs6ap4ysaq7i79j9z6vxrd9hp5qy-zsh-5.9.1.drv
Wait, surely the Zsh build doesn't depend on Prek?
> E AssertionError: assert ['on_connect'..._unsubscribe'] == ['on_connect'...n_disconnect']
> E
> E Right contains one more item: 'on_disconnect'
> E Use -v to get more diff
>
> tests/test_client.py:867: AssertionError
> =========================== short test summary info ============================
> XFAIL tests/lib/test_03_publish_fill_inflight.py::test_03_publish_fill_inflight
> = 5 failed, 156 passed, 1 deselected, 1 xfailed, 11 errors in 137.02s (0:02:17) =
For full logs, run:
nix log /nix/store/8xambrfnfbbb781wbyybljd7vdzik2vj-python3.14-paho-mqtt-2.1.0.drv
> error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
> --> /build/polars-1.41.2-vendor/source-registry-0/ethnum-1.5.2/src/error.rs:16:14
> |
> 16 | unsafe { mem::transmute(()) }
> | ^^^^^^^^^^^^^^
> |
> = note: source type: `()` (0 bits)
> = note: target type: `TryFromIntError` (8 bits)
>
> Compiling litrs v1.0.0
> Compiling ahash v0.8.12
> Compiling unicode-segmentation v1.12.0
> For more information about this error, try `rustc --explain E0512`.
> error: could not compile `ethnum` (lib) due to 1 previous error
> warning: build failed, waiting for other jobs to finish...
> 💥 maturin failed
> Caused by: Failed to build a native library through cargo
> Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_BUILD_EXTENSION_MODULE="1" PYO3_ENVIRONMENT_SIGNATURE="cpython-3.14-64bit" PYO3_PYTHON="/nix/store/2j9x3y64f5wjq8h9k6zfmgybqjjya12l-python3-3.14.6/bin/python3.14" PYTHON_SYS_EXECUTABLE="/nix/store/2j9x3y64f5wjq8h9k6zfmgybqjjya12l-python3-3.14.6/bin/python3.14" "cargo" "rustc" "--jobs" "12" "--profile" "release" "--target" "x86_64-unknown-linux-gnu" "--message-format" "json-render-diagnostics" "--offline" "--manifest-path" "/build/source/py-polars/runtime/polars-runtime-32/Cargo.toml" "--lib" "--" "-C" "strip=symbols"`
For full logs, run:
nix log /nix/store/8c4g1c680css1plk78i0fn6x2kpf1xha-python3.14-polars-1.41.2.drv
|
prek is a Git hook manager, similar to pre-commit. It's not needed for running the tests. Having prek as a dependency of rf-protocol causes prek to have >1000 reverse dependencies via home-assistant, which is undesirable as this requires each prek update to go through a staging cycle, see e.g. [1]. `$out` stays the same after this change, minus store path differences. [1] NixOS#539683
prek is a Git hook manager, similar to pre-commit. It's not needed for running the tests. Having prek as a dependency of rf-protocol causes prek to have >1000 reverse dependencies via home-assistant, which is undesirable as this requires each prek update to go through a staging cycle, see e.g. [1]. `$out` stays the same after this change, minus store path differences. [1] NixOS#539683
|
#542898 was merged. @Nothing4You Please rebase and bump to the latest version. The >1000 reverse dependencies should be gone on latest |
|
thanks, i've been afk for the last couple days |
https://github.com/j178/prek/releases/tag/v0.4.8
Fixes #539598
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.