Azure / Azure/static-web-apps

GitHub Action broken: Azure/static-web-apps-deploy@v1

Open
#1,601 14 comments 0 reactions 1 assignee Claimed by @LongOddCode View on GitHub
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:

![Image](https://github.com/user-attachments/assets/2cbaddbb-668f-4a33-acc4-f9071ff4eb42)

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

![Image](https://github.com/user-attachments/assets/f9187999-5a2d-4f1c-a742-6d28c42b7088)

### 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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.