diff --git a/optional-requirements.txt b/optional-requirements.txt index 6763eaff..8b93032c 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -1,7 +1,7 @@ # GDrive Integration google-api-python-client>=1.7.11,<2.108.0 gevent>20.6.0,<24.0.0 -greenlet>=0.4.17,<2.1.0 +greenlet>=0.4.17,<3.1.0 httplib2>=0.9.2,<0.23.0 oauth2client>=4.0.0,<4.1.4 uritemplate>=3.0.0,<4.2.0 @@ -38,8 +38,8 @@ faust-cchardet>=2.1.18,<2.1.20 py7zr>=0.15.0,<0.21.0 # Comics -natsort>=2.2.0,<8.4.0 +natsort>=2.2.0,<8.5.0 comicapi>=2.2.0,<3.3.0 # Kobo integration -jsonschema>=3.2.0,<4.20.0 +jsonschema>=3.2.0,<4.22.0 diff --git a/setup.cfg b/setup.cfg index eb73462d..4c23a0ba 100644 --- a/setup.cfg +++ b/setup.cfg @@ -68,7 +68,7 @@ include = cps/services* gdrive = google-api-python-client>=1.7.11,<2.108.0 gevent>20.6.0,<24.0.0 - greenlet>=0.4.17,<2.1.0 + greenlet>=0.4.17,<3.1.0 httplib2>=0.9.2,<0.23.0 oauth2client>=4.0.0,<4.1.4 uritemplate>=3.0.0,<4.2.0 @@ -99,8 +99,8 @@ metadata = faust-cchardet>=2.1.18,<2.1.20 py7zr>=0.15.0,<0.21.0 comics = - natsort>=2.2.0,<8.4.0 + natsort>=2.2.0,<8.5.0 comicapi>=2.2.0,<3.3.0 kobo = - jsonschema>=3.2.0,<4.20.0 + jsonschema>=3.2.0,<4.22.0 diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index 6bafbd11..031ba52c 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
-

Start Time: 2024-01-17 20:30:42

+

Start Time: 2024-02-10 19:51:08

-

Stop Time: 2024-01-18 03:25:01

+

Stop Time: 2024-02-11 02:37:31

-

Duration: 5h 47 min

+

Duration: 5h 36 min

