Repository navigation
fix: refresh licence notices after dependency updates, 0.15.2 - #29
Merged
Merged
Conversation
The fastapi, pywinpty and zip updates merged without regenerating THIRD-PARTY-NOTICES.txt, so the notices check in CI failed on main. Regenerated with setup/notices.py from the installed packages, the lock files and the cargo registry. The notices test now names the new fastapi pin, and LICENSES.md lists the new versions. Release 0.15.2 at every version site, with its changelog entry.
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.
Summary
Main has been red since the Dec 1 dependency updates (fastapi 0.165.0, pywinpty 3.1.2, packaging 26.4, the zip crate 9.8.2, and the npm group with @tauri-apps/cli 2.12.6 and vitest 5.1.1). These merged without regenerating
THIRD-PARTY-NOTICES.txt, so the "Third-party notices cover what ships" step in the tests job failed with four problems: fastapi, pywinpty, and both zip versions.THIRD-PARTY-NOTICES.txtwas regenerated withpython3 setup/notices.py, as its header asks. The script read the installed Python packages, the npm lock, and the cargo registry. Each licence text is the one the upstream package ships:fastapi-0.165.0.dist-info/licenses/LICENSE,pywinpty-3.1.2.dist-info/licenses/LICENSE.txtand theLICENSEfile inside the published zip 9.8.2 crate. Only section headers and file names changed. The licence texts are byte for byte the same as before.LICENSES.mdnow lists the new versions: fastapi, pywinpty, cryptography, vitest and @tauri-apps/cli. The npm lock still holds 115 packages and the native lock still holds 86, both with the same licences.backend/tests/rb04/test_setup_notices.pyhard-coded the fastapi pin in two asserts. Both now say 0.165.0. That test step would have failed next, after the notices step.frontend/package.jsonand lock,frontend/src/version.ts,native/Cargo.tomlandCargo.lock(24 workspace crates),src-tauri/Cargo.tomlandCargo.lock,src-tauri/tauri.conf.json,backend/app/__init__.py, the README badge, and aCHANGELOG.mdentry. cargo and npm regenerated the lock files.Tests
Run on macOS (Apple silicon) with HOME set to a scratch folder and a failing keyring backend, following
.github/workflows/ci.yml:python setup/notices.py --check: third-party notices cover everything that shipsnpm ci,npm audit --audit-level=high(0 vulnerabilities),npm run typecheck,npm run build: passnpm test: 39 files, 853 passed, 0 failedpython -m pytest: 955 passed, 0 failed (1 warning)cargo clippy --workspace --all-targets --locked -- -D warnings: passcargo test --workspace --locked: 145 passed, 0 failed./formrig engine build(maturin),python -m compileall -q app formrig_engine.py,python formrig_engine.py --selfcheck: pass (engine 0.15.2, 179 commands)./formrig i18n check, and the em dash and emoji text check: passcargo check --locked: passcargo build --workspace --lockedfails on macOS only. On macOS, a plain cargo build of the pyo3frg-pyextension cannot link Python symbols, and main behaves the same way. The maturin build of the same crate passes. CI runs this step on Ubuntu, where it links.For the owner
test_setup_notices.pyhas the same problem.Left for the owner (not changed here)
How to ship
compile_v0.15.2from the merge commit to start the release build.