Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 25, 2025

Updates the requirements on junitparser to permit the latest version.

Changelog

Sourced from junitparser's changelog.

[4.0.2] - 2025-06-23

Fixed

  • write_xml - now supports Path from pathlib.

[4.0.1] - 2025-06-23

Fixed

  • write_xml - Remove encoding kwarg to fix binary mode doesn't take an encoding argument

[4.0.0] - 2025-06-22

Breaking

  • Renamed argument filepath of methods write_xml, TestSuite.write, and JUnitXml.write to file_or_filename, as these methods now support file objects and file-like objects.

  • Turned positional argument pretty of methods write_xml, TestSuite.write, and JUnitXml.write into keyword argument. Use as write_xml(obj, filename, pretty=True) and obj.write(filename, pretty=True), respectively.

  • Removed argument to_console from methods write_xml, TestSuite.write, and JUnitXml.write. Instead, use write_xml(obj, sys.stdout) and obj.write(sys.stdout), respectively.

  • Renamed argument filepath of method JUnitXml.fromfile to file, to reflect that this method supports file objects, file-like objects, and urls.

  • Setter method TestCase.result used to ignore values of invalid types. This method now throws a ValueError instead.

  • Method xunit2.TestCase.add_rerun_result has been renamed to add_interim_result result to better reflect class hierarchy of interim (rerun and flaky) results.

  • Methods JUnitXml.fromfile, JUnitXml.fromstring, JUnitXml.fromroot always return a JUnitXml instance. Earlier versions return a TestSuite instance when the root of the file / string / element is a <TestSuite>. A JUnitXml instance has already been returned by earlier versions when the root of the file / string / element is a <TestSuites>.

    If you want to create a TestSuite instance from a <TestSuite> element, use

    TestSuite.fromelem(elem)

[3.1.2] - 2024-08-31

Fixed

  • the TestCase.result type annotation
  • xunit2.JUnitXml.fromroot type annotation

[3.1.2] - 2024-02-21

Fixed

  • Excluded TestCase and TestSuite from pytest discovery. Thanks to @​kurtsansom

Added

  • More type annotations.

[3.1.1] - 2023-12-26

Fixed

  • Sphinx documentation, thanks to @​cmarqu
  • type check by adding py.typed file.

Other

  • Tests converted to pytest

[3.1.0] - 2023-04-22

Added

... (truncated)

Commits

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 [junitparser](https://github.com/weiwei/junitparser) to permit the latest version.
- [Changelog](https://github.com/weiwei/junitparser/blob/master/CHANGELOG.md)
- [Commits](weiwei/junitparser@0.9...4.0.2)

---
updated-dependencies:
- dependency-name: junitparser
  dependency-version: 4.0.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Aug 25, 2025
@dependabot dependabot bot requested a review from jupe as a code owner August 25, 2025 00:09
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Aug 25, 2025
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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants