Minor improvements to remove print statements #21
Annotations
1 error and 2 warnings
Detect and tag new version
Command failed with exit code 1: bash -o pipefail -c "poetry version | awk '{ print \$2 }'"
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/poetry/core/pyproject/toml.py", line 62, in poetry_config
config = tool["poetry"]
~~~~^^^^^^^^^^
KeyError: 'poetry'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/cleo/application.py", line 316, in run
exit_code = self._run(io)
^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/poetry/console/application.py", line 190, in _run
exit_code: int = super()._run(io)
^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/cleo/application.py", line 420, in _run
exit_code = self._run_command(command, io)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/cleo/application.py", line 462, in _run_command
raise error
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/cleo/application.py", line 446, in _run_command
exit_code = command.run(io)
^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/cleo/commands/base_command.py", line 117, in run
return self.execute(io) or 0
^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/cleo/commands/command.py", line 61, in execute
return self.handle()
^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/poetry/console/commands/version.py", line 88, in handle
f"<comment>{self.poetry.package.name}</>"
^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/poetry/console/commands/command.py", line 23, in poetry
return self.get_application().poetry
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/poetry/console/application.py", line 129, in poetry
self._poetry = Factory().create_poetry(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/poetry/factory.py", line 58, in create_poetry
base_poetry = super().create_poetry(cwd=cwd, with_groups=with_groups)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/poetry/core/factory.py", line 49, in create_poetry
local_config = PyProjectTOML(path=poetry_file).poetry_config
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/poetry/core/pyproject/toml.py", line 68, in poetry_config
raise PyProjectException(
poetry.core.pyproject.exceptions.PyProjectException: [tool.poetry] section not found in /home/runner/work/django-tenant-options/django-tenant-options/pyproject.toml
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.11.10/x64/bin/poetry", line 8, in <module>
sys.exit(main())
^^^^^^
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/poetry/console/application.py", line 405, in main
exit_code: int = Application().run()
^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/cleo/application.py", line 327, in run
self.render_error(e, io)
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/poetry/console/application.py", line 180, in render_error
self.set_solution_provider_repository(self._get_solution_provider_repository())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Application' ob
|
The following actions use a deprecated Node.js version and will be forced to run on node20: salsify/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Check if there is a parent commit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading