From 8152cc8a6fd27d1b6bea6cfe8c200e72598f5c08 Mon Sep 17 00:00:00 2001 From: Jeremy Frasier Date: Thu, 15 Jan 2026 14:27:57 -0500 Subject: [PATCH] Add an upper bound pin for setuptools This is necessary because scraper depends on vsts, which itself imports the pkg_resources package from setuptools in its __init__.py. The pkg_resources package will be removed in setuptools 81, which will fundamentally break vsts. I would make the change in vsts instead, but that project has changed its name and has undergone several major revisions since: - https://pypi.org/project/vsts/ (see in particular the homepage link) - https://github.com/microsoft/azure-devops-python-api --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a9803ef..5fdc90b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ dependencies = [ "python-gitlab>=1.6.0", "pytz>=2017.3", "requests>=2.16", - "setuptools>=24.2.0", + "setuptools>=24.2.0,<81", "stashy>=0.3", "vsts>=0.1.25", ]