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

Update lxml requirement from <5.0,>=4.6.3 to >=4.6.3,<6.0 #1021

Merged
merged 1 commit into from
Jan 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2024

Updates the requirements on lxml to permit the latest version.

Changelog

Sourced from lxml's changelog.

5.0.0 (2023-12-29)

Features added

  • Character escaping in C14N2 serialisation now uses a single pass over the text instead of searching for each unescaped character separately.

  • Early support for Python 3.13a2 was added.

Bugs fixed

  • LP#1976304: The Element.addnext() method previously inserted the new element before existing tail text. The tail text of both sibling elements now stays on the respective elements.

  • LP#1980767, GH#379: TreeBuilder.close() could fail with a TypeError after parsing incorrect input. Original patch by Enrico Minack.

  • Element.itertext(with_tail=False) returned the tail text of comments and processing instructions, despite the explicit option.

  • GH#370: A crash with recent libxml2 2.11.x versions was resolved. Patch by Michael Schlenker.

  • A compile problem with recent libxml2 2.12.x versions was resolved.

  • The internal exception handling in C callbacks was improved for Cython 3.0.

  • The exception declarations of xmlInputReadCallback, xmlInputCloseCallback, xmlOutputWriteCallback and xmlOutputCloseCallback in tree.pxd were corrected to prevent running Python code or calling into the C-API with a live exception set.

  • GH#385: The long deprecated unittest.m̀akeSuite() function is no longer used. Patch by Miro Hrončok.

  • LP#1522052: A file-system specific test is now optional and should no longer fail on systems that don't support it.

  • GH#392: Some tests were adapted for libxml2 2.13. Patch by Nick Wellnhofer.

  • Contains all fixes from lxml 4.9.4.

Other changes

... (truncated)

Commits
  • 73fa115 Prepare release of lxml 5.0.0.
  • 6256584 Update changelog.
  • b38cebf Disable external entity resolution (XXE) by default (GH-391)
  • 2de6ecf tests: Set no_network=False in HTTP tests (GH-392)
  • 5024820 Minor code cleanup.
  • 9f58aa7 Do not let "Element.itertext()"" return tail text of PIs and comments if the ...
  • badcb49 Update changelog.
  • e82b1f5 CI: Build the coverage job with STATIC_DEPS=true to make it independent of th...
  • 8324137 Fix test in Py2.7.
  • ac82838 Fix the work around for a test failure in Python 3.11.
  • 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 <dependency name> 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)

Updates the requirements on [lxml](https://github.com/lxml/lxml) to permit the latest version.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](lxml/lxml@lxml-4.6.3...lxml-5.0.0)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file pip labels Jan 1, 2024
Copy link

sonarcloud bot commented Jan 1, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (fd4d52f) 45.51% compared to head (97b429d) 56.93%.

❗ Current head 97b429d differs from pull request most recent head 9ed403f. Consider uploading reports for the commit 9ed403f to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #1021       +/-   ##
============================================
+ Coverage    45.51%   56.93%   +11.42%     
============================================
  Files          196      129       -67     
  Lines         7191     1967     -5224     
  Branches       524      524               
============================================
- Hits          3273     1120     -2153     
+ Misses        3814      743     -3071     
  Partials       104      104               

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

@edwinmp edwinmp merged commit d482ec8 into develop Jan 1, 2024
7 checks passed
@edwinmp edwinmp deleted the dependabot/pip/lxml-gte-4.6.3-and-lt-6.0 branch January 1, 2024 05:27
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 pip
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants