From 7bc0f64053d7e8bc901ca91271589c7c2c5ca98d Mon Sep 17 00:00:00 2001 From: Thiago Araujo Date: Tue, 9 Feb 2021 10:25:12 -0800 Subject: [PATCH 1/2] add certifi dep --- CHANGELOG.md | 6 ++++++ README.md | 2 +- patch_api/__init__.py | 2 +- patch_api/configuration.py | 2 +- setup.py | 3 ++- 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 397c077..a2d12d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.3.1] - 2021-02-09 + +### Fixed + +- Adds missing dependency. + ## [1.3.0] - 2021-02-08 ### Added diff --git a/README.md b/README.md index f5c31b7..76fa24b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ For a complete API reference, check out [Patch's API Reference.](https://docs.us Add the library to your `requirements.txt` file: ```txt -patch_api >= 1.3.0 +patch_api >= 1.3.1 ``` Then run: diff --git a/patch_api/__init__.py b/patch_api/__init__.py index 186e10c..9f812eb 100644 --- a/patch_api/__init__.py +++ b/patch_api/__init__.py @@ -15,7 +15,7 @@ from __future__ import absolute_import -__version__ = "1.3.0" +__version__ = "1.3.1" # import ApiClient from patch_api.api_client import ApiClient diff --git a/patch_api/configuration.py b/patch_api/configuration.py index 8de8d55..c755309 100644 --- a/patch_api/configuration.py +++ b/patch_api/configuration.py @@ -341,7 +341,7 @@ def to_debug_report(self): "OS: {env}\n" "Python Version: {pyversion}\n" "Version of the API: v1\n" - "SDK Package Version: 1.3.0".format(env=sys.platform, pyversion=sys.version) + "SDK Package Version: 1.3.1".format(env=sys.platform, pyversion=sys.version) ) def get_host_settings(self): diff --git a/setup.py b/setup.py index 924139e..30dfe07 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "patch-api" -VERSION = "1.3.0" +VERSION = "1.3.1" # To install the library, run the following # # python setup.py install @@ -23,6 +23,7 @@ REQUIRES = [ "urllib3 >= 1.25.3", "python-dateutil", + "certifi" ] setup( From a88ce4c83b5f53590d97cc84f69de9357eee04f0 Mon Sep 17 00:00:00 2001 From: Thiago Araujo Date: Tue, 9 Feb 2021 10:32:12 -0800 Subject: [PATCH 2/2] lint --- setup.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 30dfe07..79c652c 100644 --- a/setup.py +++ b/setup.py @@ -20,11 +20,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools -REQUIRES = [ - "urllib3 >= 1.25.3", - "python-dateutil", - "certifi" -] +REQUIRES = ["urllib3 >= 1.25.3", "python-dateutil", "certifi"] setup( name=NAME,