From 9d470b4444b544d6c77d41d46a11902f7f441701 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Fri, 8 Sep 2023 03:30:36 -0400 Subject: [PATCH] ignore_compatibility was supposed to default to False (#5926) * fix resolver as ignore_compatibility was supposed to default to False, collect hashes already passes True. --- news/5926.bugfix.rst | 1 + pipenv/utils/resolver.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 news/5926.bugfix.rst diff --git a/news/5926.bugfix.rst b/news/5926.bugfix.rst new file mode 100644 index 00000000..fa64dbce --- /dev/null +++ b/news/5926.bugfix.rst @@ -0,0 +1 @@ +ignore_compatibility was supposed to default to False (except for hash collection) diff --git a/pipenv/utils/resolver.py b/pipenv/utils/resolver.py index 1edbb252..d5c7832f 100644 --- a/pipenv/utils/resolver.py +++ b/pipenv/utils/resolver.py @@ -337,7 +337,7 @@ class Resolver: ) return finder - def finder(self, ignore_compatibility=True): + def finder(self, ignore_compatibility=False): finder = self.package_finder index_lookup = self.prepare_index_lookup() finder._link_collector.index_lookup = index_lookup