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

fix: description in opensearch template #1175

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Vinfall
Copy link

@Vinfall Vinfall commented Aug 25, 2024

Currently the generated opensearch xml have a unwanted trailing \n in description, casued by the line break before </Description>. This PR solves this and updates desc to latest one in GitHub repo. The latter is arguable but tbh the original one is so long that it can't be fully shown if added to browser search engine. A change is needed anyway.

@Vinfall
Copy link
Author

Vinfall commented Aug 25, 2024

docker_tests failed due to a unrelated error for missing deps:

Details

#15 [builder 5/5] RUN pip install --prefix /install --no-warn-script-location --no-cache-dir -r requirements.txt
#15 0.440 Traceback (most recent call last):
#15 0.440   File "/usr/local/bin/pip", line 8, in <module>
#15 0.440     sys.exit(main())
#15 0.440              ^^^^^^
#15 0.440   File "/usr/local/lib/python3.11/site-packages/pip/_internal/cli/main.py", line 78, in main
#15 0.440     command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
#15 0.441               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#15 0.441   File "/usr/local/lib/python3.11/site-packages/pip/_internal/commands/__init__.py", line 114, in create_command
#15 0.441     module = importlib.import_module(module_path)
#15 0.441              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#15 0.441   File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
#15 0.441     return _bootstrap._gcd_import(name[level:], package, level)
#15 0.441            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#15 0.441   File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
#15 0.441   File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
#15 0.441   File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
#15 0.441   File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
#15 0.441   File "<frozen importlib._bootstrap_external>", line 924, in exec_module
#15 0.441   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
#15 0.441   File "/usr/local/lib/python3.11/site-packages/pip/_internal/commands/install.py", line 16, in <module>
#15 0.441     from pip._internal.cli.req_command import (
#15 0.441     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#15 0.441   File "/usr/local/lib/python3.11/site-packages/pip/_internal/cli/req_command.py", line 19, in <module>
#15 0.441     from pip._internal.index.package_finder import PackageFinder
#15 0.441     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#15 0.441   File "/usr/local/lib/python3.11/site-packages/pip/_internal/index/package_finder.py", line 31, in <module>
#15 0.442     from pip._internal.req import InstallRequirement
#15 0.442     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#15 0.442   File "/usr/local/lib/python3.11/site-packages/pip/_internal/req/__init__.py", line 9, in <module>
#15 0.442     from .req_install import InstallRequirement
#15 0.442     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#15 0.442   File "/usr/local/lib/python3.11/site-packages/pip/_internal/req/req_install.py", line 41, in <module>
#15 0.442     from pip._internal.pyproject import load_pyproject_toml, make_pyproject_path
#15 0.442     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#15 0.442   File "/usr/local/lib/python3.11/site-packages/pip/_internal/pyproject.py", line 8, in <module>
#15 0.442     import tomllib
#15 0.442     ^^^^^^^^^^^^^^
#15 0.442 ModuleNotFoundError: No module named 'tomllib'
#15 ERROR: process "/bin/sh -c pip install --prefix /install --no-warn-script-location --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1
------
 > [builder 5/5] RUN pip install --prefix /install --no-warn-script-location --no-cache-dir -r requirements.txt:
0.442   File "/usr/local/lib/python3.11/site-packages/pip/_internal/req/__init__.py", line 9, in <module>
0.442     from .req_install import InstallRequirement
0.442     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0.442   File "/usr/local/lib/python3.11/site-packages/pip/_internal/req/req_install.py", line 41, in <module>
0.442     from pip._internal.pyproject import load_pyproject_toml, make_pyproject_path
0.442     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0.442   File "/usr/local/lib/python3.11/site-packages/pip/_internal/pyproject.py", line 8, in <module>
0.442     import tomllib
0.442     ^^^^^^^^^^^^^^
0.442 ModuleNotFoundError: No module named 'tomllib'
------
Dockerfile:13
--------------------
  11 |     
  12 |     RUN pip install --upgrade pip
  13 | >>> RUN pip install --prefix /install --no-warn-script-location --no-cache-dir -r requirements.txt
  14 |     
  15 |     FROM python:3.11.0a5-alpine
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install --prefix /install --no-warn-script-location --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1
Error: Process completed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant