From cbc92fd6dd7e0bae4ec81b87521b5c27b0601be5 Mon Sep 17 00:00:00 2001
From: Paul Moore
Date: Tue, 25 Apr 2023 16:17:13 +0100
Subject: [PATCH] Upgrade setuptools to 67.7.2
---
news/setuptools.vendor.rst | 2 +-
src/pip/_vendor/pkg_resources/__init__.py | 3 +++
src/pip/_vendor/vendor.txt | 2 +-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/news/setuptools.vendor.rst b/news/setuptools.vendor.rst
index 9cf3f49e21c..569df4b6432 100644
--- a/news/setuptools.vendor.rst
+++ b/news/setuptools.vendor.rst
@@ -1 +1 @@
-Upgrade setuptools to 67.6.1
+Upgrade setuptools to 67.7.2
diff --git a/src/pip/_vendor/pkg_resources/__init__.py b/src/pip/_vendor/pkg_resources/__init__.py
index a85aca10f7c..1bf26a94226 100644
--- a/src/pip/_vendor/pkg_resources/__init__.py
+++ b/src/pip/_vendor/pkg_resources/__init__.py
@@ -3046,6 +3046,9 @@ def has_version(self):
except ValueError:
issue_warning("Unbuilt egg for " + repr(self))
return False
+ except SystemError:
+ # TODO: remove this except clause when python/cpython#103632 is fixed.
+ return False
return True
def clone(self, **kw):
diff --git a/src/pip/_vendor/vendor.txt b/src/pip/_vendor/vendor.txt
index 3974df3f11b..61063459d6d 100644
--- a/src/pip/_vendor/vendor.txt
+++ b/src/pip/_vendor/vendor.txt
@@ -16,7 +16,7 @@ rich==13.3.3
pygments==2.14.0
typing_extensions==4.5.0
resolvelib==1.0.1
-setuptools==67.6.1
+setuptools==67.7.2
six==1.16.0
tenacity==8.2.2
tomli==2.0.1