Skip to content
This repository was archived by the owner on Jun 2, 2020. It is now read-only.

Conversation

@dependabot-preview
Copy link

Bumps attrs from 17.4.0 to 18.1.0.

Changelog

Sourced from attrs's changelog.

18.1.0 (2018-05-03)

Changes
^^^^^^^

  • x=X(); x.cycle = x; repr(x) will no longer raise a RecursionError, and will instead show as X(x=...).

    #95 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/95>_

  • attr.ib(factory=f) is now syntactic sugar for the common case of attr.ib(default=attr.Factory(f)).

    #178 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/178>,
    #356 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/356>

  • Added attr.field_dict() to return an ordered dictionary of attrs attributes for a class, whose keys are the attribute names.

    #290 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/290>,
    #349 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/349>

  • The order of attributes that are passed into attr.make_class() or the these argument of [**attr**](https://github.com/attr).s() is now retained if the dictionary is ordered (i.e. dict on Python 3.6 and later, collections.OrderedDict otherwise).

    Before, the order was always determined by the order in which the attributes have been defined which may not be desirable when creating classes programatically.

    #300 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/300>,
    #339 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/339>
    ,
    #343 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/343>_

  • In slotted classes, __getstate__ and __setstate__ now ignore the __weakref__ attribute.

    #311 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/311>,
    #326 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/326>

  • Setting the cell type is now completely best effort.
    This fixes attrs on Jython.

    We cannot make any guarantees regarding Jython though, because our test suite cannot run due to dependency incompatabilities.

    #321 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/321>,
    #334 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/334>

  • If attr.s is passed a these argument, it will not attempt to remove attributes with the same name from the class body anymore.

    #322 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/322>,
    #323 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/323>

  • The hash of attr.NOTHING is now vegan and faster on 32bit Python builds.

    #331 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/331>,
    #332 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/332>

  • The overhead of instantiating frozen dict classes is virtually eliminated.
    #336 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/336>_

  • Generated __init__ methods now have an __annotations__ attribute derived from the types of the fields.

    #363 <https://github-redirect.dependabot.com/python-attrs/attrs/issues/363>_

  • We have restructured the documentation a bit to account for attrs' growth in scope.
    Instead of putting everything into the examples <http://www.attrs.org/en/stable/examples.html>_ page, we have started to extract narrative chapters.

... (truncated)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use (this|these) label[s] will set the current labels as the default for future PRs for this repo and language
  • @dependabot use (this|these) reviewer[s] will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use (this|these) assignee[s] will set the current assignees as the default for future PRs for this repo and language

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [attrs](https://github.com/python-attrs/attrs) from 17.4.0 to 18.1.0.
- [Release notes](https://github.com/python-attrs/attrs/releases)
- [Changelog](https://github.com/python-attrs/attrs/blob/master/CHANGELOG.rst)
- [Commits](python-attrs/attrs@17.4.0...18.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@codecov
Copy link

codecov bot commented Jun 12, 2018

Codecov Report

Merging #4 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master     #4   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           5      5           
  Lines          52     52           
=====================================
  Hits           52     52

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dbd619d...8b9d705. Read the comment docs.

@dependabot-preview
Copy link
Author

Superseded by #17.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/attrs-18.1.0 branch February 12, 2019 02:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants