Update TFX python dependency constraint to allow TensorFlow 2.5.0
See original GitHub issuePlease update TFX python dependency constraint to allow TensorFlow 2.5.0. As of right now only TensorFlow 2.4.1 and below are supported but TensorFlow 2.4.1 has many critical/high vulnerabilities which have been patched in TensorFlow 2.5.0
[jovyan@2b08f11f4755 venv]$ poetry add tfx --python ">=3.8,<3.9"
Using version ^0.30.0 for tfx
Updating dependencies
Resolving dependencies... (0.1s)
SolverProblemError
Because tfx (0.30.0) depends on tensorflow (>=1.15.2,<2.0.0 || >=2.4.0,<2.5.0 || >=2.6.0,<3)
and no versions of tfx match >0.30.0,<0.31.0, tfx (>=0.30.0,<0.31.0) requires tensorflow (>=1.15.2,<2.0.0 || >=2.4.0,<2.5.0 || >=2.6.0,<3).
So, because venv depends on both tensorflow (2.5.0) and tfx (^0.30.0), version solving failed.
at /opt/jupyter/venv/lib/python3.8/site-packages/poetry/puzzle/solver.py:241 in _solve
237│ packages = result.packages
238│ except OverrideNeeded as e:
239│ return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest)
240│ except SolveFailure as e:
→ 241│ raise SolverProblemError(e)
242│
243│ results = dict(
244│ depth_first_search(
245│ PackageNode(self._package, packages), aggregate_package_nodes
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
TensorFlow Transform | TFX
This will install the nightly packages for the major dependencies of TFT such as TensorFlow Metadata (TFMD), TFX Basic Shared Libraries (TFX-BSL).
Read more >Pipenv fails locking when installing TensorFlow 2.4.1
Hint: try $ pipenv lock --pre if it is a pre-release dependency. ERROR: Could not find a version that matches tensorflow (from -r ......
Read more >Pipeline Example performing the Bert Preprocessing with ...
ERROR: tfx 0.21.4 has requirement tensorflow-model-analysis<0.22,>=0.21.4, ... to install necessary dependencies to enable all data visualization features.
Read more >Bug listing with status UNCONFIRMED as at 2022/12/22 02 ...
Compiler wrapper to enable security hardening flags" status:UNCONFIRMED resolution: ... Bug:542272 - "net-dialup/linux-atm-2.5.0: fails to compile with ...
Read more >tfx Changelog - pyup.io
* Switch Transform component to always use sketch when computing top-k stats. Dependency Updates | Package Name | Version Constraints | Previously (in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you try to pip install -i https://pypi-nightly.tensorflow.org/simple/ tfx==20210519
This worked for me
Are you satisfied with the resolution of your issue? Yes No