@@ -234,12 +234,12 @@ - + TestBackupMetadata 21 - 20 - 1 + 16 0 + 5 0 Detail @@ -320,35 +320,11 @@ - +
TestBackupMetadata - test_backup_change_book_series_index
- -
- FAIL -
- - - - + PASS @@ -416,54 +392,173 @@ AssertionError: 'test' != 'tEst' - +
TestBackupMetadata - test_backup_change_custom_float
- PASS + +
+ ERROR +
+ + + + - +
TestBackupMetadata - test_backup_change_custom_int
- PASS + +
+ ERROR +
+ + + + - +
TestBackupMetadata - test_backup_change_custom_rating
- PASS + +
+ ERROR +
+ + + + - +
TestBackupMetadata - test_backup_change_custom_text
- PASS + +
+ ERROR +
+ + + + - +
TestBackupMetadata - test_upload_book
- PASS + +
+ ERROR +
+ + + + - TestBackupMetadataGdrive + _ErrorHolder 1 0 0 @@ -478,7 +573,7 @@ AssertionError: 'test' != 'tEst' -
TestBackupMetadataGdrive - test_backup_gdrive
+
tearDownClass (test_backup_metadata)
@@ -493,77 +588,23 @@ AssertionError: 'test' != 'tEst'
Traceback (most recent call last):
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
-    conn = connection.create_connection(
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 95, in create_connection
-    raise err
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
-    sock.connect(sa)
-ConnectionRefusedError: [Errno 111] Connection refused
-
-During handling of the above exception, another exception occurred:
-
-Traceback (most recent call last):
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
-    httplib_response = self._make_request(
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request
-    conn.request(method, url, **httplib_request_kw)
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request
-    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
-  File "/usr/lib/python3.10/http/client.py", line 1283, in request
-    self._send_request(method, url, body, headers, encode_chunked)
-  File "/usr/lib/python3.10/http/client.py", line 1329, in _send_request
-    self.endheaders(body, encode_chunked=encode_chunked)
-  File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders
-    self._send_output(message_body, encode_chunked=encode_chunked)
-  File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output
-    self.send(msg)
-  File "/usr/lib/python3.10/http/client.py", line 976, in send
-    self.connect()
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 205, in connect
-    conn = self._new_conn()
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn
-    raise NewConnectionError(
-urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fbaf3c23910>: Failed to establish a new connection: [Errno 111] Connection refused
-
-During handling of the above exception, another exception occurred:
-
-Traceback (most recent call last):
-  File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata_gdrive.py", line 105, in test_backup_gdrive
-    self.queue_metadata_backup()
-  File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 1630, in queue_metadata_backup
-    self.check_element_on_page((By.ID, "metadata_backup")).click()
-  File "/home/ozzie/Development/calibre-web-test/test/helper_ui.py", line 751, in check_element_on_page
-    el = WebDriverWait(cls.driver, timeout).until(EC.presence_of_element_located(element))
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until
-    value = method(self._driver)
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate
-    return driver.find_element(*locator)
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element
-    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 438, in execute
-    response = self.command_executor.execute(driver_command, params)
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 290, in execute
-    return self._request(command_info[0], url, body=data)
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/remote_connection.py", line 311, in _request
-    response = self._conn.request(method, url, body=body, headers=headers)
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 78, in request
-    return self.request_encode_body(
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/request.py", line 170, in request_encode_body
-    return self.urlopen(method, url, **extra_kw)
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/poolmanager.py", line 376, in urlopen
-    response = conn.urlopen(method, u.request_uri, **kw)
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen
-    return self.urlopen(
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen
-    return self.urlopen(
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 815, in urlopen
-    return self.urlopen(
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
-    retries = retries.increment(
-  File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
-    raise MaxRetryError(_pool, url, error or ResponseError(cause))
-urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=36553): Max retries exceeded with url: /session/21a363dd-f6ec-48cc-95a7-772f18f01f8d/element (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fbaf3c23910>: Failed to establish a new connection: [Errno 111] Connection refused'))
+ File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 39, in tearDownClass + cls.driver.get("http://127.0.0.1:" + PORTS[0]) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get + self.execute(Command.GET, {"url": url}) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute + self.error_handler.check_response(response) + File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response + raise exception_class(message, screen, stacktrace) +selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=connectionFailure&u=http%3A//127.0.0.1%3A8083/&c=UTF-8&d=Firefox%20can%E2%80%99t%20establish%20a%20connection%20to%20the%20server%20at%20127.0.0.1%3A8083. +Stacktrace: +RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 +WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:191:5 +UnknownError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:800:5 +checkReadyState@chrome://remote/content/marionette/navigate.sys.mjs:58:24 +onNavigation@chrome://remote/content/marionette/navigate.sys.mjs:324:39 +emit@resource://gre/modules/EventEmitter.sys.mjs:154:20 +receiveMessage@chrome://remote/content/marionette/actors/MarionetteEventsParent.sys.mjs:33:25
@@ -574,12 +615,12 @@ urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', p - - _ErrorHolder + + TestBackupMetadataGdrive + 1 1 0 0 - 1 0 Detail @@ -588,91 +629,11 @@ urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', p - + -
tearDownClass (test_backup_metadata_gdrive)
- - -
- ERROR -
- - - +
TestBackupMetadataGdrive - test_backup_gdrive
+ PASS @@ -5612,9 +5573,9 @@ AssertionError: False is not true Total 478 - 463 - 2 - 3 + 460 + 1 + 7 10   @@ -5643,7 +5604,7 @@ AssertionError: False is not true Platform - Linux 6.5.0-14-generic #14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 18:15:30 UTC 2 x86_64 x86_64 + Linux 6.5.0-17-generic #17~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 16 14:32:32 UTC 2 x86_64 x86_64 Basic @@ -5751,7 +5712,7 @@ AssertionError: False is not true pytz - 2023.3.post1 + 2024.1 Basic @@ -5793,7 +5754,37 @@ AssertionError: False is not true google-api-python-client - 2.114.0 + 2.117.0 + TestBackupMetadataGdrive + + + + httplib2 + 0.22.0 + TestBackupMetadataGdrive + + + + oauth2client + 4.1.3 + TestBackupMetadataGdrive + + + + PyDrive2 + 1.19.0 + TestBackupMetadataGdrive + + + + PyYAML + 6.0.1 + TestBackupMetadataGdrive + + + + google-api-python-client + 2.117.0 TestCliGdrivedb @@ -5823,7 +5814,7 @@ AssertionError: False is not true google-api-python-client - 2.114.0 + 2.117.0 TestEbookConvertCalibreGDrive @@ -5853,7 +5844,7 @@ AssertionError: False is not true google-api-python-client - 2.114.0 + 2.117.0 TestEbookConvertGDriveKepubify @@ -5907,7 +5898,7 @@ AssertionError: False is not true google-api-python-client - 2.114.0 + 2.117.0 TestEditAuthorsGdrive @@ -5943,7 +5934,7 @@ AssertionError: False is not true google-api-python-client - 2.114.0 + 2.117.0 TestEditBooksOnGdrive @@ -5985,7 +5976,7 @@ AssertionError: False is not true google-api-python-client - 2.114.0 + 2.117.0 TestEmbedMetadataGdrive @@ -6015,7 +6006,7 @@ AssertionError: False is not true google-api-python-client - 2.114.0 + 2.117.0 TestSetupGdrive @@ -6051,19 +6042,19 @@ AssertionError: False is not true python-Levenshtein - 0.23.0 + 0.24.0 TestGoodreads jsonschema - 4.21.0 + 4.21.1 TestKoboSync jsonschema - 4.21.0 + 4.21.1 TestKoboSyncBig @@ -6075,7 +6066,7 @@ AssertionError: False is not true jsonschema - 4.21.0 + 4.21.1 TestLdapLogin @@ -6105,7 +6096,7 @@ AssertionError: False is not true