Skip to content

chore(deps): update python-nonmajor #311

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

Merged

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Apr 26, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
SQLAlchemy (changelog) ==2.0.29 -> ==2.0.30 age adoption passing confidence
cryptography (changelog) ==42.0.5 -> ==42.0.7 age adoption passing confidence
pg8000 ==1.31.1 -> ==1.31.2 age adoption passing confidence
pytest (changelog) ==8.1.1 -> ==8.2.0 age adoption passing confidence

Release Notes

pyca/cryptography (cryptography)

v42.0.7

Compare Source

v42.0.6

Compare Source

tlocke/pg8000 (pg8000)

v1.31.2

Compare Source

pytest-dev/pytest (pytest)

v8.2.0

Compare Source

pytest 8.2.0 (2024-04-27)

Deprecations

  • #​12069: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated py.path.local parameter instead of the pathlib.Path parameter which replaced it:

    • pytest_ignore_collect{.interpreted-text role="hook"} - the path parameter - use collection_path instead.
    • pytest_collect_file{.interpreted-text role="hook"} - the path parameter - use file_path instead.
    • pytest_pycollect_makemodule{.interpreted-text role="hook"} - the path parameter - use module_path instead.
    • pytest_report_header{.interpreted-text role="hook"} - the startdir parameter - use start_path instead.
    • pytest_report_collectionfinish{.interpreted-text role="hook"} - the startdir parameter - use start_path instead.

    The replacement parameters are available since pytest 7.0.0.
    The old parameters will be removed in pytest 9.0.0.

    See legacy-path-hooks-deprecated{.interpreted-text role="ref"} for more details.

Features

  • #​11871: Added support for reading command line arguments from a file using the prefix character @, like e.g.: pytest @​tests.txt. The file must have one argument per line.

    See Read arguments from file <args-from-file>{.interpreted-text role="ref"} for details.

Improvements

  • #​11523: pytest.importorskip{.interpreted-text role="func"} will now issue a warning if the module could be found, but raised ImportError{.interpreted-text role="class"} instead of ModuleNotFoundError{.interpreted-text role="class"}.

    The warning can be suppressed by passing exc_type=ImportError to pytest.importorskip{.interpreted-text role="func"}.

    See import-or-skip-import-error{.interpreted-text role="ref"} for details.

  • #​11728: For unittest-based tests, exceptions during class cleanup (as raised by functions registered with TestCase.addClassCleanup <unittest.TestCase.addClassCleanup>{.interpreted-text role="meth"}) are now reported instead of silently failing.

  • #​11777: Text is no longer truncated in the short test summary info section when -vv is given.

  • #​12112: Improved namespace packages detection when consider_namespace_packages{.interpreted-text role="confval"} is enabled, covering more situations (like editable installs).

  • #​9502: Added PYTEST_VERSION{.interpreted-text role="envvar"} environment variable which is defined at the start of the pytest session and undefined afterwards. It contains the value of pytest.__version__, and among other things can be used to easily check if code is running from within a pytest run.

Bug Fixes

  • #​12065: Fixed a regression in pytest 8.0.0 where test classes containing setup_method and tests using @staticmethod or @classmethod would crash with AttributeError: 'NoneType' object has no attribute 'setup_method'.

    Now the request.instance <pytest.FixtureRequest.instance>{.interpreted-text role="attr"} attribute of tests using @staticmethod and @classmethod is no longer None, but a fresh instance of the class, like in non-static methods.
    Previously it was None, and all fixtures of such tests would share a single self.

  • #​12135: Fixed issue where fixtures adding their finalizer multiple times to fixtures they request would cause unreliable and non-intuitive teardown ordering in some instances.

  • #​12194: Fixed a bug with --importmode=importlib and --doctest-modules where child modules did not appear as attributes in parent modules.

  • #​1489: Fixed some instances where teardown of higher-scoped fixtures was not happening in the reverse order they were initialized in.

Trivial/Internal Changes

  • #​12069: pluggy>=1.5.0 is now required.
  • #​12167: cache <cache>{.interpreted-text role="ref"}: create supporting files (CACHEDIR.TAG, .gitignore, etc.) in a temporary directory to provide atomic semantics.

v8.1.2

Compare Source

pytest 8.1.2 (2024-04-26)

Bug Fixes

  • #​12114: Fixed error in pytest.approx{.interpreted-text role="func"} when used with [numpy]{.title-ref} arrays and comparing with other types.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate-bot renovate-bot requested review from nancynh and a team as code owners April 26, 2024 20:38
@renovate-bot renovate-bot changed the title chore(deps): update dependency pytest to v8.1.2 chore(deps): update dependency pytest to v8.2.0 Apr 28, 2024
@renovate-bot renovate-bot force-pushed the renovate/python-nonmajor branch from e8c531a to c9e8dd7 Compare April 28, 2024 02:06
@renovate-bot renovate-bot force-pushed the renovate/python-nonmajor branch from c9e8dd7 to 4ec5c0e Compare April 28, 2024 20:00
@renovate-bot renovate-bot changed the title chore(deps): update dependency pytest to v8.2.0 chore(deps): update python-nonmajor Apr 28, 2024
@renovate-bot renovate-bot force-pushed the renovate/python-nonmajor branch from 4ec5c0e to 8b0f802 Compare May 2, 2024 20:56
@renovate-bot renovate-bot force-pushed the renovate/python-nonmajor branch from 8b0f802 to 9e70f55 Compare May 4, 2024 17:07
@renovate-bot renovate-bot force-pushed the renovate/python-nonmajor branch from 9e70f55 to 85582a9 Compare May 5, 2024 19:20
@renovate-bot renovate-bot force-pushed the renovate/python-nonmajor branch from 85582a9 to 5971b8f Compare May 6, 2024 20:13
@enocom enocom merged commit 08f7891 into GoogleCloudPlatform:main May 14, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants