Package Details: python-vdf 3.4-3

Git Clone URL: https://aur.archlinux.org/python-vdf.git (read-only, click to copy)
Package Base: python-vdf
Description: Library for working with Valve's VDF text format
Upstream URL: https://github.com/ValvePython/vdf
Licenses: MIT
Submitter: vanyasem
Maintainer: Rhinoceros
Last Packager: Rhinoceros
Votes: 97
Popularity: 6.67
First Submitted: 2018-02-25 00:52 (UTC)
Last Updated: 2024-04-29 01:36 (UTC)

Latest Comments

1 2 3 Next › Last »

Rhinoceros commented on 2024-04-23 11:57 (UTC)

@katt, yeah I did think about it, but decided not to. I've only really made a change in how the package is built. If users already have the package installed, they will no longer have python-mock installed anyway, so I didn't see the point in forcing them to re-install it. The only "negative" is that some old users might have python 3.2 installed, but that's fine.

katt commented on 2024-04-23 11:27 (UTC)

should probably also bump pkgrel :p

Rhinoceros commented on 2024-04-23 01:28 (UTC)

Thanks @katt for the suggestion. I've modified the PKGBUILD, removed python-mock and required python => 3.3.

katt commented on 2024-04-22 18:24 (UTC)

as seen in the requirements file, mock; python_version < '3.3', python-mock is only required on python versions below 3.3, which is very old and not even packaged on arch. can this be removed the checkdeps so people won't need to build it?

Rhinoceros commented on 2022-11-20 03:10 (UTC)

@sickcodes I just tested building in a clean chroot and check seems to work fine. Looks like you are using an AUR helper. What happens if you build it manually, e.g. with makepkg -s?

sickcodes commented on 2022-11-19 16:38 (UTC)

I had to comment out the test to make this work.

# check() {
#   cd "$_pkgname-$pkgver"
#   python setup.py test
# }

Otherwise:

==> Starting check()...
Traceback (most recent call last):
  File "./.cache/yay/python-vdf/src/vdf-3.4/setup.py", line 12, in <module>
    setup(
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 172, in setup
    ok = dist.parse_command_line()
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 474, in parse_command_line
    args = self._parse_command_opts(parser, args)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 1107, in _parse_command_opts
    nargs = _Distribution._parse_command_opts(self, parser, args)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 533, in _parse_command_opts
    cmd_class = self.get_command_class(command)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 954, in get_command_class
    self.cmdclass[command] = cmdclass = ep.load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'tasks'

Rhinoceros commented on 2022-09-17 06:32 (UTC)

@king-geedorah

I just tested again and it builds fine for me. I can't see anything obvious in your error messages. It's plausibly a missing dependency that I should have in the PKGBUILD. Otherwise if it's not a PKGBUILD problem, perhaps check upstream?

king-geedorah commented on 2022-09-16 21:43 (UTC)

Getting an error during build:

 Starting build()...
Traceback (most recent call last):
  File "/tmp/makepkg/python-vdf/src/vdf-3.4/setup.py", line 12, in <module>
    setup(
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 86, in setup
    _install_setup_requires(attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 75, in _install_setup_requires
    dist = MinimalDistribution(attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 57, in __init__
    super().__init__(filtered)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 475, in __init__
    for ep in metadata.entry_points(group='distutils.setup_keywords'):
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 1009, in entry_points
    return SelectableGroups.load(eps).select(**params)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 459, in load
    ordered = sorted(eps, key=by_group)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 1006, in <genexpr>
    eps = itertools.chain.from_iterable(
  File "/usr/lib/python3.10/importlib/metadata/_itertools.py", line 16, in unique_everseen
    k = key(element)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 941, in _normalized_name
    return self._name_from_stem(stem) or super()._normalized_name
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 622, in _normalized_name
    return Prepared.normalize(self.name)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 871, in normalize
    return re.sub(r"[-_.]+", "-", name).lower().replace('-', '_')
  File "/usr/lib/python3.10/re.py", line 209, in sub
    return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-vdf

Rhinoceros commented on 2021-01-08 08:40 (UTC)

@deemon Yes there is. You need to rebuild manually-installed AUR python packages for the python update to 3.9 (which was over a month ago). I actually bumped the pkgrel for this, but your system must have been lagging out of date at the time.

deemon commented on 2021-01-04 08:07 (UTC) (edited on 2021-01-04 08:08 (UTC) by deemon)

There is no vdf for python 3.9 :(

[deemon@Zen ~]$ protontricks
Traceback (most recent call last):
  File "/usr/bin/protontricks", line 33, in <module>
    sys.exit(load_entry_point('protontricks==1.4.4.dev4+g0fab781', 'console_scripts', 'protontricks')())
  File "/usr/bin/protontricks", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/protontricks/__init__.py", line 1, in <module>
    from .steam import *
  File "/usr/lib/python3.9/site-packages/protontricks/steam.py", line 8, in <module>
    import vdf
ModuleNotFoundError: No module named 'vdf'