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

Ubuntu 22.04 - Release 20250213.1.0 - Failing to install python packages #11602

Open
2 of 15 tasks
corleyscotte opened this issue Feb 14, 2025 · 6 comments
Open
2 of 15 tasks

Comments

@corleyscotte
Copy link

Description

Hi,

We are using Microsoft hosted agents for Azure DevOps pipelines.
We've discovered that Current image version: '20250213.1.0' results in ratelimit==2.2.1 failing to install.
Build logs attached.

Here is an example of the stages for one run:

Compile - Current image version: '20250209.1.0' [PASS]
Stage - Current image version: '20250209.1.0' [PASS]
Run Models - Current image version: '20250209.1.0' [PASS]
Snapshot - Current image version: '20250209.1.0' [PASS]
Run Shared - Current image version: '20250209.1.0' [PASS]
Test - Current image version: '20250213.1.0' [FAIL]
Docs - Current image version: '20250209.1.0' [PASS]
Docs - Current image version: '20250209.1.0' [PASS]
Alert - no packages to install - [PASS]

What's interesting is that image version 20250213.1.0 is not even listed on the releases page for this project.
I am unsure how we are running this image version in our pipeline.

Image

Dependencies we are installing via pip install -r requirements.txt:

dbt-snowflake==1.8.3
requests==2.31.0
PyYAML==6.0
snowflake-snowpark-python==1.20.0
elementary-data[snowflake]==0.16.0
sqlfluff==3.2.4
sqlfluff-templater-dbt==3.2.4

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

Private link - https://cgna-stg.visualstudio.com/E15/_build/results?buildId=291146&view=logs&j=e5ae9334-ee13-594e-3a66-1fdca8af9219&t=563610f3-c69c-59c4-efea-16f8c9e6e212

Is it regression?

20250209.1.0

Expected behavior

Expect python dependencies to install without issues.

Actual behavior

× python setup.py egg_info did not run successfully.

Repro steps

Automated pipeline that installs the same dependencies hourly. When runner image version is 20250209.1.0 the dependencies install properly and build succeeds. When the image version is 20250213.1.0 the dependencies fail to install and the build fails.

@corleyscotte
Copy link
Author

Seems similar to #11574 as we are picking up an image that doesn't seem to exist on the releases page.

@vidyasagarnimmagaddi
Copy link
Contributor

Hi @corleyscotte , Thank you for bringing this issue to our attention. We will look into this issue and will update you after investigating.

@subir0071
Copy link
Contributor

Could you please provide the some details about the failed job?

@corleyscotte
Copy link
Author

Sure, let me know if you have different information you need from me!

Here are the logs from the Initialize Job step:

2025-02-14T19:27:59.5016623Z ##[section]Starting: Initialize job
2025-02-14T19:27:59.5020183Z Agent name: 'Hosted Agent'
2025-02-14T19:27:59.5020850Z Agent machine name: 'fv-az165-606'
2025-02-14T19:27:59.5021170Z Current agent version: '4.251.0'
2025-02-14T19:27:59.5056918Z ##[group]Operating System
2025-02-14T19:27:59.5057305Z Ubuntu
2025-02-14T19:27:59.5057547Z 22.04.5
2025-02-14T19:27:59.5057771Z LTS
2025-02-14T19:27:59.5057992Z ##[endgroup]
2025-02-14T19:27:59.5058268Z ##[group]Runner Image
2025-02-14T19:27:59.5058542Z Image: ubuntu-22.04
2025-02-14T19:27:59.5058829Z Version: 20250213.1.0
2025-02-14T19:27:59.5059238Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20250213.1/images/ubuntu/Ubuntu2204-Readme.md
2025-02-14T19:27:59.5059762Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20250213.1
2025-02-14T19:27:59.5060142Z ##[endgroup]
2025-02-14T19:27:59.5060405Z ##[group]Runner Image Provisioner
2025-02-14T19:27:59.5060892Z 2.0.422.1
2025-02-14T19:27:59.5061130Z ##[endgroup]
2025-02-14T19:27:59.5065034Z Current image version: '20250213.1.0'
2025-02-14T19:27:59.6680691Z Agent running as: 'vsts'
2025-02-14T19:27:59.6737472Z Prepare build directory.
2025-02-14T19:27:59.7049466Z Set build variables.
2025-02-14T19:27:59.7071400Z Download all required tasks.
2025-02-14T19:27:59.7172144Z Downloading task: DownloadSecureFile (1.247.1)
2025-02-14T19:28:00.5788278Z Downloading task: CmdLine (2.250.1)
2025-02-14T19:28:00.9157598Z Checking job knob settings.
2025-02-14T19:28:00.9163393Z Knob: DockerActionRetries = true Source: $(VSTSAGENT_DOCKER_ACTION_RETRIES)
2025-02-14T19:28:00.9164206Z Knob: AgentToolsDirectory = /opt/hostedtoolcache Source: ${AGENT_TOOLSDIRECTORY}
2025-02-14T19:28:00.9167006Z Knob: UseGitLongPaths = true Source: $(USE_GIT_LONG_PATHS)
2025-02-14T19:28:00.9168565Z Knob: AgentPerflog = /home/vsts/perflog Source: ${VSTS_AGENT_PERFLOG}
2025-02-14T19:28:00.9170993Z Knob: EnableIssueSourceValidation = true Source: $(ENABLE_ISSUE_SOURCE_VALIDATION)
2025-02-14T19:28:00.9172589Z Knob: AgentEnablePipelineArtifactLargeChunkSize = true Source: $(AGENT_ENABLE_PIPELINEARTIFACT_LARGE_CHUNK_SIZE)
2025-02-14T19:28:00.9176830Z Knob: ContinueAfterCancelProcessTreeKillAttempt = true Source: $(VSTSAGENT_CONTINUE_AFTER_CANCEL_PROCESSTREEKILL_ATTEMPT)
2025-02-14T19:28:00.9178196Z Knob: ProcessHandlerSecureArguments = false Source: $(AZP_75787_ENABLE_NEW_LOGIC)
2025-02-14T19:28:00.9179160Z Knob: ProcessHandlerSecureArguments = false Source: $(AZP_75787_ENABLE_NEW_LOGIC_LOG)
2025-02-14T19:28:00.9180067Z Knob: ProcessHandlerTelemetry = true Source: $(AZP_75787_ENABLE_COLLECT)
2025-02-14T19:28:00.9181078Z Knob: UseNewNodeHandlerTelemetry = True Source: $(DistributedTask.Agent.USENEWNODEHANDLERTELEMETRY)
2025-02-14T19:28:00.9182055Z Knob: ProcessHandlerEnableNewLogic = true Source: $(AZP_75787_ENABLE_NEW_PH_LOGIC)
2025-02-14T19:28:00.9183489Z Knob: EnableResourceMonitorDebugOutput = true Source: $(AZP_ENABLE_RESOURCE_MONITOR_DEBUG_OUTPUT)
2025-02-14T19:28:00.9184588Z Knob: EnableResourceUtilizationWarnings = true Source: $(AZP_ENABLE_RESOURCE_UTILIZATION_WARNINGS)
2025-02-14T19:28:00.9186397Z Knob: IgnoreVSTSTaskLib = true Source: $(AZP_AGENT_IGNORE_VSTSTASKLIB)
2025-02-14T19:28:00.9187310Z Knob: FailJobWhenAgentDies = true Source: $(FAIL_JOB_WHEN_AGENT_DIES)
2025-02-14T19:28:00.9188470Z Knob: CheckForTaskDeprecation = true Source: $(AZP_AGENT_CHECK_FOR_TASK_DEPRECATION)
2025-02-14T19:28:00.9189849Z Knob: CheckIfTaskNodeRunnerIsDeprecated246 = True Source: $(DistributedTask.Agent.CheckIfTaskNodeRunnerIsDeprecated246)
2025-02-14T19:28:00.9191172Z Knob: UseNode20ToStartContainer = True Source: $(DistributedTask.Agent.UseNode20ToStartContainer)
2025-02-14T19:28:00.9192383Z Knob: LogTaskNameInUserAgent = true Source: $(AZP_AGENT_LOG_TASKNAME_IN_USERAGENT)
2025-02-14T19:28:00.9193651Z Knob: UseFetchFilterInCheckoutTask = true Source: $(AGENT_USE_FETCH_FILTER_IN_CHECKOUT_TASK)
2025-02-14T19:28:00.9195226Z Knob: Rosetta2Warning = true Source: $(ROSETTA2_WARNING)
2025-02-14T19:28:00.9197640Z Knob: AddForceCredentialsToGitCheckout = True Source: $(DistributedTask.Agent.AddForceCredentialsToGitCheckout)
2025-02-14T19:28:00.9198718Z Finished checking job knob settings.
2025-02-14T19:28:00.9632343Z Start tracking orphan processes.
2025-02-14T19:28:00.9806578Z ##[section]Finishing: Initialize job

