Skip to content

Update junitparser requirement from <2.0.0 to <5.0.0 #135

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 23, 2025

Updates the requirements on junitparser to permit the latest version.

Changelog

Sourced from junitparser's changelog.

[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

  • Support for different schemas.
  • xunit2 flavor support
  • Type hints

[3.0.0] - 2023-04-20

Breaking

Python 2 is no longer supported. Version 2.x will keep supporting py2 and it will be maintained as long as possible, though no new features will be added.

[2.8.0] - 2022-08-19

... (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.0)

---
updated-dependencies:
- dependency-name: junitparser
  dependency-version: 4.0.0
  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 Jun 23, 2025
@dependabot dependabot bot requested a review from jupe as a code owner June 23, 2025 00:04
@dependabot dependabot bot added the python Pull requests that update python code label Jun 23, 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