From 66ad1e9675578cc57c4f64499f193df5052fd37f Mon Sep 17 00:00:00 2001 From: Kevin Schaper Date: Thu, 22 Feb 2024 15:43:48 -0800 Subject: [PATCH] Remove importlib-metadata pin, change bs4 to beautifulsoup4 --- poetry.lock | 32 +++++++++++--------------------- pyproject.toml | 3 +-- 2 files changed, 12 insertions(+), 23 deletions(-) diff --git a/poetry.lock b/poetry.lock index 51804ebe7..e81e05023 100644 --- a/poetry.lock +++ b/poetry.lock @@ -77,19 +77,22 @@ dev = ["freezegun (>=1.0,<2.0)", "pytest (>=6.0)", "pytest-cov"] [[package]] name = "beautifulsoup4" -version = "4.12.2" +version = "4.12.3" description = "Screen-scraping library" optional = false python-versions = ">=3.6.0" files = [ - {file = "beautifulsoup4-4.12.2-py3-none-any.whl", hash = "sha256:bd2520ca0d9d7d12694a53d44ac482d181b4ec1888909b035a3dbf40d0f57d4a"}, - {file = "beautifulsoup4-4.12.2.tar.gz", hash = "sha256:492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da"}, + {file = "beautifulsoup4-4.12.3-py3-none-any.whl", hash = "sha256:b80878c9f40111313e55da8ba20bdba06d8fa3969fc68304167741bbf9e082ed"}, + {file = "beautifulsoup4-4.12.3.tar.gz", hash = "sha256:74e3d1928edc070d21748185c46e3fb33490f22f52a3addee9aee0f4f7781051"}, ] [package.dependencies] soupsieve = ">1.2" [package.extras] +cchardet = ["cchardet"] +chardet = ["chardet"] +charset-normalizer = ["charset-normalizer"] html5lib = ["html5lib"] lxml = ["lxml"] @@ -123,19 +126,6 @@ health = ["click-default-group", "jinja2", "pandas", "pyyaml", "tabulate"] tests = ["coverage", "httpx", "more-itertools", "pytest"] web = ["bootstrap-flask (<=2.0.0)", "curies[fastapi]", "fastapi", "flask (<2.2.4)", "markdown", "pyyaml", "rdflib", "rdflib-endpoint", "rdflib-jsonld", "uvicorn", "werkzeug (<2.3.0)"] -[[package]] -name = "bs4" -version = "0.0.1" -description = "Dummy package for Beautiful Soup" -optional = false -python-versions = "*" -files = [ - {file = "bs4-0.0.1.tar.gz", hash = "sha256:36ecea1fd7cc5c0c6e4a1ff075df26d50da647b75376626cc186e2212886dd3a"}, -] - -[package.dependencies] -beautifulsoup4 = "*" - [[package]] name = "cachetools" version = "5.3.2" @@ -745,20 +735,20 @@ files = [ [[package]] name = "importlib-metadata" -version = "6.8.0" +version = "7.0.1" description = "Read metadata from Python packages" optional = false python-versions = ">=3.8" files = [ - {file = "importlib_metadata-6.8.0-py3-none-any.whl", hash = "sha256:3ebb78df84a805d7698245025b975d9d67053cd94c79245ba4b3eb694abe68bb"}, - {file = "importlib_metadata-6.8.0.tar.gz", hash = "sha256:dbace7892d8c0c4ac1ad096662232f831d4e64f4c4545bd53016a3e9d4654743"}, + {file = "importlib_metadata-7.0.1-py3-none-any.whl", hash = "sha256:4805911c3a4ec7c3966410053e9ec6a1fecd629117df5adee56dfc9432a1081e"}, + {file = "importlib_metadata-7.0.1.tar.gz", hash = "sha256:f238736bb06590ae52ac1fab06a3a9ef1d8dce2b7a35b5ab329371d6c8f5d2cc"}, ] [package.dependencies] zipp = ">=0.5" [package.extras] -docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"] perf = ["ipython"] testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)", "pytest-ruff"] @@ -2819,4 +2809,4 @@ docs = [] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "025b2ecbf63319348c9070ed481a41f774881059f8323a3b4f2a603f25a70fcc" +content-hash = "a8d1dade824d48e565bd0034761a18d4e94591835c159afa81d927676ff181f4" diff --git a/pyproject.toml b/pyproject.toml index 2b12f0625..f8ff0aa9d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,10 +16,9 @@ python = "^3.9" curies = "^0.7.4" prefixmaps = "^0.2.0" pyyaml = "^6.0.1" -importlib-metadata = ">=6.8.0" stringcase = "^1.2.0" pytest = "^7.3.1" -bs4 = "^0.0.1" +beautifulsoup4 = ">=4.0.0" [tool.poetry-dynamic-versioning] enable = true