You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the places in the code where template.html is called from.
jinja2/loaders.py:
raiseTemplateNotFound(template)
errors originating from flytekit:
importflytekit# flytekit/__init__.py", line 164, in <module>fromflytekit.core.base_sql_taskimportSQLTask# flytekit/core/base_sql_task.py", line 4, in <module>fromflytekit.core.base_taskimportPythonTask, TaskMetadata# flytekit/core/base_task.py", line 42, in <module>fromflytekit.deck.deckimportDeck# flytekit/deck/__init__.py", line 1, in <module>from .deckimportDeck# flytekit/deck/deck.py", line 115, in <module>template=env.get_template("template.html")
See Error Details | Time Elasped: 3:57 s
import: 'flytekit'
Traceback (most recent call last):
File "/home/conda/feedstock_root/build_artifacts/flytekit_1656731293461/test_tmp/run_test.py", line 2, in<module>
import flytekit
File "/home/conda/feedstock_root/build_artifacts/flytekit_1656731293461/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.10/site-packages/flytekit/__init__.py", line 164, in<module>
from flytekit.core.base_sql_task import SQLTask
File "/home/conda/feedstock_root/build_artifacts/flytekit_1656731293461/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.10/site-packages/flytekit/core/base_sql_task.py", line 4, in<module>
from flytekit.core.base_task import PythonTask, TaskMetadata
File "/home/conda/feedstock_root/build_artifacts/flytekit_1656731293461/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.10/site-packages/flytekit/core/base_task.py", line 42, in<module>
from flytekit.deck.deck import Deck
File "/home/conda/feedstock_root/build_artifacts/flytekit_1656731293461/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.10/site-packages/flytekit/deck/__init__.py", line 1, in<module>
from .deck import Deck
File "/home/conda/feedstock_root/build_artifacts/flytekit_1656731293461/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.10/site-packages/flytekit/deck/deck.py", line 115, in<module>
template = env.get_template("template.html")
File "/home/conda/feedstock_root/build_artifacts/flytekit_1656731293461/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.10/site-packages/jinja2/environment.py", line 1010, in get_template
return self._load_template(name, globals)
File "/home/conda/feedstock_root/build_artifacts/flytekit_1656731293461/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.10/site-packages/jinja2/environment.py", line 969, in _load_template
template = self.loader.load(self, name, self.make_globals(globals))
File "/home/conda/feedstock_root/build_artifacts/flytekit_1656731293461/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.10/site-packages/jinja2/loaders.py", line 126, in load
source, filename, uptodate = self.get_source(environment, name)
File "/home/conda/feedstock_root/build_artifacts/flytekit_1656731293461/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python3.10/site-packages/jinja2/loaders.py", line 218, in get_source
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: template.html
Tests failed for flytekit-1.1.0-pyhd8ed1ab_0.tar.bz2 - moving package to /home/conda/feedstock_root/build_artifacts/broken
WARNING:conda_build.build:Tests failed for flytekit-1.1.0-pyhd8ed1ab_0.tar.bz2 - moving package to /home/conda/feedstock_root/build_artifacts/broken
TESTS FAILED: flytekit-1.1.0-pyhd8ed1ab_0.tar.bz2
asford
changed the title
flytekit source does not include package data
Build from .tar.gz sources once flytekit sourc includes package data
Jul 19, 2022
Reason for Build Failure:
1/N
There is a file,
template.html
that is not found in the pypi source. This needs fixing the upstream repository by:template.html
file toMANIFEST.in
if somehow it is unavailable in the pypi sourceautoescaping
See: flyteorg/flytekit#1088
(error)
Some of the places in the code where
template.html
is called from.jinja2/loaders.py
:errors originating from
flytekit
:See Error Details | Time Elasped:
3:57
sOriginally posted by @sugatoray in #14 (comment)
The text was updated successfully, but these errors were encountered: