Skip to content

Commit

Permalink
Make check-wheel-contents happy, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Sep 30, 2023
1 parent 36701a6 commit cf817e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/devel/changelog_staging.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
# Changelog for next release
- `PdfTextPage.get_text_range()`: Correct the allocation in case of excluded/inserted chars, modify scope to prevent pdfium from reading beyond `range(index, index+count)` (which otherwise it does with leading excluded chars). Update docs to note the two different representations. Thanks to Nikita Rybak for the discovery ({issue}`261`).
- ctypesgen fork: replaced the old library loader with a new, lean version
- Ported setup changes from the devel branch.
- Setup changes (partly ported from the devel branch)
* Replaced the env vars `$PDFIUM_PLATFORM`, `$PDFIUM_VERSION` and `$PDFIUM_USE_V8` by the compound `$PDFIUM_BINARY` specifier (see the Readme for description). The setup API breakage was considered tolerable; the core library API is not affected.
* Removed the `build` package from pyproject buildsystem requires, where it was unnecessary. Thanks to Anaconda Team.
* Split in two separate modules: pypdfium2 for helpers (pure-python), pypdfium2_raw for the core bindings (data files).
- Switched PyPI upload to "trusted publishing" (OIDC), which is considered safer. Further, the core maintainers have set up 2FA as requested by PyPI.
2 changes: 1 addition & 1 deletion run
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function packaging() {

twine check dist/*
# ignore W002: erroneous detection of __init__.py files as duplicates
check-wheel-contents dist/*.whl --ignore W002
check-wheel-contents dist/*.whl --ignore W002 --toplevel "pypdfium2,pypdfium2_raw"
}

set -x
Expand Down

0 comments on commit cf817e3

Please sign in to comment.