From 9343d76fc8439bcaa6b0237a0854a1f65b9cc348 Mon Sep 17 00:00:00 2001 From: Mykhail Martsyniuk Date: Tue, 9 Sep 2025 15:23:27 +0300 Subject: [PATCH] - update dependency versions - switch nose to pynose --- setup.py | 10 +++++----- singertools/infer_schema.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index 6a6d6a0..bfed032 100644 --- a/setup.py +++ b/setup.py @@ -9,17 +9,17 @@ url='http://singer.io', classifiers=['Programming Language :: Python :: 3 :: Only'], install_requires=[ - 'attrs==16.3.0', - 'jsonschema==2.6.0', + 'attrs>=17.0.0', + 'jsonschema>=4.0.0', 'singer-python>=0.2.1', 'strict-rfc3339==0.7', 'terminaltables==3.1.0' ], extras_require={ 'dev': [ - 'ipdb==0.11', - 'pylint==2.5.3', - 'nose' + 'ipdb==0.13', + 'pylint>=3.0.0,==3.*', + 'pynose' ] }, packages=['singertools'], diff --git a/singertools/infer_schema.py b/singertools/infer_schema.py index 9c3a6a6..1136aa1 100755 --- a/singertools/infer_schema.py +++ b/singertools/infer_schema.py @@ -30,7 +30,7 @@ def add_observations(acc, path, data): # If the string parses as a date, add an observation that its a date try: data = dateutil.parser.parse(data) - except (dateutil.parser.ParserError, OverflowError): + except (ValueError, OverflowError): data = None if data: add_observation(acc, path + ["date"])