PipedreamHQ / PipedreamHQ/pipedream

[BUG] Python packages pinning doesnt work properly

Open
#17,362 2 comments 0 reactions 0 assignees View on GitHub
bug tracked internally triaged
Dominant language
JavaScript
Stars
11.7k
Forks
5.8k
Avg merge
3d 10h
Merged PRs (30d)
102

Description

**Describe the bug**
It seems even though i pin all the packages at all steps (including some dependencies), it seems everytime one of the packages has an update, it tries to request that latest version instead and my hardcoded/pinned version number is ignored. Every few days i have to find which package is causing the issue, increment the version on all the steps and it then works.

**To Reproduce**
Steps to reproduce the behavior:

1. Create python code actions (eg, using Langchain libraries)
2. Pin to latest version or earlier
3. Run and ensure it works
4. Wait a few days for an update to one of those packages
5. Re-run flow & receive mismatch error

**Expected behavior**
Pinning packages should pin them at the set version, if dependent or core packages have updates, this shouldnt cause issues and it should still remain locked to the pinned version.

**Screenshots**
If applicable, add screenshots to help explain your problem. Note that the screenshots will be displayed publicly.
GraphQL Error trace example (langchain-openai was set to 0.3.26 for BOTH code actions):
Image

Current Pinned Packages Examples in 2 code actions (had to change langchain-openai from 0.3.26 to 0.3.27):

Image

Image

**Additional context**
This has happened multiple times and to multiple langchain packages.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.