Probably better off using python-ipfshttpclient-git. Some tests still fail on it (when run against kubo 0.21.0), but it's in a better shape than this 0.7.0 version.
Search Criteria
Package Details: python-ipfshttpclient 0.7.0-4
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-ipfshttpclient.git (read-only, click to copy) |
---|---|
Package Base: | python-ipfshttpclient |
Description: | Python IPFS HTTP client library |
Upstream URL: | https://pypi.python.org/pypi/ipfshttpclient |
Licenses: | MIT |
Conflicts: | python-ipfsapi |
Submitter: | redfish |
Maintainer: | redfish |
Last Packager: | redfish |
Votes: | 1 |
Popularity: | 0.000001 |
First Submitted: | 2019-08-31 23:32 (UTC) |
Last Updated: | 2023-09-04 02:40 (UTC) |
Dependencies (20)
- python (python37AUR, python311AUR, python310AUR)
- python-httpcore
- python-httpx (python-httpx-gitAUR)
- python-multiaddrAUR
- python-netaddr
- python-requests
- python-setuptools
- python-six
- kubo (kubo-gitAUR) (check)
- python-cidAUR (check)
- python-mockAUR (check)
- python-pluggy (check)
- python-py (check)
- python-pytest (check)
- python-pytest-cidAUR (check)
- python-pytest-cov (check)
- python-pytest-dependency (check)
- python-pytest-localserver (check)
- python-pytest-mock (check)
- python-pytest-ordering (check)
Required by (2)
Sources (1)
redfish commented on 2023-09-04 02:46 (UTC)
redfish commented on 2023-09-04 02:45 (UTC)
@BrainDamange, @xuhcc, @radrwo: missing depends and check-depends added.
@Kewl: yes, the API demans a version of Kubo/IPFS no higher than 0.8.0, it will still work (at least to some degree) with newer daemons. You can ignore that failing test (or build with --nocheck
entirely).
@Strykar: strange that check() failed that early for you, but even it does run further, about 7 tests fail. Build with --nocheck
.
xuhcc commented on 2023-01-03 20:21 (UTC)
python-cid is a check
dependency. The package installs fine with --nocheck
option
radrow commented on 2022-11-16 20:19 (UTC)
Please add dependency to kubo and python-cid. The package does not install without them.
RubenKelevra commented on 2022-03-04 07:57 (UTC)
@rufous well, but this package exists in AUR.
rufous commented on 2022-03-04 07:43 (UTC)
ERROR: Could not resolve all dependencies
2022 09:42:01 AM IST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: python-multiaddr
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
-> python-multiaddr
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (9) python-apipkg-2.1.0-1 python-coverage-6.1.1-3
python-iniconfig-1.1.1-5 python-py-1.11.0-1
python-pytest-7.0.1-1
python-pytest-cov-2.12.1-6
python-pytest-localserver-0.5.1-3
python-pytest-mock-3.7.0-1
python-pytest-ordering-0.6-5
Total Installed Size: 4.84 MiB
:: Proceed with installation? [Y/n]
(9/9) checking keys in keyring [####] 100%
(9/9) checking package integrity [####] 100%
(9/9) loading package files [####] 100%
(9/9) checking for file conflicts [####] 100%
(9/9) checking available disk space [####] 100%
:: Processing package changes...
(1/9) installing python-iniconfig [####] 100%
(2/9) installing python-apipkg [####] 100%
(3/9) installing python-py [####] 100%
(4/9) installing python-pytest [####] 100%
(5/9) installing python-coverage [####] 100%
Optional dependencies for python-coverage
python-tomli: for pyproject.toml support [installed]
(6/9) installing python-pytest-cov [####] 100%
(7/9) installing python-pytest-ordering [####] 100%
(8/9) installing python-pytest-mock [####] 100%
(9/9) installing python-pytest-localserver [####] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> ERROR: Could not resolve all dependencies.
==> Removing installed dependencies...
checking dependencies...
Packages (9) python-apipkg-2.1.0-1 python-coverage-6.1.1-3
python-iniconfig-1.1.1-5 python-py-1.11.0-1
python-pytest-7.0.1-1
python-pytest-cov-2.12.1-6
python-pytest-localserver-0.5.1-3
python-pytest-mock-3.7.0-1
python-pytest-ordering-0.6-5
Total Removed Size: 4.84 MiB
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
(1/9) removing python-pytest-ordering [####] 100%
(2/9) removing python-pytest-mock [####] 100%
(3/9) removing python-pytest-localserver [####] 100%
(4/9) removing python-pytest-cov [####] 100%
(5/9) removing python-pytest [####] 100%
(6/9) removing python-py [####] 100%
(7/9) removing python-iniconfig [####] 100%
(8/9) removing python-coverage [####] 100%
(9/9) removing python-apipkg [####] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
BrainDamage commented on 2022-01-15 22:07 (UTC) (edited on 2022-01-15 22:16 (UTC) by BrainDamage)
package misses python-cid to checkdepends or it'll fail with:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 703, in import_plugin
__import__(importspec)
ModuleNotFoundError: No module named 'cid'
EDIT: also missing python-pytest-cid python-mock python-pytest-dependency
Strykar commented on 2021-12-28 23:06 (UTC)
This currently fails to build with
-> Extracting ipfshttpclient-0.7.0.tar.gz with bsdtar ==> Starting build()... /home/strykar/.cache/aurutils/sync/python-ipfshttpclient/src/ipfshttpclient-0.7.0/setup.py:4: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup /usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) /usr/lib/python3.10/distutils/dist.py:274: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) running build running build_py creating build creating build/lib creating build/lib/ipfshttpclient copying ipfshttpclient/requests_wrapper.py -> build/lib/ipfshttpclient copying ipfshttpclient/http_common.py -> build/lib/ipfshttpclient copying ipfshttpclient/http.py -> build/lib/ipfshttpclient copying ipfshttpclient/exceptions.py -> build/lib/ipfshttpclient copying ipfshttpclient/multipart.py -> build/lib/ipfshttpclient copying ipfshttpclient/http_requests.py -> build/lib/ipfshttpclient copying ipfshttpclient/__init__.py -> build/lib/ipfshttpclient copying ipfshttpclient/version.py -> build/lib/ipfshttpclient copying ipfshttpclient/filescanner.py -> build/lib/ipfshttpclient copying ipfshttpclient/utils.py -> build/lib/ipfshttpclient copying ipfshttpclient/encoding.py -> build/lib/ipfshttpclient copying ipfshttpclient/http_httpx.py -> build/lib/ipfshttpclient creating build/lib/ipfshttpclient/client copying ipfshttpclient/client/dag.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/pubsub.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/key.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/__init__.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/dht.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/block.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/miscellaneous.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/base.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/bitswap.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/bootstrap.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/swarm.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/object.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/unstable.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/repo.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/pin.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/config.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/name.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/client/files.py -> build/lib/ipfshttpclient/client copying ipfshttpclient/filescanner_ty.pyi -> build/lib/ipfshttpclient ==> Starting check()... Traceback (most recent call last): File "/home/strykar/.cache/aurutils/sync/python-ipfshttpclient/src/ipfshttpclient-0.7.0/./test/run-tests.py", line 67, in <module> subprocess.call(["ipfs", "init"]) File "/usr/lib/python3.10/subprocess.py", line 345, in call with Popen(*popenargs, **kwargs) as p: File "/usr/lib/python3.10/subprocess.py", line 966, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.10/subprocess.py", line 1842, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'ipfs' ==> ERROR: A failure occurred in check(). Aborting...
RubenKelevra commented on 2021-09-17 08:38 (UTC)
Looks like an upstream bug, please report it to the developers :)
Kewl commented on 2021-09-16 18:39 (UTC)
during the check I am getting
ipfshttpclient.exceptions.VersionMismatch: Unsupported daemon version '0.9.1' (not in range: 0.4.23 ≤ … < 0.8.0)
my go-ipfs version is too recent it seems and the check fails.
Pinned Comments
redfish commented on 2023-09-04 02:46 (UTC)
Probably better off using python-ipfshttpclient-git. Some tests still fail on it (when run against kubo 0.21.0), but it's in a better shape than this 0.7.0 version.