GitHub Action broken: Azure/static-web-apps-deploy@v1
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
The GH action `Azure/static-web-apps-deploy@v1` uses Oynx. A change ([2557](https://github.com/microsoft/Oryx/issues/2557)) was made to Oynx to pin the version of Python Poetry to version 1.8.5 to work around a bug in Oynx.
The action is still installing the latest version of Poetry (2.0.1).
It would appear that your action does not dynamically update when Oynx is updated. I'm assuming it's baked into the container.
I can see your container exposes `POETRY_VERSION` environment variable:

However, setting the environment variable to `1.8.5` has not bearing on the version your action uses.

### Relevant GH Action steps (downloading latest Poetry):
```
Python Virtual Environment: pythonenv3.12
Creating virtual environment...
Activating virtual environment...
Running pip install poetry...
Collecting poetry
Downloading poetry-2.0.1-py3-none-any.whl.metadata (7.0 kB)
```
### GH Action error:
```
The option "--no-dev" does not exist
"2025-01-12 19:36:16"|WARNING|
The option "--no-dev" does not exist | Exit code: {pythonBuildExitCode} | Please review message | More information: https://aka.ms/troubleshoot-python
```
**Device info (if applicable):**
- OS: Bullseye
- Browser: N/A
- Version: N/A
**Additional context**
While you're updating the image, please update PIP too:
```
[notice] A new release of pip is available: 24.2 -> 24.3.1
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.