tensorflow / tensorflow/transform

Python dependencies verson constraint conflict

Open
#339 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug stat:awaiting response
Dominant language
Python
Stars
989
Forks
225
PR merge metrics
No merged PRs in 30d

Description

As of 1e8c81a54b94841d55be5fefd4aa860ea49cc389, when trying to run pip install -e ., there is a version constraint conflict:

ERROR: Cannot install tensorflow-transform and tensorflow-transform==1.17.0.dev0 because these package versions have conflicting dependencies.

The conflict is caused by:
    tensorflow-transform 1.17.0.dev0 depends on tensorflow<2.18 and >=2.17
    tfx-bsl 1.16.1 depends on tensorflow<2.17 and >=2.16

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

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 checking the dependency declarations at commit 1e8c81a54b94841d55be5fefd4aa860ea49cc389, then reproduce the failure with pip install -e .. Compare the tensorflow-transform and tfx-bsl constraints and verify that editable installation completes without pip reporting ResolutionImpossible.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.