From 8a8f047176946e10f7c648210aa9b2664d2ec790 Mon Sep 17 00:00:00 2001 From: criamos <981166+Criamos@users.noreply.github.com> Date: Tue, 3 Sep 2024 11:53:56 +0200 Subject: [PATCH] fix: missing dependencies (pydantic) in requirements.txt - chore: update 'certifi' dependency to v2024.08.30 - update pyproject.toml version Attention: - 'poetry export' does not include the "edu_sharing_client" dependency group by default - to export all dependencies to requirements.txt, you need use the "--with edu_sharing_client" parameter with the poetry "export"-command (see: https://python-poetry.org/docs/cli/#export) --- poetry.lock | 20 ++++++++++---------- pyproject.toml | 4 ++-- requirements.txt | 9 ++++++--- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/poetry.lock b/poetry.lock index 952b3fdd..4b98392f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -180,13 +180,13 @@ uvloop = ["uvloop (>=0.15.2)"] [[package]] name = "certifi" -version = "2024.7.4" +version = "2024.8.30" description = "Python package for providing Mozilla's CA Bundle." optional = false python-versions = ">=3.6" files = [ - {file = "certifi-2024.7.4-py3-none-any.whl", hash = "sha256:c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90"}, - {file = "certifi-2024.7.4.tar.gz", hash = "sha256:5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b"}, + {file = "certifi-2024.8.30-py3-none-any.whl", hash = "sha256:922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8"}, + {file = "certifi-2024.8.30.tar.gz", hash = "sha256:bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9"}, ] [[package]] @@ -1143,13 +1143,13 @@ source = ["Cython (>=3.0.11)"] [[package]] name = "lxml-html-clean" -version = "0.2.0" +version = "0.2.2" description = "HTML cleaner from lxml project" optional = false python-versions = "*" files = [ - {file = "lxml_html_clean-0.2.0-py3-none-any.whl", hash = "sha256:80bdc730b288b8e68f0bf86b99f4bbef129c5ec59b694c6681422be4c1eeb3c5"}, - {file = "lxml_html_clean-0.2.0.tar.gz", hash = "sha256:47c323f39d95d4cbf4956da62929c89a79313074467efaa4821013c97bf95628"}, + {file = "lxml_html_clean-0.2.2-py3-none-any.whl", hash = "sha256:177ebe822b39d1b68df7c0c34ba005cb087b23d3791dae87efb3a2bb162ef398"}, + {file = "lxml_html_clean-0.2.2.tar.gz", hash = "sha256:cc34178e34673025c49c3d7f4bd48754e9e4b23875df2308f43c21733d8437fb"}, ] [package.dependencies] @@ -2039,13 +2039,13 @@ tests = ["coverage[toml] (>=5.0.2)", "pytest"] [[package]] name = "setuptools" -version = "74.0.0" +version = "74.1.0" description = "Easily download, build, install, upgrade, and uninstall Python packages" optional = false python-versions = ">=3.8" files = [ - {file = "setuptools-74.0.0-py3-none-any.whl", hash = "sha256:0274581a0037b638b9fc1c6883cc71c0210865aaa76073f7882376b641b84e8f"}, - {file = "setuptools-74.0.0.tar.gz", hash = "sha256:a85e96b8be2b906f3e3e789adec6a9323abf79758ecfa3065bd740d81158b11e"}, + {file = "setuptools-74.1.0-py3-none-any.whl", hash = "sha256:cee604bd76cc092355a4e43ec17aee5369095974f41f088676724dc6bc2c9ef8"}, + {file = "setuptools-74.1.0.tar.gz", hash = "sha256:bea195a800f510ba3a2bc65645c88b7e016fe36709fefc58a880c4ae8a0138d7"}, ] [package.extras] @@ -2378,4 +2378,4 @@ testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "e595007c4660eb0b86f8fd6da0aa517f526e7168b8da697ba0ae391b5f97645b" +content-hash = "4e5368d8a12001350635f27f1992f386d7a0da79dd16187327c29d1a05a1c782" diff --git a/pyproject.toml b/pyproject.toml index a29792e0..2a8c1f6c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ exclude = ''' [tool.poetry] name = "oeh-search-etl" -version = "2023.08.01" +version = "2024.09.03" description = "Crawls educational sites for use in WirLernenOnline.de" authors = ["Torsten Simon "] maintainers = [ @@ -62,7 +62,7 @@ packages = [{include = "converter"}] python = "^3.10" wheel = "0.44.0" black = "24.8.0" -certifi="2024.7.4" +certifi="2024.8.30" dateparser="1.2" extruct="0.17.0" flake8 = "7.1.1" diff --git a/requirements.txt b/requirements.txt index 9f033614..c6218ac3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +annotated-types==0.7.0 ; python_version >= "3.10" and python_version < "4.0" anyio==4.4.0 ; python_version >= "3.10" and python_version < "4.0" asgiref==3.8.1 ; python_version >= "3.10" and python_version < "4.0" async-lru==2.0.4 ; python_version >= "3.10" and python_version < "4.0" @@ -6,7 +7,7 @@ automat==24.8.1 ; python_version >= "3.10" and python_version < "4.0" babel==2.15.0 ; python_version >= "3.10" and python_version < "4.0" beautifulsoup4==4.12.3 ; python_version >= "3.10" and python_version < "4.0" black==24.8.0 ; python_version >= "3.10" and python_version < "4.0" -certifi==2024.7.4 ; python_version >= "3.10" and python_version < "4.0" +certifi==2024.8.30 ; python_version >= "3.10" and python_version < "4.0" cffi==1.17.0 ; python_version >= "3.10" and python_version < "4.0" and platform_python_implementation != "PyPy" charset-normalizer==3.3.2 ; python_version >= "3.10" and python_version < "4.0" click==8.1.7 ; python_version >= "3.10" and python_version < "4.0" @@ -43,7 +44,7 @@ jstyleson==0.0.2 ; python_version >= "3.10" and python_version < "4.0" justext==3.0.1 ; python_version >= "3.10" and python_version < "4.0" langcodes[data]==3.4.0 ; python_version >= "3.10" and python_version < "4.0" language-data==1.2.0 ; python_version >= "3.10" and python_version < "4.0" -lxml-html-clean==0.2.0 ; python_version >= "3.10" and python_version < "4.0" +lxml-html-clean==0.2.2 ; python_version >= "3.10" and python_version < "4.0" lxml==5.3.0 ; python_version >= "3.10" and python_version < "4.0" lxml[html-clean]==5.3.0 ; python_version >= "3.10" and python_version < "4.0" marisa-trie==1.2.0 ; python_version >= "3.10" and python_version < "4.0" @@ -62,6 +63,8 @@ pyasn1-modules==0.4.0 ; python_version >= "3.10" and python_version < "4.0" pyasn1==0.6.0 ; python_version >= "3.10" and python_version < "4.0" pycodestyle==2.12.1 ; python_version >= "3.10" and python_version < "4.0" pycparser==2.22 ; python_version >= "3.10" and python_version < "4.0" and platform_python_implementation != "PyPy" +pydantic-core==2.20.1 ; python_version >= "3.10" and python_version < "4.0" +pydantic==2.8.2 ; python_version >= "3.10" and python_version < "4.0" pydispatcher==2.0.7 ; python_version >= "3.10" and python_version < "4.0" and platform_python_implementation == "CPython" pyee==11.1.0 ; python_version >= "3.10" and python_version < "4.0" pyflakes==3.2.0 ; python_version >= "3.10" and python_version < "4.0" @@ -81,7 +84,7 @@ requests==2.32.3 ; python_version >= "3.10" and python_version < "4.0" scrapy-splash==0.9.0 ; python_version >= "3.10" and python_version < "4.0" scrapy==2.11.2 ; python_version >= "3.10" and python_version < "4.0" service-identity==24.1.0 ; python_version >= "3.10" and python_version < "4.0" -setuptools==74.0.0 ; python_version >= "3.10" and python_version < "4.0" +setuptools==74.1.0 ; python_version >= "3.10" and python_version < "4.0" six==1.16.0 ; python_version >= "3.10" and python_version < "4.0" sniffio==1.3.1 ; python_version >= "3.10" and python_version < "4.0" soupsieve==2.6 ; python_version >= "3.10" and python_version < "4.0"