From f94dba1284dec880100c273a4c4e7d19d34234ca Mon Sep 17 00:00:00 2001 From: Alex Shalynin <6602362+vishes-shell@users.noreply.github.com> Date: Thu, 1 Oct 2020 11:17:59 +0300 Subject: [PATCH 1/2] Import unresolved exception classes in gitlab client --- gitlab/client.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gitlab/client.py b/gitlab/client.py index fea52614a..5c89d6e7a 100644 --- a/gitlab/client.py +++ b/gitlab/client.py @@ -26,7 +26,13 @@ import httpx from gitlab import exceptions as exc from gitlab import utils -from gitlab.exceptions import GitlabHttpError, GitlabParsingError, on_http_error +from gitlab.exceptions import ( + GitlabAuthenticationError, + GitlabHttpError, + GitlabParsingError, + RedirectError, + on_http_error, +) from gitlab.types import GitlabList from gitlab.utils import inherit_docstrings From fc824c2445d14b3846ad3206cd719b76ac07c506 Mon Sep 17 00:00:00 2001 From: Alex Shalynin <6602362+vishes-shell@users.noreply.github.com> Date: Tue, 11 May 2021 10:14:42 +0300 Subject: [PATCH 2/2] Bump httpx --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1242622fc..d95bebb31 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def get_version(): license="LGPLv3", url="https://github.com/python-gitlab/python-gitlab", packages=find_packages(), - install_requires=["httpx>=0.14.3,<0.15"], + install_requires=["httpx>=0.18.1,<0.19"], python_requires=">=3.6.0", entry_points={"console_scripts": ["gitlab = gitlab.cli:main"]}, classifiers=[