diff --git a/setup.cfg b/setup.cfg index 4dd182107..4bcd1a117 100644 --- a/setup.cfg +++ b/setup.cfg @@ -58,6 +58,7 @@ install_requires = chardet>=3.0.0,<4.1.0 advocate>=1.0.0,<1.1.0 Flask-Limiter>=2.3.0,<3.5.0 + [options.packages.find] where = src diff --git a/setup.py b/setup.py index 35db2e90e..8dcbee257 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,6 @@ # """Calibre-web distribution package setuptools installer.""" from setuptools import setup -from setuptools import find_packages import os import re import codecs @@ -40,8 +39,5 @@ def find_version(*file_paths): raise RuntimeError("Unable to find version string.") setup( - #packages=find_packages("src"), - #package_dir = {'': 'src'}, - #package_data={"calibreweb": ["cps/translations/*/LC_MESSAGES/*.mo"], "templates": ["*.html"]}, version=find_version("src", "calibreweb", "cps", "constants.py") ) diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index dba817125..7ca3dad54 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
Start Time: 2023-10-14 22:05:01
+Start Time: 2023-10-16 19:38:22
Stop Time: 2023-10-15 04:41:17
+Stop Time: 2023-10-17 02:18:49
Duration: 5h 34 min
+Duration: 5h 37 min
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_backup_metadata.py", line 361, in test_backup_change_custom_float - self.assertEqual(custom["#value#"], 3.33) -AssertionError: None != 3.33-
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_ebook_convert_kepubify_gdrive.py", line 176, in test_convert_only - self.assertEqual(ret[-1]['result'], 'Finished') -AssertionError: 'Started' != 'Finished' -- Started -+ Finished-
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_edit_ebooks_gdrive.py", line 173, in test_edit_title + self.assertEqual('Unknown', values['title']) +KeyError: 'title'+
Traceback (most recent call last): - File "/home/ozzie/Development/calibre-web-test/test/test_reader.py", line 213, in test_comic_MACOS_files - right.click() - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 93, in click - self._execute(Command.CLICK_ELEMENT) - File "/home/ozzie/Development/calibre-web-test/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 403, in _execute - return self._parent.execute(command, params) - 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.ElementNotInteractableException: Message: Element <div id="right" class="arrow"> could not be scrolled into view -Stacktrace: -RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8 -WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:189:5 -ElementNotInteractableError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:349:5 -webdriverClickElement@chrome://remote/content/marionette/interaction.sys.mjs:150:11 -interaction.clickElement@chrome://remote/content/marionette/interaction.sys.mjs:119:11 -clickElement@chrome://remote/content/marionette/actors/MarionetteCommandsChild.sys.mjs:202:29 -receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild.sys.mjs:84:31-
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_reader.py", line 331, in test_sound_listener + self.sound_test('music.flac', 'Unknown - music', '0:02') + File "/home/ozzie/Development/calibre-web-test/test/test_reader.py", line 320, in sound_test + self.assertEqual(duration, duration_item.text) +AssertionError: '0:02' != '0:01' +- 0:02 +? ^ ++ 0:01 +? ^+
Traceback (most recent call last): + File "/home/ozzie/Development/calibre-web-test/test/test_thumbnails.py", line 321, in test_sideloaded_book + self.assertGreaterEqual(diff(BytesIO(list_cover), BytesIO(new_list_cover), delete_diff_file=True), 0.04) +AssertionError: 0.029247650171179584 not greater than or equal to 0.04+