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

Update dependency attrs to v18.2.0 #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 4, 2021

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
attrs (changelog) ==18.1.0 -> ==18.2.0 age adoption passing confidence

Release Notes

python-attrs/attrs (attrs)

v18.2.0

Compare Source

Deprecations
  • Comparing subclasses using <, >, <=, and >= is now deprecated.
    The docs always claimed that instances are only compared if the types are identical, so this is a first step to conform to the docs.

    Equality operators (== and !=) were always strict in this regard.
    #​394

Changes
  • attrs now ships its own PEP 484 type hints.
    Together with mypy's attrs plugin, you've got all you need for writing statically typed code in both Python 2 and 3!

    At that occasion, we've also added narrative docs about type annotations in attrs.
    #​238

  • Added kw_only arguments to attr.ib and attr.s, and a corresponding kw_only attribute to attr.Attribute.
    This change makes it possible to have a generated __init__ with keyword-only arguments on Python 3, relaxing the required ordering of default and non-default valued attributes.
    #​281,
    #​411

  • The test suite now runs with hypothesis.HealthCheck.too_slow disabled to prevent CI breakage on slower computers.
    #​364,
    #​396

  • attr.validators.in_() now raises a ValueError with a useful message even if the options are a string and the value is not a string.
    #​383

  • attr.asdict() now properly handles deeply nested lists and dictionaries.
    #​395

  • Added attr.converters.default_if_none() that allows to replace None values in attributes.
    For example attr.ib(converter=default_if_none("")) replaces None by empty strings.
    #​400,
    #​414

  • Fixed a reference leak where the original class would remain live after being replaced when slots=True is set.
    #​407

  • Slotted classes can now be made weakly referenceable by passing @attr.s(weakref_slot=True).
    #​420

  • Added cache_hash option to @attr.s which causes the hash code to be computed once and stored on the object.
    #​426

  • Attributes can be named property and itemgetter now.
    #​430

  • It is now possible to override a base class' class variable using only class annotations.
    #​431



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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@merge-mamba
Copy link

merge-mamba bot commented Aug 9, 2021

Potential Conflict Warning

This pull request has changes that overlap with branches below. You might want to check in with the other
branch authors before you merge to avoid a conflict. 🐍

renovate/babel-monorepo (@renovate-bot)

renovate/eslint-5.x (@renovate-bot)

renovate/eslint-7.x (@renovate-bot)

renovate/eslint-config-airbnb-base-14.x (@renovate-bot)

renovate/jest-monorepo (@renovate-bot)

renovate/eslint-config-airbnb-base-13.x (@renovate-bot)

renovate/pin-dependencies (@renovate-bot)

renovate/major-jest-monorepo (@renovate-bot)

Something wrong? Got a suggestion? Email me or leave feedback here.

@merge-mamba
Copy link

merge-mamba bot commented Aug 9, 2021

Potential Conflict Warning

This pull request has changes that overlap with branches below. You might want to check in with the other
branch authors before you merge to avoid a conflict. 🐍

renovate/isort-4.x (@renovate-bot)

renovate/attrs-18.x (@renovate-bot)

renovate/py-1.x (@renovate-bot)

renovate/flake8-3.x (@renovate-bot)

renovate/pluggy-0.x (@renovate-bot)

renovate/lazy-object-proxy-1.x (@renovate-bot)

renovate/pycodestyle-2.x (@renovate-bot)

Something wrong? Got a suggestion? Email me or leave feedback here.

@renovate renovate bot force-pushed the renovate/attrs-18.x branch from 42949c5 to e92064e Compare September 25, 2022 14:47
@renovate renovate bot force-pushed the renovate/attrs-18.x branch from e92064e to 15cd61b Compare November 20, 2022 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants