Skip to content
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

Bump pytest-examples to get tests passing with ruff v0.5.0 #1360

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

sydney-runkle
Copy link
Member

No description provided.

@sydney-runkle sydney-runkle added the dependencies Pull requests that update a dependency file label Jul 2, 2024
@sydney-runkle sydney-runkle enabled auto-merge (squash) July 2, 2024 18:12
Copy link

codspeed-hq bot commented Jul 2, 2024

CodSpeed Performance Report

Merging #1360 will not alter performance

Comparing update-pytest-examples (fd90fcc) with update-pytest-examples (a3eee0e)

Summary

✅ 155 untouched benchmarks

@sydney-runkle sydney-runkle merged commit 510daf8 into main Jul 2, 2024
28 checks passed
@sydney-runkle sydney-runkle deleted the update-pytest-examples branch July 2, 2024 18:16
emmeowzing referenced this pull request in premiscale/premiscale Jul 4, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [certifi](https://togithub.com/certifi/python-certifi) | `==2024.6.2`
-> `==2024.7.4` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/certifi/2024.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/certifi/2024.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/certifi/2024.6.2/2024.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/certifi/2024.6.2/2024.7.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [pydantic](https://togithub.com/pydantic/pydantic)
([changelog](https://docs.pydantic.dev/latest/changelog/)) | `==2.8.0`
-> `==2.8.2` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/pydantic/2.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pydantic/2.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pydantic/2.8.0/2.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pydantic/2.8.0/2.8.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [pydantic-core](https://togithub.com/pydantic/pydantic-core) |
`==2.20.0` -> `==2.20.1` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/pydantic-core/2.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pydantic-core/2.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pydantic-core/2.20.0/2.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pydantic-core/2.20.0/2.20.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [pydoclint](https://togithub.com/jsh9/pydoclint) | `^0.4` -> `^0.5.0`
|
[![age](https://developer.mend.io/api/mc/badges/age/pypi/pydoclint/0.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pydoclint/0.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pydoclint/0.4.2/0.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pydoclint/0.4.2/0.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>certifi/python-certifi (certifi)</summary>

###
[`v2024.7.4`](https://togithub.com/certifi/python-certifi/compare/2024.06.02...2024.07.04)

[Compare
Source](https://togithub.com/certifi/python-certifi/compare/2024.06.02...2024.07.04)

</details>

<details>
<summary>pydantic/pydantic (pydantic)</summary>

###
[`v2.8.2`](https://togithub.com/pydantic/pydantic/releases/tag/v2.8.2):
(2024-07-03)

[Compare
Source](https://togithub.com/pydantic/pydantic/compare/v2.8.1...v2.8.2)

#### What's Changed

##### Fixes

- Fix issue with assertion caused by pluggable schema validator by
[@&#8203;dmontagu](https://togithub.com/dmontagu) in
[#&#8203;9838](https://togithub.com/pydantic/pydantic/pull/9838)

**Full Changelog**:
pydantic/pydantic@v2.8.1...v2.8.2

###
[`v2.8.1`](https://togithub.com/pydantic/pydantic/releases/tag/v2.8.1):
(2024-07-03)

[Compare
Source](https://togithub.com/pydantic/pydantic/compare/v2.8.0...v2.8.1)

#### What's Changed

##### Packaging

- Bump `ruff` to `v0.5.0` and `pyright` to `v1.1.369` by
[@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[https://github.com/pydantic/pydantic/pull/9801](https://togithub.com/pydantic/pydantic/pull/9801)
- Bump `pydantic-core` to `v2.20.1`, `pydantic-extra-types` to `v2.9.0`
by [@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[https://github.com/pydantic/pydantic/pull/9832](https://togithub.com/pydantic/pydantic/pull/9832)

##### Fixes

- Fix breaking change in `to_snake` from v2.7 -> v2.8 by
[@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[https://github.com/pydantic/pydantic/pull/9812](https://togithub.com/pydantic/pydantic/pull/9812)
- Fix list constraint json schema application by
[@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[https://github.com/pydantic/pydantic/pull/9818](https://togithub.com/pydantic/pydantic/pull/9818)
- Fix issue with assertion caused by pluggable schema validator by
[@&#8203;dmontagu](https://togithub.com/dmontagu) in
[https://github.com/pydantic/pydantic/pull/9838](https://togithub.com/pydantic/pydantic/pull/9838)

#### New Contributors

- [@&#8203;kwint](https://togithub.com/kwint) made their first
contribution in
[https://github.com/pydantic/pydantic/pull/9787](https://togithub.com/pydantic/pydantic/pull/9787)
-
[@&#8203;seekinginfiniteloop](https://togithub.com/seekinginfiniteloop)
made their first contribution in
[https://github.com/pydantic/pydantic/pull/9822](https://togithub.com/pydantic/pydantic/pull/9822)

**Full Changelog**:
pydantic/pydantic@v2.8.0...v2.8.1

</details>

<details>
<summary>pydantic/pydantic-core (pydantic-core)</summary>

###
[`v2.20.1`](https://togithub.com/pydantic/pydantic-core/releases/tag/v2.20.1):
2024-07-03

[Compare
Source](https://togithub.com/pydantic/pydantic-core/compare/v2.20.0...v2.20.1)

#### What's Changed

- Restore 3.13 PGO builds by
[@&#8203;davidhewitt](https://togithub.com/davidhewitt) in
[https://github.com/pydantic/pydantic-core/pull/1346](https://togithub.com/pydantic/pydantic-core/pull/1346)
- Bump `pytest-examples` to get tests passing with ruff `v0.5.0` by
[@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[https://github.com/pydantic/pydantic-core/pull/1360](https://togithub.com/pydantic/pydantic-core/pull/1360)
- Bump `uuid` from 1.9.0 to 1.9.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/pydantic/pydantic-core/pull/1356](https://togithub.com/pydantic/pydantic-core/pull/1356)
- Bump `num-bigint` from 0.4.5 to 0.4.6 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/pydantic/pydantic-core/pull/1357](https://togithub.com/pydantic/pydantic-core/pull/1357)
- Bump the python-packages group across 1 directory with 7 updates by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/pydantic/pydantic-core/pull/1361](https://togithub.com/pydantic/pydantic-core/pull/1361)
- Bump `speedate` to v0.14.1 and prep for `v0.20.1` by
[@&#8203;sydney-runkle](https://togithub.com/sydney-runkle) in
[https://github.com/pydantic/pydantic-core/pull/1347](https://togithub.com/pydantic/pydantic-core/pull/1347)

**Full Changelog**:
pydantic/pydantic-core@v2.20.0...v2.20.1

</details>

<details>
<summary>jsh9/pydoclint (pydoclint)</summary>

###
[`v0.5.3`](https://togithub.com/jsh9/pydoclint/blob/HEAD/CHANGELOG.md#053---2024-06-26)

[Compare
Source](https://togithub.com/jsh9/pydoclint/compare/0.5.2...0.5.3)

-   Changed

    -   Added DOC604 & 605 test cases
    -   Improved DOC605 error message

-   Full diff
    -   jsh9/pydoclint@0.5.2...0.5.3

###
[`v0.5.2`](https://togithub.com/jsh9/pydoclint/blob/HEAD/CHANGELOG.md#052---2024-06-26)

[Compare
Source](https://togithub.com/jsh9/pydoclint/compare/0.5.1...0.5.2)

-   Changed

    -   Pinned to a higher version (0.0.9) of docstring_parser_fork
    -   Relaxed class attribute checking logic
- When a class has no docstring, no DOC6xx violations will be reported
        -   When a class has a short docstring (and
`--skip-checking-short-docstrings`) is set to `True`, no DOC6xx
            violations will be reported

-   Full diff
    -   jsh9/pydoclint@0.5.1...0.5.2

###
[`v0.5.1`](https://togithub.com/jsh9/pydoclint/blob/HEAD/CHANGELOG.md#051---2024-06-24)

[Compare
Source](https://togithub.com/jsh9/pydoclint/compare/0.5.0...0.5.1)

-   Fixed

- Fixed a bug in unparsing annotations when checking class attributes
- Fixed a bug in checking class attributes where there are no attributes
in
        class def or in docstring

-   Changed

    -   Used a dedicated "attribute" section for Sphinx-style docstrings

-   Full diff
    -   jsh9/pydoclint@0.5.0...0.5.1

###
[`v0.5.0`](https://togithub.com/jsh9/pydoclint/blob/HEAD/CHANGELOG.md#050---2024-06-22)

[Compare
Source](https://togithub.com/jsh9/pydoclint/compare/0.4.2...0.5.0)

-   Added

    -   Added checks for class attributes
- This functionality checks class attributes against the "Attributes"
            section of the docstring
- There is a new config option, `--check-class-attributes` (or `-cca`),
which defaults to `True`. Therefore, this breaks backward compatibility.
- To maintain backward compatibility, set `--check-class-attributes` to
            `False`
- Options like `--check-arg-order`, `--arg-type-hints-in-signature`, and
`--arg-type-hints-in-docstring` are still effective in checking class
            attributes

-   Full diff
    -   jsh9/pydoclint@0.4.2...0.5.0

</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://developer.mend.io/github/premiscale/premiscale).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant