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 build group with 7 updates #603

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps the build group with 7 updates:

Package From To
attrs 22.1.0 23.1.0
pydantic 1.10.2 2.4.2
pytest-cov 4.0.0 4.1.0
pytest-asyncio 0.20.3 0.21.1
sqlalchemy 1.4.45 2.0.22
markdown-include 0.8.0 0.8.1
mkdocs-material 8.5.11 9.4.6

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.4.2

Release notes

Sourced from pydantic's releases.

v2.4.2 2023-09-27

What's Changed

Fixes

New Contributors

Full Changelog: https://github.com/pydantic/pydantic/compare/v2.4.1...v2.4.2/

v2.4.1 2023-09-26

What's Changed

Packaging

Fixes

Full Changelog: https://github.com/pydantic/pydantic/compare/v2.4.0...v2.4.1/

v2.4.0 2023-09-25

What's Changed

Packaging

New Features

Changes

... (truncated)

Changelog

Sourced from pydantic's changelog.

v2.4.2 (2023-09-27)

GitHub release

What's Changed

Fixes

New Contributors

v2.4.1 (2023-09-26)

GitHub release

What's Changed

Packaging

Fixes

v2.4.0 (2023-09-22)

GitHub release

What's Changed

Packaging

New Features

... (truncated)

Commits
  • d1634da Prepare relese 2.4.2 (#7671)
  • 0e33bd0 Update Pydantic V1 to 1.10.13 (#7675)
  • 154e679 docs: Mixing of V1/V2 models is not supported in generics (#7663)
  • 7193693 Added small note to use ValidationInfo over FieldValidationInfo. (#7670)
  • 1377c04 Fix xfailed test for generic model signatures (#7658)
  • ea9aa13 Fix models_json_schema for generic models (#7654)
  • 97c0199 Fix json schema generation for recursive models (#7653)
  • 861cfe3 Revert "Fix typo in docs for new private dunder pydantic method names (#7657)...
  • 24e9222 Fix typo in docs for new private dunder pydantic method names (#7657)
  • c04e8e2 Correct allowed formats for datetime.timedelta parsing in docs (#7652)
  • 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.22

Release notes

Sourced from sqlalchemy's releases.

2.0.22

Released: October 12, 2023

orm

  • [orm] [usecase] Added method _orm.Session.get_one() that behaves like _orm.Session.get() but raises an exception instead of returning None if no instance was found with the provided primary key. Pull request courtesy of Carlos Sousa.

    References: #10202

  • [orm] [usecase] Added an option to permanently close sessions. Set to False the new parameter _orm.Session.close_resets_only will prevent a _orm.Session from performing any other operation after _orm.Session.close() has been called.

    Added new method _orm.Session.reset() that will reset a _orm.Session to its initial state. This is an alias of _orm.Session.close(), unless _orm.Session.close_resets_only is set to False.

    References: #7787

  • [orm] [bug] Fixed a wide range of _orm.mapped_column() parameters that were not being transferred when using the _orm.mapped_column() object inside of a pep-593 Annotated object, including _orm.mapped_column.sort_order, _orm.mapped_column.deferred, _orm.mapped_column.autoincrement, _orm.mapped_column.system, _orm.mapped_column.info etc.

    Additionally, it remains not supported to have dataclass arguments, such as _orm.mapped_column.kw_only, _orm.mapped_column.default_factory etc. indicated within the _orm.mapped_column() received by Annotated, as this is not supported with pep-681 Dataclass Transforms. A warning is now emitted when these parameters are used within Annotated in this way (and they continue to be ignored).

    References: #10046, #10369

  • [orm] [bug] Fixed issue where calling _engine.Result.unique() with a new-style select() query in the ORM, where one or more columns yields values that are of "unknown hashability", typically when using JSON functions like func.json_build_object() without providing a type, would fail internally when the returned values were not actually hashable. The behavior is repaired to test the objects as they are received for

... (truncated)

Commits


Updates markdown-include from 0.8.0 to 0.8.1

Release notes

Sourced from markdown-include's releases.

v0.8.1

What's Changed

Full Changelog: https://github.com/cmacmackin/markdown-include/compare/v0.8.0...v0.8.1

Commits
  • 8da79f0 Merge pull request #43 from cmacmackin/fix-inherit-heading-depth
  • 5135d01 Use more explicit str.splitlines()
  • 7ae38cb Fix inheritHeadingDepth adding extra newlines
  • 4e08bb8 Remove sha-bang
  • 0ffd510 Expand gitignore
  • aa4a380 Simplify test resource directory path
  • See full diff in compare view


Updates mkdocs-material from 8.5.11 to 9.4.6

Release notes

Sourced from mkdocs-material's releases.

mkdocs-material-9.4.6

  • Updated Danish and Norwegian (Nynorsk) translations
  • Fixed #6169: Blog post metadata layout overflows on small screens

mkdocs-material-9.4.5

  • Fixed sidebar auto-positioning (9.4.2 regression)
  • Fixed #6166: Improve group plugin compatibility with Python < 3.10
  • Fixed #6157: Hiding tags does not work (9.4.3 regression)

mkdocs-material-9.4.4

  • Added support for overriding text to be copied for code blocks
  • Fixed broken layout in some browsers at breakpoints when using zoom
  • Fixed #6132: Incomplete search highlighting for code blocks in titles

mkdocs-material-9.4.3

  • Added support for instant navigation progress indicator
  • Improved spacing and alignment of tags
  • Moved back-to-top button into separate partial
  • Fixed #6104: Indentation for some code blocks lost in search
  • Fixed #6094: Blog post metadata overlaps with footer on small screens
  • Fixed #6069: Blog plugin crashes for categories with non-ASCII names

Updated templates (diff)

  • base.html

mkdocs-material-9.4.2

  • Updated Slovenian translations
  • Added animation to sidebar navigation expansion and collapse
  • Added support for auto-replacement of document head for instant navigation
  • Improved compatibility of new emoji extension with Python < 3.10
  • Switched regex dependency to use minimal version
  • Refactored alignment and spacing of sidebar navigation
  • Fixed expansion button not focusable via keyboard in sidebar navigation
  • Fixed viewport offset restoration on first load when using instant navigation
  • Fixed accidental highlight of non-clickable elements in blog plugin sidebar
  • Fixed #6041: Blog plugin crashes when nav is defined and blog not included
  • Fixed #5972: Blog plugin ignores section index pages in paginated views
  • Fixed #5954: Repeated click on anchor ignored when using instant navigation
  • Fixed #5742: Keyboard navigation broken when using instant navigation

Updated templates (diff)

  • partials/nav-item.html
  • blog-post.html

mkdocs-material-9.4.1

  • Improved colors and contrast in dark mode
  • Improved admonition borders to match font weight
  • Switched content tabs to neutral color

... (truncated)

Changelog

Sourced from mkdocs-material's changelog.

mkdocs-material-9.4.6+insiders-4.42.2 (2023-10-14)

  • Fixed #6186: Privacy plugin ignores hash fragments on images
  • Fixed #6180: Projects plugin crashing when adding or removing files

mkdocs-material-9.4.6 (2023-10-14)

  • Updated Danish and Norwegian (Nynorsk) translations
  • Fixed #6169: Blog post metadata layout overflows on small screens

mkdocs-material-9.4.5 (2023-10-10)

  • Fixed sidebar auto-positioning (9.4.2 regression)
  • Fixed #6166: Improve group plugin compatibility with Python < 3.10
  • Fixed #6157: Hiding tags does not work (9.4.3 regression)

mkdocs-material-9.4.4+insiders-4.42.1 (2023-10-05)

  • Fixed spacing of related links in blog posts on small screens

mkdocs-material-9.4.4 (2023-10-05)

  • Added support for overriding text to be copied for code blocks
  • Fixed broken layout in some browsers at breakpoints when using zoom
  • Fixed #6132: Incomplete search highlighting for code blocks in titles

mkdocs-material-9.4.3 (2023-10-02)

  • Added support for instant navigation progress indicator
  • Improved spacing and alignment of tags
  • Moved back-to-top button into separate partial
  • Fixed #6104: Indentation for some code blocks lost in search
  • Fixed #6094: Blog post metadata overlaps with footer on small screens
  • Fixed #6069: Blog plugin crashes for categories with non-ASCII names

Updated templates

  • base.html

mkdocs-material-9.4.2 (2023-09-25)

  • Updated Slovenian translations
  • Added animation to sidebar navigation expansion and collapse
  • Added support for auto-replacement of document head for instant navigation
  • Improved compatibility of new emoji extension with Python < 3.10
  • Switched regex dependency to use minimal version
  • Refactored alignment and spacing of sidebar navigation
  • Fixed expansion button not focusable via keyboard in sidebar navigation
  • Fixed viewport offset restoration on first load when using instant navigation
  • Fixed accidental highlight of non-clickable elements in blog plugin sidebar

... (truncated)

Upgrade guide

Sourced from mkdocs-material's upgrade guide.

How to upgrade

Upgrade to the latest version with:

pip install --upgrade --force-reinstall mkdocs-material

Show the currently installed version with:

pip show mkdocs-material

Upgrading from 8.x to 9.x

This major release includes a brand new search implementation that is faster and allows for rich previews, advanced tokenization and better highlighting. It was available as part of Insiders for over a year, and now that the funding goal was hit, makes its way into the community edition.

Changes to mkdocs.yml

content.code.copy

The copy-to-clipboard buttons are now opt-in and can be enabled or disabled per block. If you wish to enable them for all code blocks, add the following lines to mkdocs.yml:

theme:
  features:
    - content.code.copy

content.action.*

A "view source" button can be shown next to the "edit this page" button, both of which must now be explicitly enabled. Add the following lines to mkdocs.yml:

theme:
  features:
    - content.action.edit
    - content.action.view

navigation.footer

... (truncated)

Commits
  • 2742a70 Updated Insiders changelog
  • 1990b21 Prepare 9.4.6 release
  • 7fa5ea0 Updated Danish translations
  • 2800e7e Fixed blog post metadata layout on small screens
  • c516ddf Updated dependencies
  • e20cf0b Updated Norwegian (Nynorsk) translations
  • 39e1251 Install extras from local package for development environment setup (#6189)
  • c3683b2 Escaped snippet syntax in code block example (#6183)
  • 81a9437 Updated README
  • fe69add Prepare 9.4.5 release
  • Additional commits viewable in compare view


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 1 year ago

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