From a403af904209d9117ca24aa8a21ffc455df36c2b Mon Sep 17 00:00:00 2001 From: Fabian von Feilitzsch Date: Sun, 6 Feb 2022 16:06:59 -0500 Subject: [PATCH] Fix requirements, version bump --- openshift/__init__.py | 2 +- python-openshift.spec | 2 +- requirements.txt | 6 +----- scripts/constants.py | 2 +- setup.py | 4 ++-- 5 files changed, 6 insertions(+), 10 deletions(-) diff --git a/openshift/__init__.py b/openshift/__init__.py index b8aefb7c..cd557284 100644 --- a/openshift/__init__.py +++ b/openshift/__init__.py @@ -14,5 +14,5 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-version.sh. -__version__ = "0.13.0" +__version__ = "0.13.1" __k8s_client_version__ = "21.7.0" diff --git a/python-openshift.spec b/python-openshift.spec index e7133c0b..ae17179d 100644 --- a/python-openshift.spec +++ b/python-openshift.spec @@ -16,7 +16,7 @@ %endif Name: python-%{library} -Version: 0.13.0 +Version: 0.13.1 Release: 1%{?dist} Summary: Python client for the OpenShift API License: ASL 2.0 diff --git a/requirements.txt b/requirements.txt index 88b960cb..c17b2a91 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,3 @@ -jinja2 -kubernetes +kubernetes ~= 21.7.0 python-string-utils -ruamel.yaml six -requests -requests-oauthlib diff --git a/scripts/constants.py b/scripts/constants.py index f96168cb..6b6491ca 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -23,7 +23,7 @@ # client version for packaging and releasing. It can # be different than SPEC_VERSION. -CLIENT_VERSION = "0.13.0" +CLIENT_VERSION = "0.13.1" KUBERNETES_CLIENT_VERSION = "21.7.0" # Name of the release package diff --git a/setup.py b/setup.py index 0d0e65ee..b563b6ed 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "0.13.0" +CLIENT_VERSION = "0.13.1" PACKAGE_NAME = "openshift" DEVELOPMENT_STATUS = "3 - Alpha" @@ -46,7 +46,7 @@ def extract_requirements(filename): license="Apache License Version 2.0", url="https://github.com/openshift/openshift-restclient-python", keywords=["Swagger", "OpenAPI", "Kubernetes", "OpenShift"], - install_requires=extract_requirements('requirements.txt'), + install_requires=['kubernetes >= 12.0', 'python-string-utils', 'six'], packages=find_packages(include='openshift.*'), long_description='Python client for OpenShift http://openshift.redhat.com/', classifiers=[