composer icon indicating copy to clipboard operation
composer copied to clipboard

Bump junitparser from 3.1.2 to 4.0.2

Open dependabot[bot] opened this issue 4 months ago • 0 comments
trafficstars

Bumps junitparser from 3.1.2 to 4.0.2.

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)

Commits

Dependabot compatibility score

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)

dependabot[bot] avatar Jun 30 '25 00:06 dependabot[bot]