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
Traceback (most recent call last):
File "/usr/local/bin/mkdocs", line 8, in <module>
sys.exit(cli())
^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1130, in __call__returnself.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1055, in main
rv =self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1657, in invokereturn _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1404, in invokereturn ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/click/core.py", line 760, in invokereturn __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/mkdocs/__main__.py", line 274, in gh_deploy_command
cfg = config.load_config(remote_branch=remote_branch, remote_name=remote_name, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/mkdocs/config/base.py", line 363, in load_config
errors, warnings = cfg.validate()
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/mkdocs/config/base.py", line 228, in validate
run_failed, run_warnings =self._validate()
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/mkdocs/config/base.py", line 186, in _validateself[key] = config_option.validate(value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/mkdocs/config/config_options.py", line 1[47](https://github.com/dwreeves/dbt_linreg/actions/runs/11145478103/job/30975177463#step:5:48), in validate
returnself.run_validation(value)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/mkdocs/config/config_options.py", line 939, in run_validationself.load_plugin_with_namespace(name, cfg)
File "/usr/local/lib/python3.11/site-packages/mkdocs/config/config_options.py", line 975, in load_plugin_with_namespacereturn (name, self.load_plugin(name, config))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/mkdocs/config/config_options.py", line 993, in load_plugin
plugin_cls =self.installed_plugins[name].load()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/metadata/__init__.py", line 198, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_modulereturn _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 11[49](https://github.com/dwreeves/dbt_linreg/actions/runs/11145478103/job/30975177463#step:5:50), in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.11/site-packages/mkdocs_macros/plugin.py", line 17, in <module>import pathspec
TLDR
Pathspec should be an explicit dependency as it is used in
plugin.py
, but is not a dependency.Long version
I have a job that pip installs the following
requirements.txt
and deploys my docsI ran this and hit the following error:
Full logs here: https://github.com/dwreeves/dbt_linreg/actions/runs/11145478103/job/30975177463
Pip install logs:
However, adding
pathspec
to myrequirements.txt
fixes the issue. Job withpathspec
included: https://github.com/dwreeves/dbt_linreg/actions/runs/11145592808The text was updated successfully, but these errors were encountered: