linkedin / linkedin/pygradle

Exclude transitive dependency from requirements.txt

Open
#355 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
603
Forks
142
PR merge metrics
No merged PRs in 30d

Description

Hi,
Context:
I am new to Python coding.
numpy version 1.21.5 has a security vulnerability https://github.com/numpy/numpy/issues/18993.
This dependency is a transitive dependency not a direct dependency. We are sure that in our code we are not using any functionality that requires this
transitive dependency.

Request:
Is there any way to configure the requirement.txt to exclude transitive dependency ?
I see the issue is fixed in version 1.22.0* ---- unfortunately this is not in a stable release yet -- what is the time line for version 1.22.0 to become stable?

Please any help is really appreciated. Please do respond.

Contributor guide

No contributing guide indexed for this repository

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

The request concerns requirements.txt and handling the vulnerable transitive numpy dependency, but it names no source files, tests, or implementation entry points. First determine how pygradle generates requirements.txt and whether dependency exclusions are supported; done would be a documented or implemented way to exclude the transitive dependency while preserving valid dependency resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
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.