Skip to content

Commit 0086f2b

Browse files
committed
Fixing issue with zmq/pyzmq dependency.
1 parent 56bfec2 commit 0086f2b

4 files changed

Lines changed: 11 additions & 10 deletions

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ listed in _requirements.txt_ file in the repository and can be installed by
5252
5353
**Description of dependencies:**
5454

55-
- zmq -- binding to ZeroMQ framework
55+
- pyzmq -- binding to ZeroMQ framework
5656
- websockets -- framework for communication over WebSockets
5757
- asyncio -- library for fast asynchronous operations
5858
- pyyaml -- parsing YAML configuration files

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ classifiers = [
2424
"Programming Language :: Python :: 3.12",
2525
]
2626
dependencies = [
27-
"zmq",
27+
"pyzmq",
2828
"websockets",
2929
"PyYAML",
3030
]

recodex-monitor.spec

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
%define name recodex-monitor
22
%define short_name monitor
33
%define version 1.2.0
4-
%define unmangled_version e7445be80385b4fba0870294b86344e2e44a1390
5-
%define release 1
4+
%define unmangled_version 56bfec2ffa5d4eff0d3b8b92bce3837175ca0b53
5+
%define release 2
66

77
Summary: Publish ZeroMQ messages through WebSockets
88
Name: %{name}
@@ -24,8 +24,9 @@ BuildRequires: python3dist(setuptools) >= 61.0
2424
Requires(post): systemd
2525
Requires(preun): systemd
2626
Requires(postun): systemd
27-
%{?fedora:Requires: python3-PyYAML python3-websockets python3-zmq}
28-
%{?rhel:Requires: python3-PyYAML}
27+
# %{?fedora:Requires: python3-PyYAML python3-websockets python3-zmq}
28+
# %{?rhel:Requires: python3-PyYAML python3-websockets python3-pyzmq}
29+
Requires: python3-PyYAML python3-websockets python3-pyzmq
2930

3031
Source0: https://github.com/ReCodEx/%{short_name}/archive/%{unmangled_version}.tar.gz#/%{short_name}-%{unmangled_version}.tar.gz
3132

@@ -64,9 +65,9 @@ getent passwd recodex >/dev/null || useradd -r -g recodex -d %{_sysconfdir}/reco
6465
exit 0
6566

6667
%post
67-
%if 0%{?rhel}
68-
pip3 install websockets zmq
69-
%endif
68+
#%if 0%{?rhel}
69+
# pip3 install websockets zmq
70+
#%endif
7071
%systemd_post 'recodex-monitor.service'
7172

7273
%preun

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44

55
# ZeroMQ
6-
zmq
6+
pyzmq
77

88
# WebSockets
99
websockets

0 commit comments

Comments
 (0)