deepdiff
deepdiff copied to clipboard
Not able to install DeepDiff 5.8.0 in Python 3.6 environment
Please checkout the F.A.Q page before creating a bug ticket to make sure it is not already addressed.
Describe the bug While DeepDiff supports Python 3.6, the new version of the dependency, ordered-set 4.1.0 requires Python 3.7+. DeepDiff 5.8.0 introduces a strict requirement on this specific non-compatible version of ordered-set.
To Reproduce Install DeepDiff 5.8.0 in Python 3.6 environment
Expected behavior DeepDiff to continue working in Python 3.6 or update the documentation and python_requires to >= 3.7
OS, DeepDiff version and Python version (please complete the following information):
- OS: macOS 12.3.1
- DeepDiff: 5.8.0
- Python 3.6.5
Additional context Add any other context about the problem here.
Ah, I wonder how it passed the tests for 3.6 Ok I will loosen up the ordered-set requirements.
can confirm this
$ python3 --version
Python 3.6.9
$ sudo pip3 install deepdiff
The directory '/home/a-jason.berk/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/a-jason.berk/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting deepdiff
Downloading https://files.pythonhosted.org/packages/3d/98/21e6baf359f03b760331444cda25332e1d1c3911fd57a36e54029489bd91/deepdiff-5.8.1-py3-none-any.whl (69kB)
100% |████████████████████████████████| 71kB 9.1MB/s
Collecting ordered-set<4.2.0,>=4.1.0 (from deepdiff)
Could not find a version that satisfies the requirement ordered-set<4.2.0,>=4.1.0 (from deepdiff) (from versions: 1.0.1, 1.1, 1.2, 1.3, 1.3.1, 1.4.0, 2.0.0, 2.0.1, 2.0.2, 3.0.0, 3.0.1, 3.0.2, 3.1, 3.1.1, 4.0.1, 4.0.2)
No matching distribution found for ordered-set<4.2.0,>=4.1.0 (from deepdiff)
also see #316
@sagarkrkv @jasonrberk DeepDiff 6 is released and this issue is resolved. Note that DeepDiff6 is published under a different package name: https://zepworks.com/deepdiff/current/#installation
pip install deepdiff6