StackStorm / StackStorm/st2

Unable to install multidict, yarl

Open
#5,326 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale
Dominant language
Python
Stars
6.5k
Forks
787
PR merge metrics
No merged PRs in 30d

Description

SUMMARY

I am attempting to add code to wrap ST2 actions to authorize against Azure AD and Slack Channel Memberships. As such there are some py dependencies required for it to work, that do not install in the ST2 virtualEnv due to the below error message.

{{ ERROR: Failed building wheel for yarl
ERROR: Could not build wheels for multidict, yarl which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 19.1.1, however version 21.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.}}

STACKSTORM VERSION

3.4.1

OS, environment, install method

Post what OS you are running this on, along with any other relevant information/

AWS Elastic Kubernetes Service - AMI Type: AL2_x86_64

Steps to reproduce the problem

  1. import yarl, multidict in your st2 action python code
  2. install the pack
  3. you will see the above py dependency error

Expected Results

It should install the pack with all required dependencies

Actual Results

{{ ERROR: Failed building wheel for yarl
ERROR: Could not build wheels for multidict, yarl which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 19.1.1, however version 21.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.}}

Is this issue fixed in later releases? I recently upgraded to 3.4.1 so is there a way to retroactively update that version to fix PIP (if that is the root cause?)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the pack installation on StackStorm 3.4.1 in AWS EKS using the AL2_x86_64 environment, focusing on the pip 19.1.1 errors for multidict and yarl. Check whether upgrading pip or using a later StackStorm release changes the result; done means the pack installs with both dependencies available.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.