clusterlabs / anvil-external-deps Goto Github PK
View Code? Open in Web Editor NEWcollection of scripts and spec files for Anvil!
License: GNU General Public License v2.0
collection of scripts and spec files for Anvil!
License: GNU General Public License v2.0
The python3-websockify
package itself installs without issues (non-EPEL dependencies are already present), but it doesn't function correctly:
$ websockify --help
Traceback (most recent call last):
File "/usr/bin/websockify", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3095, in <module>
@_call_aside
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 888, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 774, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'simplejson' distribution was not found and is required by websockify
dnf
shows the correct dependencies after dnf install epel-release
:
python3-simplejson
python3-redis
python3-jwcrypto
(which requires enabling module stream idm
)python3-numpy
(which requires libgfortran
, libquadmath
, openblas
, and openblas-threads
)Note: dependencies above are specified in the setup.py
within the sources, not the spec file.
Workarounds I've tried that doesn't work:
epel-release
as a dependency to one of 1) anvil-core
, or 2) anvil-node
and anvil-dr
. This method failed because epel-release
isn't installed prior to the dependency resolution for installing anvil-core
and either anvil-node
or anvil-dr
. dnf
resolves all dependencies before installation, meaning epel-release
must be installed before the dependency resolution to make the correct dependencies visible.dnf install epel-release
to the %pre
section and dnf remove epel-release
to the %post
section for anvil-node
and anvil-dr
. This method failed because it instructs dnf
to do a nested installation which causes a deadlock.Note: this issue has not been tested on a freshly installed system; not sure if it only happens on the system I'm using.
May I get some direction(s) on how to solve this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.