Skip to content

Commit

Permalink
chore(deps): update dev (#686)
Browse files Browse the repository at this point in the history
[![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://github.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://github.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://github.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://github.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://github.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://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-721--2023-02-26)

[Compare
Source](https://github.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://github.com/nedbat/coveragepy/issues/1564)4
.. \_issue
1566[https://github.com/nedbat/coveragepy/issues/1566](https://github.com/nedbat/coveragepy/issues/1566)66

.. \_changes\_7-2-0:

###
[`v7.2.0`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-720--2023-02-22)

[Compare
Source](https://github.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://github.com/nedbat/coveragepy/issues/1391)1
.. \_issue
1542[https://github.com/nedbat/coveragepy/issues/1542](https://github.com/nedbat/coveragepy/issues/1542)42
.. \_pull
154[https://github.com/nedbat/coveragepy/pull/1543](https://github.com/nedbat/coveragepy/pull/1543)543
.. \_pull
15[https://github.com/nedbat/coveragepy/pull/1547](https://github.com/nedbat/coveragepy/pull/1547)1547
.. \_pull
1[https://github.com/nedbat/coveragepy/pull/1550](https://github.com/nedbat/coveragepy/pull/1550)/1550
.. \_issue
[https://github.com/nedbat/coveragepy/issues/1552](https://github.com/nedbat/coveragepy/issues/1552)s/1552
..
\_pull[https://github.com/nedbat/coveragepy/pull/1557](https://github.com/nedbat/coveragepy/pull/1557)ll/1557

.. \_changes\_7-1-0:

</details>

<details>
<summary>squidfunk/mkdocs-material</summary>

###
[`v9.1.2`](https://github.com/squidfunk/mkdocs-material/releases/tag/9.1.2):
mkdocs-material-9.1.2

[Compare
Source](https://github.com/squidfunk/mkdocs-material/compare/9.1.1...9.1.2)

-   Updated Icelandic, Korean and Swedish translations
- Fixed
[#&#8203;5168](https://github.com/squidfunk/mkdocs-material/issues/5168):
Mermaid text boxes overflow (9.0.13 regression)
- Fixed
[#&#8203;5155](https://github.com/squidfunk/mkdocs-material/issues/5155):
table of contents not highlighting percent-encoded URLs

###
[`v9.1.1`](https://github.com/squidfunk/mkdocs-material/releases/tag/9.1.1):
mkdocs-material-9.1.1

[Compare
Source](https://github.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://github.com/squidfunk/mkdocs-material/issues/5023):
Instant loading not allowing to go back to initial page
- Fixed
[#&#8203;3797](https://github.com/squidfunk/mkdocs-material/issues/3797):
Instant loading does not work with section anchors in Safari

###
[`v9.1.0`](https://github.com/squidfunk/mkdocs-material/releases/tag/9.1.0):
mkdocs-material-9.1.0

[Compare
Source](https://github.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://github.com/squidfunk/mkdocs-material/releases/tag/9.0.15):
mkdocs-material-9.0.15

[Compare
Source](https://github.com/squidfunk/mkdocs-material/compare/9.0.14...9.0.15)

-   Updated Chinese (Traditional) translations
-   Updated Hebrew translations

###
[`v9.0.14`](https://github.com/squidfunk/mkdocs-material/releases/tag/9.0.14):
mkdocs-material-9.0.14

[Compare
Source](https://github.com/squidfunk/mkdocs-material/compare/9.0.13...9.0.14)

- Fixed
[#&#8203;5072](https://github.com/squidfunk/mkdocs-material/issues/5072):
Rendering bug on navigation expand button in Firefox

###
[`v9.0.13`](https://github.com/squidfunk/mkdocs-material/releases/tag/9.0.13):
mkdocs-material-9.0.13

[Compare
Source](https://github.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://github.com/squidfunk/mkdocs-material/issues/5062):
Version warning not readable when using slate scheme
- Fixed
[#&#8203;5061](https://github.com/squidfunk/mkdocs-material/issues/5061):
Improved discernibility of table row hover color
- Fixed
[#&#8203;5034](https://github.com/squidfunk/mkdocs-material/issues/5034):
Sequence actors in Mermaid diagrams not color-abiding
- Fixed
[#&#8203;4919](https://github.com/squidfunk/mkdocs-material/issues/4919):
Allow to hide version warning in multiple versions

###
[`v9.0.12`](https://github.com/squidfunk/mkdocs-material/releases/tag/9.0.12):
mkdocs-material-9.0.12

[Compare
Source](https://github.com/squidfunk/mkdocs-material/compare/9.0.11...9.0.12)

-   Updated Catalan translations
- Fixed
[#&#8203;4975](https://github.com/squidfunk/mkdocs-material/issues/4975):
Mermaid entity relationship rendering diagrams bug
- Fixed
[#&#8203;4924](https://github.com/squidfunk/mkdocs-material/issues/4924):
Header title not reset when using instant loading

###
[`v9.0.11`](https://github.com/squidfunk/mkdocs-material/releases/tag/9.0.11):
mkdocs-material-9.0.11

[Compare
Source](https://github.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://github.com/squidfunk/mkdocs-material/releases/tag/9.0.10):
mkdocs-material-9.0.10

[Compare
Source](https://github.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://github.com/squidfunk/mkdocs-material/issues/4977):
Improved accessibility for content tabs
- Fixed
[#&#8203;4960](https://github.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://github.com/RobertCraigie/pyright-python/compare/v1.1.297...v1.1.298)

[Compare
Source](https://github.com/RobertCraigie/pyright-python/compare/v1.1.297...v1.1.298)

###
[`v1.1.297`](https://github.com/RobertCraigie/pyright-python/compare/v1.1.296...v1.1.297)

[Compare
Source](https://github.com/RobertCraigie/pyright-python/compare/v1.1.296...v1.1.297)

###
[`v1.1.296`](https://github.com/RobertCraigie/pyright-python/releases/tag/v1.1.296)

[Compare
Source](https://github.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://github.com/RobertCraigie/pyright-python/compare/v1.1.294...v1.1.295)

[Compare
Source](https://github.com/RobertCraigie/pyright-python/compare/v1.1.294...v1.1.295)

###
[`v1.1.294`](https://github.com/RobertCraigie/pyright-python/compare/v1.1.293...v1.1.294)

[Compare
Source](https://github.com/RobertCraigie/pyright-python/compare/v1.1.293...v1.1.294)

###
[`v1.1.293`](https://github.com/RobertCraigie/pyright-python/compare/v1.1.292...v1.1.293)

[Compare
Source](https://github.com/RobertCraigie/pyright-python/compare/v1.1.292...v1.1.293)

###
[`v1.1.292`](https://github.com/RobertCraigie/pyright-python/compare/v1.1.291...v1.1.292)

[Compare
Source](https://github.com/RobertCraigie/pyright-python/compare/v1.1.291...v1.1.292)

</details>

<details>
<summary>pytest-dev/pytest</summary>

###
[`v7.2.2`](https://github.com/pytest-dev/pytest/releases/tag/7.2.2)

[Compare
Source](https://github.com/pytest-dev/pytest/compare/7.2.1...7.2.2)

# pytest 7.2.2 (2023-03-03)

## Bug Fixes

- [#&#8203;10533](https://github.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://github.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://github.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://github.com/pytest-dev/pytest/issues/10626):
Fixed crash if `--fixtures` and `--help` are passed at the same time.
- [#&#8203;10660](https://github.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://github.com/pytest-dev/pytest/issues/10690):
Added \[CI]{.title-ref} and \[BUILD_NUMBER]{.title-ref} environment
variables to the documentation.
- [#&#8203;10721](https://github.com/pytest-dev/pytest/issues/10721):
Fixed entry-points declaration in the documentation example using Hatch.
- [#&#8203;10753](https://github.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://github.com/ariebovenberg/slotscheck/blob/HEAD/CHANGELOG.rst#&#8203;0165-2023-03-01)

[Compare
Source](https://github.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://github.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 <robert@craigie.dev>
  • Loading branch information
renovate[bot] and RobertCraigie authored Mar 12, 2023
1 parent 6d220bb commit 8664d81
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion databases/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# TODO: merge with other dev requirements
coverage==7.1.0
coverage==7.2.1
syrupy==3.0.6
dirty-equals==0.5.0
distro
Expand Down
2 changes: 1 addition & 1 deletion pipelines/requirements/coverage.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
coverage==7.1.0
coverage==7.2.1
2 changes: 1 addition & 1 deletion pipelines/requirements/deps/pyright.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pyright==1.1.291
pyright==1.1.298
2 changes: 1 addition & 1 deletion pipelines/requirements/deps/pytest.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest==7.2.1
pytest==7.2.2
2 changes: 1 addition & 1 deletion pipelines/requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
mkdocs==1.4.2
mkdocs-material==9.0.9
mkdocs-material==9.1.2
2 changes: 1 addition & 1 deletion pipelines/requirements/lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
-r ../../databases/requirements.txt
interrogate==1.5.0
mypy==1.0.1
slotscheck==0.16.4
slotscheck==0.16.5
2 changes: 1 addition & 1 deletion src/prisma/cli/commands/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def _cli() -> None:
# for some reason. Fixing the errors for one type checker causes errors in an another
# so just switch to Any for the time being as this is internal and only used once, directly
# below this line.
cli = cast(Any, _cli)
cli: Any = cast(Any, _cli)


@cli.command() # type: ignore[misc]
Expand Down
3 changes: 1 addition & 2 deletions src/prisma/generator/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ def _on_request(self, request: jsonrpc.Request) -> None:
f'JSON RPC received unexpected method: {request.method}'
)

if response is not None:
jsonrpc.reply(response)
jsonrpc.reply(response)

@cached_property
def data_class(self) -> Type[BaseModelT]:
Expand Down
4 changes: 3 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ def pytest_sessionstart(session: pytest.Session) -> None:


def pytest_sessionfinish(session: pytest.Session) -> None:
if LOGGING_CONTEXT_MANAGER is not None: # pragma: no branch
if ( # pragma: no branch
LOGGING_CONTEXT_MANAGER is not None
): # pyright: ignore[reportUnnecessaryComparison]
LOGGING_CONTEXT_MANAGER.__exit__(None, None, None)


Expand Down

0 comments on commit 8664d81

Please sign in to comment.