You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Since the changes to the Ubuntu-latest to Ubuntu 24.04 (actions/runner-images#10636), the build for dt-cli is broken.
The pipeline used has built and deployed many extensions prior to the runner change and the issue is resolved simply by replacing runs-on: ubuntu-latest with runs-on: ubuntu-22.04. The workflow example below is redacted, however the 'install dt-cli' and 'Build extension' steps are verbatim.
Interestingly, when the workflow runs, the Install dt-cli step does not fail.
To Reproduce
Create a workflow with the following logic:
jobs:
build-extension:
runs-on: ubuntu-latest # Note that changing this to "ubuntu-22.04" resolves the issue
steps:
- Checkout Repository
- Set Variables
- name Install dt-cli
run: |
pip install dt-cli
- do other things...
- name: Build extension
run: |
cd ${{ inputs.path }}
dt extension assemble
Run cd extensions/yaml/awesome-extension
Traceback (most recent call last):
File "/home/runner/.local/bin/dt", line 5, in <module>
from dtcli.__main__ import main
File "/home/runner/.local/lib/python3.12/site-packages/dtcli/__init__.py", line 17, in <module>
from dtcli import scripts
File "/home/runner/.local/lib/python3.12/site-packages/dtcli/scripts/__init__.py", line 15, in <module>
from dtcli.scripts import dt
File "/home/runner/.local/lib/python3.12/site-packages/dtcli/scripts/dt.py", line 32, in <module>
from dtcli import building, delete_extension, api, utils, validate_schema as _validate_schema
File "/home/runner/.local/lib/python3.12/site-packages/dtcli/validate_schema.py", line 8, in <module>
from referencing import Registry, Resource
ModuleNotFoundError: No module named 'referencing'
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered:
Describe the bug
Since the changes to the Ubuntu-latest to Ubuntu 24.04 (actions/runner-images#10636), the build for dt-cli is broken.
The pipeline used has built and deployed many extensions prior to the runner change and the issue is resolved simply by replacing
runs-on: ubuntu-latest
withruns-on: ubuntu-22.04
. The workflow example below is redacted, however the 'install dt-cli' and 'Build extension' steps are verbatim.Interestingly, when the workflow runs, the
Install dt-cli
step does not fail.To Reproduce
Create a workflow with the following logic:
Expected behaviour
In the Install dt-cli step:
In the Build Extension step:
Actual Behaviour
In the Install dt-cli step:
In the Build Extension step:
The text was updated successfully, but these errors were encountered: