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

🐛 Bug: GitHub Actions workflows stopped working on Python 3.11 #753

Closed
miquelduranfrigola opened this issue Jul 24, 2023 · 4 comments
Closed
Assignees
Labels
bug Something isn't working critical Critical issue that is a blocker and we need to solve immediately; use sparingly

Comments

@miquelduranfrigola
Copy link
Member

Describe the bug.

This is a critical error. All workflows (including model workflows) suddently stopped working in GitHub Actions. This seems to be related to Python 3.11.

https://github.com/ersilia-os/ersilia/actions/runs/5644209284/job/15287529225

Describe the steps to reproduce the behavior

No response

Expected behavior.

No response

Screenshots.

No response

Operating environment

GitHub Actions Ubuntu

Additional context

No response

@miquelduranfrigola miquelduranfrigola added bug Something isn't working critical Critical issue that is a blocker and we need to solve immediately; use sparingly labels Jul 24, 2023
@miquelduranfrigola miquelduranfrigola self-assigned this Jul 24, 2023
@miquelduranfrigola
Copy link
Member Author

Update: The error traces to Ersilia's BentoML: https://github.com/ersilia-os/bentoml-ersilia

It stops working with Python 3.11.

@honeyankit
Copy link
Collaborator

@miquelduranfrigola: We can use the lower version ubuntu version in Action workflow. Currently ubuntu-latest ==ubuntu-22.04 is getting used in Action workflow.

We can try using ubuntu-20.04.

@GemmaTuron
Copy link
Member

we have temporarily bypassed that by forcing Py 3.10:

      - name: Set Python to 3.10.10
        run:
         conda install -y python=3.10.10 

commit to eos-template: ersilia-os/eos-template@c933492

@miquelduranfrigola
Copy link
Member Author

Yes, thanks @GemmaTuron

In theory, https://github.com/ersilia-os/bentoml-ersilia also works now with Python 3.11. The issue was caused by unforeseen behaviour of the @dataclass decorator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working critical Critical issue that is a blocker and we need to solve immediately; use sparingly
Projects
None yet
Development

No branches or pull requests

3 participants