diff --git a/TODO.rst b/TODO.rst index fbcc4ac..2a1649f 100644 --- a/TODO.rst +++ b/TODO.rst @@ -4,7 +4,36 @@ Colour - Datasets - TODO TODO ---- +- colour_datasets/__init__.py + - Line 78 : # TODO: Remove legacy printing support when deemed appropriate. + + +- colour_datasets/records/zenodo.py + + - Line 450 : # TODO: Remove the following space escaping: The new Zenodo API is not quoting filenames properly thus we are temporarily escaping spaces for now. https://github.com/colour-science/colour-datasets/issues/ 36issuecomment-1773464695 + + +- colour_datasets/utilities/common.py + + - Line 42 : # TODO: Use *colour* definition. + + +- colour_datasets/loaders/kuopio.py + + - Line 310 : # TODO: Implement support for *Natural Colors*: https://sandbox.zenodo.org/record/315640 http://www.uef.fi/web/spectral/natural-colors + + +- colour_datasets/loaders/xrite2016.py + + - Line 109 : # TODO: Implement support for "CGATS" file format in "Colour": https://github.com/colour-science/colour/issues/354 + + +- colour_datasets/loaders/dyer2017.py + + - Line 141 : # TODO: Re-instate "manufacturer", "model", "illuminant" and "type" attributes according to outcome of https://github.com/ampas/rawtoaces/issues/114. Those attributes are currently stored in "self._kwargs". + - Line 928 : # TODO: Re-instate "manufacturer", "model", "illuminant" and "type" attributes according to outcome of https://github.com/ampas/rawtoaces/issues/114. + - Line 1430 : # TODO: Re-instate "manufacturer", "model", "illuminant" and "type" attributes according to outcome of https://github.com/ampas/rawtoaces/issues/114. About ----- diff --git a/colour_datasets/__init__.py b/colour_datasets/__init__.py index 402426a..57f1002 100644 --- a/colour_datasets/__init__.py +++ b/colour_datasets/__init__.py @@ -51,7 +51,7 @@ __major_version__ = "0" __minor_version__ = "2" -__change_version__ = "3" +__change_version__ = "4" __version__ = ".".join( (__major_version__, __minor_version__, __change_version__) ) diff --git a/colour_datasets/loaders/asano2015.py b/colour_datasets/loaders/asano2015.py index b4c27b7..9b0ebb2 100644 --- a/colour_datasets/loaders/asano2015.py +++ b/colour_datasets/loaders/asano2015.py @@ -342,3 +342,9 @@ def build_Asano2015(load: bool = True) -> DatasetLoader_Asano2015: _DATASET_LOADER_ASANO2015.load() return _DATASET_LOADER_ASANO2015 + + +if __name__ == "__main__": + import colour_datasets + + colour_datasets.load("3252742") diff --git a/colour_datasets/records/tests/test_zenodo.py b/colour_datasets/records/tests/test_zenodo.py index 8261dff..f107f02 100644 --- a/colour_datasets/records/tests/test_zenodo.py +++ b/colour_datasets/records/tests/test_zenodo.py @@ -159,10 +159,10 @@ def test__str__(self): ----- - camlist&equipment.txt : https://zenodo.org/api/records/3245883/files/\ -camlist&equipment.txt +camlist&equipment.txt/content - camspec_database.txt : https://zenodo.org/api/records/3245883/files/\ -camspec_database.txt -- urls.txt : https://zenodo.org/api/records/3245883/files/urls.txt""" +camspec_database.txt/content +- urls.txt : https://zenodo.org/api/records/3245883/files/urls.txt/content""" )[1:], ) diff --git a/colour_datasets/records/zenodo.py b/colour_datasets/records/zenodo.py index 507575b..eacae39 100644 --- a/colour_datasets/records/zenodo.py +++ b/colour_datasets/records/zenodo.py @@ -13,6 +13,7 @@ import json import os +import re import shutil import stat import tempfile @@ -204,8 +205,8 @@ def strip_html(text: str) -> str: files = "\n".join( [ - f"- {file_data['filename']} : {file_data['links']['self']}" - for file_data in sorted(files, key=lambda x: x["filename"]) + f'- {file_data["key"]} : {file_data["links"]["self"]}' + for file_data in sorted(files, key=lambda x: x["key"]) ] ) @@ -388,23 +389,21 @@ def pull(self, use_urls_txt_file: bool = True, retries: int = 3): # given by the content of :attr:`URLS_TXT_FILE` attribute file. urls_txt = None for file_data in self.data["files"]: - if file_data["filename"] == self._configuration.urls_txt_file: + if file_data["key"] == self._configuration.urls_txt_file: urls_txt = file_data break - def urls_download(urls: Dict, is_content_url=False): + def urls_download(urls: Dict) -> None: """Download given urls.""" for url, md5 in urls.items(): + filename = re.sub("/content$", "", url) filename = os.path.join( downloads_directory, urllib.parse.unquote( # pyright: ignore - url.split("/")[-1] + filename.split("/")[-1] ), ) - url = ( # noqa: PLW2901 - f"{url}/content" if is_content_url else url - ) url_download(url, filename, md5.split(":")[-1], retries) try: @@ -412,7 +411,7 @@ def urls_download(urls: Dict, is_content_url=False): urls = {} urls_txt_file = tempfile.NamedTemporaryFile(delete=False).name url_download( - urls_txt["links"]["download"], + urls_txt["links"]["self"], urls_txt_file, urls_txt["checksum"].split(":")[-1], retries, @@ -445,7 +444,7 @@ def urls_download(urls: Dict, is_content_url=False): urls = {} for file_data in self.data["files"]: - if file_data["filename"] == self._configuration.urls_txt_file: + if file_data["key"] == self._configuration.urls_txt_file: continue # TODO: Remove the following space escaping: The new Zenodo API @@ -457,7 +456,7 @@ def urls_download(urls: Dict, is_content_url=False): urls[url] = file_data["checksum"].split(":")[-1] - urls_download(urls, is_content_url=True) + urls_download(urls) deflate_directory = os.path.join( self.repository, self._configuration.deflate_directory diff --git a/colour_datasets/utilities/common.py b/colour_datasets/utilities/common.py index 2f1a322..b724b32 100644 --- a/colour_datasets/utilities/common.py +++ b/colour_datasets/utilities/common.py @@ -39,6 +39,7 @@ ] +# TODO: Use *colour* definition. class suppress_stdout: """A context manager and decorator temporarily suppressing standard output.""" diff --git a/docs/requirements.txt b/docs/requirements.txt index d099ed9..b878615 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,28 +1,28 @@ accessible-pygments==0.0.4 ; python_version >= "3.9" and python_version < "3.12" alabaster==0.7.13 ; python_version >= "3.9" and python_version < "3.12" -babel==2.13.0 ; python_version >= "3.9" and python_version < "3.12" +babel==2.13.1 ; python_version >= "3.9" and python_version < "3.12" beautifulsoup4==4.12.2 ; python_version >= "3.9" and python_version < "3.12" biblib-simple==0.1.2 ; python_version >= "3.9" and python_version < "3.12" -cachetools==5.3.1 ; python_version >= "3.9" and python_version < "3.12" +cachetools==5.3.2 ; python_version >= "3.9" and python_version < "3.12" certifi==2023.7.22 ; python_version >= "3.9" and python_version < "3.12" -charset-normalizer==3.3.0 ; python_version >= "3.9" and python_version < "3.12" +charset-normalizer==3.3.2 ; python_version >= "3.9" and python_version < "3.12" colorama==0.4.6 ; python_version >= "3.9" and python_version < "3.12" and (platform_system == "Windows" or sys_platform == "win32") colour-science==0.4.3 ; python_version >= "3.9" and python_version < "3.12" docutils==0.20.1 ; python_version >= "3.9" and python_version < "3.12" idna==3.4 ; python_version >= "3.9" and python_version < "3.12" -imageio==2.31.5 ; python_version >= "3.9" and python_version < "3.12" +imageio==2.32.0 ; python_version >= "3.9" and python_version < "3.12" imagesize==1.4.1 ; python_version >= "3.9" and python_version < "3.12" importlib-metadata==6.8.0 ; python_version >= "3.9" and python_version < "3.10" jinja2==3.1.2 ; python_version >= "3.9" and python_version < "3.12" latexcodec==2.0.1 ; python_version >= "3.9" and python_version < "3.12" markupsafe==2.1.3 ; python_version >= "3.9" and python_version < "3.12" -numpy==1.26.1 ; python_version >= "3.9" and python_version < "3.12" +numpy==1.26.2 ; python_version >= "3.9" and python_version < "3.12" opencv-python==4.8.1.78 ; python_version >= "3.9" and python_version < "3.12" packaging==23.2 ; python_version >= "3.9" and python_version < "3.12" -pillow==10.1.0 ; python_version >= "3.9" and python_version < "3.12" +pillow==10.0.1 ; python_version >= "3.9" and python_version < "3.12" pybtex-docutils==1.0.3 ; python_version >= "3.9" and python_version < "3.12" pybtex==0.24.0 ; python_version >= "3.9" and python_version < "3.12" -pydata-sphinx-theme==0.14.1 ; python_version >= "3.9" and python_version < "3.12" +pydata-sphinx-theme==0.14.3 ; python_version >= "3.9" and python_version < "3.12" pygments==2.16.1 ; python_version >= "3.9" and python_version < "3.12" pyyaml==6.0.1 ; python_version >= "3.9" and python_version < "3.12" requests==2.31.0 ; python_version >= "3.9" and python_version < "3.12" @@ -41,6 +41,6 @@ sphinxcontrib-qthelp==1.0.6 ; python_version >= "3.9" and python_version < "3.12 sphinxcontrib-serializinghtml==1.1.9 ; python_version >= "3.9" and python_version < "3.12" tqdm==4.66.1 ; python_version >= "3.9" and python_version < "3.12" typing-extensions==4.8.0 ; python_version >= "3.9" and python_version < "3.12" -urllib3==2.0.7 ; python_version >= "3.9" and python_version < "3.12" +urllib3==2.1.0 ; python_version >= "3.9" and python_version < "3.12" xlrd==1.2.0 ; python_version >= "3.9" and python_version < "3.12" zipp==3.17.0 ; python_version >= "3.9" and python_version < "3.10" diff --git a/pyproject.toml b/pyproject.toml index 02241ee..5be0668 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "colour-datasets" -version = "0.2.3" +version = "0.2.4" description = "Colour science datasets for use with Colour" license = "BSD-3-Clause" authors = [ "Colour Developers " ] @@ -62,7 +62,7 @@ coveralls = "*" flynt = "*" invoke = "*" jupyter = "*" -pre-commit = "*" +pre-commit = ">= 3.5" pyright = "*" pytest = "*" pytest-cov = "*" diff --git a/requirements.txt b/requirements.txt index 2cac26b..4ff4bdd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,29 +6,28 @@ argon2-cffi-bindings==21.2.0 ; python_version >= "3.9" and python_version < "3.1 argon2-cffi==23.1.0 ; python_version >= "3.9" and python_version < "3.12" arrow==1.3.0 ; python_version >= "3.9" and python_version < "3.12" astor==0.8.1 ; python_version >= "3.9" and python_version < "3.12" -asttokens==2.4.0 ; python_version >= "3.9" and python_version < "3.12" +asttokens==2.4.1 ; python_version >= "3.9" and python_version < "3.12" async-lru==2.0.4 ; python_version >= "3.9" and python_version < "3.12" attrs==23.1.0 ; python_version >= "3.9" and python_version < "3.12" -babel==2.13.0 ; python_version >= "3.9" and python_version < "3.12" -backcall==0.2.0 ; python_version >= "3.9" and python_version < "3.12" +babel==2.13.1 ; python_version >= "3.9" and python_version < "3.12" beautifulsoup4==4.12.2 ; python_version >= "3.9" and python_version < "3.12" biblib-simple==0.1.2 ; python_version >= "3.9" and python_version < "3.12" -black==23.10.0 ; python_version >= "3.9" and python_version < "3.12" -blackdoc==0.3.8 ; python_version >= "3.9" and python_version < "3.12" +black==23.11.0 ; python_version >= "3.9" and python_version < "3.12" +blackdoc==0.3.9 ; python_version >= "3.9" and python_version < "3.12" bleach==6.1.0 ; python_version >= "3.9" and python_version < "3.12" -cachetools==5.3.1 ; python_version >= "3.9" and python_version < "3.12" +cachetools==5.3.2 ; python_version >= "3.9" and python_version < "3.12" certifi==2023.7.22 ; python_version >= "3.9" and python_version < "3.12" cffi==1.16.0 ; python_version >= "3.9" and python_version < "3.12" cfgv==3.4.0 ; python_version >= "3.9" and python_version < "3.12" -charset-normalizer==3.3.0 ; python_version >= "3.9" and python_version < "3.12" +charset-normalizer==3.3.2 ; python_version >= "3.9" and python_version < "3.12" click==8.1.7 ; python_version >= "3.9" and python_version < "3.12" colorama==0.4.6 ; python_version >= "3.9" and python_version < "3.12" and (platform_system == "Windows" or sys_platform == "win32") colour-science==0.4.3 ; python_version >= "3.9" and python_version < "3.12" -comm==0.1.4 ; python_version >= "3.9" and python_version < "3.12" +comm==0.2.0 ; python_version >= "3.9" and python_version < "3.12" coverage==7.3.2 ; python_version >= "3.9" and python_version < "3.12" coverage[toml]==7.3.2 ; python_version >= "3.9" and python_version < "3.12" coveralls==1.8.0 ; python_version >= "3.9" and python_version < "3.12" -cryptography==41.0.4 ; python_version >= "3.9" and python_version < "3.12" and sys_platform == "linux" +cryptography==41.0.5 ; python_version >= "3.9" and python_version < "3.12" and sys_platform == "linux" debugpy==1.8.0 ; python_version >= "3.9" and python_version < "3.12" decorator==5.1.1 ; python_version >= "3.9" and python_version < "3.12" defusedxml==0.7.1 ; python_version >= "3.9" and python_version < "3.12" @@ -37,21 +36,20 @@ docopt==0.6.2 ; python_version >= "3.9" and python_version < "3.12" docutils==0.20.1 ; python_version >= "3.9" and python_version < "3.12" exceptiongroup==1.1.3 ; python_version >= "3.9" and python_version < "3.11" execnet==2.0.2 ; python_version >= "3.9" and python_version < "3.12" -executing==2.0.0 ; python_version >= "3.9" and python_version < "3.12" +executing==2.0.1 ; python_version >= "3.9" and python_version < "3.12" fastjsonschema==2.18.1 ; python_version >= "3.9" and python_version < "3.12" -filelock==3.12.4 ; python_version >= "3.9" and python_version < "3.12" +filelock==3.13.1 ; python_version >= "3.9" and python_version < "3.12" flynt==1.0.1 ; python_version >= "3.9" and python_version < "3.12" fqdn==1.5.1 ; python_version >= "3.9" and python_version < "3.12" -identify==2.5.30 ; python_version >= "3.9" and python_version < "3.12" +identify==2.5.31 ; python_version >= "3.9" and python_version < "3.12" idna==3.4 ; python_version >= "3.9" and python_version < "3.12" -imageio==2.31.5 ; python_version >= "3.9" and python_version < "3.12" +imageio==2.32.0 ; python_version >= "3.9" and python_version < "3.12" imagesize==1.4.1 ; python_version >= "3.9" and python_version < "3.12" importlib-metadata==6.8.0 ; python_version >= "3.9" and python_version < "3.12" iniconfig==2.0.0 ; python_version >= "3.9" and python_version < "3.12" invoke==2.2.0 ; python_version >= "3.9" and python_version < "3.12" -ipykernel==6.25.2 ; python_version >= "3.9" and python_version < "3.12" -ipython-genutils==0.2.0 ; python_version >= "3.9" and python_version < "3.12" -ipython==8.16.1 ; python_version >= "3.9" and python_version < "3.12" +ipykernel==6.26.0 ; python_version >= "3.9" and python_version < "3.12" +ipython==8.17.2 ; python_version >= "3.9" and python_version < "3.12" ipywidgets==8.1.1 ; python_version >= "3.9" and python_version < "3.12" isoduration==20.11.0 ; python_version >= "3.9" and python_version < "3.12" jaraco-classes==3.3.0 ; python_version >= "3.9" and python_version < "3.12" @@ -61,21 +59,21 @@ jinja2==3.1.2 ; python_version >= "3.9" and python_version < "3.12" json5==0.9.14 ; python_version >= "3.9" and python_version < "3.12" jsonpointer==2.4 ; python_version >= "3.9" and python_version < "3.12" jsonschema-specifications==2023.7.1 ; python_version >= "3.9" and python_version < "3.12" -jsonschema==4.19.1 ; python_version >= "3.9" and python_version < "3.12" -jsonschema[format-nongpl]==4.19.1 ; python_version >= "3.9" and python_version < "3.12" -jupyter-client==8.4.0 ; python_version >= "3.9" and python_version < "3.12" +jsonschema==4.19.2 ; python_version >= "3.9" and python_version < "3.12" +jsonschema[format-nongpl]==4.19.2 ; python_version >= "3.9" and python_version < "3.12" +jupyter-client==8.6.0 ; python_version >= "3.9" and python_version < "3.12" jupyter-console==6.6.3 ; python_version >= "3.9" and python_version < "3.12" -jupyter-core==5.4.0 ; python_version >= "3.9" and python_version < "3.12" -jupyter-events==0.8.0 ; python_version >= "3.9" and python_version < "3.12" +jupyter-core==5.5.0 ; python_version >= "3.9" and python_version < "3.12" +jupyter-events==0.9.0 ; python_version >= "3.9" and python_version < "3.12" jupyter-lsp==2.2.0 ; python_version >= "3.9" and python_version < "3.12" jupyter-server-terminals==0.4.4 ; python_version >= "3.9" and python_version < "3.12" -jupyter-server==2.8.0 ; python_version >= "3.9" and python_version < "3.12" +jupyter-server==2.10.0 ; python_version >= "3.9" and python_version < "3.12" jupyter==1.0.0 ; python_version >= "3.9" and python_version < "3.12" jupyterlab-pygments==0.2.2 ; python_version >= "3.9" and python_version < "3.12" -jupyterlab-server==2.25.0 ; python_version >= "3.9" and python_version < "3.12" +jupyterlab-server==2.25.1 ; python_version >= "3.9" and python_version < "3.12" jupyterlab-widgets==3.0.9 ; python_version >= "3.9" and python_version < "3.12" -jupyterlab==4.0.7 ; python_version >= "3.9" and python_version < "3.12" -keyring==24.2.0 ; python_version >= "3.9" and python_version < "3.12" +jupyterlab==4.0.8 ; python_version >= "3.9" and python_version < "3.12" +keyring==24.3.0 ; python_version >= "3.9" and python_version < "3.12" latexcodec==2.0.1 ; python_version >= "3.9" and python_version < "3.12" markdown-it-py==3.0.0 ; python_version >= "3.9" and python_version < "3.12" markupsafe==2.1.3 ; python_version >= "3.9" and python_version < "3.12" @@ -84,15 +82,15 @@ mdurl==0.1.2 ; python_version >= "3.9" and python_version < "3.12" mistune==3.0.2 ; python_version >= "3.9" and python_version < "3.12" more-itertools==10.1.0 ; python_version >= "3.9" and python_version < "3.12" mypy-extensions==1.0.0 ; python_version >= "3.9" and python_version < "3.12" -nbclient==0.8.0 ; python_version >= "3.9" and python_version < "3.12" -nbconvert==7.9.2 ; python_version >= "3.9" and python_version < "3.12" +nbclient==0.9.0 ; python_version >= "3.9" and python_version < "3.12" +nbconvert==7.11.0 ; python_version >= "3.9" and python_version < "3.12" nbformat==5.9.2 ; python_version >= "3.9" and python_version < "3.12" nest-asyncio==1.5.8 ; python_version >= "3.9" and python_version < "3.12" nh3==0.2.14 ; python_version >= "3.9" and python_version < "3.12" nodeenv==1.8.0 ; python_version >= "3.9" and python_version < "3.12" notebook-shim==0.2.3 ; python_version >= "3.9" and python_version < "3.12" notebook==7.0.6 ; python_version >= "3.9" and python_version < "3.12" -numpy==1.26.1 ; python_version >= "3.9" and python_version < "3.12" +numpy==1.26.2 ; python_version >= "3.9" and python_version < "3.12" opencv-python==4.8.1.78 ; python_version >= "3.9" and python_version < "3.12" overrides==7.4.0 ; python_version >= "3.9" and python_version < "3.12" packaging==23.2 ; python_version >= "3.9" and python_version < "3.12" @@ -100,26 +98,25 @@ pandocfilters==1.5.0 ; python_version >= "3.9" and python_version < "3.12" parso==0.8.3 ; python_version >= "3.9" and python_version < "3.12" pathspec==0.11.2 ; python_version >= "3.9" and python_version < "3.12" pexpect==4.8.0 ; python_version >= "3.9" and python_version < "3.12" and sys_platform != "win32" -pickleshare==0.7.5 ; python_version >= "3.9" and python_version < "3.12" -pillow==10.1.0 ; python_version >= "3.9" and python_version < "3.12" +pillow==10.0.1 ; python_version >= "3.9" and python_version < "3.12" pkginfo==1.9.6 ; python_version >= "3.9" and python_version < "3.12" platformdirs==3.11.0 ; python_version >= "3.9" and python_version < "3.12" pluggy==1.3.0 ; python_version >= "3.9" and python_version < "3.12" pre-commit==3.5.0 ; python_version >= "3.9" and python_version < "3.12" -prometheus-client==0.17.1 ; python_version >= "3.9" and python_version < "3.12" -prompt-toolkit==3.0.39 ; python_version >= "3.9" and python_version < "3.12" +prometheus-client==0.18.0 ; python_version >= "3.9" and python_version < "3.12" +prompt-toolkit==3.0.40 ; python_version >= "3.9" and python_version < "3.12" psutil==5.9.6 ; python_version >= "3.9" and python_version < "3.12" ptyprocess==0.7.0 ; python_version >= "3.9" and python_version < "3.12" and (sys_platform != "win32" or os_name != "nt") pure-eval==0.2.2 ; python_version >= "3.9" and python_version < "3.12" pybtex-docutils==1.0.3 ; python_version >= "3.9" and python_version < "3.12" pybtex==0.24.0 ; python_version >= "3.9" and python_version < "3.12" pycparser==2.21 ; python_version >= "3.9" and python_version < "3.12" -pydata-sphinx-theme==0.14.1 ; python_version >= "3.9" and python_version < "3.12" +pydata-sphinx-theme==0.14.3 ; python_version >= "3.9" and python_version < "3.12" pygments==2.16.1 ; python_version >= "3.9" and python_version < "3.12" -pyright==1.1.332 ; python_version >= "3.9" and python_version < "3.12" +pyright==1.1.335 ; python_version >= "3.9" and python_version < "3.12" pytest-cov==4.1.0 ; python_version >= "3.9" and python_version < "3.12" -pytest-xdist==3.3.1 ; python_version >= "3.9" and python_version < "3.12" -pytest==7.4.2 ; python_version >= "3.9" and python_version < "3.12" +pytest-xdist==3.4.0 ; python_version >= "3.9" and python_version < "3.12" +pytest==7.4.3 ; python_version >= "3.9" and python_version < "3.12" python-dateutil==2.8.2 ; python_version >= "3.9" and python_version < "3.12" python-json-logger==2.0.7 ; python_version >= "3.9" and python_version < "3.12" pywin32-ctypes==0.2.2 ; python_version >= "3.9" and python_version < "3.12" and sys_platform == "win32" @@ -127,8 +124,8 @@ pywin32==306 ; sys_platform == "win32" and platform_python_implementation != "Py pywinpty==2.0.12 ; python_version >= "3.9" and python_version < "3.12" and os_name == "nt" pyyaml==6.0.1 ; python_version >= "3.9" and python_version < "3.12" pyzmq==25.1.1 ; python_version >= "3.9" and python_version < "3.12" -qtconsole==5.4.4 ; python_version >= "3.9" and python_version < "3.12" -qtpy==2.4.0 ; python_version >= "3.9" and python_version < "3.12" +qtconsole==5.5.0 ; python_version >= "3.9" and python_version < "3.12" +qtpy==2.4.1 ; python_version >= "3.9" and python_version < "3.12" readme-renderer==42.0 ; python_version >= "3.9" and python_version < "3.12" referencing==0.30.2 ; python_version >= "3.9" and python_version < "3.12" requests-toolbelt==1.0.0 ; python_version >= "3.9" and python_version < "3.12" @@ -138,8 +135,8 @@ rfc3339-validator==0.1.4 ; python_version >= "3.9" and python_version < "3.12" rfc3986-validator==0.1.1 ; python_version >= "3.9" and python_version < "3.12" rfc3986==2.0.0 ; python_version >= "3.9" and python_version < "3.12" rich==13.6.0 ; python_version >= "3.9" and python_version < "3.12" -rpds-py==0.10.6 ; python_version >= "3.9" and python_version < "3.12" -ruff==0.1.1 ; python_version >= "3.9" and python_version < "3.12" +rpds-py==0.12.0 ; python_version >= "3.9" and python_version < "3.12" +ruff==0.1.5 ; python_version >= "3.9" and python_version < "3.12" scipy==1.11.3 ; python_version >= "3.9" and python_version < "3.12" secretstorage==3.3.3 ; python_version >= "3.9" and python_version < "3.12" and sys_platform == "linux" send2trash==1.8.2 ; python_version >= "3.9" and python_version < "3.12" @@ -157,20 +154,20 @@ sphinxcontrib-jsmath==1.0.1 ; python_version >= "3.9" and python_version < "3.12 sphinxcontrib-qthelp==1.0.6 ; python_version >= "3.9" and python_version < "3.12" sphinxcontrib-serializinghtml==1.1.9 ; python_version >= "3.9" and python_version < "3.12" stack-data==0.6.3 ; python_version >= "3.9" and python_version < "3.12" -terminado==0.17.1 ; python_version >= "3.9" and python_version < "3.12" +terminado==0.18.0 ; python_version >= "3.9" and python_version < "3.12" tinycss2==1.2.1 ; python_version >= "3.9" and python_version < "3.12" toml==0.10.2 ; python_version >= "3.9" and python_version < "3.12" tomli==2.0.1 ; python_version >= "3.9" and python_version < "3.12" tornado==6.3.3 ; python_version >= "3.9" and python_version < "3.12" tqdm==4.66.1 ; python_version >= "3.9" and python_version < "3.12" -traitlets==5.11.2 ; python_version >= "3.9" and python_version < "3.12" +traitlets==5.13.0 ; python_version >= "3.9" and python_version < "3.12" twine==4.0.2 ; python_version >= "3.9" and python_version < "3.12" types-python-dateutil==2.8.19.14 ; python_version >= "3.9" and python_version < "3.12" typing-extensions==4.8.0 ; python_version >= "3.9" and python_version < "3.12" uri-template==1.3.0 ; python_version >= "3.9" and python_version < "3.12" -urllib3==2.0.7 ; python_version >= "3.9" and python_version < "3.12" -virtualenv==20.24.5 ; python_version >= "3.9" and python_version < "3.12" -wcwidth==0.2.8 ; python_version >= "3.9" and python_version < "3.12" +urllib3==2.1.0 ; python_version >= "3.9" and python_version < "3.12" +virtualenv==20.24.6 ; python_version >= "3.9" and python_version < "3.12" +wcwidth==0.2.9 ; python_version >= "3.9" and python_version < "3.12" webcolors==1.13 ; python_version >= "3.9" and python_version < "3.12" webencodings==0.5.1 ; python_version >= "3.9" and python_version < "3.12" websocket-client==1.6.4 ; python_version >= "3.9" and python_version < "3.12" diff --git a/utilities/export_todo.py b/utilities/export_todo.py index 89df55e..3162123 100755 --- a/utilities/export_todo.py +++ b/utilities/export_todo.py @@ -123,6 +123,6 @@ def export_todo_items(todo_items: dict, file_path: str): os.chdir(os.path.dirname(__file__)) export_todo_items( - extract_todo_items(os.path.join("..", "colour_checker_detection")), + extract_todo_items(os.path.join("..", "colour_datasets")), os.path.join("..", "TODO.rst"), )