Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

The release attrs==21.1.0 broke pytype check #655

Closed

Description

@plamut

Running the pytype check on master fails:

$ nox -s pytype
...
    return attr.evolve(self, *args, **kwargs)
  File "/home/peter/workspace/python-bigquery/.nox/pytype/lib/python3.8/site-packages/attr/_funcs.py", line 347, in evolve
    changes[init_name] = evolve(value, **changes[init_name])
TypeError: evolve() argument after ** must be a mapping, not NamedType
...

This happens with the most recent attrs release, namely 21.1.0. The error does not happen in a release before that (attrs==20.3.0).

A possible workaround is to temporarily force installing that version before running pytype.

Activity

  1. self-assigned this
    on May 7, 2021
  2. added
    type: processA process-related concern. May include testing, release, or the like.
    on May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.type: processA process-related concern. May include testing, release, or the like.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions