From e4e0a159ebb45651fecdd7aa17afff9485a72261 Mon Sep 17 00:00:00 2001 From: anant asthana Date: Fri, 1 Jul 2022 19:28:58 -0600 Subject: [PATCH 1/4] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c067e646..6e25c665 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ cleo = "^0.6" inflection = "^0.3" Faker = "^0.8" lazy-object-proxy = "^1.2" -pendulum = "^1.4" +pendulum = "^2.0" pyaml = "^16.12" pyyaml = "^5.1" Pygments = "^2.2" From 6609bdd1b8ce960dd05b869fc6b72392b2017304 Mon Sep 17 00:00:00 2001 From: anant asthana Date: Fri, 1 Jul 2022 19:35:37 -0600 Subject: [PATCH 2/4] updates to pendulum3 --- orator/connectors/mysql_connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orator/connectors/mysql_connector.py b/orator/connectors/mysql_connector.py index 858493d7..84906ad8 100644 --- a/orator/connectors/mysql_connector.py +++ b/orator/connectors/mysql_connector.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- import re -from pendulum import Pendulum, Date +from pendulum import DateTime as Pendulum, Date try: import MySQLdb as mysql From b879fc72a075b25616f4a417cc5714148dc2f869 Mon Sep 17 00:00:00 2001 From: anant asthana Date: Fri, 1 Jul 2022 19:40:09 -0600 Subject: [PATCH 3/4] Update to use pendulum 2.10 --- orator/connectors/sqlite_connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orator/connectors/sqlite_connector.py b/orator/connectors/sqlite_connector.py index 2b165f55..6bb37544 100644 --- a/orator/connectors/sqlite_connector.py +++ b/orator/connectors/sqlite_connector.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from pendulum import Pendulum, Date +from pendulum import DateTime as Pendulum, Date try: import sqlite3 From 366fa5c572090809ee1fda821fc0652e1b4cb28b Mon Sep 17 00:00:00 2001 From: anant asthana Date: Fri, 1 Jul 2022 19:40:57 -0600 Subject: [PATCH 4/4] update to use pendulum 2.10 --- tests/orm/test_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/orm/test_model.py b/tests/orm/test_model.py index d81abaab..e7055347 100644 --- a/tests/orm/test_model.py +++ b/tests/orm/test_model.py @@ -4,7 +4,7 @@ import hashlib import time import datetime -from pendulum import Pendulum +from pendulum import DateTime as Pendulum from flexmock import flexmock, flexmock_teardown from .. import OratorTestCase, mock from ..utils import MockModel, MockQueryBuilder, MockConnection, MockProcessor