Closed crazygao closed 3 months ago
I'm facing the same issue with python-poetry:
❯ poetry update
Updating dependencies
Resolving dependencies... (5.0s)
Package operations: 0 installs, 2 updates, 0 removals
- Updating pyzmq (26.0.0 -> 26.0.1): Failed
RuntimeError
Unable to find installation candidates for pyzmq (26.0.1)
at ~/.local/share/pypoetry/venv/lib/python3.11/site-packages/poetry/installation/chooser.py:74 in choose_for
70│
71│ links.append(link)
72│
73│ if not links:
→ 74│ raise RuntimeError(f"Unable to find installation candidates for {package}")
75│
76│ # Get the best link
77│ chosen = max(links, key=lambda link: self._sort_key(package, link))
78│
Cannot install pyzmq.
Facing the same problem with my Poetry setup. Unfortunately, before this error, I didn't even know I use this package somewhere. 😄
Tbh I don't want to restrict the version now explicitly within my pyproject.toml
but it is also braking my GitHub actions. I'm looking forward to a hotfix somewhere, somehow, soon 😄
:point_right: Command:
pip install pyzmq==26.0.1
:x: Error
ERROR: Could not find a version that satisfies the requirement pyzmq==26.0.1 (from versions: 2.0.7, 2.0.8, 2.0.10, 2.0.10.1, 2.1.1, 2.1.4, 2.1.7, 2.1.9, 2.1.10, 2.1.11, 2.2.0, 2.2.0.1, 13.0.0, 13.0.1, 13.0.2, 13.1.0, 14.0.0, 14.0.1, 14.1.0, 14.1.1, 14.2.0, 14.3.0, 14.3.1, 14.4.0, 14.4.1, 14.5.0, 14.6.0, 14.7.0, 15.0.0, 15.1.0, 15.2.0, 15.3.0, 15.4.0, 16.0.0, 16.0.1, 16.0.2, 16.0.3, 16.0.4, 17.0.0b1, 17.0.0b2, 17.0.0b3, 17.0.0b4, 17.0.0, 17.1.0, 17.1.1, 17.1.2, 17.1.3, 18.0.0, 18.0.1, 18.0.2, 18.1.0, 18.1.1, 19.0.0, 19.0.1, 19.0.2, 20.0.0, 21.0.0, 21.0.1, 21.0.2, 22.0.0, 22.0.1, 22.0.2, 22.0.3, 22.1.0, 22.2.0, 22.2.1, 22.3.0, 23.0.0b1, 23.0.0b2, 23.0.0, 23.1.0, 23.2.0, 23.2.1, 24.0.0, 24.0.1, 25.0.0b1, 25.0.0, 25.0.1, 25.0.2, 25.1.0, 25.1.1b1, 25.1.1b2, 25.1.1, 25.1.2, 26.0.0a1, 26.0.0a2, 26.0.0a3, 26.0.0a4, 26.0.0a5, 26.0.0a6, 26.0.0b1, 26.0.0b2, 26.0.0)
ERROR: No matching distribution found for pyzmq==26.0.1
+1...same issue here with Poetry
For context, It seems like only ARM64 build were uploaded to the release (not x86_64)
win_amd64 failed too https://github.com/zeromq/pyzmq/actions/runs/8751239804
curl: (28) Failed to connect to download.libsodium.org port 443 after 75179 ms: Couldn't connect to server
Not sure what best practice is but can a "verify all wheels built successfully" step be added to the wheels workflow? I.e. prevent release unless all builds were successful?
I.e something like https://github.com/zeromq/pyzmq/pull/1979
For the people that ended up here looking for a workaround, you can specify pyzmq
as a dependency in your pyproject.yml
enforcing a version < 26.0.0:
pyzmq = "<26.0.0"
@alexrs 26.0.0
works fine, so <26.0.1
is sufficient
release is in the process of publishing from CI, should be resolved within an hour
26.0.1 is published now
Still encountering same problem with 26.0.1. in poetry
This is a pyzmq bug
What pyzmq version?
26.0.1
What libzmq version?
Nan
Python version (and how it was installed)
every version
OS
Every system
What happened?
Code to reproduce bug
No response
Traceback, if applicable
No response
More info
No response