Package Details: python-dataclasses 0.8-3

Git Clone URL: (read-only, click to copy)
Package Base: python-dataclasses
Description: Implementation of PEP 557, Data Classes.
Upstream URL:
Licenses: GPL
Submitter: Midov
Maintainer: Midov
Last Packager: Midov
Votes: 5
Popularity: 1.00
First Submitted: 2020-03-29 12:05 (UTC)
Last Updated: 2021-12-14 18:59 (UTC)

Latest Comments

ElonSatoshi commented on 2023-03-07 21:29 (UTC) (edited on 2023-03-07 21:29 (UTC) by ElonSatoshi)

Traceback (most recent call last):
  File "/home/[user]/.cache/paru/clone/python-dataclasses/src/dataclasses-0.8/", line 1, in <module>
    from setuptools import setup
  File "/usr/lib/python3.10/site-packages/setuptools/", line 18, in <module>
    from setuptools.dist import Distribution
  File "/usr/lib/python3.10/site-packages/setuptools/", line 42, in <module>
    from setuptools.config import setupcfg, pyprojecttoml
  File "/usr/lib/python3.10/site-packages/setuptools/config/", line 10, in <module>
    from . import setupcfg
  File "/usr/lib/python3.10/site-packages/setuptools/config/", line 18, in <module>
    from packaging.requirements import Requirement, InvalidRequirement
  File "/usr/lib/python3.10/site-packages/packaging/", line 8, in <module>
    from ._parser import parse_requirement
  File "/usr/lib/python3.10/site-packages/packaging/", line 10, in <module>
    from ._tokenizer import DEFAULT_RULES, Tokenizer
  File "/usr/lib/python3.10/site-packages/packaging/", line 10, in <module>
    class Token:
  File "/home/[user]/.cache/paru/clone/python-dataclasses/src/dataclasses-0.8/", line 958, in dataclass
    return wrap(_cls)
  File "/home/[user]/.cache/paru/clone/python-dataclasses/src/dataclasses-0.8/", line 950, in wrap
    return _process_class(cls, init, repr, eq, order, unsafe_hash, frozen)
  File "/home/[user]/.cache/paru/clone/python-dataclasses/src/dataclasses-0.8/", line 800, in _process_class
    cls_fields = [_get_field(cls, name, type)
  File "/home/[user]/.cache/paru/clone/python-dataclasses/src/dataclasses-0.8/", line 800, in <listcomp>
    cls_fields = [_get_field(cls, name, type)
  File "/home/[user]/.cache/paru/clone/python-dataclasses/src/dataclasses-0.8/", line 659, in _get_field
    if (_is_classvar(a_type, typing)
  File "/home/[user]/.cache/paru/clone/python-dataclasses/src/dataclasses-0.8/", line 550, in _is_classvar
    return type(a_type) is typing._ClassVar
AttributeError: module 'typing' has no attribute '_ClassVar'. Did you mean: 'ClassVar'?

Midov commented on 2021-07-14 07:54 (UTC)

thanks, fixed

lmartinez-mirror commented on 2021-07-14 07:45 (UTC)

Package does not build without python-setuptools in its makedepends.

hottea commented on 2020-11-12 01:29 (UTC)

It seems that the url is wrong, I think you mean