Package Details: python-dataclasses-json 0.6.7-1

Git Clone URL: https://aur.archlinux.org/python-dataclasses-json.git (read-only, click to copy)
Package Base: python-dataclasses-json
Description: Easily serialize Python Data Classes to and from JSON
Upstream URL: https://github.com/lidatong/dataclasses-json
Licenses: MIT
Submitter: sumner
Maintainer: edwargix
Last Packager: edwargix
Votes: 3
Popularity: 0.000036
First Submitted: 2020-06-07 08:55 (UTC)
Last Updated: 2024-08-24 18:11 (UTC)

Latest Comments

edwargix commented on 2023-09-03 17:40 (UTC)

We're blocked on upgrading to v0.5.15+ until the python-poetry-dynamic-versioning package gets upgraded because we're hitting the following build error:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_impl.py", line 321, in _call_hook
    raise BackendUnavailable(data.get('traceback', ''))
pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend
    obj = import_module(mod_path)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/poetry_dynamic_versioning/backend.py", line 5, in <module>
    patch.activate()
  File "/usr/lib/python3.11/site-packages/poetry_dynamic_versioning/patch.py", line 52, in activate
    _apply_patches()
  File "/usr/lib/python3.11/site-packages/poetry_dynamic_versioning/patch.py", line 43, in _apply_patches
    _patch_poetry_create(factory_mod)
  File "/usr/lib/python3.11/site-packages/poetry_dynamic_versioning/patch.py", line 14, in _patch_poetry_create
    from poetry.core.semver.version import Version as PoetryVersion
ModuleNotFoundError: No module named 'poetry.core.semver'

edwargix commented on 2023-07-25 16:32 (UTC)

sorry about the missing check dependency; that should be fixed now

I'll add the LICENSE later today

carsme commented on 2023-07-25 12:06 (UTC)

In addition to the missing a check dependency, this package does not install the license file. Please, add the following to the package() function:

  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

alan1world commented on 2023-07-23 04:20 (UTC)

There's a missing dependency for python-hypothesis.

It's used in test_invariants.py.

[tool.poetry.group.dev.dependencies]
pytest = "^7.1"
pytest-cov = "~2.12"
mypy = ">=0.710, <2"
hypothesis = "^6.77"                     # <-
portray = "^1.6"
flake8 = "^5"
simplejson = "^3.19.1"
black = "^22"

edwargix commented on 2022-03-26 16:21 (UTC)

zuzavo: do you know what the issue was? Is there anything that can be done to make this pkg better?

zuzavo commented on 2022-03-25 15:29 (UTC)

Solved. Thanks.

zuzavo commented on 2022-03-24 11:10 (UTC)

Hi, error trying to install:

error in dataclasses-json setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.

djmattyg007 commented on 2022-03-05 04:08 (UTC)

Please remove the dependency on python-stringcase. This package is unmaintained, and it was vendored by the developer of dataclasses-json.

<deleted-account> commented on 2020-11-02 12:30 (UTC)

[deleted]