Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: update pyzmq version #399

Closed
3 tasks done
yves84 opened this issue May 21, 2024 · 4 comments · Fixed by #401 or #411
Closed
3 tasks done

[Bug]: update pyzmq version #399

yves84 opened this issue May 21, 2024 · 4 comments · Fixed by #401 or #411
Assignees
Labels
BUG 🐛 Vidgear api's error, flaw or fault SOLVED 🏁 This issue/PR is resolved now. Goal Achieved!
Milestone

Comments

@yves84
Copy link

yves84 commented May 21, 2024

Description

Old version from pyzmq (24.0.1) breaks install process from vidgear.

Issue Checklist

  • I have searched open or closed issues for my problem and found nothing related or helpful.
  • I have read the Documentation and found nothing related to my problem.
  • I've read the Issue Guidelines and wholeheartedly agree.

Expected behaviour

Install successful.

Actual behaviour

Fails to build pyzmq 24.0.1. Install aborted...

Steps to reproduce

pip3 install vidgear[core]

Terminal log output

Install log:


$ pipenv install "vidgear[core]"
Installing vidgear...
Resolving vidgear[core]...
Added vidgear to Pipfile's [packages] ...
✔ Installation Succeeded
Pipfile.lock (e3a716) out of date, updating to (08fe5d)...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✔ Success!
Locking [dev-packages] dependencies...
Updated Pipfile.lock (cc7cf9bf09263ebbe4a86d9f4b5cd07d858ff23a6fac114c6eae65970508fe5d)!
Installing dependencies from Pipfile.lock (08fe5d)...
[pipenv.exceptions.InstallError]: Collecting brotli==1.1.0 (from -r /tmp/pipenv-st9uzgcz-requirements/pipenv-4my7c_8n-hashed-reqs.txt (line 1))
[pipenv.exceptions.InstallError]:   Using cached Brotli-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.9 MB)
[pipenv.exceptions.InstallError]: Collecting easyprocess==1.1 (from -r /tmp/pipenv-st9uzgcz-requirements/pipenv-4my7c_8n-hashed-reqs.txt (line 2))
[pipenv.exceptions.InstallError]:   Using cached EasyProcess-1.1-py3-none-any.whl (8.7 kB)
[pipenv.exceptions.InstallError]: Collecting entrypoint2==1.1 (from -r /tmp/pipenv-st9uzgcz-requirements/pipenv-4my7c_8n-hashed-reqs.txt (line 3))
[pipenv.exceptions.InstallError]:   Using cached entrypoint2-1.1-py2.py3-none-any.whl (9.9 kB)
[pipenv.exceptions.InstallError]: Collecting jeepney==0.8.0 (from -r /tmp/pipenv-st9uzgcz-requirements/pipenv-4my7c_8n-hashed-reqs.txt (line 4))
[pipenv.exceptions.InstallError]:   Using cached jeepney-0.8.0-py3-none-any.whl (48 kB)
[pipenv.exceptions.InstallError]: Collecting mss==9.0.1 (from -r /tmp/pipenv-st9uzgcz-requirements/pipenv-4my7c_8n-hashed-reqs.txt (line 5))
[pipenv.exceptions.InstallError]:   Using cached mss-9.0.1-py3-none-any.whl (22 kB)
[pipenv.exceptions.InstallError]: Collecting mutagen==1.47.0 (from -r /tmp/pipenv-st9uzgcz-requirements/pipenv-4my7c_8n-hashed-reqs.txt (line 6))
[pipenv.exceptions.InstallError]:   Using cached mutagen-1.47.0-py3-none-any.whl (194 kB)
[pipenv.exceptions.InstallError]: Collecting pillow==10.3.0 (from -r /tmp/pipenv-st9uzgcz-requirements/pipenv-4my7c_8n-hashed-reqs.txt (line 7))
[pipenv.exceptions.InstallError]:   Using cached pillow-10.3.0-cp312-cp312-manylinux_2_28_x86_64.whl (4.5 MB)
[pipenv.exceptions.InstallError]: Collecting pycryptodomex==3.20.0 (from -r /tmp/pipenv-st9uzgcz-requirements/pipenv-4my7c_8n-hashed-reqs.txt (line 8))
[pipenv.exceptions.InstallError]:   Using cached pycryptodomex-3.20.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
[pipenv.exceptions.InstallError]: Collecting pyscreenshot==3.1 (from -r /tmp/pipenv-st9uzgcz-requirements/pipenv-4my7c_8n-hashed-reqs.txt (line 9))
[pipenv.exceptions.InstallError]:   Using cached pyscreenshot-3.1-py3-none-any.whl (28 kB)
[pipenv.exceptions.InstallError]: Collecting pyzmq==24.0.1 (from -r /tmp/pipenv-st9uzgcz-requirements/pipenv-4my7c_8n-hashed-reqs.txt (line 10))
[pipenv.exceptions.InstallError]:   Using cached pyzmq-24.0.1.tar.gz (1.2 MB)
[pipenv.exceptions.InstallError]:   Installing build dependencies: started
[pipenv.exceptions.InstallError]:   Installing build dependencies: finished with status 'done'
[pipenv.exceptions.InstallError]:   Getting requirements to build wheel: started
[pipenv.exceptions.InstallError]:   Getting requirements to build wheel: finished with status 'done'
[pipenv.exceptions.InstallError]:   Preparing metadata (pyproject.toml): started
[pipenv.exceptions.InstallError]:   Preparing metadata (pyproject.toml): finished with status 'done'
[pipenv.exceptions.InstallError]: Collecting simplejpeg==1.7.2 (from -r /tmp/pipenv-st9uzgcz-requirements/pipenv-4my7c_8n-hashed-reqs.txt (line 11))
[pipenv.exceptions.InstallError]:   Using cached simplejpeg-1.7.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (405 kB)
[pipenv.exceptions.InstallError]: Collecting websockets==12.0 (from -r /tmp/pipenv-st9uzgcz-requirements/pipenv-4my7c_8n-hashed-reqs.txt (line 12))
[pipenv.exceptions.InstallError]:   Using cached websockets-12.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (131 kB)
[pipenv.exceptions.InstallError]: Collecting yt-dlp==2024.4.9 (from -r /tmp/pipenv-st9uzgcz-requirements/pipenv-4my7c_8n-hashed-reqs.txt (line 13))
[pipenv.exceptions.InstallError]:   Using cached yt_dlp-2024.4.9-py3-none-any.whl (3.1 MB)
[pipenv.exceptions.InstallError]: Building wheels for collected packages: pyzmq
[pipenv.exceptions.InstallError]:   Building wheel for pyzmq (pyproject.toml): started
[pipenv.exceptions.InstallError]:   Building wheel for pyzmq (pyproject.toml): finished with status 'error'
[pipenv.exceptions.InstallError]: Failed to build pyzmq
[pipenv.exceptions.InstallError]: error: subprocess-exited-with-error
[pipenv.exceptions.InstallError]:   
[pipenv.exceptions.InstallError]:   × Building wheel for pyzmq (pyproject.toml) did not run successfully.
[pipenv.exceptions.InstallError]:   │ exit code: 1
[pipenv.exceptions.InstallError]:   ╰─> [271 lines of output]
[pipenv.exceptions.InstallError]:       /tmp/pip-build-env-mnn4lsq2/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py:266: UserWarning: Unknown distribution option: 'cffi_modules'
[pipenv.exceptions.InstallError]:         warnings.warn(msg)
[pipenv.exceptions.InstallError]:       running bdist_wheel
[pipenv.exceptions.InstallError]:       running build
[pipenv.exceptions.InstallError]:       running build_py
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq
[pipenv.exceptions.InstallError]:       copying zmq/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq
[pipenv.exceptions.InstallError]:       copying zmq/_future.py -> build/lib.linux-x86_64-cpython-312/zmq
[pipenv.exceptions.InstallError]:       copying zmq/_typing.py -> build/lib.linux-x86_64-cpython-312/zmq
[pipenv.exceptions.InstallError]:       copying zmq/asyncio.py -> build/lib.linux-x86_64-cpython-312/zmq
[pipenv.exceptions.InstallError]:       copying zmq/constants.py -> build/lib.linux-x86_64-cpython-312/zmq
[pipenv.exceptions.InstallError]:       copying zmq/decorators.py -> build/lib.linux-x86_64-cpython-312/zmq
[pipenv.exceptions.InstallError]:       copying zmq/error.py -> build/lib.linux-x86_64-cpython-312/zmq
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq/auth
[pipenv.exceptions.InstallError]:       copying zmq/auth/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq/auth
[pipenv.exceptions.InstallError]:       copying zmq/auth/asyncio.py -> build/lib.linux-x86_64-cpython-312/zmq/auth
[pipenv.exceptions.InstallError]:       copying zmq/auth/base.py -> build/lib.linux-x86_64-cpython-312/zmq/auth
[pipenv.exceptions.InstallError]:       copying zmq/auth/certs.py -> build/lib.linux-x86_64-cpython-312/zmq/auth
[pipenv.exceptions.InstallError]:       copying zmq/auth/ioloop.py -> build/lib.linux-x86_64-cpython-312/zmq/auth
[pipenv.exceptions.InstallError]:       copying zmq/auth/thread.py -> build/lib.linux-x86_64-cpython-312/zmq/auth
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq/backend
[pipenv.exceptions.InstallError]:       copying zmq/backend/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq/backend
[pipenv.exceptions.InstallError]:       copying zmq/backend/select.py -> build/lib.linux-x86_64-cpython-312/zmq/backend
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq/backend/cffi
[pipenv.exceptions.InstallError]:       copying zmq/backend/cffi/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq/backend/cffi
[pipenv.exceptions.InstallError]:       copying zmq/backend/cffi/_poll.py -> build/lib.linux-x86_64-cpython-312/zmq/backend/cffi
[pipenv.exceptions.InstallError]:       copying zmq/backend/cffi/context.py -> build/lib.linux-x86_64-cpython-312/zmq/backend/cffi
[pipenv.exceptions.InstallError]:       copying zmq/backend/cffi/devices.py -> build/lib.linux-x86_64-cpython-312/zmq/backend/cffi
[pipenv.exceptions.InstallError]:       copying zmq/backend/cffi/error.py -> build/lib.linux-x86_64-cpython-312/zmq/backend/cffi
[pipenv.exceptions.InstallError]:       copying zmq/backend/cffi/message.py -> build/lib.linux-x86_64-cpython-312/zmq/backend/cffi
[pipenv.exceptions.InstallError]:       copying zmq/backend/cffi/socket.py -> build/lib.linux-x86_64-cpython-312/zmq/backend/cffi
[pipenv.exceptions.InstallError]:       copying zmq/backend/cffi/utils.py -> build/lib.linux-x86_64-cpython-312/zmq/backend/cffi
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq/backend/cython
[pipenv.exceptions.InstallError]:       copying zmq/backend/cython/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq/backend/cython
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq/devices
[pipenv.exceptions.InstallError]:       copying zmq/devices/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq/devices
[pipenv.exceptions.InstallError]:       copying zmq/devices/basedevice.py -> build/lib.linux-x86_64-cpython-312/zmq/devices
[pipenv.exceptions.InstallError]:       copying zmq/devices/monitoredqueue.py -> build/lib.linux-x86_64-cpython-312/zmq/devices
[pipenv.exceptions.InstallError]:       copying zmq/devices/monitoredqueuedevice.py -> build/lib.linux-x86_64-cpython-312/zmq/devices
[pipenv.exceptions.InstallError]:       copying zmq/devices/proxydevice.py -> build/lib.linux-x86_64-cpython-312/zmq/devices
[pipenv.exceptions.InstallError]:       copying zmq/devices/proxysteerabledevice.py -> build/lib.linux-x86_64-cpython-312/zmq/devices
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq/eventloop
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/_deprecated.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/future.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/ioloop.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/zmqstream.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq/eventloop/minitornado
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/minitornado/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop/minitornado
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/minitornado/concurrent.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop/minitornado
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/minitornado/ioloop.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop/minitornado
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/minitornado/log.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop/minitornado
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/minitornado/stack_context.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop/minitornado
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/minitornado/util.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop/minitornado
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq/eventloop/minitornado/platform
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/minitornado/platform/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop/minitornado/platform
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/minitornado/platform/auto.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop/minitornado/platform
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/minitornado/platform/common.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop/minitornado/platform
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/minitornado/platform/interface.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop/minitornado/platform
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/minitornado/platform/posix.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop/minitornado/platform
[pipenv.exceptions.InstallError]:       copying zmq/eventloop/minitornado/platform/windows.py -> build/lib.linux-x86_64-cpython-312/zmq/eventloop/minitornado/platform
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq/green
[pipenv.exceptions.InstallError]:       copying zmq/green/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq/green
[pipenv.exceptions.InstallError]:       copying zmq/green/core.py -> build/lib.linux-x86_64-cpython-312/zmq/green
[pipenv.exceptions.InstallError]:       copying zmq/green/device.py -> build/lib.linux-x86_64-cpython-312/zmq/green
[pipenv.exceptions.InstallError]:       copying zmq/green/poll.py -> build/lib.linux-x86_64-cpython-312/zmq/green
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq/green/eventloop
[pipenv.exceptions.InstallError]:       copying zmq/green/eventloop/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq/green/eventloop
[pipenv.exceptions.InstallError]:       copying zmq/green/eventloop/ioloop.py -> build/lib.linux-x86_64-cpython-312/zmq/green/eventloop
[pipenv.exceptions.InstallError]:       copying zmq/green/eventloop/zmqstream.py -> build/lib.linux-x86_64-cpython-312/zmq/green/eventloop
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq/log
[pipenv.exceptions.InstallError]:       copying zmq/log/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq/log
[pipenv.exceptions.InstallError]:       copying zmq/log/__main__.py -> build/lib.linux-x86_64-cpython-312/zmq/log
[pipenv.exceptions.InstallError]:       copying zmq/log/handlers.py -> build/lib.linux-x86_64-cpython-312/zmq/log
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq/ssh
[pipenv.exceptions.InstallError]:       copying zmq/ssh/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq/ssh
[pipenv.exceptions.InstallError]:       copying zmq/ssh/forward.py -> build/lib.linux-x86_64-cpython-312/zmq/ssh
[pipenv.exceptions.InstallError]:       copying zmq/ssh/tunnel.py -> build/lib.linux-x86_64-cpython-312/zmq/ssh
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq/sugar
[pipenv.exceptions.InstallError]:       copying zmq/sugar/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq/sugar
[pipenv.exceptions.InstallError]:       copying zmq/sugar/attrsettr.py -> build/lib.linux-x86_64-cpython-312/zmq/sugar
[pipenv.exceptions.InstallError]:       copying zmq/sugar/context.py -> build/lib.linux-x86_64-cpython-312/zmq/sugar
[pipenv.exceptions.InstallError]:       copying zmq/sugar/frame.py -> build/lib.linux-x86_64-cpython-312/zmq/sugar
[pipenv.exceptions.InstallError]:       copying zmq/sugar/poll.py -> build/lib.linux-x86_64-cpython-312/zmq/sugar
[pipenv.exceptions.InstallError]:       copying zmq/sugar/socket.py -> build/lib.linux-x86_64-cpython-312/zmq/sugar
[pipenv.exceptions.InstallError]:       copying zmq/sugar/stopwatch.py -> build/lib.linux-x86_64-cpython-312/zmq/sugar
[pipenv.exceptions.InstallError]:       copying zmq/sugar/tracker.py -> build/lib.linux-x86_64-cpython-312/zmq/sugar
[pipenv.exceptions.InstallError]:       copying zmq/sugar/version.py -> build/lib.linux-x86_64-cpython-312/zmq/sugar
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/conftest.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_asyncio.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_auth.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_cffi_backend.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_constants.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_context.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_cython.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_decorators.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_device.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_draft.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_error.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_etc.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_ext.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_future.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_imports.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_includes.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_ioloop.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_log.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_message.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_monitor.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_monqueue.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_multipart.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_mypy.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_pair.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_poll.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_proxy_steerable.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_pubsub.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_reqrep.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_retry_eintr.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_security.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_socket.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_ssh.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_version.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_win32_shim.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_z85.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/tests/test_zmqstream.py -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       creating build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/utils/__init__.py -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/utils/garbage.py -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/utils/interop.py -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/utils/jsonapi.py -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/utils/monitor.py -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/utils/strtypes.py -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/utils/win32.py -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/utils/z85.py -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/__init__.pyi -> build/lib.linux-x86_64-cpython-312/zmq
[pipenv.exceptions.InstallError]:       copying zmq/py.typed -> build/lib.linux-x86_64-cpython-312/zmq
[pipenv.exceptions.InstallError]:       copying zmq/__init__.pxd -> build/lib.linux-x86_64-cpython-312/zmq
[pipenv.exceptions.InstallError]:       copying zmq/backend/__init__.pyi -> build/lib.linux-x86_64-cpython-312/zmq/backend
[pipenv.exceptions.InstallError]:       copying zmq/backend/cffi/_cdefs.h -> build/lib.linux-x86_64-cpython-312/zmq/backend/cffi
[pipenv.exceptions.InstallError]:       copying zmq/backend/cython/__init__.pxd -> build/lib.linux-x86_64-cpython-312/zmq/backend/cython
[pipenv.exceptions.InstallError]:       copying zmq/backend/cython/checkrc.pxd -> build/lib.linux-x86_64-cpython-312/zmq/backend/cython
[pipenv.exceptions.InstallError]:       copying zmq/backend/cython/context.pxd -> build/lib.linux-x86_64-cpython-312/zmq/backend/cython
[pipenv.exceptions.InstallError]:       copying zmq/backend/cython/libzmq.pxd -> build/lib.linux-x86_64-cpython-312/zmq/backend/cython
[pipenv.exceptions.InstallError]:       copying zmq/backend/cython/message.pxd -> build/lib.linux-x86_64-cpython-312/zmq/backend/cython
[pipenv.exceptions.InstallError]:       copying zmq/backend/cython/socket.pxd -> build/lib.linux-x86_64-cpython-312/zmq/backend/cython
[pipenv.exceptions.InstallError]:       copying zmq/backend/cython/constant_enums.pxi -> build/lib.linux-x86_64-cpython-312/zmq/backend/cython
[pipenv.exceptions.InstallError]:       copying zmq/devices/monitoredqueue.pxd -> build/lib.linux-x86_64-cpython-312/zmq/devices
[pipenv.exceptions.InstallError]:       copying zmq/sugar/__init__.pyi -> build/lib.linux-x86_64-cpython-312/zmq/sugar
[pipenv.exceptions.InstallError]:       copying zmq/tests/cython_ext.pyx -> build/lib.linux-x86_64-cpython-312/zmq/tests
[pipenv.exceptions.InstallError]:       copying zmq/utils/buffers.pxd -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/utils/getpid_compat.h -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/utils/ipcmaxlen.h -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/utils/mutex.h -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/utils/pyversion_compat.h -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/utils/zmq_compat.h -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/utils/compiler.json -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       copying zmq/utils/config.json -> build/lib.linux-x86_64-cpython-312/zmq/utils
[pipenv.exceptions.InstallError]:       warning: build_py: byte-compiling is disabled, skipping.
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       running build_ext
[pipenv.exceptions.InstallError]:       running configure
[pipenv.exceptions.InstallError]:       Settings obtained from pkg-config: {'library_dirs': [], 'include_dirs': ['/usr/include/p11-kit-1', '/usr/include/pgm-5.3'], 'libraries': ['zmq']}
[pipenv.exceptions.InstallError]:       {'libraries': ['zmq'], 'include_dirs': ['/usr/include/p11-kit-1', '/usr/include/pgm-5.3'], 'library_dirs': [], 'runtime_library_dirs': [], 'extra_link_args': []}
[pipenv.exceptions.InstallError]:       Configure: Autodetecting ZMQ settings...
[pipenv.exceptions.InstallError]:           Custom ZMQ dir:
[pipenv.exceptions.InstallError]:       Checking for timer_create
[pipenv.exceptions.InstallError]:       ** Errors about missing timer_create are a normal part of this process **
[pipenv.exceptions.InstallError]:       gcc -fno-strict-overflow -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -fPIC -I/home/yves/.local/share/virtualenvs/BIT_P2-2024-SpOTvZUX/include -I/usr/include/python3.12 -c /tmp/timer_createk91gtrnb.c -o tmp/timer_createk91gtrnb.o
[pipenv.exceptions.InstallError]:       gcc tmp/timer_createk91gtrnb.o -L/usr/lib -o a.out
[pipenv.exceptions.InstallError]:       gcc -fno-strict-overflow -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -fPIC -I/usr/include/p11-kit-1 -I/usr/include/pgm-5.3 -Izmq/utils -c build/temp.linux-x86_64-cpython-312/scratch/vers.c -o build/temp.linux-x86_64-cpython-312/scratch/vers.o
[pipenv.exceptions.InstallError]:       gcc build/temp.linux-x86_64-cpython-312/scratch/vers.o -lzmq -o build/temp.linux-x86_64-cpython-312/scratch/vers
[pipenv.exceptions.InstallError]:           ZMQ version detected: 4.3.5
[pipenv.exceptions.InstallError]:       building 'zmq.backend.cython._device' extension
[pipenv.exceptions.InstallError]:       creating build/temp.linux-x86_64-cpython-312/zmq
[pipenv.exceptions.InstallError]:       creating build/temp.linux-x86_64-cpython-312/zmq/backend
[pipenv.exceptions.InstallError]:       creating build/temp.linux-x86_64-cpython-312/zmq/backend/cython
[pipenv.exceptions.InstallError]:       gcc -fno-strict-overflow -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -fPIC -DHAVE_SYS_UN_H=1 -I/usr/include/p11-kit-1 -I/usr/include/pgm-5.3 -Izmq/utils -I/home/yves/.local/share/virtualenvs/BIT_P2-2024-SpOTvZUX/include -I/usr/include/python3.12 -c zmq/backend/cython/_device.c -o build/temp.linux-x86_64-cpython-312/zmq/backend/cython/_device.o
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c: In Funktion »__pyx_pf_3zmq_7backend_6cython_7_device_device«:
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:1804:5: Warnung: »ma_version_tag« ist veraltet [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:        1804 |     __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_proxy); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 54, __pyx_L1_error)
[pipenv.exceptions.InstallError]:             |     ^~~~~~~~~~~~~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       In Datei, eingebunden von /usr/include/python3.12/dictobject.h:90,
[pipenv.exceptions.InstallError]:                        von /usr/include/python3.12/Python.h:64,
[pipenv.exceptions.InstallError]:                        von zmq/backend/cython/_device.c:25:
[pipenv.exceptions.InstallError]:       /usr/include/python3.12/cpython/dictobject.h:22:34: Anmerkung: hier deklariert
[pipenv.exceptions.InstallError]:          22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
[pipenv.exceptions.InstallError]:             |                                  ^~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:1984:7: Warnung: »ma_version_tag« ist veraltet [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:        1984 |       __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_InterruptedSystemCall); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 62, __pyx_L13_except_error)
[pipenv.exceptions.InstallError]:             |       ^~~~~~~~~~~~~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/python3.12/cpython/dictobject.h:22:34: Anmerkung: hier deklariert
[pipenv.exceptions.InstallError]:          22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
[pipenv.exceptions.InstallError]:             |                                  ^~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c: In Funktion »__pyx_pf_3zmq_7backend_6cython_7_device_2proxy«:
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:2355:7: Warnung: »ma_version_tag« ist veraltet [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:        2355 |       __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_InterruptedSystemCall); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 96, __pyx_L13_except_error)
[pipenv.exceptions.InstallError]:             |       ^~~~~~~~~~~~~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/python3.12/cpython/dictobject.h:22:34: Anmerkung: hier deklariert
[pipenv.exceptions.InstallError]:          22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
[pipenv.exceptions.InstallError]:             |                                  ^~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c: In Funktion »__Pyx_get_tp_dict_version«:
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:3586:5: Warnung: »ma_version_tag« ist veraltet [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:        3586 |     return likely(dict) ? __PYX_GET_DICT_VERSION(dict) : 0;
[pipenv.exceptions.InstallError]:             |     ^~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/python3.12/cpython/dictobject.h:22:34: Anmerkung: hier deklariert
[pipenv.exceptions.InstallError]:          22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
[pipenv.exceptions.InstallError]:             |                                  ^~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c: In Funktion »__Pyx_get_object_dict_version«:
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:3598:5: Warnung: »ma_version_tag« ist veraltet [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:        3598 |     return (dictptr && *dictptr) ? __PYX_GET_DICT_VERSION(*dictptr) : 0;
[pipenv.exceptions.InstallError]:             |     ^~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/python3.12/cpython/dictobject.h:22:34: Anmerkung: hier deklariert
[pipenv.exceptions.InstallError]:          22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
[pipenv.exceptions.InstallError]:             |                                  ^~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c: In Funktion »__Pyx_object_dict_version_matches«:
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:3602:5: Warnung: »ma_version_tag« ist veraltet [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:        3602 |     if (unlikely(!dict) || unlikely(tp_dict_version != __PYX_GET_DICT_VERSION(dict)))
[pipenv.exceptions.InstallError]:             |     ^~
[pipenv.exceptions.InstallError]:       /usr/include/python3.12/cpython/dictobject.h:22:34: Anmerkung: hier deklariert
[pipenv.exceptions.InstallError]:          22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
[pipenv.exceptions.InstallError]:             |                                  ^~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c: In Funktion »__Pyx__GetModuleGlobalName«:
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:3619:5: Warnung: »ma_version_tag« ist veraltet [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:        3619 |     __PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version)
[pipenv.exceptions.InstallError]:             |     ^~~~~~~~~~~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/python3.12/cpython/dictobject.h:22:34: Anmerkung: hier deklariert
[pipenv.exceptions.InstallError]:          22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
[pipenv.exceptions.InstallError]:             |                                  ^~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c: In Funktion »__Pyx_Raise«:
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:4372:34: Fehler: »PyThreadState« {alias »struct _ts«} hat kein Element namens »curexc_traceback«
[pipenv.exceptions.InstallError]:        4372 |         PyObject* tmp_tb = tstate->curexc_traceback;
[pipenv.exceptions.InstallError]:             |                                  ^~
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:4375:19: Fehler: »PyThreadState« {alias »struct _ts«} hat kein Element namens »curexc_traceback«
[pipenv.exceptions.InstallError]:        4375 |             tstate->curexc_traceback = tb;
[pipenv.exceptions.InstallError]:             |                   ^~
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c: In Funktion »__Pyx_CLineForTraceback«:
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:5145:9: Warnung: »ma_version_tag« ist veraltet [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:        5145 |         __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
[pipenv.exceptions.InstallError]:             |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/python3.12/cpython/dictobject.h:22:34: Anmerkung: hier deklariert
[pipenv.exceptions.InstallError]:          22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
[pipenv.exceptions.InstallError]:             |                                  ^~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:5145:9: Warnung: »ma_version_tag« ist veraltet [-Wdeprecated-declarations]
[pipenv.exceptions.InstallError]:        5145 |         __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
[pipenv.exceptions.InstallError]:             |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       /usr/include/python3.12/cpython/dictobject.h:22:34: Anmerkung: hier deklariert
[pipenv.exceptions.InstallError]:          22 |     Py_DEPRECATED(3.12) uint64_t ma_version_tag;
[pipenv.exceptions.InstallError]:             |                                  ^~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c: In Funktion »__Pyx_PyInt_As_int«:
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:5408:53: Fehler: »PyLongObject« {alias »struct _longobject«} hat kein Element namens »ob_digit«
[pipenv.exceptions.InstallError]:        5408 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
[pipenv.exceptions.InstallError]:             |                                                     ^~
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:5463:53: Fehler: »PyLongObject« {alias »struct _longobject«} hat kein Element namens »ob_digit«
[pipenv.exceptions.InstallError]:        5463 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
[pipenv.exceptions.InstallError]:             |                                                     ^~
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c: In Funktion »__Pyx_PyInt_As_long«:
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:5680:53: Fehler: »PyLongObject« {alias »struct _longobject«} hat kein Element namens »ob_digit«
[pipenv.exceptions.InstallError]:        5680 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
[pipenv.exceptions.InstallError]:             |                                                     ^~
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:5735:53: Fehler: »PyLongObject« {alias »struct _longobject«} hat kein Element namens »ob_digit«
[pipenv.exceptions.InstallError]:        5735 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
[pipenv.exceptions.InstallError]:             |                                                     ^~
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c: In Funktion »__Pyx_PyIndex_AsSsize_t«:
[pipenv.exceptions.InstallError]:       zmq/backend/cython/_device.c:6086:45: Fehler: »PyLongObject« {alias »struct _longobject«} hat kein Element namens »ob_digit«
[pipenv.exceptions.InstallError]:        6086 |     const digit* digits = ((PyLongObject*)b)->ob_digit;
[pipenv.exceptions.InstallError]:             |                                             ^~
[pipenv.exceptions.InstallError]:       ************************************************
[pipenv.exceptions.InstallError]:       ************************************************
[pipenv.exceptions.InstallError]:       error: command '/usr/bin/gcc' failed with exit code 1
[pipenv.exceptions.InstallError]:       [end of output]
[pipenv.exceptions.InstallError]:   
[pipenv.exceptions.InstallError]:   note: This error originates from a subprocess, and is likely not a problem with pip.
[pipenv.exceptions.InstallError]:   ERROR: Failed building wheel for pyzmq
[pipenv.exceptions.InstallError]: ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects
ERROR: Couldn't install package: {}
 Package installation failed...


### Python Code(Optional)

_No response_

### VidGear Version

0.3.2

### Python version

3.12.3

### OpenCV version

4.9.0.80

### Operating System version

Manjaro  (rolling)

### Any other Relevant Information?

its not a bug from vidgear. the dep. pyzmq version 24.0.1 has a bug with cython. it breaks the install process. pls update the deps for pyzmq. 

see https://github.com/cython/cython/issues/5238

ty!
@yves84 yves84 added the BUG 🐛 Vidgear api's error, flaw or fault label May 21, 2024
Copy link

welcome bot commented May 21, 2024

Thanks for opening this issue, a maintainer will get back to you shortly!

In the meantime:

  • Read our Issue Guidelines, and update your issue accordingly. Please note that your issue will be fixed much faster if you spend about half an hour preparing it, including the exact reproduction steps and a demo.
  • Go comprehensively through our dedicated FAQ & Troubleshooting section.
  • For any quick questions and typos, please refrain from opening an issue, as you can reach us on Gitter community channel.

@abhiTronix
Copy link
Owner

@yves84 The next release v0.3.3 is right around the corner. This issue will be fixed automatically shortly.

@abhiTronix abhiTronix added the WORK IN PROGRESS 🚧 currently been worked on. label May 21, 2024
@abhiTronix abhiTronix added this to To do in VidGear v0.3.3 via automation May 30, 2024
@abhiTronix abhiTronix added this to the v0.3.3 milestone May 30, 2024
abhiTronix added a commit that referenced this issue May 30, 2024
…#399)

- 💬 pyzmq version `24.0.1` has a bug with Cython, and it breaks the installation process. See issue [cython/cython#5238](cython/cython#5238).
abhiTronix added a commit that referenced this issue Jun 7, 2024
…PI [#401]

💬 This commit includes significant refactoring, documentation updates, and enhancements across StreamGear, WriteGear, and NetGear APIs. It introduces safer process termination methods, improved parameter handling, and enhanced documentation for better user guidance. Additionally, it addresses several bugs and improves the overall maintainability and clarity of the codebase.

- Refactored stream copy handling to address errors with unsupported parameters (Fixes #396).
  - Moved settings for "-vf" and "-aspect" inside conditional blocks.
  - Added warnings and discarded these parameters in stream copy mode.
  - Fixed incompatibility of stream copy with Real-time Frames Mode.
    - Added warnings and discarded `-vcodec copy` when using this mode.
- Deprecated `terminate()` method, introducing `close()` for safer process termination.
  - Updated documentation and tests to reflect these changes.
- Introduced new `-enable_force_termination` attribute for immediate FFmpeg process termination.
- Restricted `-livestream` parameter to Real-time Frames Mode only.
  - Disabled live streaming for video files and updated relevant logging.
- Removed non-essential aspect ratio parameter to prevent unwanted distortions (Fixes #385).
  - Enhanced warning messages and clarified documentation.
- Updated `close()` methods for handling gracefully signal interruptions on different systems with device audio streams.
  - Adjusted signals for graceful termination based on the operating system.

#### WriteGear API:
- Simplified the logic for formatting output parameters.


#### NetGear API:
- Fixed Secure Mode failing to work on conflicting ZMQ Contexts:
  - Handled "Address in use" error more gracefully and disabled secure mode if errors occur.
  - Improved handling of ZMQ Authenticator and Certificates.
- Enhanced logging and error handling for secure mode.
  - Logged Authenticator start/stop events.
- Handled socket session expiration more gracefully in `recv_handler`.
- Fixed `msg_json` undefined when terminating context in the `recv_handler` method.
- Ensured proper termination of the ZMQ context and socket when closing the NetGear instance.
- Added Admonition for warning users about the Client's end must run before the Server's end to establish a secure connection in Secure Mode.

#### Helper Class:
- Added a custom deprecated decorator to mark deprecated functions and parameters.
  - It displays a warning message when a deprecated function or parameter is used.
- Updated `extract_time` helper function regex to handle milliseconds.

#### Setup
- Updated setup.py to use the latest `pyzmq` version to address installation issues (Fixes #399).

#### Documentation:
- StreamGear Updates:
  - Improved the overview section's description and wording.
  - Updated usage examples for both Single-Source Mode and Real-time Frames Mode.
    - Updated StreamGear usage examples for device audio input.
    - Refactored sections for Live Streaming usage.
      - Added warning for unsupported `-livestream` parameter in Single-Source Mode.
    - Updated usage example for device video source.
  - Addressed deprecation of the `terminate()` method in favor of the new `close()` method.
    - Updated respective notices for the deprecated `terminate()` method and `rgb_mode` parameter.
  - Added the use of new `-enable_force_termination` parameter.
  - Added a new FAQ entry about the deprecated `rgb_mode` parameter.
  - Added a deprecation warning admonition for the `rgb_mode` parameter in the `stream()` method.
    - Removed the obsolete usage example for deprecation RGB mode with StreamGear.
  - Added documentation and usage of the new `-enable_force_termination` parameter.
    - Modified the warning message to mention that forced termination can cause corrupted output in certain scenarios.
  - Updated the docstring for the `stream()` method and `transcode_source()` method.
  - Refactored the StreamGear API Parameters documentation to enhance clarity and readability.
    - Refined the description of the `-streams` attribute of the StreamGear API.
- Updated the documentation for the `-disable_force_termination` parameter in WriteGear API.
- Improved overall documentation quality, including enhancing clarity, readability, consistency, and precision.
- Added detailed explanations, practical examples, best practices, and clearer usage patterns.
- Fixed various issues like typos, formatting errors, code highlighting issues, and grammar inconsistencies.
- Updated sections, code examples, admonitions, and comments for better clarity and accuracy.
- Fixed minor typo in `js_hook.py`.

#### CI
- Improved parameterized test cases to support floating point values.
- Fixed various typos and code issues in tests.
- Updated StreamGear tests to use the new `close()` method instead of the deprecated terminate() method.
- Updated tests of various APIs for better coverage and reliability.
- Enabled `kill=True` in `close()` in NetGear Tests.
- Fixed expected duration value in parameterized test case from `8` to `8.44` since `test_extract_time` function now supports floating point values.
- Fixed `test_secure_mode` NetGear test:
  - Added `"127.0.0.1"` address to allow common endpoint for connection.
  - Added `"jpeg_compression":False` to disable frame compression, allowing frame to be the same while assertion.


#### Maintenance:
- Applied short-circuiting to simplify code across various APIs and tests.
- Improved logging, parameter validation, and added descriptive dialogs across various APIs.
@abhiTronix
Copy link
Owner

Successfully resolved and merged in commit d4243ab

VidGear v0.3.3 automation moved this from To do to Done Jun 7, 2024
@abhiTronix abhiTronix added SOLVED 🏁 This issue/PR is resolved now. Goal Achieved! and removed WORK IN PROGRESS 🚧 currently been worked on. labels Jun 7, 2024
abhiTronix added a commit that referenced this issue Jun 22, 2024
This update significantly enhances Vidgear's capabilities, ensuring better performance, broader compatibility, and improved user experience. The introduction of the Picamera2 API support, enhanced error handling, and detailed documentation updates are pivotal in making Vidgear more robust and user-friendly.

====================

### New Features ✨
- **PiGear:**
    + Official Support for Picamera2 API backend (Fixes #342)
        * This massive update brings official support for the new Picamera2 API, unlocking powerful features for Raspberry Pi Camera Modules and limited USB camera support. 
        * **Seamless Python wrapper:** A robust wrapper around Picamera2 API library simplifies integration with minimal code changes for existing PiGear users.
        * **Enhanced camera control:** Leverages libcamera API under the hood for Raspberry Pi Camera Modules.
        * **Existing compatibility:** Maintains compatibility with PiGear's existing super-charged multi-threaded and colorspace manipulation framework.
        * **Proper Resource management:** Ensures proper resource release during PiGear termination.
        * **USB camera support (limited):** Provides basic functionality for USB webcams. PiGear could accurately differentiates between USB and Raspberry Pi cameras using metadata.
        * **Backward compatibility:** Seamlessly switches to the legacy Picamera library backend if Picamera2 is unavailable.
        * **Standalone functionalities:** Standalone functionalities for both legacy `picamera` and newer `picamera2` backends for clarity.
        * **Advanced optional parameters handling:** Handles camera configurational parameters and user-defined settings for various camera types.
            * **New optional configurational parameters:** Currently Supports "sensor", "format", "controls", "transform", "stride", "buffer_count", and "queue" with sanity checks. Seperated Raspberry Pi camera module exclusive and Unified USB cameras supported optional parameters.
            * **New user-defined optional parameters:** Such as `auto_align_output_config`, `enable_verbose_logs`, and more.
- **StreamGear:**
    * Introduced new `-enable_force_termination` attribute for immediate FFmpeg process termination.
- **Helper:**
    * Added support for SRTP/RTSPS in `is_valid_url` function (Fixes #410)
        + Enhanced `is_valid_url` in `helper.py` to recognize and support both `rtsp` and `rtsps` protocols. (Suggested by @jonra1993)
        + SRTP/RTSPS extends RTSP/RTP to encrypt video and audio data using the same ciphers as HTTPS, typically AES with a 128-bit key length.
    * Added a custom deprecated decorator to mark deprecated functions and parameters to display a warning message when a deprecated one is used.
- **Docs:**
    * Overhauled mkdocs theme.
        + Added `unrecognized_links: ignore` to `mkdocs.yml` for validations.
        + Added custom admonition icons to mkdocs.yml 
        + Added new `git-authors` plugin in mkdocs.yml 
        + Added new tables markdown extension in mkdocs.yml 
        + Added custom fences to `pymdownx.superfences` markdown extension. 
        + Added `line_spans: __span` and `pygments_lang_class: true` parameters to `pymdownx.highlight` markdown extension. 
        + Added `normalize_issue_symbols: true` to `pymdownx.magiclink` markdown extension.
        + Added new mkdocs feature dependency `mkdocs-git-authors-plugin`.
    * Added the use of new `-enable_force_termination` parameter.
    * Added a new FAQ entry about the deprecated `rgb_mode` parameter.
    * Added new `screengear_error11.png` asset.
- **CI:**
    * Added test cases for `import_dependency_safe` function to validate different scenarios and error handling in `import_dependency_safe`.


### Updates/Improvements ⚡️
- Core: 
    * Improved exception handling for module imports: 
        + Updated `import_dependency_safe` in `helper.py`:
            * Added specific handling for `ModuleNotFoundError`.
            * Included original exception in `ImportError` for better error tracing.
            * Enhanced logging to include exception traceback when error is set to "log".
        + Enhanced `import_core_dependency` in `__init__.py`:
            * Added specific handling for `ModuleNotFoundError`.
            * Included original exception in `ImportError` for better error tracing.
    * Improved colorspace handling in videocapture gears:
        + Logged a warning and discarded invalid colorspace values instead of raising an exception.
        + Consolidated colorspace logging into a single line using a ternary operation.
- Asyncio:
    * Replaced deprecated Starlette's `on_shutdown` parameter with an async context manager `lifespan` in WebGear and WebGear_RTC APIs. (Fixes #397)
        + Moved shutdown logic for VideoGear and peer RTC connections to this new `lifespan` context manager.
        + Added new `contextlib` import for using `asynccontextmanager`.
- NetGear_Async API:
    * Modified `__init__` method to handle event loop more robustly:
        + Try to get the running event loop using `asyncio.get_running_loop()`
        + If no running event loop found, create a new one with `asyncio.new_event_loop()`
        + Log if creating a new event loop
    * Changed launch method to use `self.loop.create_task()` instead of `asyncio.ensure_future()`
        + Ensures the task is created using the correct event loop instance.
    * Moved the event loop initialization code to an earlier point before setting event loop policy to ensure it is set up correctly before selecting `WindowsSelectorEventLoop` policy.
        + On Windows, vidgear requires the `WindowsSelectorEventLoop`, but Python 3.8 and above defaults to the `ProactorEventLoop` which is not compatible.
    * Removed redundant python version check to set `WindowsSelectorEventLoop` policy, as minimum supported version is already `3.8`.
    * Move event loop setup and policy assignment to the beginning of `__init__` before zmq Context creation.
    * Refactored return data handling.
- StreamGear:
    * Updated `close()` methods for handling gracefully signal interruptions based on different operating systems with device audio streams.
    * Deprecated `terminate()` method, introducing `close()` for safer process termination.
    * Enhanced stream copy support in Single Source mode (Fixes #396).
        + Moved settings for "-vf" and "-aspect" inside conditional blocks.
        + Added warnings and discarded these parameters in stream copy mode.
        + Ignored stream copy parameter in Real-time Frames Mode or Custom Streams with appropriate warnings.
        + Updated `-acodec` handling:
            * Default to `aac` for Custom Streams.
            * Use stream copy (`-acodec copy`) for input video’s audio when Custom Streams are disabled.
        + Refined `-livestream` parameter usage to Real-time Frames Mode only.
        + Adjusted video and audio bitrate assignment to skip when stream copy is enabled.
        + Improved log message for `-clear_prev_assets` parameter.
    * Restricted `-livestream` parameter to Real-time Frames Mode only.
        + Disabled live streaming for video files and updated relevant logging.
    * Enhanced warning messages and clarified description.
- PiGear:
    * Logging optimization with warning for common `libcamera` messages.
    * Lowered `framerate` minimum value to `0.0`.
    * Moved `sensor` optional parameter to commonly supported picamera2 configurational parameters.
    * Removed unsupported `bit_depth` optional parameters.
    * Updated PiGear API tagline and introduction.
- NetGear: 
    * Enhanced logging and error handling for secure mode.
    * Logged Authenticator start/stop events.
    * Handled socket session expiration more gracefully in `recv_handler`.
    * Ensured proper termination of the ZMQ context and socket when closing the NetGear instance.
- WebGear:
    * Enhanced error messages for WebGear auto-generation workflow (Fixes #403)
        + Updated `homepage`, `not_found`, and `server_error` methods to include more detailed JSON error messages.
        + Added specific error and message prefixes to improve clarity.
- WebGear_RTC:
    * Optimized peer connection closure to avoid redundant closures.
    * Reduced unnecessary logging by only logging ICE connection state changes when they are not in a "failed" state.
- WriteGear:
    * Simplified the logic for formatting output parameters.
    * Improved error handling in `execute_ffmpeg_cmd` method:
        + Raised `ValueError` with descriptive messages for `BrokenPipeError` or `IOError`.
        + Updated error handling per PEP 409 to preserve original exception context or suppress it based on logging settings.
- CamGear:
    * Removed GStreamer support check.
    * Improved readability of livestream warning logs.
- Setup.py:
    * Dropped legacy picamera dependency in `setup.py`.
    * Updated setup.py to use the latest `pyzmq` version to address installation issues (Fixes #399).
- Helper:
    * Added patch for substring index bug in `get_supported_demuxers` helper method.
    * Updated `extract_time` helper function regex to handle milliseconds.
- Docs:
    * Update StreamGear documentation:
        + Updated documentation to deprecated `terminate()` method, and introducing `close()` for safer process termination.
        + Improved the overview section's description and wording.
        + Updated usage examples for both Single-Source Mode and Real-time Frames Mode.
        + Updated StreamGear usage examples for device audio input.
        + Refactored sections for Live Streaming usage.
            * Added warning for unsupported `-livestream` parameter in Single-Source Mode.
        + Added a tip box on benefits of using stream copy (`-vcodec copy`) for faster HLS/DASH transcoding.
            * Highlighted limitations of stream copy, including incompatibility with Real-time Frames Mode and Custom Streams.
            * Clarified automatic audio stream copy (`-acodec copy`) usage with input video’s audio stream.
        + Updated usage example for device video source.
        + Addressed deprecation of the `terminate()` method in favor of the new `close()` method.
        + Updated respective notices for the deprecated `terminate()` method and `rgb_mode` parameter.
        + Added a deprecation warning admonition for the `rgb_mode` parameter in the `stream()` method.
        + Removed the obsolete usage example for deprecation RGB mode with StreamGear.
        + Added documentation and usage of the new `-enable_force_termination` parameter.
        + Modified the warning message to mention that forced termination can cause corrupted output in certain scenarios.
        + Updated the docstring for the `stream()` method and `transcode_source()` method.
        + Refactored the StreamGear API Parameters documentation to enhance clarity and readability.
        + Refined the description of the `-streams` attribute of the StreamGear API.
    * Update PiGear documentation:
        + Added a warning advising users to disable common `libcamera` messages when logging is disabled.
        + Updated Picamera2 installation instructions _(including `apt`, `pip`, pre-installation on Raspberry Pi images, and compatibility warnings)_
        + Moved legacy Picamera library installation instructions to an admonition.
        + Removed Importing section from overview to avoid confusion.
    * Update NetGear documentation:
        + Added Admonition for warning users about the Client's end must run before the Server's end to establish a secure connection in Secure Mode.
        + Added warning log for potential issues with `flag=1` (NOBLOCK). (Fixes #390)
            * Changed default value of `copy` to `True` in NetGear API documentation.
        + Noted that `track` option is ignored when `copy=True`.
    * Update WriteGear documentationL
        + Updated the documentation for the `-disable_force_termination` parameter.
    * Update `README.md`:
        + Replaced deprecated options (`frame_jpeg_quality`, `frame_jpeg_optimize`, `frame_jpeg_progressive`) with their newer equivalents (`jpeg_compression_quality,` `jpeg_compression_fastdct`, `jpeg_compression_fastupsample`) in WebGear usage example.
    * Update `mkdocs.yml`:
        + Set `edit_uri` for GitHub edit links.
        + Add new theme features like content actions, tooltips, etc.
        + Update palette settings for light/dark mode.
        + Enable new markdown extensions.
        + Add custom javascript hook support.
        + Migrated to new Google Analytics 4.
        + Replaced depreciated `materialx `with supported emoji extension.
        + Replaced permalink icon with default one.
        + Change system mode toggle icon and name in `mkdocs.yml`.
    * Improved overall documentation quality by added detailed explanations, practical examples, following best practices, and clearer usage patterns.
    * Updated sections, code examples, admonitions, and comments for better readability, consistency, and precision.
    * Added missing version contributors to `changelog.md`.
    * Added new icons to make headings more readable.
    * Replaced unsupported admonitions with supported ones.
    * Removed all custom admonition icons and color CSS from `custom.css`.
    * Removed Twitter section from help and docs site metadata.
    * Updated Zenodo badge and BibTeX entry.
    * Added workaround for 'AttributeError: 'DXCamera' object has no attribute 'is_capturing'' error on Windows.
    * Remove script tags from `main.html` and use a custom hook for adding javascripts on certain pages.
    * Refactored all APIs and bonus examples to use `linenums` and `hl_lines` which makes it easier to highlight specific lines in code blocks.
    * Removed Gitter community chat sidecard JS file.
    * Redefined spacing between sections.
    * Add failure warning in various docs about `picamera` incompatibility on 64-bit OS.
    * Update announcement icon in `main.html`.
    * Remove `site.webmanifest` file.
- Maintenance:
    * Improved logging, parameter validation, and added descriptive dialogs across various APIs.
    * Moved logging enablement before version logging for consistency in vidgear APIs.
    * Removed redundant boolean assignment for various APIs internal logging.
    * Simplified conditional statements and assignments using short-circuiting, Boolean operations, and ternary operators across various APIs and tests.
    * Refactored vidgear code to improve readability, maintainability, and performance.
    * Added `.cache` directory to `.gitignore`, 
    * Updated vidgear library version to `v0.3.3`.
    * Improved code efficiency with short-circuiting and formatting.
    * Updated logging practices to be more developer-friendly.
    * Removed unnecessary parentheses and type checks.
    * Removed unused imports.
    * Updated code comments.
- CI:
    * Temporarily removed PiGear API from code coverage due to hardware limitations.
    * Deprecated custom `event_loop` fixture overrides in WebGear_RTC and NetGear_Async tests
        + Removed redundant `pytest.mark.asyncio` decorators from several test functions. 
    * Add a new `event_loop_policy` fixture for pytest to override the event loop policy:
        + Added new recommended approach of using `pytest.mark.asyncio(scope="module")` to mark all WebGear_RTC and NetGear_Async tests as asynchronous and utilize the same event loop throughout the module.
        + Log the event loop being used for debugging.
    * Updated NetGear unit tests to reflect the new default for `copy`.
    * Ensured coverage for `raise`, `log`, `silent`, and unknown error types.
    * Improved parameterized test cases to support floating point values.
    * Updated StreamGear tests to use the new `close()` method instead of the deprecated terminate() method.
    * Updated tests of various APIs for better coverage and reliability.
    * Enabled `kill=True` in `close()` in NetGear Tests.
    * Removed pinned `cryptography==38.0.4` dependency.
    * Remove unused imports and code cleanup.
    * Rearranged the dependencies.


### Breaking Updates/Changes 💥
- StreamGear:
    * Deprecated `terminate()` method and introduce `close()` method.
        + The `terminate()` method in StreamGear is now deprecated and will be removed in a future release. Developers should use the new `close()` method instead, which provides a more descriptive name like in  WriteGear API for terminating StreamGear processes safely.
    * Deprecated `rgb_mode` parameter in `stream()` method.
        + This parameter will be removed in a future version, and only BGR format frames will be supported.
    * Restricted -livestream parameter to Real-time Frames Mode only.
        + Live streaming is intended for low-latency streaming of real-time frames, where chunks contain only the most recent frames. It doesn't make sense when streaming from a video file, as the entire file can be streamed normally without the need for live streaming.



### Bug-fixes 🐛
- PiGear:
    * Modify PiGear class behavior when `enforce_legacy_picamera=True` on unsupported system
        + Instead of silently disabling `picamera2` API directly, PiGear now raises an error if `picamera` is unavailable or unsupported
        + Prevented incorrect initialization of `PiGear` class on unsupported 64-bit OS systems.
    * Fixed `UnboundLocalError` bug for 'picamera2' variable assigment.
    * Fixed `UnboundLocalError` bug for 'queue' variable assignment.
    * Fixed colorspace typo bug.
- StreamGear:
    * Fixed incompatibility of stream copy with Real-time Frames Mode.
        + Added warnings and discarded `-vcodec copy` when using this mode.
    * Removed non-essential aspect ratio parameter to prevent unwanted distortions (Fixes #385).
    * Moved handle streaming format to beginning to fix 'StreamGear' object has no attribute '_StreamGear__format' bug.
- NetGear: 
    * Fixed Secure Mode failing to work on conflicting ZMQ Contexts:
        + Handled "Address in use" error more gracefully and disabled secure mode if errors occur.
        + Improved handling of ZMQ Authenticator and Certificates.
    * Fixed `msg_json` undefined when terminating context in the `recv_handler` method.
- CamGear:
    * Fixed logging condition for yt-dlp (Fixes #394) 
        + Updated `no_warnings` parameter in `CamGear` to be `False` when logging is enabled and `True` otherwise.
- Docs:
    * Replaced buggy kofi widget with a button image in `index.md`.
    * Fixed Ko-fi sponsorship heart hover effect in footer 
        + Replaced `twemoji` heart emoji with `heart-pulse` fontawesome SVG  
    * Fixed titles and indentations in various admonitions.
    * Fixed various issues in code comments, and hyperlinks URLs. 
    * Fixed typos, formatting, code highlighting, and grammar inconsistencies.
    * Fixed minor typo in `js_hook.py`.
- CI:
    * Fixed simplejpeg and opencv not compatible with `numpy==2.x.x` versions.
        + Pinned `numpy<2.0.0` in all CI envs.
    * Fixed expected duration value in parameterized test case from `8` to `8.44` since `test_extract_time` function now supports floating point values.
    * Fixed `test_secure_mode` NetGear test:
        + Added `"127.0.0.1"` address to allow common endpoint for connection.
        + Added `"jpeg_compression":False` to disable frame compression, allowing frame to be the same while assertion.
    * Fixed `pip install` hash bug in Azure Pipelines CI.
    * Fixed various typos and code issues in tests.
    * Fixed invalid escape sequence in testcase string.
    * Fixed python environment bugs in `appveyor.yml`.
@abhiTronix
Copy link
Owner

Hi @yves84, The vidgear v0.3.3 with this issue resolved is officially released: https://pypi.org/project/vidgear/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG 🐛 Vidgear api's error, flaw or fault SOLVED 🏁 This issue/PR is resolved now. Goal Achieved!
Projects
No open projects
2 participants