You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure of this history of this but this fails to install "drivers", both from a pip install from github, as well as if I do a "python setup.py sdist" the drivers are missing when you do the actual install
demo one, install from master:
[classic@framework tmp]$ python -V
Python 3.12.4
[classic@framework tmp]$ python -m venv .venv
[classic@framework tmp]$ .venv/bin/pip install git+https://github.com/jd/pifpaf/
Collecting git+https://github.com/jd/pifpaf/
Cloning https://github.com/jd/pifpaf/ to /tmp/pip-req-build-8tgv063q
Running command git clone --filter=blob:none --quiet https://github.com/jd/pifpaf/ /tmp/pip-req-build-8tgv063q
Resolved https://github.com/jd/pifpaf/ to commit d37bae254a627c0aef2e760b697336080193681f
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting daiquiri (from pifpaf==3.1.6.dev46+gd37bae2)
Using cached daiquiri-3.2.5.1-py3-none-any.whl.metadata (1.6 kB)
Collecting click (from pifpaf==3.1.6.dev46+gd37bae2)
Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting jinja2 (from pifpaf==3.1.6.dev46+gd37bae2)
Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting fixtures (from pifpaf==3.1.6.dev46+gd37bae2)
Using cached fixtures-4.1.0-py3-none-any.whl.metadata (21 kB)
Collecting packaging (from pifpaf==3.1.6.dev46+gd37bae2)
Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting psutil (from pifpaf==3.1.6.dev46+gd37bae2)
Using cached psutil-6.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (21 kB)
Collecting xattr (from pifpaf==3.1.6.dev46+gd37bae2)
Using cached xattr-1.1.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.8 kB)
Collecting python-json-logger (from daiquiri->pifpaf==3.1.6.dev46+gd37bae2)
Using cached python_json_logger-2.0.7-py3-none-any.whl.metadata (6.5 kB)
Collecting pbr>=5.7.0 (from fixtures->pifpaf==3.1.6.dev46+gd37bae2)
Using cached pbr-6.0.0-py2.py3-none-any.whl.metadata (1.3 kB)
Collecting MarkupSafe>=2.0 (from jinja2->pifpaf==3.1.6.dev46+gd37bae2)
Using cached MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
Collecting cffi>=1.16.0 (from xattr->pifpaf==3.1.6.dev46+gd37bae2)
Using cached cffi-1.17.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.16.0->xattr->pifpaf==3.1.6.dev46+gd37bae2)
Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Using cached daiquiri-3.2.5.1-py3-none-any.whl (19 kB)
Using cached fixtures-4.1.0-py3-none-any.whl (64 kB)
Using cached jinja2-3.1.4-py3-none-any.whl (133 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached psutil-6.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (290 kB)
Using cached xattr-1.1.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (39 kB)
Using cached cffi-1.17.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479 kB)
Using cached MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28 kB)
Using cached pbr-6.0.0-py2.py3-none-any.whl (107 kB)
Using cached python_json_logger-2.0.7-py3-none-any.whl (8.1 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: pifpaf
Building wheel for pifpaf (pyproject.toml) ... done
Created wheel for pifpaf: filename=pifpaf-3.1.6.dev46+gd37bae2-py3-none-any.whl size=10519 sha256=6048c96e4578c2b1bd8fe300b630cb6d982e11e39e087520db796dbd0b0ce9a3
Stored in directory: /tmp/pip-ephem-wheel-cache-3o3uyqfv/wheels/21/51/37/1f567de3e004a4469dc2c2da83baf62eef0247babfac0f6cdd
Successfully built pifpaf
Installing collected packages: python-json-logger, pycparser, psutil, pbr, packaging, MarkupSafe, click, jinja2, fixtures, daiquiri, cffi, xattr, pifpaf
Successfully installed MarkupSafe-2.1.5 cffi-1.17.0 click-8.1.7 daiquiri-3.2.5.1 fixtures-4.1.0 jinja2-3.1.4 packaging-24.1 pbr-6.0.0 pifpaf-3.1.6.dev46+gd37bae2 psutil-6.0.0 pycparser-2.22 python-json-logger-2.0.7 xattr-1.1.0
[notice] A new release of pip is available: 23.3.2 -> 24.2
[notice] To update, run: python3.12 -m pip install --upgrade pip
[classic@framework tmp]$ .venv/bin/pifpaf run redis
CRITICAL [root] Traceback (most recent call last):
File "/home/classic/tmp/.venv/bin/pifpaf", line 8, in <module>
sys.exit(run_main())
^^^^^^^^^^
File "/home/classic/tmp/.venv/lib64/python3.12/site-packages/pifpaf/__main__.py", line 299, in run_main
return main.main(standalone_mode=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/classic/tmp/.venv/lib64/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/classic/tmp/.venv/lib64/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/classic/tmp/.venv/lib64/python3.12/site-packages/click/core.py", line 1682, in invoke
cmd_name, cmd, args = self.resolve_command(ctx, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/classic/tmp/.venv/lib64/python3.12/site-packages/click/core.py", line 1729, in resolve_command
cmd = self.get_command(ctx, cmd_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/classic/tmp/.venv/lib64/python3.12/site-packages/pifpaf/__main__.py", line 133, in get_command
plugin = [e for e in DAEMONS if e.name == name][0].load()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/importlib/metadata/__init__.py", line 205, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'pifpaf.drivers'
demo two, python setup.py sdist . it seems to put the drivers into the tar.gz but they still dont install
[classic@framework tmp]$ git clone https://github.com/jd/pifpaf/
Cloning into 'pifpaf'...
remote: Enumerating objects: 2349, done.
remote: Counting objects: 100% (304/304), done.
remote: Compressing objects: 100% (129/129), done.
remote: Total 2349 (delta 182), reused 270 (delta 170), pack-reused 2045
Receiving objects: 100% (2349/2349), 802.70 KiB | 8.82 MiB/s, done.
Resolving deltas: 100% (1554/1554), done.
[classic@framework tmp]$ cd pifpaf/
[classic@framework pifpaf:master]$ python setup.py sdist
running sdist
running egg_info
creating pifpaf.egg-info
writing pifpaf.egg-info/PKG-INFO
writing dependency_links to pifpaf.egg-info/dependency_links.txt
writing entry points to pifpaf.egg-info/entry_points.txt
writing requirements to pifpaf.egg-info/requires.txt
writing top-level names to pifpaf.egg-info/top_level.txt
writing manifest file 'pifpaf.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'pifpaf.egg-info/SOURCES.txt'
running check
creating pifpaf-3.1.6.dev46+gd37bae2
creating pifpaf-3.1.6.dev46+gd37bae2/.github
creating pifpaf-3.1.6.dev46+gd37bae2/.github/workflows
creating pifpaf-3.1.6.dev46+gd37bae2/pifpaf
creating pifpaf-3.1.6.dev46+gd37bae2/pifpaf.egg-info
creating pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
creating pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates
creating pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/artemis
creating pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/qdrouterd
creating pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/swift
creating pifpaf-3.1.6.dev46+gd37bae2/pifpaf/tests
copying files to pifpaf-3.1.6.dev46+gd37bae2...
copying .dockerignore -> pifpaf-3.1.6.dev46+gd37bae2
copying .gitignore -> pifpaf-3.1.6.dev46+gd37bae2
copying .mergify.yml -> pifpaf-3.1.6.dev46+gd37bae2
copying .stestr.conf -> pifpaf-3.1.6.dev46+gd37bae2
copying Dockerfile -> pifpaf-3.1.6.dev46+gd37bae2
copying LICENSE -> pifpaf-3.1.6.dev46+gd37bae2
copying README.rst -> pifpaf-3.1.6.dev46+gd37bae2
copying pifpaf.jpg -> pifpaf-3.1.6.dev46+gd37bae2
copying pyproject.toml -> pifpaf-3.1.6.dev46+gd37bae2
copying setup.cfg -> pifpaf-3.1.6.dev46+gd37bae2
copying setup.py -> pifpaf-3.1.6.dev46+gd37bae2
copying tox.ini -> pifpaf-3.1.6.dev46+gd37bae2
copying .github/workflows/pifpaf-ci-image.yaml -> pifpaf-3.1.6.dev46+gd37bae2/.github/workflows
copying .github/workflows/pifpaf.yaml -> pifpaf-3.1.6.dev46+gd37bae2/.github/workflows
copying pifpaf/__init__.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf
copying pifpaf/__main__.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf
copying pifpaf/util.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf
copying pifpaf.egg-info/PKG-INFO -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf.egg-info
copying pifpaf.egg-info/SOURCES.txt -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf.egg-info
copying pifpaf.egg-info/dependency_links.txt -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf.egg-info
copying pifpaf.egg-info/entry_points.txt -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf.egg-info
copying pifpaf.egg-info/requires.txt -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf.egg-info
copying pifpaf.egg-info/top_level.txt -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf.egg-info
copying pifpaf/drivers/__init__.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/aodh.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/artemis.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/ceph.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/consul.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/couchdb.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/elasticsearch.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/etcd.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/fakes3.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/gnocchi.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/httpbin.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/influxdb.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/kafka.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/keystone.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/memcached.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/mongodb.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/mysql.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/postgresql.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/qdrouterd.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/rabbitmq.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/redis.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/s3rver.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/swift.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/vault.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/zookeeper.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers
copying pifpaf/drivers/templates/artemis/broker.xml -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/artemis
copying pifpaf/drivers/templates/qdrouterd/broker_om.conf.inc -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/qdrouterd
copying pifpaf/drivers/templates/qdrouterd/direct_om.conf.inc -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/qdrouterd
copying pifpaf/drivers/templates/qdrouterd/qdrouterd.conf -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/qdrouterd
copying pifpaf/drivers/templates/qdrouterd/sasl_qdrouterd.conf -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/qdrouterd
copying pifpaf/drivers/templates/swift/account.conf -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/swift
copying pifpaf/drivers/templates/swift/common.conf.inc -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/swift
copying pifpaf/drivers/templates/swift/container-sync-realms.conf -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/swift
copying pifpaf/drivers/templates/swift/container.conf -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/swift
copying pifpaf/drivers/templates/swift/object.conf -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/swift
copying pifpaf/drivers/templates/swift/proxy.conf -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/swift
copying pifpaf/drivers/templates/swift/sitecustomize.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/swift
copying pifpaf/drivers/templates/swift/swift.conf -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/drivers/templates/swift
copying pifpaf/tests/__init__.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/tests
copying pifpaf/tests/test_cli.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/tests
copying pifpaf/tests/test_drivers.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/tests
copying pifpaf/tests/unkillable.py -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf/tests
copying pifpaf.egg-info/SOURCES.txt -> pifpaf-3.1.6.dev46+gd37bae2/pifpaf.egg-info
Writing pifpaf-3.1.6.dev46+gd37bae2/setup.cfg
creating dist
Creating tar archive
removing 'pifpaf-3.1.6.dev46+gd37bae2' (and everything under it)
[classic@framework pifpaf:master]$ cd ..
[classic@framework tmp]$ python -m venv .venv
[classic@framework tmp]$ .venv/bin/pip install pifpaf/dist/pifpaf-3.1.6.dev46+gd37bae2.tar.gz
Processing ./pifpaf/dist/pifpaf-3.1.6.dev46+gd37bae2.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting daiquiri (from pifpaf==3.1.6.dev46+gd37bae2)
Using cached daiquiri-3.2.5.1-py3-none-any.whl.metadata (1.6 kB)
Collecting click (from pifpaf==3.1.6.dev46+gd37bae2)
Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting jinja2 (from pifpaf==3.1.6.dev46+gd37bae2)
Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting fixtures (from pifpaf==3.1.6.dev46+gd37bae2)
Using cached fixtures-4.1.0-py3-none-any.whl.metadata (21 kB)
Collecting packaging (from pifpaf==3.1.6.dev46+gd37bae2)
Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting psutil (from pifpaf==3.1.6.dev46+gd37bae2)
Using cached psutil-6.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (21 kB)
Collecting xattr (from pifpaf==3.1.6.dev46+gd37bae2)
Using cached xattr-1.1.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.8 kB)
Collecting python-json-logger (from daiquiri->pifpaf==3.1.6.dev46+gd37bae2)
Using cached python_json_logger-2.0.7-py3-none-any.whl.metadata (6.5 kB)
Collecting pbr>=5.7.0 (from fixtures->pifpaf==3.1.6.dev46+gd37bae2)
Using cached pbr-6.0.0-py2.py3-none-any.whl.metadata (1.3 kB)
Collecting MarkupSafe>=2.0 (from jinja2->pifpaf==3.1.6.dev46+gd37bae2)
Using cached MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
Collecting cffi>=1.16.0 (from xattr->pifpaf==3.1.6.dev46+gd37bae2)
Using cached cffi-1.17.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.16.0->xattr->pifpaf==3.1.6.dev46+gd37bae2)
Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Using cached daiquiri-3.2.5.1-py3-none-any.whl (19 kB)
Using cached fixtures-4.1.0-py3-none-any.whl (64 kB)
Using cached jinja2-3.1.4-py3-none-any.whl (133 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached psutil-6.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (290 kB)
Using cached xattr-1.1.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (39 kB)
Using cached cffi-1.17.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479 kB)
Using cached MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28 kB)
Using cached pbr-6.0.0-py2.py3-none-any.whl (107 kB)
Using cached python_json_logger-2.0.7-py3-none-any.whl (8.1 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: pifpaf
Building wheel for pifpaf (pyproject.toml) ... done
Created wheel for pifpaf: filename=pifpaf-3.1.6.dev46+gd37bae2-py3-none-any.whl size=10519 sha256=a8030ad6260456dedce24a7a5679d4500b16430f1a41f572d72f7927b259f45a
Stored in directory: /home/classic/.cache/pip/wheels/f7/24/4c/72741e04e537b6069a46b88f898ac9110b9a031c6b0f7a91fb
Successfully built pifpaf
Installing collected packages: python-json-logger, pycparser, psutil, pbr, packaging, MarkupSafe, click, jinja2, fixtures, daiquiri, cffi, xattr, pifpaf
Successfully installed MarkupSafe-2.1.5 cffi-1.17.0 click-8.1.7 daiquiri-3.2.5.1 fixtures-4.1.0 jinja2-3.1.4 packaging-24.1 pbr-6.0.0 pifpaf-3.1.6.dev46+gd37bae2 psutil-6.0.0 pycparser-2.22 python-json-logger-2.0.7 xattr-1.1.0
[notice] A new release of pip is available: 23.3.2 -> 24.2
[notice] To update, run: python3.12 -m pip install --upgrade pip
[classic@framework tmp]$ .venv/bin/pifpaf run redis
CRITICAL [root] Traceback (most recent call last):
File "/home/classic/tmp/.venv/bin/pifpaf", line 8, in <module>
sys.exit(run_main())
^^^^^^^^^^
File "/home/classic/tmp/.venv/lib64/python3.12/site-packages/pifpaf/__main__.py", line 299, in run_main
return main.main(standalone_mode=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/classic/tmp/.venv/lib64/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/classic/tmp/.venv/lib64/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/classic/tmp/.venv/lib64/python3.12/site-packages/click/core.py", line 1682, in invoke
cmd_name, cmd, args = self.resolve_command(ctx, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/classic/tmp/.venv/lib64/python3.12/site-packages/click/core.py", line 1729, in resolve_command
cmd = self.get_command(ctx, cmd_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/classic/tmp/.venv/lib64/python3.12/site-packages/pifpaf/__main__.py", line 133, in get_command
plugin = [e for e in DAEMONS if e.name == name][0].load()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/importlib/metadata/__init__.py", line 205, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'pifpaf.drivers'
The text was updated successfully, but these errors were encountered:
This is a copy of redis with names changed for Valkey.
Note this code cannot be tested with modern Python tooling
due to unresolved issues in setup.cfg , see jd#176 and jd#177 .
We should probably include package data with include_package_data as with #179, but the correct way should be like below and not use setup.py (legacy).
setup.cfg contains only the "pifpaf" module as an install:
pifpaf/setup.cfg
Lines 21 to 24 in d37bae2
I'm not sure of this history of this but this fails to install "drivers", both from a pip install from github, as well as if I do a "python setup.py sdist" the drivers are missing when you do the actual install
demo one, install from master:
demo two, python setup.py sdist . it seems to put the drivers into the tar.gz but they still dont install
The text was updated successfully, but these errors were encountered: