wyfo / apischema

JSON (de)serialization, GraphQL and JSON schema generation using Python typing.
https://wyfo.github.io/apischema/
MIT License
230 stars 18 forks source link

Bump the tests group in /tests with 6 updates #614

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 12 months ago

Bumps the tests group in /tests with 6 updates:

Package From To
attrs 22.1.0 23.1.0
pydantic 1.10.2 2.5.2
pytest 7.4.2 7.4.3
pytest-cov 4.0.0 4.1.0
pytest-asyncio 0.20.3 0.21.1
sqlalchemy 1.4.45 2.0.23

Updates attrs from 22.1.0 to 23.1.0

Release notes

Sourced from attrs's releases.

23.1.0

Highlights

A lot of features and smaller bug fixes! But also with a heavy heart, we're leaving the last dataclass-less Python version (3.6) behind, but don't worry: the old versions aren't going anywhere and thanks to the magic of package metadata, pip install attrs should still work on Python 3.6 as if nothing happened.

Special Thanks

This release would not be possible without my generous sponsors! Thank you to all of you making sustainable maintenance possible! If you would like to join them, go to https://github.com/sponsors/hynek and check out the sweet perks!

Above and Beyond

Variomedia AG (@​variomedia), Tidelift (@​tidelift), Sentry (@​getsentry), HiredScore (@​HiredScore), FilePreviews (@​filepreviews), and Daniel Fortunov (@​asqui).

Maintenance Sustainers

Adam Hill (@​adamghill), Dan Groshev (@​si14), Magnus Watn (@​magnuswatn), David Cramer (@​dcramer), Moving Content AG (@​moving-content), Stein Magnus Jodal (@​jodal), ProteinQure (@​ProteinQure), Jesse Snyder (@​jessesnyder), Rivo Laks (@​rivol), Tom Ballinger (@​thomasballinger), @​medecau, Ionel Cristian Mărieș (@​ionelmc), The Westervelt Company (@​westerveltco), Philippe Galvan (@​PhilippeGalvan), Birk Jernström (@​birkjernstrom), Tim Schilling (@​tim-schilling), Chris Withers (@​cjw296), Christopher Dignam (@​chdsbd), and Stefan Hagen (@​sthagen).

Not to forget 3 more amazing humans who chose to be generous but anonymous!

Full Changelog

Backwards-incompatible Changes

  • Python 3.6 has been dropped and packaging switched to static package data using Hatch. #993

Deprecations

  • The support for zope-interface via the attrs.validators.provides validator is now deprecated and will be removed in, or after, April 2024.

    The presence of a C-based package in our developement dependencies has caused headaches and we're not under the impression it's used a lot.

    Let us know if you're using it and we might publish it as a separate package. #1120

Changes

  • attrs.filters.exclude() and attrs.filters.include() now support the passing of attribute names as strings. #1068

  • attrs.has() and attrs.fields() now handle generic classes correctly. #1079

  • Fix frozen exception classes when raised within e.g. contextlib.contextmanager, which mutates their __traceback__ attributes. #1081

  • @frozen now works with type checkers that implement PEP-681 (ex. pyright). #1084

  • Restored ability to unpickle instances pickled before 22.2.0. #1085

  • attrs.asdict()'s and attrs.astuple()'s type stubs now accept the attrs.AttrsInstance protocol. #1090

... (truncated)

Changelog

Sourced from attrs's changelog.

23.1.0 - 2023-04-16

Backwards-incompatible Changes

  • Python 3.6 has been dropped and packaging switched to static package data using Hatch. #993

Deprecations

  • The support for zope-interface via the attrs.validators.provides validator is now deprecated and will be removed in, or after, April 2024.

    The presence of a C-based package in our developement dependencies has caused headaches and we're not under the impression it's used a lot.

    Let us know if you're using it and we might publish it as a separate package. #1120

Changes

  • attrs.filters.exclude() and attrs.filters.include() now support the passing of attribute names as strings. #1068

  • attrs.has() and attrs.fields() now handle generic classes correctly. #1079

  • Fix frozen exception classes when raised within e.g. contextlib.contextmanager, which mutates their __traceback__ attributes. #1081

  • @frozen now works with type checkers that implement PEP-681 (ex. pyright). #1084

  • Restored ability to unpickle instances pickled before 22.2.0. #1085

  • attrs.asdict()'s and attrs.astuple()'s type stubs now accept the attrs.AttrsInstance protocol. #1090

  • Fix slots class cellvar updating closure in CPython 3.8+ even when __code__ introspection is unavailable. #1092

  • attrs.resolve_types() can now pass include_extras to typing.get_type_hints() on Python 3.9+, and does so by default. #1099

  • Added instructions for pull request workflow to CONTRIBUTING.md. #1105

  • Added type parameter to attrs.field() function for use with attrs.make_class().

    Please note that type checkers ignore type metadata passed into make_class(), but it can be useful if you're wrapping attrs. #1107

  • It is now possible for attrs.evolve() (and attr.evolve()) to change fields named inst if the instance is passed as a positional argument.

    Passing the instance using the inst keyword argument is now deprecated and will be removed in, or after, April 2024. #1117

  • attrs.validators.optional() now also accepts a tuple of validators (in addition to lists of validators). #1122

