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

Bump pytest from 5.4.3 to 6.0.1 #366

Merged
merged 2 commits into from
Aug 26, 2020
Merged

Bump pytest from 5.4.3 to 6.0.1 #366

merged 2 commits into from
Aug 26, 2020

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2020

Bumps pytest from 5.4.3 to 6.0.1.

Release notes

Sourced from pytest's releases.

6.0.1

pytest 6.0.1 (2020-07-30)

Bug Fixes

  • #7394: Passing an empty help value to Parser.add_option is now accepted instead of crashing when running pytest --help. Passing None raises a more informative TypeError.
  • #7558: Fix pylint not-callable lint on pytest.mark.parametrize() and the other builtin marks: skip, skipif, xfail, usefixtures, filterwarnings.
  • #7559: Fix regression in plugins using TestReport.longreprtext (such as pytest-html) when TestReport.longrepr is not a string.
  • #7569: Fix logging capture handler's level not reset on teardown after a call to caplog.set_level().

6.0.0

pytest 6.0.0 (2020-07-28)

(Please see the full set of changes for this release also in the 6.0.0rc1 notes below)

Breaking Changes

  • #5584: PytestDeprecationWarning are now errors by default.

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

    The affected features will be effectively removed in pytest 6.1, so please consult the Deprecations and Removals section in the docs for directions on how to update existing code.

    In the pytest 6.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]
    filterwarnings =
        ignore::pytest.PytestDeprecationWarning
    

    But this will stop working when pytest 6.1 is released.

    If you have concerns about the removal of a specific feature, please add a comment to #5584.

  • #7472: The exec_() and is_true() methods of _pytest._code.Frame have been removed.

Features

Commits
  • 92af2e2 Prepare release version 6.0.1
  • 0307213 Merge pull request #7582 from bluetech/backport-7581
  • df7b267 Merge pull request #7581 from bluetech/logging-setlevel-handler-restore
  • 1516780 Merge pull request #7578 from nicoddemus/backport-7555
  • b945b39 Merge pull request #7577 from nicoddemus/backport-7427
  • 2d5b8a8 Warn about --basetemp removing the entire directory (#7555)
  • 8963644 Fix --help crash on add_ini(.., help='') and improve message on help=None (#7...
  • e876157 Merge pull request #7574 from nicoddemus/backport-7561
  • 3d2c114 Merge pull request #7573 from nicoddemus/backport-7571
  • fe25284 Merge pull request #7561 from nicoddemus/longreprtext-7559
  • Additional commits viewable in compare view

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 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 dependabot bot requested review from a team as code owners August 1, 2020 05:04
@dependabot dependabot bot requested review from bdice and klywang and removed request for a team August 1, 2020 05:04
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 1, 2020
@dependabot dependabot bot requested a review from a team August 1, 2020 05:04
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-6.0.1 branch 2 times, most recently from 61607d5 to 5f325aa Compare August 2, 2020 22:53
Copy link
Member

@tcmoore3 tcmoore3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests fail. Need to investigate.

@b-butler
Copy link
Member

@glotzerlab/signac-developers Does anyone have bandwidth to see why tests fail, and comment on how to address the issue (whether to keep the earlier version, change function usage, etc.)?

@vishav1771
Copy link
Contributor

I looked into it and found that this due to pytest-subtests==0.3.1 does not provide support for pytest>6.0.0. The simple solution to this is upgrading pytest-subtests==0.3.2 ( see here ).

@vyasr
Copy link
Contributor

vyasr commented Aug 19, 2020

For context, this is the same issue we handled in flow in glotzerlab/signac-flow#330.

@bdice bdice force-pushed the dependabot/pip/pytest-6.0.1 branch from 5f325aa to 4639c62 Compare August 26, 2020 13:22
@codecov
Copy link

codecov bot commented Aug 26, 2020

Codecov Report

Merging #366 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #366   +/-   ##
=======================================
  Coverage   76.46%   76.46%           
=======================================
  Files          45       45           
  Lines        7133     7133           
=======================================
  Hits         5454     5454           
  Misses       1679     1679           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 772c7b7...4639c62. Read the comment docs.

Copy link
Member

@bdice bdice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests pass with pytest-subtests==0.3.2. Merging.

@bdice bdice merged commit a3c907b into master Aug 26, 2020
@bdice bdice deleted the dependabot/pip/pytest-6.0.1 branch August 26, 2020 14:22
@bdice bdice mentioned this pull request Aug 26, 2020
12 tasks
@bdice bdice self-assigned this Aug 26, 2020
@bdice bdice modified the milestone: v1.5.0 Aug 26, 2020
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants