Skip to content
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

FIX: Bump ePub -> 1.3 in test audit. #905

Merged
merged 5 commits into from
Mar 4, 2024

Conversation

carlwilson
Copy link
Member

Fixes integration tests for #892 which is also included. Thanks @karenhanson

karenhanson and others added 5 commits June 12, 2023 17:50
EPUB now managed by W3C. Latest release is still in conjunction with IDPF, so for now they continue to be included in the agent name. Next iteration might switch to W3C only.
The following changes were made to support EPUBCheck 5.1.0:
1. New version lists resources with fragments making resource list much longer without reflecting new files in the package. Added logic to remove resources with fragments and only list base URL.
2. EPUBLocation changed slightly, updated code to manage support that change.
3. Some redundant messages were removed, which changed some message counts in tests - fixed message counts to reflect correct output.
4. Update validation version to 3.3 - there is no way to determine the minor version number in an EPUB, so validation is always against whatever the latest is.
5. CREATION_DATE is missing from the report, I've logged an issue and commented out the relevant lines in tests. It will be fixed in the next maintenance release and I will move to 5.1.1 when available to add creation date back in.
6. A file that was being used to test title has flipped from Well Formed and Valid to Well Formed and Not Valid according to current criteria - updated the test to reflect this.
@carlwilson carlwilson added the dependencies Pull requests that update a dependency file label Mar 4, 2024
@carlwilson carlwilson linked an issue Mar 4, 2024 that may be closed by this pull request
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.00%. Comparing base (05f7c0f) to head (f4d4f13).
Report is 1 commits behind head on integration.

Additional details and impacted files
@@              Coverage Diff               @@
##             integration     #905   +/-   ##
==============================================
  Coverage          47.00%   47.00%           
  Complexity          1100     1100           
==============================================
  Files                 57       57           
  Lines               9079     9079           
  Branches            1622     1622           
==============================================
  Hits                4268     4268           
  Misses              4280     4280           
  Partials             531      531           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@carlwilson carlwilson merged commit 44060dc into integration Mar 4, 2024
6 checks passed
@carlwilson carlwilson deleted the karenhanson-update-to-epub-5-0-1 branch June 3, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to latest EPUBCheck v. 5.1.x
2 participants