Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
woter1832 opened this issue Jan 12, 2025 · 2 comments
Open

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

woter1832 opened this issue Jan 12, 2025 · 2 comments

Comments

@woter1832
Copy link

woter1832 commented Jan 12, 2025

The GH action Azure/static-web-apps-deploy@v1 uses Oynx. A change (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

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

Image

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
@woter1832
Copy link
Author

The underlying Poetry bug has apparently been fixed.

My pipeline is still picking up Poetry 2.0.1, so I assume you need to recut the container behind. Azure/static-web-apps-deploy@v1

When will this be done? It's taken you two weeks to fix Poetry.

Thanks.

@Timothyw0
Copy link
Member

Hi @woter1832, thank you for raising this issue for Azure Static Web Apps. As you mentioned, the oryx team has resolved the issue in their latest package and relayed the information to us.

We will include this in our next, upcoming release in the next few days. I will keep this thread updated on the status of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants