commit python-Quandl for openSUSE:Factory
Hello community, here is the log from the commit of package python-Quandl for openSUSE:Factory checked in at 2019-02-28 21:44:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Quandl (Old) and /work/SRC/openSUSE:Factory/.python-Quandl.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-Quandl" Thu Feb 28 21:44:38 2019 rev:11 rq:679950 version:3.4.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Quandl/python-Quandl.changes 2019-01-10 15:21:22.754452370 +0100 +++ /work/SRC/openSUSE:Factory/.python-Quandl.new.28833/python-Quandl.changes 2019-02-28 21:44:40.457492536 +0100 @@ -1,0 +2,11 @@ +Sun Feb 10 13:16:19 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at> + +- Update to 3.4.6 + * Remove dependency on unittest2, use unittest instead (#113) + +------------------------------------------------------------------- +Tue Jan 29 19:12:51 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at> + +- add python pyflakes as build time dependency for the tests. + +------------------------------------------------------------------- Old: ---- Quandl-3.4.5.tar.gz New: ---- Quandl-3.4.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Quandl.spec ++++++ --- /var/tmp/diff_new_pack.FArhPS/_old 2019-02-28 21:44:40.833492376 +0100 +++ /var/tmp/diff_new_pack.FArhPS/_new 2019-02-28 21:44:40.837492374 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Quandl -Version: 3.4.5 +Version: 3.4.6 Release: 0 Summary: Package for quandl API access License: MIT @@ -52,6 +52,7 @@ BuildRequires: %{python_module pyOpenSSL} BuildRequires: %{python_module pyasn1} BuildRequires: %{python_module pycodestyle} +BuildRequires: %{python_module pyflakes} BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module requests >= 2.7.0} BuildRequires: %{python_module requests} ++++++ Quandl-3.4.5.tar.gz -> Quandl-3.4.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Quandl-3.4.5/PKG-INFO new/Quandl-3.4.6/PKG-INFO --- old/Quandl-3.4.5/PKG-INFO 2018-11-27 15:25:55.000000000 +0100 +++ new/Quandl-3.4.6/PKG-INFO 2019-02-07 17:39:38.000000000 +0100 @@ -1,12 +1,10 @@ -Metadata-Version: 1.2 +Metadata-Version: 1.1 Name: Quandl -Version: 3.4.5 +Version: 3.4.6 Summary: Package for quandl API access Home-page: https://github.com/quandl/quandl-python -Author: Quandl +Author: Quandl Development Team Author-email: connect@quandl.com -Maintainer: Quandl Development Team -Maintainer-email: connect@quandl.com License: MIT Description: Official Quandl API Client for Python ========================================= @@ -31,3 +29,8 @@ You can read more about developing and using the library here: https://github.com/quandl/quandl-python Keywords: quandl,API,data,financial,economic Platform: UNKNOWN +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: MIT License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Quandl-3.4.5/Quandl.egg-info/PKG-INFO new/Quandl-3.4.6/Quandl.egg-info/PKG-INFO --- old/Quandl-3.4.5/Quandl.egg-info/PKG-INFO 2018-11-27 15:25:55.000000000 +0100 +++ new/Quandl-3.4.6/Quandl.egg-info/PKG-INFO 2019-02-07 17:39:38.000000000 +0100 @@ -1,12 +1,10 @@ -Metadata-Version: 1.2 +Metadata-Version: 1.1 Name: Quandl -Version: 3.4.5 +Version: 3.4.6 Summary: Package for quandl API access Home-page: https://github.com/quandl/quandl-python -Author: Quandl +Author: Quandl Development Team Author-email: connect@quandl.com -Maintainer: Quandl Development Team -Maintainer-email: connect@quandl.com License: MIT Description: Official Quandl API Client for Python ========================================= @@ -31,3 +29,8 @@ You can read more about developing and using the library here: https://github.com/quandl/quandl-python Keywords: quandl,API,data,financial,economic Platform: UNKNOWN +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: MIT License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Quandl-3.4.5/Quandl.egg-info/SOURCES.txt new/Quandl-3.4.6/Quandl.egg-info/SOURCES.txt --- old/Quandl-3.4.5/Quandl.egg-info/SOURCES.txt 2018-11-27 15:25:55.000000000 +0100 +++ new/Quandl-3.4.6/Quandl.egg-info/SOURCES.txt 2019-02-07 17:39:38.000000000 +0100 @@ -47,30 +47,58 @@ quandl/utils/api_key_util.py quandl/utils/request_type_util.py test/__init__.py +test/__init__.pyc test/test_connection.py +test/test_connection.pyc test/test_data.py +test/test_data.pyc test/test_database.py +test/test_database.pyc test/test_dataset.py +test/test_dataset.pyc test/test_datatable.py +test/test_datatable.pyc test/test_datatable_data.py +test/test_datatable_data.pyc test/test_get.py +test/test_get.pyc test/test_get_table.py +test/test_get_table.pyc test/test_merged_dataset.py +test/test_merged_dataset.pyc test/test_model.py +test/test_model.pyc test/test_request_type_util.py +test/test_request_type_util.pyc test/test_retries.py +test/test_retries.pyc test/test_util.py +test/test_util.pyc test/factories/__init__.py +test/factories/__init__.pyc test/factories/database.py +test/factories/database.pyc test/factories/dataset.py +test/factories/dataset.pyc test/factories/dataset_data.py +test/factories/dataset_data.pyc test/factories/datatable.py +test/factories/datatable.pyc test/factories/datatable_data.py +test/factories/datatable_data.pyc test/factories/datatable_meta.py +test/factories/datatable_meta.pyc test/factories/meta.py +test/factories/meta.pyc test/helpers/__init__.py +test/helpers/__init__.pyc test/helpers/httpretty_extension.py +test/helpers/httpretty_extension.pyc test/helpers/merged_datasets_helper.py +test/helpers/merged_datasets_helper.pyc test/helpers/my_httpretty.py +test/helpers/my_httpretty.pyc test/helpers/random_data_helper.py -test/test_operations/__init__.py \ No newline at end of file +test/helpers/random_data_helper.pyc +test/test_operations/__init__.py +test/test_operations/__init__.pyc \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Quandl-3.4.5/Quandl.egg-info/requires.txt new/Quandl-3.4.6/Quandl.egg-info/requires.txt --- old/Quandl-3.4.5/Quandl.egg-info/requires.txt 2018-11-27 15:25:55.000000000 +0100 +++ new/Quandl-3.4.6/Quandl.egg-info/requires.txt 2019-02-07 17:39:38.000000000 +0100 @@ -1,7 +1,7 @@ -pandas>=0.14 -numpy>=1.8 -requests>=2.7.0 -inflection>=0.3.1 +pandas >= 0.14 +numpy >= 1.8 +requests >= 2.7.0 +inflection >= 0.3.1 python-dateutil six more-itertools diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Quandl-3.4.5/quandl/api_config.py new/Quandl-3.4.6/quandl/api_config.py --- old/Quandl-3.4.5/quandl/api_config.py 2018-11-26 21:09:06.000000000 +0100 +++ new/Quandl-3.4.6/quandl/api_config.py 2019-02-07 17:31:51.000000000 +0100 @@ -1,3 +1,6 @@ +import os + + class ApiConfig: api_key = None api_protocol = 'https://' @@ -14,8 +17,7 @@ def save_key(apikey, filename=None): if filename is None: - import pathlib - filename = str(pathlib.Path.home()) + "/.quandl_apikey" + filename = os.path.join(os.path.expanduser('~'), '.quandl_apikey') fileptr = open(filename, 'w') fileptr.write(apikey) @@ -25,17 +27,12 @@ def read_key(filename=None): if filename is None: - import pathlib - filename = str(pathlib.Path.home()) + "/.quandl_apikey" + filename = os.path.join(os.path.expanduser('~'), '.quandl_apikey') + + with open(filename, 'r') as f: + apikey = f.read() - try: - fileptr = open(filename, 'r') - apikey = fileptr.read() - fileptr.close() - - if apikey: - ApiConfig.api_key = apikey - else: - raise Exception("File '{:s}' is empty.".format(filename)) - except ValueError: - raise Exception("File '{:s}' not found.".format(filename)) + if not apikey: + raise ValueError("File '{:s}' is empty.".format(filename)) + + ApiConfig.api_key = apikey diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Quandl-3.4.5/quandl/message.py new/Quandl-3.4.6/quandl/message.py --- old/Quandl-3.4.5/quandl/message.py 2018-11-21 15:50:31.000000000 +0100 +++ new/Quandl-3.4.6/quandl/message.py 2019-02-06 16:44:48.000000000 +0100 @@ -14,7 +14,7 @@ ERROR_DATASETS_CODE_MUST_IN_LIST = 'dataset codes must be specified in a list' ERROR_FOLDER_ISSUE = 'The folder path specified is incorrect or you do not have \ permission to access to the folder. Check your settings and try again.' - ERROR_INVALID_DATABASE_CODE_FROMAT = 'Invalid format used for Quandl database code. \ + ERROR_INVALID_DATABASE_CODE_FORMAT = 'Invalid format used for Quandl database code. \ The correct format is: `DATABASE_CODE/DATASET_CODE`' ERROR_INVALID_DATASET = 'Invalid dataset. Your data set must be specified as a string that \ contains a Quandl code or as a tuple with multiple Quandl codes' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Quandl-3.4.5/quandl/model/database.py new/Quandl-3.4.6/quandl/model/database.py --- old/Quandl-3.4.5/quandl/model/database.py 2018-11-21 15:50:31.000000000 +0100 +++ new/Quandl-3.4.6/quandl/model/database.py 2019-02-07 17:31:51.000000000 +0100 @@ -1,21 +1,16 @@ -try: - from urllib.parse import urlparse - from urllib.parse import urlencode -except ImportError: - from urlparse import urlparse - from urllib import urlencode - import os +from six.moves.urllib.parse import urlencode, urlparse + +import quandl.model.dataset from quandl.api_config import ApiConfig from quandl.connection import Connection -from quandl.util import Util from quandl.errors.quandl_error import QuandlError +from quandl.message import Message from quandl.operations.get import GetOperation from quandl.operations.list import ListOperation +from quandl.util import Util from .model_base import ModelBase -from quandl.message import Message -import quandl.model.dataset class Database(GetOperation, ListOperation, ModelBase): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Quandl-3.4.5/quandl/model/dataset.py new/Quandl-3.4.6/quandl/model/dataset.py --- old/Quandl-3.4.5/quandl/model/dataset.py 2018-11-21 15:50:31.000000000 +0100 +++ new/Quandl-3.4.6/quandl/model/dataset.py 2019-02-06 16:44:48.000000000 +0100 @@ -25,7 +25,7 @@ parsed_code = self.code.split("/") if len(parsed_code) < 2: - raise SyntaxError(Message.ERROR_INVALID_DATABASE_CODE_FROMAT) + raise SyntaxError(Message.ERROR_INVALID_DATABASE_CODE_FORMAT) self.database_code = parsed_code[0] self.dataset_code = parsed_code[1] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Quandl-3.4.5/quandl/model/datatable.py new/Quandl-3.4.6/quandl/model/datatable.py --- old/Quandl-3.4.5/quandl/model/datatable.py 2018-11-27 15:11:55.000000000 +0100 +++ new/Quandl-3.4.6/quandl/model/datatable.py 2019-02-07 17:31:51.000000000 +0100 @@ -1,21 +1,17 @@ -try: - from urllib.request import urlopen -except ImportError: - from urllib import urlopen - -from time import sleep import os +from time import sleep + +from six.moves.urllib.request import urlopen from quandl.connection import Connection -from quandl.util import Util from quandl.errors.quandl_error import QuandlError +from quandl.message import Message from quandl.operations.get import GetOperation from quandl.operations.list import ListOperation +from quandl.util import Util from quandl.utils.request_type_util import RequestType - -from .model_base import ModelBase -from quandl.message import Message from .data import Data +from .model_base import ModelBase class Datatable(GetOperation, ListOperation, ModelBase): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Quandl-3.4.5/quandl/version.py new/Quandl-3.4.6/quandl/version.py --- old/Quandl-3.4.5/quandl/version.py 2018-11-27 15:25:29.000000000 +0100 +++ new/Quandl-3.4.6/quandl/version.py 2019-02-07 17:31:51.000000000 +0100 @@ -1 +1 @@ -VERSION = '3.4.5' +VERSION = '3.4.6' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Quandl-3.4.5/setup.cfg new/Quandl-3.4.6/setup.cfg --- old/Quandl-3.4.5/setup.cfg 2018-11-27 15:25:55.000000000 +0100 +++ new/Quandl-3.4.6/setup.cfg 2019-02-07 17:39:38.000000000 +0100 @@ -8,4 +8,5 @@ [egg_info] tag_build = tag_date = 0 +tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Quandl-3.4.5/setup.py new/Quandl-3.4.6/setup.py --- old/Quandl-3.4.5/setup.py 2018-11-27 15:11:55.000000000 +0100 +++ new/Quandl-3.4.6/setup.py 2019-02-07 17:31:51.000000000 +0100 @@ -54,6 +54,13 @@ maintainer_email='connect@quandl.com', url='https://github.com/quandl/quandl-python', license='MIT', + classifiers=[ + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + ], install_requires=install_requires, tests_require=[ 'flake8', Binary files old/Quandl-3.4.5/test/__init__.pyc and new/Quandl-3.4.6/test/__init__.pyc differ Binary files old/Quandl-3.4.5/test/factories/__init__.pyc and new/Quandl-3.4.6/test/factories/__init__.pyc differ Binary files old/Quandl-3.4.5/test/factories/database.pyc and new/Quandl-3.4.6/test/factories/database.pyc differ Binary files old/Quandl-3.4.5/test/factories/dataset.pyc and new/Quandl-3.4.6/test/factories/dataset.pyc differ Binary files old/Quandl-3.4.5/test/factories/dataset_data.pyc and new/Quandl-3.4.6/test/factories/dataset_data.pyc differ Binary files old/Quandl-3.4.5/test/factories/datatable.pyc and new/Quandl-3.4.6/test/factories/datatable.pyc differ Binary files old/Quandl-3.4.5/test/factories/datatable_data.pyc and new/Quandl-3.4.6/test/factories/datatable_data.pyc differ Binary files old/Quandl-3.4.5/test/factories/datatable_meta.pyc and new/Quandl-3.4.6/test/factories/datatable_meta.pyc differ Binary files old/Quandl-3.4.5/test/factories/meta.pyc and new/Quandl-3.4.6/test/factories/meta.pyc differ Binary files old/Quandl-3.4.5/test/helpers/__init__.pyc and new/Quandl-3.4.6/test/helpers/__init__.pyc differ Binary files old/Quandl-3.4.5/test/helpers/httpretty_extension.pyc and new/Quandl-3.4.6/test/helpers/httpretty_extension.pyc differ Binary files old/Quandl-3.4.5/test/helpers/merged_datasets_helper.pyc and new/Quandl-3.4.6/test/helpers/merged_datasets_helper.pyc differ Binary files old/Quandl-3.4.5/test/helpers/my_httpretty.pyc and new/Quandl-3.4.6/test/helpers/my_httpretty.pyc differ Binary files old/Quandl-3.4.5/test/helpers/random_data_helper.pyc and new/Quandl-3.4.6/test/helpers/random_data_helper.pyc differ Binary files old/Quandl-3.4.5/test/test_connection.pyc and new/Quandl-3.4.6/test/test_connection.pyc differ Binary files old/Quandl-3.4.5/test/test_data.pyc and new/Quandl-3.4.6/test/test_data.pyc differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Quandl-3.4.5/test/test_database.py new/Quandl-3.4.6/test/test_database.py --- old/Quandl-3.4.5/test/test_database.py 2018-11-21 15:50:31.000000000 +0100 +++ new/Quandl-3.4.6/test/test_database.py 2019-02-07 17:31:51.000000000 +0100 @@ -1,23 +1,19 @@ -try: - from urllib.parse import urlparse - from urllib.parse import parse_qs -except ImportError: - from urlparse import urlparse - from cgi import parse_qs - +import json import re import unittest -from test.helpers.httpretty_extension import httpretty -import json + import six -from quandl.errors.quandl_error import (InternalServerError, QuandlError) +from mock import call, mock_open, patch +from six.moves.urllib.parse import parse_qs, urlparse + from quandl.api_config import ApiConfig -from quandl.model.database import Database from quandl.connection import Connection -from test.test_retries import ModifyRetrySettingsTestCase -from mock import patch, call, mock_open +from quandl.errors.quandl_error import (InternalServerError, QuandlError) +from quandl.model.database import Database from test.factories.database import DatabaseFactory from test.factories.meta import MetaFactory +from test.helpers.httpretty_extension import httpretty +from test.test_retries import ModifyRetrySettingsTestCase class GetDatabaseTest(unittest.TestCase): Binary files old/Quandl-3.4.5/test/test_database.pyc and new/Quandl-3.4.6/test/test_database.pyc differ Binary files old/Quandl-3.4.5/test/test_dataset.pyc and new/Quandl-3.4.6/test/test_dataset.pyc differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Quandl-3.4.5/test/test_datatable.py new/Quandl-3.4.6/test/test_datatable.py --- old/Quandl-3.4.5/test/test_datatable.py 2018-11-27 15:11:55.000000000 +0100 +++ new/Quandl-3.4.6/test/test_datatable.py 2019-02-07 17:31:51.000000000 +0100 @@ -1,20 +1,18 @@ -try: - from urllib.parse import urlparse -except ImportError: - from urlparse import urlparse - +import json import re import unittest + import httpretty -import json import six +from mock import call, mock_open, patch +from six.moves.urllib.parse import urlparse + +from quandl.api_config import ApiConfig +from quandl.errors.quandl_error import (InternalServerError, QuandlError) from quandl.model.datatable import Datatable -from mock import patch, call, mock_open from test.factories.datatable import DatatableFactory from test.test_retries import ModifyRetrySettingsTestCase -from quandl.api_config import ApiConfig from quandl.utils.request_type_util import RequestType -from quandl.errors.quandl_error import (InternalServerError, QuandlError) from parameterized import parameterized Binary files old/Quandl-3.4.5/test/test_datatable.pyc and new/Quandl-3.4.6/test/test_datatable.pyc differ Binary files old/Quandl-3.4.5/test/test_datatable_data.pyc and new/Quandl-3.4.6/test/test_datatable_data.pyc differ Binary files old/Quandl-3.4.5/test/test_get.pyc and new/Quandl-3.4.6/test/test_get.pyc differ Binary files old/Quandl-3.4.5/test/test_get_table.pyc and new/Quandl-3.4.6/test/test_get_table.pyc differ Binary files old/Quandl-3.4.5/test/test_merged_dataset.pyc and new/Quandl-3.4.6/test/test_merged_dataset.pyc differ Binary files old/Quandl-3.4.5/test/test_model.pyc and new/Quandl-3.4.6/test/test_model.pyc differ Binary files old/Quandl-3.4.5/test/test_operations/__init__.pyc and new/Quandl-3.4.6/test/test_operations/__init__.pyc differ Binary files old/Quandl-3.4.5/test/test_request_type_util.pyc and new/Quandl-3.4.6/test/test_request_type_util.pyc differ Binary files old/Quandl-3.4.5/test/test_retries.pyc and new/Quandl-3.4.6/test/test_retries.pyc differ Binary files old/Quandl-3.4.5/test/test_util.pyc and new/Quandl-3.4.6/test/test_util.pyc differ
participants (1)
-
root