pypa / pypa/setuptools

Flag to remove dependency constraints

Open
#894 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs Triage
Dominant language
Python
Stars
2.9k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Often developers pin their dependencies to exact versions. This is bad practice because it can prevent users from using dependencies that have had security/minor updates. Typically there's also no need to pin versions.

It would be very useful if setuptools had a flag that could be passed to bdist_wheel and such so that it would ignore the constraints and just permit any version of the dependency.

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

Start by tracing how bdist_wheel and related packaging commands obtain dependency version constraints. Define and implement a flag that omits those constraints while preserving normal dependency declarations, then verify the generated package metadata allows compatible dependency versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.