From eba098f4a1635922413ed366ff60beee4a4ff521 Mon Sep 17 00:00:00 2001 From: arbisoft Date: Mon, 5 Aug 2019 15:10:41 +0500 Subject: [PATCH] BOM-74 Releasing new version. --- .travis.yml | 2 -- analyticsclient/__init__.py | 2 +- analyticsclient/client.py | 3 +-- analyticsclient/exceptions.py | 2 +- analyticsclient/tests/test_client.py | 2 +- openedx.yaml | 3 ++- setup.py | 15 +++++++++++++++ 7 files changed, 21 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5c9792f..aaba0a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,6 @@ matrix: env: TOXENV=py27 - python: 3.6 env: TOXENV=py36 - allow_failures: - - env: TOXENV=py36 cache: pip sudo: false install: diff --git a/analyticsclient/__init__.py b/analyticsclient/__init__.py index 090480d..d2a3165 100644 --- a/analyticsclient/__init__.py +++ b/analyticsclient/__init__.py @@ -1 +1 @@ -__version__ = '0.15.3' +__version__ = '0.15.4' diff --git a/analyticsclient/client.py b/analyticsclient/client.py index f15be1e..f18a903 100644 --- a/analyticsclient/client.py +++ b/analyticsclient/client.py @@ -10,8 +10,7 @@ from analyticsclient.course_summaries import CourseSummaries from analyticsclient.course_totals import CourseTotals from analyticsclient.engagement_timeline import EngagementTimeline -from analyticsclient.exceptions import (ClientError, InvalidRequestError, - NotFoundError, TimeoutError) +from analyticsclient.exceptions import ClientError, InvalidRequestError, NotFoundError, TimeoutError # pylint: disable=redefined-builtin from analyticsclient.module import Module from analyticsclient.programs import Programs from analyticsclient.status import Status diff --git a/analyticsclient/exceptions.py b/analyticsclient/exceptions.py index f7a9d66..1842319 100644 --- a/analyticsclient/exceptions.py +++ b/analyticsclient/exceptions.py @@ -16,7 +16,7 @@ class InvalidRequestError(ClientError): pass -class TimeoutError(ClientError): +class TimeoutError(ClientError): # pylint: disable=redefined-builtin """The API server did not respond before the timeout expired.""" pass diff --git a/analyticsclient/tests/test_client.py b/analyticsclient/tests/test_client.py index e455912..ad0ec10 100644 --- a/analyticsclient/tests/test_client.py +++ b/analyticsclient/tests/test_client.py @@ -9,7 +9,7 @@ from analyticsclient.client import Client from analyticsclient.constants import data_formats, http_methods -from analyticsclient.exceptions import ClientError, TimeoutError +from analyticsclient.exceptions import ClientError, TimeoutError # pylint: disable=redefined-builtin from analyticsclient.tests import ClientTestCase diff --git a/openedx.yaml b/openedx.yaml index 9768843..e86e45c 100644 --- a/openedx.yaml +++ b/openedx.yaml @@ -8,5 +8,6 @@ tags: - data-engineering - library oeps: - oep-7: false + oep-2: true + oep-7: true oep-18: false diff --git a/setup.py b/setup.py index a635715..56b1b73 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,7 @@ from __future__ import absolute_import + from setuptools import setup + from analyticsclient import __version__ as VERSION setup( @@ -9,6 +11,19 @@ url='https://github.com/edx/edx-analytics-data-api-client', description='Client used to access edX analytics data warehouse', long_description=open('README.rst').read(), + license='Apache License 2.0', + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Web Environment', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: Apache License 2.0', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.6', + ], install_requires=[ "requests", ],