From 5f4c9501c4195127ec81d144230266601762fe20 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Wed, 21 Dec 2022 03:34:22 -0500 Subject: [PATCH] [REM] pip remove html5print - use old library like slimit with python2 --- poetry.lock | 100 +---------------------------------------------- pyproject.toml | 1 - requirements.txt | 1 - 3 files changed, 1 insertion(+), 101 deletions(-) diff --git a/poetry.lock b/poetry.lock index 2dd7b7f..83d93be 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1364,48 +1364,6 @@ files = [ {file = "html2text-2016.9.19.tar.gz", hash = "sha256:554ef5fd6c6cf6e3e4f725a62a3e9ec86a0e4d33cd0928136d1c79dbeb7b2d55"}, ] -[[package]] -name = "html5lib" -version = "1.1" -description = "HTML parser based on the WHATWG HTML specification" -category = "main" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" -files = [ - {file = "html5lib-1.1-py2.py3-none-any.whl", hash = "sha256:0d78f8fde1c230e99fe37986a60526d7049ed4bf8a9fadbad5f00e22e58e041d"}, - {file = "html5lib-1.1.tar.gz", hash = "sha256:b2e5b40261e20f354d198eae92afc10d750afb487ed5e50f9c4eaf07c184146f"}, -] - -[package.dependencies] -six = ">=1.9" -webencodings = "*" - -[package.extras] -all = ["chardet (>=2.2)", "genshi", "lxml"] -chardet = ["chardet (>=2.2)"] -genshi = ["genshi"] -lxml = ["lxml"] - -[[package]] -name = "html5print" -version = "0.1.2" -description = "HTML5, CSS, Javascript Pretty Print" -category = "main" -optional = false -python-versions = "*" -files = [ - {file = "html5print-0.1.2.tar.gz", hash = "sha256:1ff645698a7192a61f8a5963f23dc894d16fa3346804a2d1ac462683f6e44d4b"}, -] - -[package.dependencies] -beautifulsoup4 = ">=4.3.2" -chardet = ">=2.2.1" -html5lib = ">=0.999" -ply = "3.4" -requests = ">=2.3.5" -slimit = ">=0.8.1" -tinycss2 = ">=0.4" - [[package]] name = "humanize" version = "4.4.0" @@ -2954,17 +2912,6 @@ files = [ retrying = ">=1.3.3" six = "*" -[[package]] -name = "ply" -version = "3.4" -description = "Python Lex & Yacc" -category = "main" -optional = false -python-versions = "*" -files = [ - {file = "ply-3.4.tar.gz", hash = "sha256:af435f11b7bdd69da5ffbc3fecb8d70a7073ec952e101764c88720cdefb2546b"}, -] - [[package]] name = "premailer" version = "3.10.0" @@ -4420,20 +4367,6 @@ files = [ {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, ] -[[package]] -name = "slimit" -version = "0.8.1" -description = "SlimIt - JavaScript minifier" -category = "main" -optional = false -python-versions = "*" -files = [ - {file = "slimit-0.8.1.zip", hash = "sha256:f433dcef899f166b207b67d91d3f7344659cb33b8259818f084167244e17720b"}, -] - -[package.dependencies] -ply = ">=3.4" - [[package]] name = "slugify" version = "0.0.1" @@ -4732,25 +4665,6 @@ files = [ {file = "text_unidecode-1.3-py2.py3-none-any.whl", hash = "sha256:1311f10e8b895935241623731c2ba64f4c455287888b18189350b67134a822e8"}, ] -[[package]] -name = "tinycss2" -version = "1.2.1" -description = "A tiny CSS parser" -category = "main" -optional = false -python-versions = ">=3.7" -files = [ - {file = "tinycss2-1.2.1-py3-none-any.whl", hash = "sha256:2b80a96d41e7c3914b8cda8bc7f705a4d9c49275616e886103dd839dfc847847"}, - {file = "tinycss2-1.2.1.tar.gz", hash = "sha256:8cff3a8f066c2ec677c06dbc7b45619804a6938478d9d73c284b29d14ecb0627"}, -] - -[package.dependencies] -webencodings = ">=0.4" - -[package.extras] -doc = ["sphinx", "sphinx_rtd_theme"] -test = ["flake8", "isort", "pytest"] - [[package]] name = "toml" version = "0.10.2" @@ -5091,18 +5005,6 @@ files = [ [package.dependencies] six = "*" -[[package]] -name = "webencodings" -version = "0.5.1" -description = "Character encoding aliases for legacy web content" -category = "main" -optional = false -python-versions = "*" -files = [ - {file = "webencodings-0.5.1-py2.py3-none-any.whl", hash = "sha256:a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78"}, - {file = "webencodings-0.5.1.tar.gz", hash = "sha256:b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923"}, -] - [[package]] name = "websocket-client" version = "1.4.2" @@ -5490,4 +5392,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.7.16" -content-hash = "bc27e1d4fe2c06143f7046dc4bb95310688d19bce66e7a9ce2956e047c15fa56" +content-hash = "8d89423a051f00b7d9bc61feabc0c8511e4a976a2ead5a212de131632ea86cd8" diff --git a/pyproject.toml b/pyproject.toml index 81cd3d3..d412e3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,6 @@ gitpython = "3.1.12" giturlparse = "^0.10.0" greenlet = "0.4.13" html2text = "2016.9.19" -html5print = "^0.1.2" invoice2data = "^0.4.0" iscompatible = "^0.1.1" isort = "^5.11.3" diff --git a/requirements.txt b/requirements.txt index 2666921..8c14124 100644 --- a/requirements.txt +++ b/requirements.txt @@ -41,7 +41,6 @@ git+https://github.com/oca/pylint-odoo.git # oca-maintainers-tools # git+https://github.com/OCA/maintainer-tools.git#egg=oca-maintainers-tools xmlformatter -html5print css-html-prettify BeautifulSoup4 git+https://github.com/psf/black.git@22.3.0