ProjectPythia / projectpythia.github.io

https://projectpythia.org
Apache License 2.0
32 stars 18 forks source link

attempt to fix failing new resource action #307

Closed jukent closed 1 year ago

jukent commented 1 year ago

I tried to add a new resource with the button and templated issue, instead of editing the yaml myself. and the build failed https://github.com/ProjectPythia/projectpythia.github.io/actions/runs/3913226513/jobs/6688872239

This is my attempt to fix it.

github-actions[bot] commented 1 year ago

This pull request is being automatically built with GitHub Actions and Netlify. To see the status of your deployment, click below.

🚧 Deployment in progress for git commit SHA: 7569dae991915b4ad8a1f0af2e66dcfc23f25ea9

jukent commented 1 year ago

Site build failing "Error: The process '/usr/share/miniconda/condabin/conda' failed with exit code 1"

dcamron commented 1 year ago

Seems to be a known issue that could be resolved by switching to mambaforge a la our cookbook actions. Highlights a need to parallel ProjectPythia/pythia-foundations#339 however best we can for the portal.

brian-rose commented 1 year ago

Has this been resolved with the recent infrastructure updates?

jukent commented 1 year ago

I'll rerun the jobs to check

github-actions[bot] commented 1 year ago

👋 Thanks for opening this PR! The Cookbook will be automatically built with GitHub Actions. To see the status of your deployment, click below. 🔍 Git commit SHA: d6effee51bf019d09b91b7fcc67cf090310cb012 ✅ Deployment Preview URL: https://ProjectPythia.github.io/projectpythia.github.io/_preview/307

jukent commented 1 year ago

Can someone help me understand the error message in pre-commit:

file "/tmp/pip-build-env-3oiquzwf/overlay/lib/python3.11/site-packages/poetry/core/factory.py", line 57, in create_poetry
                  raise RuntimeError("The Poetry configuration is invalid:\n" + message)
RuntimeError: The Poetry configuration is invalid:
                - [extras.pipfile_deprecated_finder.2] 'pip-shims<=0.3.4' does not match '^[a-zA-Z-_.0-9]+$'
ktyle commented 1 year ago

@jukent I get the same error. Going to see if pinning Python <3.11 helps ...

ktyle commented 1 year ago

@jukent The problem looks to be in the .pre-commit-config.yaml file. I will make a separate PR that addresses this.

jukent commented 1 year ago

That did it @ktyle !