Lewis John McGibbney created FLAGON-453:
-------------------------------------------
Summary: Fix DISTILL build
Key: FLAGON-453
URL: https://issues.apache.org/jira/browse/FLAGON-453
Project: Flagon
Issue Type: Improvement
Components: Distill
Affects Versions: Distill 0.1.0
Environment: python3 --version
Python 3.7.4
pip3 --version
pip 19.1.1 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)
Reporter: Lewis John McGibbney
Assignee: Lewis John McGibbney
Fix For: Distill 0.1.0
The DISTILL build is currently broken as follows
{code}
git clone https://gitbox.apache.org/repos/asf/incubator-flagon-distill.git &&
cd incubator-flagon-distill
pip3 install -r requirements.txt
...
Successfully installed Babel-2.4.0 Flask-0.12.2 Jinja2-2.9.6 Sphinx-1.6.3
Werkzeug-0.12.2 alabaster-0.7.10 amqp-2.2.1 astroid-1.5.3 backports-abc-0.5
backports.functools-lru-cache-1.4 billiard-3.5.0.3 celery-4.1.0
certifi-2017.7.27.1 click-6.7 configparser-3.5.0 coverage-4.4.1 docutils-0.14
elasticsearch-5.4.0 elasticsearch-dsl-5.3.0 enum34-1.1.6 flower-0.9.2
futures-3.1.1 imagesize-0.7.1 isort-4.2.15 itsdangerous-0.24 kombu-4.1.0
lazy-object-proxy-1.3.1 py-1.4.34 pylint-1.7.2 pytest-3.2.0 pytest-cov-2.5.1
pytest-html-1.15.1 pytest-metadata-1.5.0 pytest-pylint-0.7.1
python-dateutil-2.6.1 requests-2.18.3 singledispatch-3.4.0.3 six-1.10.0
snowballstemmer-1.2.1 sphinx-rtd-theme-0.2.4 sphinxcontrib-websupport-1.0.1
tornado-4.5.1 typing-3.6.1 urllib3-1.22 vine-1.1.4 wrapt-1.10.10
Traceback (most recent call last):
File "/usr/local/bin/pip3", line 11, in <module>
load_entry_point('pip==19.1.1', 'console_scripts', 'pip3')()
File "/usr/local/lib/python3.7/site-packages/pip/_internal/__init__.py", line
78, in main
return command.main(cmd_args)
File
"/usr/local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py",
line 227, in main
timeout=min(5, options.timeout)
File
"/usr/local/lib/python3.7/site-packages/pip/_internal/cli/base_command.py",
line 92, in _build_session
insecure_hosts=options.trusted_hosts,
File "/usr/local/lib/python3.7/site-packages/pip/_internal/download.py", line
380, in __init__
self.headers["User-Agent"] = user_agent()
File "/usr/local/lib/python3.7/site-packages/pip/_internal/download.py", line
160, in user_agent
setuptools_version = get_installed_version("setuptools")
File "/usr/local/lib/python3.7/site-packages/pip/_internal/utils/misc.py",
line 889, in get_installed_version
working_set = pkg_resources.WorkingSet()
File
"/usr/local/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py",
line 567, in __init__
self.add_entry(entry)
File
"/usr/local/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py",
line 623, in add_entry
for dist in find_distributions(entry, True):
File
"/usr/local/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py",
line 1974, in find_eggs_in_zip
if metadata.has_metadata('PKG-INFO'):
File
"/usr/local/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py",
line 1414, in has_metadata
return self._has(path)
File
"/usr/local/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py",
line 1845, in _has
return zip_path in self.zipinfo or zip_path in self._index()
File
"/usr/local/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py",
line 1722, in zipinfo
return self._zip_manifests.load(self.loader.archive)
File
"/usr/local/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py",
line 1679, in load
mtime = os.stat(path).st_mtime
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.7/site-packages/snowballstemmer-1.9.0-py3.7.egg'
{code}
By upgrading snowballstemmer in requirements.txt I can get the stack to build.
Additionally, the [installation
logic|http://flagon.incubator.apache.org/docs/distill/] states that there is a
docker-compose build... which there is not. I'm therefore going to submit a
patch to remove this documentation.
Patch coming up.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)