... (truncated)

Commits


Updates pydantic from 1.10.2 to 2.5.2

Release notes

Sourced from pydantic's releases.

v2.5.2 2023-11-22

v2.5.2 (2023-11-22)

GitHub release

What's Changed

Packaging

  • uprev pydantic-core to 2.14.5

New Features

Fixes

https://github.com/pydantic/pydantic/compare/v2.5.1...v2.5.2/

v2.5.1 2023-11-15

v2.5.1 (2023-11-15)

GitHub release

What's Changed

Packaging

Fixes

Full Changelog: https://github.com/pydantic/pydantic/compare/v2.5.0...v2.5.1/

v2.5.0 2023-11-13

v2.5.0 (2023-11-13)

GitHub release

The code released in v2.5.0 is functionally identical to that of v2.5.0b1.

What's Changed

... (truncated)

Changelog

Sourced from pydantic's changelog.

v2.5.2 (2023-11-122)

GitHub release

What's Changed

Packaging

  • uprev pydantic-core to 2.14.5

New Features

Fixes

v2.5.1 (2023-11-15)

GitHub release

What's Changed

Packaging

Fixes

v2.5.0 (2023-11-13)

GitHub release

The code released in v2.5.0 is functionally identical to that of v2.5.0b1.

What's Changed

Packaging

  • Update pydantic-core from 2.10.1 to 2.14.1, significant changes from these updates are described below, full changelog here
  • Update to pyright==1.1.335 by @​Viicos in #8075

New Features

... (truncated)

Commits


Updates pytest from 7.4.2 to 7.4.3

Release notes

Sourced from pytest's releases.

pytest 7.4.3 (2023-10-24)

Bug Fixes

  • #10447: Markers are now considered in the reverse mro order to ensure base class markers are considered first -- this resolves a regression.

  • #11239: Fixed := in asserts impacting unrelated test cases.

  • #11439: Handled an edge case where :data:sys.stderr might already be closed when :ref:faulthandler is tearing down.

Commits
  • 2390610 Tweak changelog.rst
  • a0714aa Prepare release version 7.4.3
  • 44ad1c9 [7.4.x] fix #10447 - consider marks in reverse mro order to give base classes...
  • 5dc7725 [7.4.x] Ensure logging tests always cleanup after themselves (#11541)
  • a517827 [7.4.x] Configure ReadTheDocs to fail on warnings (#11540)
  • 21fe071 [7.4.x] fix for ValueError raised in faulthandler teardown code (#11455)
  • f8bb857 Force terminal width when running tests (#11425) (#11432)
  • 1944dc0 [7.4.x] Fix --import-mode=importlib when root contains __init__.py file (#1...
  • 946634c Merge pull request #11419 from nicoddemus/backport-11414-to-7.4.x
  • d849a3e [7.4.x] fix: closes #11343's [attr-defined] type errors (#11421)
  • Additional commits viewable in compare view


Updates pytest-cov from 4.0.0 to 4.1.0

Changelog

Sourced from pytest-cov's changelog.

4.1.0 (2023-05-24)

  • Updated CI with new Pythons and dependencies.
  • Removed rsyncdir support. This makes pytest-cov compatible with xdist 3.0. Contributed by Sorin Sbarnea in [#558](https://github.com/pytest-dev/pytest-cov/issues/558) <https://github.com/pytest-dev/pytest-cov/pull/558>_.
  • Optimized summary generation to not be performed if no reporting is active (for example, when --cov-report='' is used without --cov-fail-under). Contributed by Jonathan Stewmon in [#589](https://github.com/pytest-dev/pytest-cov/issues/589) <https://github.com/pytest-dev/pytest-cov/pull/589>_.
  • Added support for JSON reporting. Contributed by Matthew Gamble in [#582](https://github.com/pytest-dev/pytest-cov/issues/582) <https://github.com/pytest-dev/pytest-cov/pull/582>_.
  • Refactored code to use f-strings. Contributed by Mark Mayo in [#572](https://github.com/pytest-dev/pytest-cov/issues/572) <https://github.com/pytest-dev/pytest-cov/pull/572>_.
  • Fixed a skip in the test suite for some old xdist. Contributed by a bunch of people in [#565](https://github.com/pytest-dev/pytest-cov/issues/565) <https://github.com/pytest-dev/pytest-cov/pull/565>_.
Commits
  • 2c9f217 Bump version: 4.0.0 → 4.1.0
  • 4d245df Update changelog and authors.
  • 7b095c8 Skip starting from xdist 3.0.2 (where boxed was removed).
  • 605d690 disabling boxed test if version xdist newer than 2.5.0
  • 76fb2a6 introduced f-strings
  • 0d63ede Update test config. Reapply some of the changes from PR567 to the right file ...
  • f3d8d83 Add support for JSON reporter
  • dec02ab Update test deps.
  • 88a7d34 chore: update AUTHORS and CHANGELOG
  • 74eb4cc perf: only call summary when the report will be used
  • Additional commits viewable in compare view


Updates pytest-asyncio from 0.20.3 to 0.21.1

Release notes

Sourced from pytest-asyncio's releases.

pytest-asyncio 0.21.1

0.21.1 (2023-07-12)

  • Output a proper error message when an invalid asyncio_mode is selected.
  • Extend warning message about unclosed event loops with additional possible cause. #531
  • Previously, some tests reported "skipped" or "xfailed" as a result. Now all tests report a "success" result.

pytest-asyncio 0.21.0

0.21.0 (23-03-19)

  • Drop compatibility with pytest 6.1. Pytest-asyncio now depends on pytest 7.0 or newer.
  • pytest-asyncio cleans up any stale event loops when setting up and tearing down the event_loop fixture. This behavior has been deprecated and pytest-asyncio emits a DeprecationWarning when tearing down the event_loop fixture and current event loop has not been closed.
Commits
  • a10cbde [docs] Fixed typo.
  • 82b010d [docs] Add release date of v0.21.1 to changelog.
  • af08b1c [test] Removed obsolete test "test_async_close_loop".
  • 79b2d1a [test] Added a test case which verifies compatibility with pytest.skip in aut...
  • 39a9754 [test] The test that asserts compatibility with pytest.mark.skip reports succ...
  • a26b6dd [test] Added a test case which verifies compatibility with pytest.mark.xfail ...
  • 7fa36f2 [test] The test that asserts compatibility with pytest.mark.xfail reports suc...
  • df88119 [docs] Improved readbility of headings on the fixtures reference in the docs.
  • 75a1a6c [feat] Extend warning message about unclosed event loops with additional poss...
  • 1821542 [docs] Explain that scopes of event_loop fixtures should not overlap.
  • Additional commits viewable in compare view


Updates sqlalchemy from 1.4.45 to 2.0.23

Release notes

Sourced from sqlalchemy's releases.

2.0.23

Released: November 2, 2023

orm

  • [orm] [usecase] Implemented the _orm.Session.bulk_insert_mappings.render_nulls parameter for new style bulk ORM inserts, allowing render_nulls=True as an execution option. This allows for bulk ORM inserts with a mixture of None values in the parameter dictionaries to use a single batch of rows for a given set of dicationary keys, rather than breaking up into batches that omit the NULL columns from each INSERT.

    References: #10575

  • [orm] [bug] Fixed issue where the __allow_unmapped__ directive failed to allow for legacy Column / deferred() mappings that nonetheless had annotations such as Any or a specific type without Mapped[] as their type, without errors related to locating the attribute name.

    References: #10516

  • [orm] [bug] Fixed caching bug where using the _orm.with_expression() construct in conjunction with loader options _orm.selectinload(), _orm.lazyload() would fail to substitute bound parameter values correctly on subsequent caching runs.

    References: #10570

  • [orm] [bug] Fixed bug in ORM annotated declarative where using a ClassVar that nonetheless referred in some way to an ORM mapped class name would fail to be interpreted as a ClassVar that's not mapped.

    References: #10472

sql

  • [sql] [usecase] Implemented "literal value processing" for the Interval datatype for both the PostgreSQL and Oracle dialects, allowing literal rendering of interval values. Pull request courtesy Indivar Mishra.

    References: #9737

  • [sql] [bug] Fixed issue where using the same bound parameter more than once with literal_execute=True in some combinations with other literal rendering parameters would cause the wrong values to render due to an iteration issue.

... (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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
dependabot[bot] commented 11 months ago

Looks like these dependencies are updatable in another way, so this is no longer needed.