From 63a901ccb2893770dd2fc923322c188edc99a8b3 Mon Sep 17 00:00:00 2001 From: Tyler Pennebaker Date: Wed, 8 Jul 2026 03:28:57 -0700 Subject: [PATCH 1/3] Limit dparse and safety to compatible version --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index dd3d9fd..df9715e 100755 --- a/setup.py +++ b/setup.py @@ -22,8 +22,8 @@ "pyyaml>=4.2b4", "packaging", "python-gitlab>=1.3.0", - "dparse>=0.5.1", - "safety>=1.9.0", + "dparse>=0.5.1,<0.6.4", + "safety>=1.9.0,<3.0.0", "jinja2>=2.3" ] From bcd875cc9e4e7e84ae43456ff181fd701c3815e9 Mon Sep 17 00:00:00 2001 From: Tyler Pennebaker Date: Wed, 8 Jul 2026 03:29:58 -0700 Subject: [PATCH 2/3] Use default Github API url if not provided --- pyup/providers/github.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyup/providers/github.py b/pyup/providers/github.py index ae2e972..2140d6a 100644 --- a/pyup/providers/github.py +++ b/pyup/providers/github.py @@ -3,6 +3,7 @@ import time import logging from github import Github, GithubException, UnknownObjectException, InputGitAuthor +from github.Consts import DEFAULT_BASE_URL from ..errors import BranchExistsError, NoPermissionError, RepoDoesNotExistError logger = logging.getLogger(__name__) @@ -12,7 +13,7 @@ class Provider(object): def __init__(self, bundle, integration=False, url=None, ignore_ssl=False): self.bundle = bundle self.integration = integration - self.url = url + self.url = url or DEFAULT_BASE_URL self.ignore_ssl = ignore_ssl self.__api = None self.__token = '' From e9d22f8012635d5f342daabbd82e592af7951e4c Mon Sep 17 00:00:00 2001 From: Tyler Pennebaker Date: Wed, 8 Jul 2026 13:44:39 -0700 Subject: [PATCH 3/3] Pin all dependencies to working versions --- setup.py | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/setup.py b/setup.py index df9715e..bf3176e 100755 --- a/setup.py +++ b/setup.py @@ -15,16 +15,17 @@ history = history_file.read().replace('.. :changelog:', '') requirements = [ - "requests", - "pygithub>=1.43.3", - "click", - "tqdm", - "pyyaml>=4.2b4", - "packaging", - "python-gitlab>=1.3.0", - "dparse>=0.5.1,<0.6.4", - "safety>=1.9.0,<3.0.0", - "jinja2>=2.3" + "requests==2.32.4", + "pygithub==2.8.1", + "click==8.1.8", + "tqdm==4.68.4", + "pyyaml==6.0.3", + "packaging==21.3", + "python-gitlab==4.13.0", + "cryptography==46.0.7", + "dparse==0.6.3", + "safety==2.3.5", + "jinja2==3.1.6" ] setup(