Package Details: python-zstandard 0.11.1-1

Git Clone URL: https://aur.archlinux.org/python-zstandard.git (read-only)
Package Base: python-zstandard
Description: Python bindings to the Zstandard (zstd) compression library
Upstream URL: https://github.com/indygreg/python-zstandard
Licenses: BSD
Submitter: thrasibule
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 1
Popularity: 0.003842
First Submitted: 2018-07-06 15:58
Last Updated: 2019-06-12 14:04

Latest Comments

steadfasterX commented on 2019-02-07 09:43

Building fails atm with:

Traceback (most recent call last):
  File "setup.py", line 97, in <module>
    install_requires=install_requires,
  File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 143, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 228, in run
    self.run_tests()
  File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 250, in run_tests
    exit=False,
  File "/usr/lib/python3.7/unittest/main.py", line 100, in __init__
    self.parseArgs(argv)
  File "/usr/lib/python3.7/unittest/main.py", line 147, in parseArgs
    self.createTests()
  File "/usr/lib/python3.7/unittest/main.py", line 159, in createTests
    self.module)
  File "/usr/lib/python3.7/unittest/loader.py", line 220, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.7/unittest/loader.py", line 220, in <listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.7/unittest/loader.py", line 191, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/usr/lib/python3.7/site-packages/setuptools/command/test.py", line 54, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/usr/lib/python3.7/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/tmp/trizen-android/python-zstandard/src/python-zstandard-0.10.2/tests/test_train_dictionary.py", line 7, in <module>
    from . common import (
  File "/tmp/trizen-android/python-zstandard/src/python-zstandard-0.10.2/tests/common.py", line 147, in <module>
    max_iterations=2500)
  File "/usr/lib/python3.7/site-packages/hypothesis/_settings.py", line 183, in __init__
    "Invalid argument: %r is not a valid setting" % (name,)
hypothesis.errors.InvalidArgument: Invalid argument: 'max_iterations' is not a valid setting
==> ERROR: A failure occurred in check().
    Aborting...
:: Unable to build python-zstandard - makepkg exited with code: 4

steadfasterX commented on 2018-12-20 08:48

is it just me or is the following path missing (and so this lib is unusable):

/usr/lib/python3.7/site-packages/zstandard/ (contains __init__.py)

when I use pip3 to install it the above path gets created and

import zstandard

works as expected..

When I compile I saw it gets created in the source so i guess its just missing to copy. Testing this showing it works when manually copying it:

sudo cp -a src/zstandard-0.9.1/zstandard /usr/lib/python3.7/site-packages/

after this it works like it does for the pip install.