-
-
Notifications
You must be signed in to change notification settings - Fork 21
Check the example report fiches the way the figures are checked #471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
a77541c
Check the example report fiches the way the figures are checked
jmrplens a8f6f98
Show the intensity class fiche in the markdown mirror too
jmrplens 8e8f6d8
Say where the fiche previews are now checked
jmrplens 7b8448f
State what the tolerance measurement actually showed
jmrplens a0d12cb
Skip the fiche text checks when pypdfium2 is absent
jmrplens 8dbcef4
Label a fiche change when the figure pins move
jmrplens a496319
Swap the regenerated fiches in only after a complete run
jmrplens af6e26c
Read the fiche filenames off the registry instead of rendering for them
jmrplens e4de917
Rewrap the fiche calibration entry
jmrplens bb1420c
Swap the reports directory in one recoverable move
jmrplens 7f7e82f
Mark the reports swap complete before discarding the copy
jmrplens 0e2c351
Assert the failure and its reason separately
jmrplens File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Locked fiche-rendering stack for the reports CI check (the "Example report | ||
| # fiches up to date" job in python-app.yml). Install it on top of | ||
| # requirements-figures.txt, which pins the matplotlib/numpy half of the chain. | ||
| # | ||
| # A fiche goes matplotlib -> SVG -> svglib -> reportlab -> PDF -> pypdfium2 -> | ||
| # WebP preview, and the staleness check compares the rendered page. Every link | ||
| # after matplotlib therefore fixes what the check sees: svglib and its CSS/XML | ||
| # parsers decide how the SVG becomes vector graphics, reportlab lays out the | ||
| # page and embeds the fonts, and pypdfium2 rasterizes it. Cross-CPU ~1-ULP | ||
| # coordinate drift is absorbed by the tolerance in scripts/check_reports.py, so | ||
| # the stack does not have to byte-match the runner hardware, but a version bump | ||
| # in any of these moves the rendered pixels well past that tolerance. | ||
| # | ||
| # Bump these together with a fresh `make reports` regeneration (generate the | ||
| # fiches with exactly this stack, then commit both). Generated from the | ||
| # maintainer's venv that produced the committed fiches. | ||
| reportlab==5.0.0 | ||
| svglib==2.0.2 | ||
| pypdfium2==5.12.1 | ||
| lxml==6.1.1 | ||
| cssselect2==0.9.0 | ||
| tinycss2==1.5.1 | ||
| webencodings==0.5.1 |
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.