And here is the installation log from the above listed requirements.txt:

2025-02-14T19:28:05.7937601Z ##[section]Starting: Install dependencies
2025-02-14T19:28:05.7943919Z ==============================================================================
2025-02-14T19:28:05.7944071Z Task : Command line
2025-02-14T19:28:05.7944168Z Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2025-02-14T19:28:05.7944300Z Version : 2.250.1
2025-02-14T19:28:05.7944377Z Author : Microsoft Corporation
2025-02-14T19:28:05.7944493Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2025-02-14T19:28:05.7944631Z ==============================================================================
2025-02-14T19:28:06.1002016Z Generating script.
2025-02-14T19:28:06.1015357Z ========================== Starting Command Output ===========================
2025-02-14T19:28:06.1034448Z [command]/usr/bin/bash --noprofile --norc /home/vsts/work/_temp/7a80a0a4-98af-475c-8e0e-a8d3a2534d0d.sh
2025-02-14T19:28:06.7954816Z Defaulting to user installation because normal site-packages is not writeable
2025-02-14T19:28:07.2341242Z Requirement already satisfied: pip in /usr/lib/python3/dist-packages (22.0.2)
2025-02-14T19:28:07.4351647Z Collecting pip
2025-02-14T19:28:07.5061219Z Downloading pip-25.0.1-py3-none-any.whl (1.8 MB)
2025-02-14T19:28:07.6125104Z ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 24.9 MB/s eta 0:00:00
2025-02-14T19:28:07.6126073Z Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (59.6.0)
2025-02-14T19:28:07.9998030Z Collecting setuptools
2025-02-14T19:28:08.0051205Z Downloading setuptools-75.8.0-py3-none-any.whl (1.2 MB)
2025-02-14T19:28:08.0231495Z ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 90.6 MB/s eta 0:00:00
2025-02-14T19:28:08.0326784Z Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (0.37.1)
2025-02-14T19:28:08.0921968Z Collecting wheel
2025-02-14T19:28:08.0939859Z Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
2025-02-14T19:28:08.1012507Z ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.5/72.5 KB 16.1 MB/s eta 0:00:00
2025-02-14T19:28:08.4529218Z Installing collected packages: wheel, setuptools, pip
2025-02-14T19:28:10.2621073Z Successfully installed pip-25.0.1 setuptools-75.8.0 wheel-0.45.1
2025-02-14T19:28:10.7647415Z Defaulting to user installation because normal site-packages is not writeable
2025-02-14T19:28:11.1057747Z Collecting dbt-snowflake==1.8.3 (from -r requirements.txt (line 1))
2025-02-14T19:28:11.1219173Z Downloading dbt_snowflake-1.8.3-py3-none-any.whl.metadata (3.2 kB)
2025-02-14T19:28:11.1598602Z Collecting requests==2.31.0 (from -r requirements.txt (line 2))
2025-02-14T19:28:11.1641886Z Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
2025-02-14T19:28:11.2126623Z Collecting PyYAML==6.0 (from -r requirements.txt (line 3))
2025-02-14T19:28:11.2189221Z Downloading PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.metadata (2.0 kB)
2025-02-14T19:28:11.2409631Z Collecting snowflake-snowpark-python==1.20.0 (from -r requirements.txt (line 4))
2025-02-14T19:28:11.2463392Z Downloading snowflake_snowpark_python-1.20.0-py3-none-any.whl.metadata (80 kB)
2025-02-14T19:28:11.3190760Z Collecting elementary-data==0.16.0 (from elementary-data[snowflake]==0.16.0->-r requirements.txt (line 5))
2025-02-14T19:28:11.3251090Z Downloading elementary_data-0.16.0-py3-none-any.whl.metadata (20 kB)
2025-02-14T19:28:11.3741804Z Collecting sqlfluff==3.2.4 (from -r requirements.txt (line 6))
2025-02-14T19:28:11.3800841Z Downloading sqlfluff-3.2.4-py3-none-any.whl.metadata (11 kB)
2025-02-14T19:28:11.4182544Z Collecting sqlfluff-templater-dbt==3.2.4 (from -r requirements.txt (line 7))
2025-02-14T19:28:11.4237730Z Downloading sqlfluff_templater_dbt-3.2.4-py3-none-any.whl.metadata (3.4 kB)
2025-02-14T19:28:11.4514794Z Collecting dbt-common<2.0,>=1.0.4 (from dbt-snowflake==1.8.3->-r requirements.txt (line 1))
2025-02-14T19:28:11.4567727Z Downloading dbt_common-1.15.0-py3-none-any.whl.metadata (4.9 kB)
2025-02-14T19:28:11.4886208Z Collecting dbt-adapters<2.0,>=1.1.1 (from dbt-snowflake==1.8.3->-r requirements.txt (line 1))
2025-02-14T19:28:11.5392058Z Downloading dbt_adapters-1.14.0-py3-none-any.whl.metadata (2.6 kB)
2025-02-14T19:28:11.6953501Z Collecting snowflake-connector-python~=3.0 (from snowflake-connector-python[secure-local-storage]~=3.0->dbt-snowflake==1.8.3->-r requirements.txt (line 1))
2025-02-14T19:28:11.7000231Z Downloading snowflake_connector_python-3.13.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (67 kB)
2025-02-14T19:28:11.7700225Z Collecting dbt-core>=1.8.0 (from dbt-snowflake==1.8.3->-r requirements.txt (line 1))
2025-02-14T19:28:11.7773074Z Downloading dbt_core-1.9.2-py3-none-any.whl.metadata (4.0 kB)
2025-02-14T19:28:11.8026800Z Collecting agate (from dbt-snowflake==1.8.3->-r requirements.txt (line 1))
2025-02-14T19:28:11.8117287Z Downloading agate-1.13.0-py2.py3-none-any.whl.metadata (3.4 kB)
2025-02-14T19:28:11.9001016Z Collecting charset-normalizer<4,>=2 (from requests==2.31.0->-r requirements.txt (line 2))
2025-02-14T19:28:11.9048227Z Downloading charset_normalizer-3.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (35 kB)
2025-02-14T19:28:11.9120507Z Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests==2.31.0->-r requirements.txt (line 2)) (3.3)
2025-02-14T19:28:11.9127516Z Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/lib/python3/dist-packages (from requests==2.31.0->-r requirements.txt (line 2)) (1.26.5)
2025-02-14T19:28:11.9137992Z Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests==2.31.0->-r requirements.txt (line 2)) (2020.6.20)
2025-02-14T19:28:11.9169470Z Requirement already satisfied: setuptools>=40.6.0 in /home/vsts/.local/lib/python3.10/site-packages (from snowflake-snowpark-python==1.20.0->-r requirements.txt (line 4)) (75.8.0)
2025-02-14T19:28:11.9175275Z Requirement already satisfied: wheel in /home/vsts/.local/lib/python3.10/site-packages (from snowflake-snowpark-python==1.20.0->-r requirements.txt (line 4)) (0.45.1)
2025-02-14T19:28:12.0188986Z Collecting typing-extensions<5.0.0,>=4.1.0 (from snowflake-snowpark-python==1.20.0->-r requirements.txt (line 4))
2025-02-14T19:28:12.0233067Z Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
2025-02-14T19:28:12.0477713Z Collecting cloudpickle!=2.1.0,!=2.2.0,<=2.2.1,>=1.6.0 (from snowflake-snowpark-python==1.20.0->-r requirements.txt (line 4))
2025-02-14T19:28:12.0525719Z Downloading cloudpickle-2.2.1-py3-none-any.whl.metadata (6.9 kB)
2025-02-14T19:28:12.0784241Z Collecting alive-progress<=2.3.1 (from elementary-data==0.16.0->elementary-data[snowflake]==0.16.0->-r requirements.txt (line 5))
2025-02-14T19:28:12.0836388Z Downloading alive_progress-2.3.1-py3-none-any.whl.metadata (53 kB)
2025-02-14T19:28:12.1148729Z Collecting azure-storage-blob>=12.11.0 (from elementary-data==0.16.0->elementary-data[snowflake]==0.16.0->-r requirements.txt (line 5))
2025-02-14T19:28:12.1193823Z Downloading azure_storage_blob-12.24.1-py3-none-any.whl.metadata (26 kB)
2025-02-14T19:28:12.1435201Z Collecting beautifulsoup4<5.0.0 (from elementary-data==0.16.0->elementary-data[snowflake]==0.16.0->-r requirements.txt (line 5))
2025-02-14T19:28:12.1476793Z Downloading beautifulsoup4-4.13.3-py3-none-any.whl.metadata (3.8 kB)
2025-02-14T19:28:12.5692157Z Collecting boto3<2.0.0 (from elementary-data==0.16.0->elementary-data[snowflake]==0.16.0->-r requirements.txt (line 5))
2025-02-14T19:28:12.5741184Z Downloading boto3-1.36.20-py3-none-any.whl.metadata (6.7 kB)
2025-02-14T19:28:12.5815706Z Requirement already satisfied: click<9.0,>=7.0 in /usr/lib/python3/dist-packages (from elementary-data==0.16.0->elementary-data[snowflake]==0.16.0->-r requirements.txt (line 5)) (8.0.3)
2025-02-14T19:28:12.6294832Z Collecting google-cloud-storage<3.0.0 (from elementary-data==0.16.0->elementary-data[snowflake]==0.16.0->-r requirements.txt (line 5))
2025-02-14T19:28:12.6350599Z Downloading google_cloud_storage-2.19.0-py2.py3-none-any.whl.metadata (9.1 kB)
2025-02-14T19:28:12.6693895Z Collecting networkx<3,>=2.3 (from elementary-data==0.16.0->elementary-data[snowflake]==0.16.0->-r requirements.txt (line 5))
2025-02-14T19:28:12.6749799Z Downloading networkx-2.8.8-py3-none-any.whl.metadata (5.1 kB)
2025-02-14T19:28:12.6903133Z Requirement already satisfied: packaging<=24.0,>=20.9 in /usr/lib/python3/dist-packages (from elementary-data==0.16.0->elementary-data[snowflake]==0.16.0->-r requirements.txt (line 5)) (21.3)
2025-02-14T19:28:12.8147454Z Collecting pandas>=2.0.0 (from elementary-data==0.16.0->elementary-data[snowflake]==0.16.0->-r requirements.txt (line 5))
2025-02-14T19:28:12.8198125Z Downloading pandas-2.2.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (89 kB)
2025-02-14T19:28:12.9040800Z Collecting posthog<3.0.0 (from elementary-data==0.16.0->elementary-data[snowflake]==0.16.0->-r requirements.txt (line 5))
2025-02-14T19:28:12.9093168Z Downloading posthog-2.5.0-py2.py3-none-any.whl.metadata (2.0 kB)
2025-02-14T19:28:13.0854760Z Collecting pydantic<3.0 (from elementary-data==0.16.0->elementary-data[snowflake]==0.16.0->-r requirements.txt (line 5))
2025-02-14T19:28:13.0906338Z Downloading pydantic-2.10.6-py3-none-any.whl.metadata (30 kB)
2025-02-14T19:28:13.1101587Z Collecting pyfiglet<1.0.0 (from elementary-data==0.16.0->elementary-data[snowflake]==0.16.0->-r requirements.txt (line 5))
2025-02-14T19:28:13.1159555Z Downloading pyfiglet-0.8.post1-py2.py3-none-any.whl.metadata (1.3 kB)
2025-02-14T19:28:13.1343092Z Collecting pymsteams<1.0.0,>=0.2.2 (from elementary-data==0.16.0->elementary-data[snowflake]==0.16.0->-r requirements.txt (line 5))
2025-02-14T19:28:13.1399067Z Downloading pymsteams-0.2.5-py3-none-any.whl.metadata (22 kB)
2025-02-14T19:28:13.1576507Z Collecting ratelimit (from elementary-data==0.16.0->elementary-data[snowflake]==0.16.0->-r requirements.txt (line 5))
2025-02-14T19:28:13.1630760Z Downloading ratelimit-2.2.1.tar.gz (5.3 kB)
2025-02-14T19:28:13.1715479Z Preparing metadata (setup.py): started
2025-02-14T19:28:13.4749212Z Preparing metadata (setup.py): finished with status 'error'
2025-02-14T19:28:13.4850562Z error: subprocess-exited-with-error
2025-02-14T19:28:13.4850934Z
2025-02-14T19:28:13.4851411Z × python setup.py egg_info did not run successfully.
2025-02-14T19:28:13.4851984Z │ exit code: 1
2025-02-14T19:28:13.4852275Z ╰─> [41 lines of output]
2025-02-14T19:28:13.4852449Z running egg_info
2025-02-14T19:28:13.4852693Z creating /tmp/pip-pip-egg-info-zudmp2cw/ratelimit.egg-info
2025-02-14T19:28:13.4852912Z writing /tmp/pip-pip-egg-info-zudmp2cw/ratelimit.egg-info/PKG-INFO
2025-02-14T19:28:13.4853177Z writing dependency_links to /tmp/pip-pip-egg-info-zudmp2cw/ratelimit.egg-info/dependency_links.txt
2025-02-14T19:28:13.4853452Z writing top-level names to /tmp/pip-pip-egg-info-zudmp2cw/ratelimit.egg-info/top_level.txt
2025-02-14T19:28:13.4853718Z writing manifest file '/tmp/pip-pip-egg-info-zudmp2cw/ratelimit.egg-info/SOURCES.txt'
2025-02-14T19:28:13.4853991Z reading manifest file '/tmp/pip-pip-egg-info-zudmp2cw/ratelimit.egg-info/SOURCES.txt'
2025-02-14T19:28:13.4868857Z reading manifest template 'MANIFEST.in'
2025-02-14T19:28:13.4869107Z adding license file 'LICENSE.txt'
2025-02-14T19:28:13.4869312Z Traceback (most recent call last):
2025-02-14T19:28:13.4869495Z File "", line 2, in
2025-02-14T19:28:13.4869705Z File "", line 34, in
2025-02-14T19:28:13.4870386Z File "/tmp/pip-install-j4wnf945/ratelimit_993d02475eb84ea68f213846336a3c43/setup.py", line 10, in
2025-02-14T19:28:13.4870629Z setup(
2025-02-14T19:28:13.4870861Z File "/home/vsts/.local/lib/python3.10/site-packages/setuptools/init.py", line 117, in setup
2025-02-14T19:28:13.4871110Z return distutils.core.setup(**attrs)
2025-02-14T19:28:13.4871590Z File "/home/vsts/.local/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 186, in setup
2025-02-14T19:28:13.4872046Z return run_commands(dist)
2025-02-14T19:28:13.4872302Z File "/home/vsts/.local/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
2025-02-14T19:28:13.4872550Z dist.run_commands()
2025-02-14T19:28:13.4872798Z File "/home/vsts/.local/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 983, in run_commands
2025-02-14T19:28:13.4873046Z self.run_command(cmd)
2025-02-14T19:28:13.4873292Z File "/home/vsts/.local/lib/python3.10/site-packages/setuptools/dist.py", line 999, in run_command
2025-02-14T19:28:13.4873535Z super().run_command(command)
2025-02-14T19:28:13.4873775Z File "/home/vsts/.local/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1002, in run_command
2025-02-14T19:28:13.4874016Z cmd_obj.run()
2025-02-14T19:28:13.4874256Z File "/home/vsts/.local/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 312, in run
2025-02-14T19:28:13.4874496Z self.find_sources()
2025-02-14T19:28:13.4874745Z File "/home/vsts/.local/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 320, in find_sources
2025-02-14T19:28:13.4874981Z mm.run()
2025-02-14T19:28:13.4875215Z File "/home/vsts/.local/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 548, in run
2025-02-14T19:28:13.4875455Z self.prune_file_list()
2025-02-14T19:28:13.4875793Z File "/home/vsts/.local/lib/python3.10/site-packages/setuptools/command/sdist.py", line 162, in prune_file_list
2025-02-14T19:28:13.4876045Z super().prune_file_list()
2025-02-14T19:28:13.4876309Z File "/home/vsts/.local/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 380, in prune_file_list
2025-02-14T19:28:13.4876590Z base_dir = self.distribution.get_fullname()
2025-02-14T19:28:13.4876860Z File "/home/vsts/.local/lib/python3.10/site-packages/setuptools/_core_metadata.py", line 272, in get_fullname
2025-02-14T19:28:13.4877148Z return _distribution_fullname(self.get_name(), self.get_version())
2025-02-14T19:28:13.4877446Z File "/home/vsts/.local/lib/python3.10/site-packages/setuptools/_core_metadata.py", line 290, in _distribution_fullname
2025-02-14T19:28:13.4877732Z canonicalize_version(version, strip_trailing_zero=False),
2025-02-14T19:28:13.4877986Z TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
2025-02-14T19:28:13.4878224Z [end of output]
2025-02-14T19:28:13.4878386Z
2025-02-14T19:28:13.4878600Z note: This error originates from a subprocess, and is likely not a problem with pip.
2025-02-14T19:28:13.6046988Z error: metadata-generation-failed
2025-02-14T19:28:13.6056291Z
2025-02-14T19:28:13.6057431Z × Encountered error while generating package metadata.
2025-02-14T19:28:13.6058253Z ╰─> See above for output.
2025-02-14T19:28:13.6058470Z
2025-02-14T19:28:13.6058844Z note: This is an issue with the package mentioned above, not pip.
2025-02-14T19:28:13.6062063Z hint: See above for details.
2025-02-14T19:28:13.7606293Z /home/vsts/work/_temp/7a80a0a4-98af-475c-8e0e-a8d3a2534d0d.sh: line 3: dbt: command not found
2025-02-14T19:28:13.7625734Z
2025-02-14T19:28:13.7680649Z ##[error]Bash exited with code '127'.
2025-02-14T19:28:13.7709829Z ##[section]Finishing: Install dependencies

@sbonds
Copy link

sbonds commented Feb 16, 2025

I have an error similar to, but not exactly the same as yours. My setup is much simpler since I'm just running mkdocs and the pip install steps are run as individual bash commands rather than using a requirements doc.

The error I get is ModuleNotFoundError: No module named 'packaging.licenses' whereas yours is dbt: command not found so they may not be related.

@subir0071
Copy link
Contributor

Can you retry your job and let me know if you are still getting a version mismatch on the runners?

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

No branches or pull requests

4 participants