Skip to content

...5

...5 #31

Triggered via push November 2, 2023 20:36
Status Failure
Total duration 1m 49s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
build
Error: Command failed: git push heroku HEAD:refs/heads/main --force remote: Updated 51 paths from c30817e remote: Compressing source files... done. remote: Building source: remote: remote: -----> Building on the Heroku-22 stack remote: -----> Determining which buildpack to use for this app remote: -----> Python app detected remote: -----> Using Python version specified in runtime.txt remote: ! remote: ! A Python security update is available! Upgrade as soon as possible to: python-3.10.13 remote: ! See: https://devcenter.heroku.com/articles/python-runtimes remote: ! remote: -----> Installing python-3.10.5 remote: -----> Installing pip 23.2.1, setuptools 68.0.0 and wheel 0.41.0 remote: -----> Installing SQLite3 remote: -----> Installing requirements with pip remote: Looking in links: https://download.pytorch.org/whl/cpu/torch_stable.html, https://download.pytorch.org/whl/cpu/torch_stable.html remote: Obtaining file:///tmp/build_0ea759f8 (from -r requirements.txt (line 16)) remote: Preparing metadata (setup.py): started remote: Preparing metadata (setup.py): finished with status 'error' remote: error: subprocess-exited-with-error remote: remote: × python setup.py egg_info did not run successfully. remote: │ exit code: 1 remote: ╰─> [3 lines of output] remote: error in Drondata_Segmentation setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected package name at the start of dependency specifier remote: --find-links https://download.pytorch.org/whl/cpu/torch_stable.html remote: ^ remote: [end of output] remote: remote: note: This error originates from a subprocess, and is likely not a problem with pip. remote: error: metadata-generation-failed remote: remote: × Encountered error while generating package metadata. remote: ╰─> See above for output. remote: remote: note: This is an issue with the package mentioned above, not pip. remote: hint: See above for details. remote: ! Push rejected, failed to compile Python app. remote: remote: ! Push failed remote: ! remote: ! ## Warning - The same version of this code has already been built: c27639063f1670b7657e493bf62810ea544dd4b9 remote: ! remote: ! We have detected that you have triggered a build from source code with version c27639063f1670b7657e493bf62810ea544dd4b9 remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch. remote: ! remote: ! If you are developing on a branch and deploying via git you must run: remote: ! remote: ! git push heroku <branchname>:main remote: ! remote: ! This article goes into details on the behavior: remote: ! https://devcenter.heroku.com/articles/duplicate-build-version remote: remote: Verifying deploy... remote: remote: ! Push rejected to drone-img-segmentation. remote: To https://git.heroku.com/drone-img-segmentation.git ! [remote rejected] HEAD -> main (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/drone-img-segmentation.git'
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/