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

pip: bump pytest from 7.4.4 to 8.0.0 #309

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps pytest from 7.4.4 to 8.0.0.

Release notes

Sourced from pytest's releases.

pytest 8.0.0 (2024-01-27)

See 8.0.0rc1 and 8.0.0rc2 for the full changes since pytest 7.4!

Bug Fixes

  • #11842: Properly escape the reason of a skip <pytest.mark.skip ref>{.interpreted-text role="ref"} mark when writing JUnit XML files.
  • #11861: Avoid microsecond exceeds 1_000_000 when using log-date-format with %f specifier, which might cause the test suite to crash.

8.0.0rc2

pytest 8.0.0rc2 (2024-01-17)

Improvements

  • #11233: Improvements to -r for xfailures and xpasses:
    • Report tracebacks for xfailures when -rx is set.
    • Report captured output for xpasses when -rX is set.
    • For xpasses, add - in summary between test name and reason, to match how xfail is displayed.
  • #11825: The pytest_plugin_registered{.interpreted-text role="hook"} hook has a new plugin_name parameter containing the name by which plugin is registered.

Bug Fixes

  • #11706: Fix reporting of teardown errors in higher-scoped fixtures when using [--maxfail]{.title-ref} or [--stepwise]{.title-ref}.

  • #11758: Fixed IndexError: string index out of range crash in if highlighted[-1] == "\n" and source[-1] != "\n". This bug was introduced in pytest 8.0.0rc1.

  • #9765, #11816: Fixed a frustrating bug that afflicted some users with the only error being assert mod not in mods. The issue was caused by the fact that str(Path(mod)) and mod.__file__ don't necessarily produce the same string, and was being erroneously used interchangably in some places in the code.

    This fix also broke the internal API of PytestPluginManager.consider_conftest by introducing a new parameter -- we mention this in case it is being used by external code, even if marked as private.

pytest 8.0.0rc1 (2023-12-30)

See https://docs.pytest.org/en/latest/changelog.html#pytest-8-0-0rc1-2023-12-30 for the rendered changelog.

Breaking Changes

Old Deprecations Are Now Errors

  • #7363: PytestRemovedIn8Warning deprecation warnings are now errors by default.

    Following our plan to remove deprecated features with as little disruption as possible, all warnings of type PytestRemovedIn8Warning now generate errors instead of warning messages by default.

    The affected features will be effectively removed in pytest 8.1, so please consult the deprecations{.interpreted-text role="ref"} section in the docs for directions on how to update existing code.

    In the pytest 8.0.X series, it is possible to change the errors back into warnings as a stopgap measure by adding this to your pytest.ini file:

    [pytest]

... (truncated)

Commits
  • 478f823 Prepare release version 8.0.0
  • 6085900 [8.0.x] fix: avoid rounding microsecond to 1_000_000 (#11863)
  • 3b41c65 [8.0.x] Escape skip reason in junitxml (#11845)
  • 747072a [8.0.x] Update docstring of scripts/generate-gh-release-notes.py (#11768)
  • 011a475 Properly attach packages to the GH release notes (#11839) (#11840)
  • 97960bd Merge pull request #11835 from pytest-dev/release-8.0.0rc2
  • 6be0a3c Prepare release version 8.0.0rc2
  • 44ffe07 Merge pull request #11837 from pytest-dev/backport-11836-to-8.0.x
  • 14ecb04 [8.0.x] testing: temporarily disable test due to hypothesis issue
  • 41c8dab Merge pull request #11831 from bluetech/backport-11825-to-8.0.x
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.4 to 8.0.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@7.4.4...8.0.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added language:python Pull requests that update Python code type:dependabot Created by dependabot type:dependencies Pull requests that update a dependency file labels Jan 31, 2024
@github-actions github-actions bot removed the language:python Pull requests that update Python code label Jan 31, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4cad90f) 36.10% compared to head (f76d7e8) 36.10%.

❗ Current head f76d7e8 differs from pull request most recent head eb0d6df. Consider uploading reports for the commit eb0d6df to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #309   +/-   ##
=======================================
  Coverage   36.10%   36.10%           
=======================================
  Files          31       31           
  Lines        6226     6226           
  Branches      447      447           
=======================================
  Hits         2248     2248           
  Misses       3976     3976           
  Partials        2        2           
Flag Coverage Δ
Linux 27.39% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@makubacki makubacki merged commit cc03025 into main Jan 31, 2024
14 checks passed
@makubacki makubacki deleted the dependabot/pip/pytest-8.0.0 branch January 31, 2024 19:15
ProjectMuBot referenced this pull request in microsoft/mu_tiano_platforms Feb 7, 2024
Introduces 20 new commits in [Features/CONFIG](https://github.com/microsoft/mu_feature_config.git).

<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/bd10bc48266353538370f92cac605d1c35b1b395">bd10bc</a> pip: bump edk2-pytool-extensions from 0.26.2 to 0.26.3 (<a href="https://github.com/microsoft/mu_feature_config/pull/287">#287</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/aa1c06bfa33e899330eaac204dbd41234b4b3546">aa1c06</a> pip: bump edk2-pytool-library from 0.19.7 to 0.19.8 (<a href="https://github.com/microsoft/mu_feature_config/pull/288">#288</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/b220e718d0e2b8825208fec91e2d10e4f07f5267">b220e7</a> Repo File Sync: Update GitHub actions in CodeQL workflow (<a href="https://github.com/microsoft/mu_feature_config/pull/292">#292</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/8bda1c255a77520432d37f70e3f4bb49860ab098">8bda1c</a> pip: bump xmlschema from 2.5.0 to 2.5.1 (<a href="https://github.com/microsoft/mu_feature_config/pull/293">#293</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/55beba675ee6d0bf0390703e2cda7309ce2f8154">55beba</a> pip: bump edk2-pytool-extensions from 0.26.3 to 0.26.4 (<a href="https://github.com/microsoft/mu_feature_config/pull/294">#294</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/02367f1eba365565cc284a287f7c4ac0851b2363">02367f</a> SetupDataPkg: apply cpp uncrustify changes (<a href="https://github.com/microsoft/mu_feature_config/pull/291">#291</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/8520de742235bfbe8325c5810a0e71993fc6925d">8520de</a> pip: bump regex from 2023.10.3 to 2023.12.25 (<a href="https://github.com/microsoft/mu_feature_config/pull/295">#295</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/4e72b3d1909c28c522620d79e784bfc64c2c5008">4e72b3</a> pip: bump pytest from 7.4.3 to 7.4.4 (<a href="https://github.com/microsoft/mu_feature_config/pull/296">#296</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/4c9b37b80917dd42d75ab8b043a6ec90f731febe">4c9b37</a> pip: bump xmlschema from 2.5.1 to 3.0.1 (<a href="https://github.com/microsoft/mu_feature_config/pull/297">#297</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/e34661ba6f0b970545fccb7040926498a2d4fde4">e34661</a> pip: bump flake8 from 6.1.0 to 7.0.0 (<a href="https://github.com/microsoft/mu_feature_config/pull/298">#298</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/27a061f2b66e22bf92356919d5f0d0f4679462d3">27a061</a> .git-blame-ignore-revs: Ignore Line Ending and Uncrustify only commits (<a href="https://github.com/microsoft/mu_feature_config/pull/299">#299</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/4f71598a50e78aeaa39e2bc9b6323ca98e33ba52">4f7159</a> pip: bump edk2-pytool-library from 0.19.8 to 0.19.9 (<a href="https://github.com/microsoft/mu_feature_config/pull/300">#300</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/d120a65db1c0711c35cac3b9c8bffc47bf0f3deb">d120a6</a> GitHub Action: Bump actions/cache from 3 to 4 (<a href="https://github.com/microsoft/mu_feature_config/pull/301">#301</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/908e2014da7905888824db15f404176e203b49bf">908e20</a> Repo File Sync: Support CodeQL Plugin in BaseTools (<a href="https://github.com/microsoft/mu_feature_config/pull/302">#302</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/f62fb4eb4b2b1a1ff850d5735d5d52a4b6f5d4c6">f62fb4</a> Update pip-requirements.txt (<a href="https://github.com/microsoft/mu_feature_config/pull/307">#307</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/4cad90f1365d4e26cd463427b93025791e0a9d29">4cad90</a> Repo File Sync: synced file(s) with microsoft/mu_devops (<a href="https://github.com/microsoft/mu_feature_config/pull/303">#303</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/647df57b51ab4cfb6b008c5d0d410c6dc0145ad4">647df5</a> GitHub Action: Bump robinraju/release-downloader from 1.8 to 1.9 (<a href="https://github.com/microsoft/mu_feature_config/pull/308">#308</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/6767d41eae3cd828df884206112b67eb66d3778f">6767d4</a> Repo File Sync: synced file(s) with microsoft/mu_devops (<a href="https://github.com/microsoft/mu_feature_config/pull/310">#310</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/cc030257266777f304e61f511083903b009a326f">cc0302</a> pip: bump pytest from 7.4.4 to 8.0.0 (<a href="https://github.com/microsoft/mu_feature_config/pull/309">#309</a>)</li>
<li><a href="https://github.com/microsoft/mu_feature_config/commit/c723eeb9ccb233a743b5b1c4023099fee25fe38b">c723ee</a> pip: bump pyopenssl from 23.3.0 to 24.0.0 (<a href="https://github.com/microsoft/mu_feature_config/pull/304">#304</a>)</li>
</ul>
</details>

Signed-off-by: Project Mu Bot <mubot@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:dependabot Created by dependabot type:dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants