Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Commit 8664d81

Browse files
chore(deps): update dev (#686)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [coverage](https://togithub.com/nedbat/coveragepy) | `==7.1.0` -> `==7.2.1` | [![age](https://badges.renovateapi.com/packages/pypi/coverage/7.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/coverage/7.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/coverage/7.2.1/compatibility-slim/7.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/coverage/7.2.1/confidence-slim/7.1.0)](https://docs.renovatebot.com/merge-confidence/) | | [mkdocs-material](https://togithub.com/squidfunk/mkdocs-material) | `==9.0.9` -> `==9.1.2` | [![age](https://badges.renovateapi.com/packages/pypi/mkdocs-material/9.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/mkdocs-material/9.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/mkdocs-material/9.1.2/compatibility-slim/9.0.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/mkdocs-material/9.1.2/confidence-slim/9.0.9)](https://docs.renovatebot.com/merge-confidence/) | | [pyright](https://togithub.com/RobertCraigie/pyright-python) | `==1.1.291` -> `==1.1.298` | [![age](https://badges.renovateapi.com/packages/pypi/pyright/1.1.298/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/pyright/1.1.298/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/pyright/1.1.298/compatibility-slim/1.1.291)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/pyright/1.1.298/confidence-slim/1.1.291)](https://docs.renovatebot.com/merge-confidence/) | | [pytest](https://docs.pytest.org/en/latest/) ([source](https://togithub.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `==7.2.1` -> `==7.2.2` | [![age](https://badges.renovateapi.com/packages/pypi/pytest/7.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/pytest/7.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/pytest/7.2.2/compatibility-slim/7.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/pytest/7.2.2/confidence-slim/7.2.1)](https://docs.renovatebot.com/merge-confidence/) | | [slotscheck](https://togithub.com/ariebovenberg/slotscheck) | `==0.16.4` -> `==0.16.5` | [![age](https://badges.renovateapi.com/packages/pypi/slotscheck/0.16.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/slotscheck/0.16.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/slotscheck/0.16.5/compatibility-slim/0.16.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/slotscheck/0.16.5/confidence-slim/0.16.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nedbat/coveragepy</summary> ### [`v7.2.1`](https://togithub.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-721--2023-02-26) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/7.2.0...7.2.1) - Fix: the PyPI page had broken links to documentation pages, but no longer does, closing `issue 1566`\_. - Fix: public members of the coverage module are now properly indicated so that mypy will find them, fixing `issue 1564`\_. .. \_issue 1564:[https://github.com/nedbat/coveragepy/issues/1564](https://togithub.com/nedbat/coveragepy/issues/1564)4 .. \_issue 1566[https://github.com/nedbat/coveragepy/issues/1566](https://togithub.com/nedbat/coveragepy/issues/1566)66 .. \_changes\_7-2-0: ### [`v7.2.0`](https://togithub.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-720--2023-02-22) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/7.1.0...7.2.0) - Added a new setting `[report] exclude_also` to let you add more exclusions without overwriting the defaults. Thanks, `Alpha Chen <pull 1557_>`*, closing `issue 1391`*. - Added a :meth:`.CoverageData.purge_files` method to remove recorded data for a particular file. Contributed by `Stephan Deibel <pull 1547_>`\_. - Fix: when reporting commands fail, they will no longer congratulate themselves with messages like "Wrote XML report to file.xml" before spewing a traceback about their failure. - Fix: arguments in the public API that name file paths now accept pathlib.Path objects. This includes the `data_file` and `config_file` arguments to the Coverage constructor and the `basename` argument to CoverageData. Closes `issue 1552`\_. - Fix: In some embedded environments, an IndexError could occur on stop() when the originating thread exits before completion. This is now fixed, thanks to `Russell Keith-Magee <pull 1543_>`*, closing `issue 1542`*. - Added a `py.typed` file to announce our type-hintedness. Thanks, `KotlinIsland <pull 1550_>`\_. .. \_issue 1391:[https://github.com/nedbat/coveragepy/issues/1391](https://togithub.com/nedbat/coveragepy/issues/1391)1 .. \_issue 1542[https://github.com/nedbat/coveragepy/issues/1542](https://togithub.com/nedbat/coveragepy/issues/1542)42 .. \_pull 154[https://github.com/nedbat/coveragepy/pull/1543](https://togithub.com/nedbat/coveragepy/pull/1543)543 .. \_pull 15[https://github.com/nedbat/coveragepy/pull/1547](https://togithub.com/nedbat/coveragepy/pull/1547)1547 .. \_pull 1[https://github.com/nedbat/coveragepy/pull/1550](https://togithub.com/nedbat/coveragepy/pull/1550)/1550 .. \_issue [https://github.com/nedbat/coveragepy/issues/1552](https://togithub.com/nedbat/coveragepy/issues/1552)s/1552 .. \_pull[https://github.com/nedbat/coveragepy/pull/1557](https://togithub.com/nedbat/coveragepy/pull/1557)ll/1557 .. \_changes\_7-1-0: </details> <details> <summary>squidfunk/mkdocs-material</summary> ### [`v9.1.2`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.1.2): mkdocs-material-9.1.2 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.1.1...9.1.2) - Updated Icelandic, Korean and Swedish translations - Fixed [#&#8203;5168](https://togithub.com/squidfunk/mkdocs-material/issues/5168): Mermaid text boxes overflow (9.0.13 regression) - Fixed [#&#8203;5155](https://togithub.com/squidfunk/mkdocs-material/issues/5155): table of contents not highlighting percent-encoded URLs ### [`v9.1.1`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.1.1): mkdocs-material-9.1.1 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.1.0...9.1.1) - Updated Czech and Thai translations - Improved instant loading (scroll restoration, slow connections) - Fixed [#&#8203;5023](https://togithub.com/squidfunk/mkdocs-material/issues/5023): Instant loading not allowing to go back to initial page - Fixed [#&#8203;3797](https://togithub.com/squidfunk/mkdocs-material/issues/3797): Instant loading does not work with section anchors in Safari ### [`v9.1.0`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.1.0): mkdocs-material-9.1.0 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.0.15...9.1.0) - Docker image now available for `amd64`, `arm64` and `arm/v7` - Updated Chinese (Taiwanese) translations - Generalized tag identifier implementation - Fixed flickering of header shadow on load - Fixed occasional flickering of announcement bar ### [`v9.0.15`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.0.15): mkdocs-material-9.0.15 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.0.14...9.0.15) - Updated Chinese (Traditional) translations - Updated Hebrew translations ### [`v9.0.14`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.0.14): mkdocs-material-9.0.14 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.0.13...9.0.14) - Fixed [#&#8203;5072](https://togithub.com/squidfunk/mkdocs-material/issues/5072): Rendering bug on navigation expand button in Firefox ### [`v9.0.13`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.0.13): mkdocs-material-9.0.13 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.0.12...9.0.13) - Updated Uzbek translations - Switched back to pre-9.0.0 headline detection in `content` partial - Fixed [#&#8203;5062](https://togithub.com/squidfunk/mkdocs-material/issues/5062): Version warning not readable when using slate scheme - Fixed [#&#8203;5061](https://togithub.com/squidfunk/mkdocs-material/issues/5061): Improved discernibility of table row hover color - Fixed [#&#8203;5034](https://togithub.com/squidfunk/mkdocs-material/issues/5034): Sequence actors in Mermaid diagrams not color-abiding - Fixed [#&#8203;4919](https://togithub.com/squidfunk/mkdocs-material/issues/4919): Allow to hide version warning in multiple versions ### [`v9.0.12`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.0.12): mkdocs-material-9.0.12 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.0.11...9.0.12) - Updated Catalan translations - Fixed [#&#8203;4975](https://togithub.com/squidfunk/mkdocs-material/issues/4975): Mermaid entity relationship rendering diagrams bug - Fixed [#&#8203;4924](https://togithub.com/squidfunk/mkdocs-material/issues/4924): Header title not reset when using instant loading ### [`v9.0.11`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.0.11): mkdocs-material-9.0.11 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.0.10...9.0.11) - Added Mastodon verification for social links (`rel=me`) - Updated Italian translations ### [`v9.0.10`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.0.10): mkdocs-material-9.0.10 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.0.9...9.0.10) - Updated Arabic translations - Updated Korean translations - Updated Hungarian translations - Updated Russian translations - Fixed [#&#8203;4977](https://togithub.com/squidfunk/mkdocs-material/issues/4977): Improved accessibility for content tabs - Fixed [#&#8203;4960](https://togithub.com/squidfunk/mkdocs-material/issues/4960): Sometimes anchor following doesn't bring last item into view </details> <details> <summary>RobertCraigie/pyright-python</summary> ### [`v1.1.298`](https://togithub.com/RobertCraigie/pyright-python/compare/v1.1.297...v1.1.298) [Compare Source](https://togithub.com/RobertCraigie/pyright-python/compare/v1.1.297...v1.1.298) ### [`v1.1.297`](https://togithub.com/RobertCraigie/pyright-python/compare/v1.1.296...v1.1.297) [Compare Source](https://togithub.com/RobertCraigie/pyright-python/compare/v1.1.296...v1.1.297) ### [`v1.1.296`](https://togithub.com/RobertCraigie/pyright-python/releases/tag/v1.1.296) [Compare Source](https://togithub.com/RobertCraigie/pyright-python/compare/v1.1.295...v1.1.296) This release adds support for offline usage after the first initial run to cache the installed package. This release also changes how the root cache directory is resolved, it now follows this pattern: - Checks the `PYRIGHT_PYTHON_CACHE_DIR` environment variable - Checks the `XDG_CACHE_HOME` environment variable - Then if neither of the above are set, it defaults to `~/.cache` ### [`v1.1.295`](https://togithub.com/RobertCraigie/pyright-python/compare/v1.1.294...v1.1.295) [Compare Source](https://togithub.com/RobertCraigie/pyright-python/compare/v1.1.294...v1.1.295) ### [`v1.1.294`](https://togithub.com/RobertCraigie/pyright-python/compare/v1.1.293...v1.1.294) [Compare Source](https://togithub.com/RobertCraigie/pyright-python/compare/v1.1.293...v1.1.294) ### [`v1.1.293`](https://togithub.com/RobertCraigie/pyright-python/compare/v1.1.292...v1.1.293) [Compare Source](https://togithub.com/RobertCraigie/pyright-python/compare/v1.1.292...v1.1.293) ### [`v1.1.292`](https://togithub.com/RobertCraigie/pyright-python/compare/v1.1.291...v1.1.292) [Compare Source](https://togithub.com/RobertCraigie/pyright-python/compare/v1.1.291...v1.1.292) </details> <details> <summary>pytest-dev/pytest</summary> ### [`v7.2.2`](https://togithub.com/pytest-dev/pytest/releases/tag/7.2.2) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.2.1...7.2.2) # pytest 7.2.2 (2023-03-03) ## Bug Fixes - [#&#8203;10533](https://togithub.com/pytest-dev/pytest/issues/10533): Fixed `pytest.approx`{.interpreted-text role="func"} handling of dictionaries containing one or more values of \[0.0]{.title-ref}. - [#&#8203;10592](https://togithub.com/pytest-dev/pytest/issues/10592): Fixed crash if \[--cache-show]{.title-ref} and \[--help]{.title-ref} are passed at the same time. - [#&#8203;10597](https://togithub.com/pytest-dev/pytest/issues/10597): Fixed bug where a fixture method named `teardown` would be called as part of `nose` teardown stage. - [#&#8203;10626](https://togithub.com/pytest-dev/pytest/issues/10626): Fixed crash if `--fixtures` and `--help` are passed at the same time. - [#&#8203;10660](https://togithub.com/pytest-dev/pytest/issues/10660): Fixed :py`pytest.raises`{.interpreted-text role="func"} to return a 'ContextManager' so that type-checkers could narrow `pytest.raises(...) if ... else nullcontext()` down to 'ContextManager' rather than 'object'. ## Improved Documentation - [#&#8203;10690](https://togithub.com/pytest-dev/pytest/issues/10690): Added \[CI]{.title-ref} and \[BUILD_NUMBER]{.title-ref} environment variables to the documentation. - [#&#8203;10721](https://togithub.com/pytest-dev/pytest/issues/10721): Fixed entry-points declaration in the documentation example using Hatch. - [#&#8203;10753](https://togithub.com/pytest-dev/pytest/issues/10753): Changed wording of the module level skip to be very explicit about not collecting tests and not executing the rest of the module. </details> <details> <summary>ariebovenberg/slotscheck</summary> ### [`v0.16.5`](https://togithub.com/ariebovenberg/slotscheck/blob/HEAD/CHANGELOG.rst#&#8203;0165-2023-03-01) [Compare Source](https://togithub.com/ariebovenberg/slotscheck/compare/v0.16.4...v0.16.5) - Don't flag `TypedDict` from `typing_extensions` in Python versions where `typing` has `TypedDict` itself. </details> --- ### 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 becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/RobertCraigie/prisma-client-py). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTkuMCIsInVwZGF0ZWRJblZlciI6IjM0LjE2MC4wIn0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Robert Craigie <[email protected]>
1 parent 6d220bb commit 8664d81

File tree

9 files changed

+11
-10
lines changed

9 files changed

+11
-10
lines changed

databases/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# TODO: merge with other dev requirements
2-
coverage==7.1.0
2+
coverage==7.2.1
33
syrupy==3.0.6
44
dirty-equals==0.5.0
55
distro
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
coverage==7.1.0
1+
coverage==7.2.1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pyright==1.1.291
1+
pyright==1.1.298
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pytest==7.2.1
1+
pytest==7.2.2

pipelines/requirements/docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
mkdocs==1.4.2
2-
mkdocs-material==9.0.9
2+
mkdocs-material==9.1.2

pipelines/requirements/lint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
-r ../../databases/requirements.txt
77
interrogate==1.5.0
88
mypy==1.0.1
9-
slotscheck==0.16.4
9+
slotscheck==0.16.5

src/prisma/cli/commands/dev.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def _cli() -> None:
1616
# for some reason. Fixing the errors for one type checker causes errors in an another
1717
# so just switch to Any for the time being as this is internal and only used once, directly
1818
# below this line.
19-
cli = cast(Any, _cli)
19+
cli: Any = cast(Any, _cli)
2020

2121

2222
@cli.command() # type: ignore[misc]

src/prisma/generator/generator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ def _on_request(self, request: jsonrpc.Request) -> None:
174174
f'JSON RPC received unexpected method: {request.method}'
175175
)
176176

177-
if response is not None:
178-
jsonrpc.reply(response)
177+
jsonrpc.reply(response)
179178

180179
@cached_property
181180
def data_class(self) -> Type[BaseModelT]:

tests/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ def pytest_sessionstart(session: pytest.Session) -> None:
5050

5151

5252
def pytest_sessionfinish(session: pytest.Session) -> None:
53-
if LOGGING_CONTEXT_MANAGER is not None: # pragma: no branch
53+
if ( # pragma: no branch
54+
LOGGING_CONTEXT_MANAGER is not None
55+
): # pyright: ignore[reportUnnecessaryComparison]
5456
LOGGING_CONTEXT_MANAGER.__exit__(None, None, None)
5557

5658

0 commit comments

Comments
 (0)