Skip to content

Add CI workflow

Add CI workflow #1

Triggered via push September 20, 2023 18:59
Status Failure
Total duration 1m 13s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 3 warnings
CI
The process '/usr/share/miniconda/condabin/conda' failed with exit code 1
CI
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, aws-actions/configure-aws-credentials@v1, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
CI
Pip subprocess error: error: subprocess-exited-with-error × Building wheel for pypotrace (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [38 lines of output] fatal: not a git repository (or any of the parent directories): .git A setup.py file already exists. Using it. Package libagg was not found in the pkg-config search path. Perhaps you should add the directory containing `libagg.pc' to the PKG_CONFIG_PATH environment variable No package 'libagg' found Traceback (most recent call last): File "/tmp/pip-install-sne9e51p/pypotrace_1a1e49fea2234f2797f9c03a6a0c6781/setup.py", line 28, in <module> build(setup_kwargs) File "/tmp/pip-install-sne9e51p/pypotrace_1a1e49fea2234f2797f9c03a6a0c6781/build.py", line 19, in build extra_compile_args = pkg_config("libagg", '--cflags') File "/tmp/pip-install-sne9e51p/pypotrace_1a1e49fea2234f2797f9c03a6a0c6781/build.py", line 11, in pkg_config return subprocess.check_output(["pkg-config", command, pkg_name]).decode( File "/usr/share/miniconda/envs/dev/lib/python3.9/subprocess.py", line 424, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/share/miniconda/envs/dev/lib/python3.9/subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['pkg-config', '--cflags', 'libagg']' returned non-zero exit status 1. Traceback (most recent call last): File "/usr/share/miniconda/envs/dev/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module> main() File "/usr/share/miniconda/envs/dev/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/usr/share/miniconda/envs/dev/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "/tmp/pip-build-env-j0yocql3/overlay/lib/python3.9/site-packages/poetry/core/masonry/api.py", line 57, in build_wheel return WheelBuilder.make_in( File "/tmp/pip-build-env-j0yocql3/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 87, in make_in wb.build(target_dir=directory) File "/tmp/pip-build-env-j0yocql3/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 120, in build self._build(zip_file) File "/tmp/pip-build-env-j0yocql3/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 181, in _build self._run_build_command(setup) File "/tmp/pip-build-env-j0yocql3/overlay/lib/python3.9/site-packages/poetry/core/masonry/builders/wheel.py", line 219, in _run_build_command subprocess.check_call( File "/usr/share/miniconda/envs/dev/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/usr/share/miniconda/envs/dev/bin/python', '/tmp/pip-install-sne9e51p/pypotrace_1a1e49fea2234f2797f9c03a6a0c6781/setup.py', 'build', '-b', '/tmp/pip-install-sne9e51p/pypotrace_1a1e49fea2234f2797f9c03a6a0c6781/build']' returned non-zero exit status 1. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pypotrace ERROR: Could not build wheels for pypotrace, which is required to install pyproject.toml-based projects CondaEnvException: Pip failed
CI
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/