MatthiasValvekens / pyHanko

pyHanko: sign and stamp PDF files
MIT License
460 stars 68 forks source link

Update xsdata requirement from ~=23.8 to >=23.8,<25.0 #364

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Updates the requirements on xsdata to permit the latest version.

Changelog

Sourced from xsdata's changelog.

24.1 (2024-01-04)

  • Fixed XmlParser to ignore xsi attrs when fail on unknown attributes is enabled ([#846](https://github.com/tefra/xsdata/issues/846) <https://github.com/tefra/xsdata/pull/846>_)
  • Fixed parsing mandatory byte elements with no value ([#873](https://github.com/tefra/xsdata/issues/873) <https://github.com/tefra/xsdata/pull/873>_)
  • Fixed issue in json binding with union fields ([#864](https://github.com/tefra/xsdata/issues/864) <https://github.com/tefra/xsdata/pull/864>_)
  • Fixed PycodeSerializer to escape unicode characters in string values ([#877](https://github.com/tefra/xsdata/issues/877) <https://github.com/tefra/xsdata/pull/877>_)
  • Fixed compound field choices with forward references ([#886](https://github.com/tefra/xsdata/issues/886) <https://github.com/tefra/xsdata/pull/886>_)
  • Fixed google style docstrings to add missing colon ([#884](https://github.com/tefra/xsdata/issues/884) <https://github.com/tefra/xsdata/pull/884>_)
  • Fixed deprecation warnings for datetime.datetime.utcnow()
  • Fixed XmlSerializer to ignore empty non-nillable/required tokens ([#902](https://github.com/tefra/xsdata/issues/902) <https://github.com/tefra/xsdata/pull/902>_)
  • Fixed issue with invalid variable names when using originalCase naming convention ([#881](https://github.com/tefra/xsdata/issues/881) <https://github.com/tefra/xsdata/pull/881>_)
  • Added type hints for compound fields ([#858](https://github.com/tefra/xsdata/issues/858) <https://github.com/tefra/xsdata/pull/858>, [#885](https://github.com/tefra/xsdata/issues/885) <https://github.com/tefra/xsdata/pull/885>)
  • Added http header when loading remote resources ([#867](https://github.com/tefra/xsdata/issues/867) <https://github.com/tefra/xsdata/pull/867>_)
  • Added warning when converting parent field to a list ([#871](https://github.com/tefra/xsdata/issues/871) <https://github.com/tefra/xsdata/pull/871>_)
  • Added ruff to format generated code ([#892](https://github.com/tefra/xsdata/issues/892) <https://github.com/tefra/xsdata/pull/892>_)
  • Added option to use substitution group names for compound field name ([#905](https://github.com/tefra/xsdata/issues/905) <https://github.com/tefra/xsdata/pull/905>_)
  • Updated base64 decoding to enable validation ([#875](https://github.com/tefra/xsdata/issues/875) <https://github.com/tefra/xsdata/pull/875>_)
  • Updated generator to render prohibited parent fields with restriction extensions ([#908](https://github.com/tefra/xsdata/issues/908) <https://github.com/tefra/xsdata/pull/908>_)
  • Updated generator so plugins can easily override templates

23.8 (2023-08-12)

  • Removed Python 3.7 support
  • Fixed PycodeSerializer not adding imports for nested classes
  • Fixed imports ordering
  • Added support for strict content wildcard processing ([#803](https://github.com/tefra/xsdata/issues/803) <https://github.com/tefra/xsdata/pull/803>_)

23.7 (2023-07-23)

  • Fixed decimal converter to avoid scientific notations ([#826](https://github.com/tefra/xsdata/issues/826) <https://github.com/tefra/xsdata/pull/826>_)
  • Fixed nympy paramater docstring format ([#827](https://github.com/tefra/xsdata/issues/827) <https://github.com/tefra/xsdata/pull/827>_)
  • Fixed optional/required override validation ([#820](https://github.com/tefra/xsdata/issues/820) <https://github.com/tefra/xsdata/pull/820>_)
  • Fixed WSDL mapper to respect the elements original location ([#832](https://github.com/tefra/xsdata/issues/832) <https://github.com/tefra/xsdata/pull/832>_)
  • Added Python 3.12 support

23.6 (2023-06-24)

  • Fixed conflicting enum values leading to wrong default values ([#806](https://github.com/tefra/xsdata/issues/806) <https://github.com/tefra/xsdata/pull/806>_)
  • Added support for custom decorators and base classes ([#793](https://github.com/tefra/xsdata/issues/793) <https://github.com/tefra/xsdata/pull/793>_)
  • Added parser config to load external dtd to resolve entities ([#797](https://github.com/tefra/xsdata/issues/797) <https://github.com/tefra/xsdata/pull/797>_)
  • Added requests sessions on the wsdl client transport ([#798](https://github.com/tefra/xsdata/issues/798) <https://github.com/tefra/xsdata/pull/798>_)
  • Added support subscriptable types and UnionType ([#801](https://github.com/tefra/xsdata/issues/801) <https://github.com/tefra/xsdata/pull/801>_)
  • Added option to restrict models package for auto-locator ([#809](https://github.com/tefra/xsdata/issues/809) <https://github.com/tefra/xsdata/pull/809>_)
  • Updated context to only cache supported classes ([#796](https://github.com/tefra/xsdata/issues/796) <https://github.com/tefra/xsdata/pull/796>_)
  • Removed tox requirement ([#800](https://github.com/tefra/xsdata/issues/800) <https://github.com/tefra/xsdata/pull/800>_)
  • Converted to pyproject.toml ([#802](https://github.com/tefra/xsdata/issues/802) <https://github.com/tefra/xsdata/pull/802>_)

... (truncated)

Commits
  • 2fa5c5e Preparing v24.1 (#910)
  • b48987e Merge pull request #909 from tefra/more-compat
  • 782cec4 Add class helper to return whether it includes forward refs
  • f36e4e1 Allow generators to override templates
  • a554aef Prohibit parent fields on restriction extensions (#908)
  • 5a4883d Use substitution groups for compound field names only when all elements are d...
  • fa05d61 XmlSerializer ingore empty non-nillable/required tokens (#902)
  • 3db78fb Fix compound field forward ref types with subscriptable types
  • 82ccdbb Add config option to use substitution names for compound fields when available
  • d835b27 Ignore type errors on class discovery
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (cecb17d) 98.83% compared to head (7aef45a) 98.83%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #364 +/- ## ======================================= Coverage 98.83% 98.83% ======================================= Files 113 113 Lines 16289 16289 ======================================= Hits 16099 16099 Misses 190 190 ``` | [Flag](https://app.codecov.io/gh/MatthiasValvekens/pyHanko/pull/364/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matthias+Valvekens) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/MatthiasValvekens/pyHanko/pull/364/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matthias+Valvekens) | `98.83% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matthias+Valvekens#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.