chore(deps): update dependency attrs to v22.2.0
Metadata
Current evaluation
Renovate PR #964 merged via merge commit 6cff1214 (branch commit 392f3eb2), bumping the attrs pin from 22.1.0 to 22.2.0 in requirements.txt and requirements-dev.txt.
Resolution: closed resolved
Reason: The PR itself was merged into main as commit 6cff1214, applying branch commit 392f3eb2 which changed attrs==22.1.0 to ==22.2.0 (+2/-2 lines across two requirement files). It was later superseded by a further Renovate bump to attrs 24.3.0 in commit e820f399.
Evaluated by: mr-cal-bot
No scores available.
Issue body
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [attrs](https://www.attrs.org/) ([source](https://togithub.com/python-attrs/attrs), [changelog](https://www.attrs.org/en/stable/changelog.html)) | `==22.1.0` -> `==22.2.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>python-attrs/attrs</summary>
### [`v22.2.0`](https://togithub.com/python-attrs/attrs/blob/HEAD/CHANGELOG.md#​2220-httpsgithubcompython-attrsattrstree2220---2022-12-21)
[Compare Source](https://togithub.com/python-attrs/attrs/compare/22.1.0...22.2.0)
##### Backwards-incompatible Changes
- Python 3.5 is not supported anymore.
[#​988](https://togithub.com/python-attrs/attrs/issues/988)
##### Deprecations
- Python 3.6 is now deprecated and support will be removed in the next release.
[#​1017](https://togithub.com/python-attrs/attrs/issues/1017)
##### Changes
- `attrs.field()` now supports an *alias* option for explicit `__init__` argument names.
Get `__init__` signatures matching any taste, peculiar or plain!
The [PEP 681 compatible](https://peps.python.org/pep-0681/#field-specifier-parameters) *alias* option can be use to override private attribute name mangling, or add other arbitrary field argument name overrides.
[#​950](https://togithub.com/python-attrs/attrs/issues/950)
- `attrs.NOTHING` is now an enum value, making it possible to use with e.g. [`typing.Literal`](https://docs.python.org/3/library/typing.html#typing.Literal).
[#​983](https://togithub.com/python-attrs/attrs/issues/983)
- Added missing re-import of `attr.AttrsInstance` to the `attrs` namespace.
[#​987](https://togithub.com/python-attrs/attrs/issues/987)
- Fix slight performance regression in classes with custom `__setattr__` and speedup even more.
[#​991](https://togithub.com/python-attrs/attrs/issues/991)
- Class-creation performance improvements by switching performance-sensitive templating operations to f-strings.
You can expect an improvement of about 5% -- even for very simple classes.
[#​995](https://togithub.com/python-attrs/attrs/issues/995)
- `attrs.has()` is now a [`TypeGuard`](https://docs.python.org/3/library/typing.html#typing.TypeGuard) for `AttrsInstance`.
That means that type checkers know a class is an instance of an `attrs` class if you check it using `attrs.has()` (or `attr.has()`) first.
[#​997](https://togithub.com/python-attrs/attrs/issues/997)
- Made `attrs.AttrsInstance` stub available at runtime and fixed type errors related to the usage of `attrs.AttrsInstance` in *Pyright*.
[#​999](https://togithub.com/python-attrs/attrs/issues/999)
- On Python 3.10 and later, call [`abc.update_abstractmethods()`](https://docs.python.org/3/library/abc.html#abc.update_abstractmethods) on dict classes after creation.
This improves the detection of abstractness.
[#​1001](https://togithub.com/python-attrs/attrs/issues/1001)
- *attrs*'s pickling methods now use dicts instead of tuples.
That is safer and more robust across different versions of a class.
[#​1009](https://togithub.com/python-attrs/attrs/issues/1009)
- Added `attrs.validators.not_(wrapped_validator)` to logically invert *wrapped_validator* by accepting only values where *wrapped_validator* rejects the value with a `ValueError` or `TypeError` (by default, exception types configurable).
[#​1010](https://togithub.com/python-attrs/attrs/issues/1010)
- The type stubs for `attrs.cmp_using()` now have default values.
[#​1027](https://togithub.com/python-attrs/attrs/issues/1027)
- To conform with [PEP 681](https://peps.python.org/pep-0681/), `attr.s()` and `attrs.define()` now accept *unsafe_hash* in addition to *hash*.
[#​1065](https://togithub.com/python-attrs/attrs/issues/1065)
</details>
---
### Configuration
π
**Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "after 1 am and before 7 am" in timezone Etc/UTC.
π¦ **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
β» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- 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/canonical/charmcraft).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43MS4wIiwidXBkYXRlZEluVmVyIjoiMzQuODEuMCJ9-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | β | closed resolved | Renovate PR #964 merged via merge commit 6cff1214 (branch commit 392f3eb2), bumping the attrs pin from 22.1.0 to 22.2.0 in requirements.txt and requirements-dev.txt. | |
| stealth/space-bunny-alpha | β | closed resolved | Renovate PR #964 (attrs 22.1.0 -> 22.2.0) was approved and merged into main as commit 6cff1214 (branch canonical/renovate/attrs-22.x), a 2-file, +2/-2 pin/lock update. attrs was later bumped further to v24.3.0 in e820f399. | |
| stealth/space-bunny-alpha | β | closed resolved | Renovate bump of attrs 22.1.0 -> 22.2.0 merged into main (commit 6cff1214, bump commit 392f3eb2), a 2-file, +2/-2 dependency-only change; later superseded by further attrs bumps. | |
| stealth/space-bunny-alpha | β | closed resolved | Renovate PR #964 merged via commit 6cff1214 (branch commit 392f3eb2), bumping attrs from 22.1.0 to 22.2.0 in two lockfile/pin files; later superseded by e820f399 updating to attrs 24.3.0. | |
| stealth/space-bunny-alpha | β | closed resolved | Merged PR #964 in commit 6cff1214, upgrading attrs from v22.1.0 to v22.2.0 with a two-file lockfile-only dependency update. | |
| qwen/qwen3.6-35b-a3b | β | β | Merged automated dependency update upgrading attrs from v22.1.0 to v22.2.0. Approved by a reviewer, passed CI checks, and merged with minimal changes across two files. | |
| qwen3.6-35b-a3b-mtp-q6 | β | β | Renovate automatically updated the attrs dependency from v22.1.0 to v22.2.0 and the pull request was successfully merged. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1009 chore(deps): update dependency ops to v2 | charmcraft | merged | Renovate PR bumping ops==1.5.4 to 2.0.0 in the spread dependencies requirements (1 file, +1/-1) was merged into main via merge commit 77df49c3; the pin has since progressed to ops==2.15.0. | |
| #1289 chore(deps): update dependencies | charmcraft | merged | Renovate-style dependency refresh merged via commit ccc21079, bumping pins across 3 files (+45/-34) after approval by two reviewers. | |
| #68 chore(deps): update dependency pydantic_core to v2.27.2 - autoclosed | imagecraft | closed | Renovate's pydantic_core 2.27.2 bump in #68 was autoclosed unmerged after inactivity; no resolving commit or replacement PR was identified. | |
| #364 chore(deps): update dependencies | rockcraft | merged | Merged dependency updates in PR #364 via commit 1661d115, changing seven files (+152/-174) after approval by two reviewers. | |
| #1447 chore(deps): update dependency virtualenv to v20.25.0 | charmcraft | merged | Renovate dependency bump PR merged: virtualenv pin raised from 20.24.6 to 20.25.0 via merge commit 8b4fc34d (1-line change), approved by 2 reviewers with no CI failures. | |
| #1445 chore(deps): update dependency pathspec to v0.12.1 | charmcraft | merged | Renovateβs pathspec update from 0.11.2 to 0.12.1 was approved and merged in PR #1445 via commit 30303b21. | |
| #419 chore(deps): update dependency dev/types-requests to v2.31.0.6 | craft-providers | merged | Renovate bumped dev/types-requests from ==2.31.0.5 to ==2.31.0.6 in pyproject.toml; PR #419 approved and merged via commit 6625c46 with no coverage change. | |
| #541 chore(deps): update dependency packaging to v24 | rockcraft | merged | Merged into main as commit 9955290c, upgrading packaging from 23.2 to 24.0 in two dependency files. | |
| #1169 chore(deps): update dependency virtualenv to v20.24.1 | charmcraft | merged | Merged PR #1169 in commit c30f476b, updating Charmcraft's virtualenv pin from 20.23.1 to 20.24.1 after maintainer approval. | |
| #1185 chore(deps): update dependency virtualenv to v20.24.2 | charmcraft | merged | Renovate PR #1185 was merged, updating virtualenv from 20.24.1 to 20.24.2 in commit d1c77931. |