hotfix: Add missing networkx dependency

This commit is contained in:
TrisNol 2023-11-10 21:47:34 +01:00
parent 247719c76f
commit c333ad70c5
2 changed files with 7561 additions and 7560 deletions

14742
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,189 +1,190 @@
[build-system] [build-system]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"] requires = ["poetry-core"]
[tool.black] [tool.black]
target-version = ["py311"] target-version = ["py311"]
[tool.coverage.report] [tool.coverage.report]
exclude_also = ["if __name__ == .__main__.:", "if not isinstance(engine, Engine):", "@overload"] exclude_also = ["if __name__ == .__main__.:", "if not isinstance(engine, Engine):", "@overload"]
[tool.coverage.run] [tool.coverage.run]
branch = true branch = true
dynamic_context = "test_function" dynamic_context = "test_function"
relative_files = true relative_files = true
source = ["src"] source = ["src"]
[tool.mypy] [tool.mypy]
disallow_untyped_defs = true disallow_untyped_defs = true
exclude = ["\\.ipynb_checkpoints", "\\.mypy_cache", "\\.mytest_cache", "build", "venv", "\\.venv", "Jupyter"] exclude = ["\\.ipynb_checkpoints", "\\.mypy_cache", "\\.mytest_cache", "build", "venv", "\\.venv", "Jupyter"]
follow_imports = "silent" follow_imports = "silent"
ignore_missing_imports = true ignore_missing_imports = true
install_types = true install_types = true
non_interactive = true non_interactive = true
plugins = ["sqlalchemy.ext.mypy.plugin"] plugins = ["sqlalchemy.ext.mypy.plugin"]
python_version = "3.11" python_version = "3.11"
warn_redundant_casts = true warn_redundant_casts = true
warn_unused_ignores = false warn_unused_ignores = false
[tool.poetry] [tool.poetry]
authors = ["AKI Projektgruppe 23"] authors = ["AKI Projektgruppe 23"]
classifiers = [] classifiers = []
description = "Data Integration, Extraction, and Visualization using Text Mining and AI to reveal valuable insights, hidden patterns, and gain a deeper understanding of the business landscape of german companies." description = "Data Integration, Extraction, and Visualization using Text Mining and AI to reveal valuable insights, hidden patterns, and gain a deeper understanding of the business landscape of german companies."
documentation = "https://cuddly-waffle-r416zgy.pages.github.io/" documentation = "https://cuddly-waffle-r416zgy.pages.github.io/"
homepage = "https://cuddly-waffle-r416zgy.pages.github.io/" homepage = "https://cuddly-waffle-r416zgy.pages.github.io/"
keywords = ["deutschland", "economy", "transparenzregister", "dataintegration", "handelsregister"] keywords = ["deutschland", "economy", "transparenzregister", "dataintegration", "handelsregister"]
maintainers = [ maintainers = [
"Philipp Horstenkamp <philipp@horstenkamp.de>", "Philipp Horstenkamp <philipp@horstenkamp.de>",
"Tristan Nolde <contact@trisnol.dev>", "Tristan Nolde <contact@trisnol.dev>",
"Sebastian Zeleny <zeleny.sebastian@fh-swf.de>", "Sebastian Zeleny <zeleny.sebastian@fh-swf.de>",
"Kim Mesewinkel-Risse", "Kim Mesewinkel-Risse",
"Tim Ronneburg", "Tim Ronneburg",
"Sascha Zhu <sascha.zhu@eugreen.de>" "Sascha Zhu <sascha.zhu@eugreen.de>"
] ]
name = "aki-prj23-transparenzregister" name = "aki-prj23-transparenzregister"
packages = [{include = "aki_prj23_transparenzregister", from = "src"}] packages = [{include = "aki_prj23_transparenzregister", from = "src"}]
readme = "README.md" readme = "README.md"
repository = "https://github.com/fhswf/aki_prj23_transparenzregister" repository = "https://github.com/fhswf/aki_prj23_transparenzregister"
version = "0.1.0" version = "0.1.0"
[tool.poetry.dependencies] [tool.poetry.dependencies]
SQLAlchemy = "^1.4.50" SQLAlchemy = "^1.4.50"
aenum = "^3.1.15" aenum = "^3.1.15"
babel = "^2.13.1" babel = "^2.13.1"
cachetools = "^5.3.1" cachetools = "^5.3.1"
dash = "^2.14.1" dash = "^2.14.1"
dash-auth = "^2.0.0" dash-auth = "^2.0.0"
dash-bootstrap-components = "^1.5.0" dash-bootstrap-components = "^1.5.0"
dash-daq = "^0.5.0" dash-daq = "^0.5.0"
dash_cytoscape = "^0.2.0" dash_cytoscape = "^0.2.0"
dashvis = "^0.1.3" dashvis = "^0.1.3"
datetime = "^5.2" datetime = "^5.2"
deutschland = {git = "https://github.com/TrisNol/deutschland.git", branch = "hotfix/python-3.11-support"} deutschland = {git = "https://github.com/TrisNol/deutschland.git", branch = "hotfix/python-3.11-support"}
frozendict = "^2.3.8" frozendict = "^2.3.8"
loguru = "^0.7.0" loguru = "^0.7.0"
matplotlib = "^3.8.1" matplotlib = "^3.8.1"
pgeocode = "^0.4.1" networkx = "^3.2.1"
psycopg2-binary = "^2.9.7" pgeocode = "^0.4.1"
pymongo = "^4.6.0" psycopg2-binary = "^2.9.7"
python = ">=3.11,<3.13" pymongo = "^4.6.0"
python-dotenv = "^1.0.0" python = ">=3.11,<3.13"
rapidfuzz = "^3.5.2" python-dotenv = "^1.0.0"
scipy = "^1.11.3" rapidfuzz = "^3.5.2"
seaborn = "^0.13.0" scipy = "^1.11.3"
selenium = "^4.15.2" seaborn = "^0.13.0"
spacy = "^3.6.1" selenium = "^4.15.2"
spacy-sentiws = "^3.0.0" spacy = "^3.6.1"
torch = {version = "*", source = "torch-cpu"} spacy-sentiws = "^3.0.0"
torchaudio = {version = "*", source = "torch-cpu"} torch = {version = "*", source = "torch-cpu"}
torchvision = {version = "*", source = "torch-cpu"} torchaudio = {version = "*", source = "torch-cpu"}
tqdm = "^4.66.1" torchvision = {version = "*", source = "torch-cpu"}
transformers = {version = "*", extras = ["torch"]} tqdm = "^4.66.1"
xmltodict = "^0.13.0" transformers = {version = "*", extras = ["torch"]}
xmltodict = "^0.13.0"
[tool.poetry.extras]
ingest = ["selenium", "deutschland", "xmltodict"] [tool.poetry.extras]
transformation = ["torch", "torchaudio", "torchvision", "transformers", "spacy-sentiws", "spacy"] ingest = ["selenium", "deutschland", "xmltodict"]
web-server = ["dash", "dash-auth", "dash-bootstrap-components", "matplotlib", "seaborn"] transformation = ["torch", "torchaudio", "torchvision", "transformers", "spacy-sentiws", "spacy"]
web-server = ["dash", "dash-auth", "dash-bootstrap-components", "matplotlib", "seaborn", "networkx"]
[tool.poetry.group.develop.dependencies]
black = {extras = ["jupyter"], version = "^23.11.0"} [tool.poetry.group.develop.dependencies]
jupyterlab = "^4.0.6" black = {extras = ["jupyter"], version = "^23.11.0"}
nbconvert = "^7.11.0" jupyterlab = "^4.0.6"
openpyxl = "^3.1.2" nbconvert = "^7.11.0"
pre-commit = "^3.4.0" openpyxl = "^3.1.2"
rise = "^5.7.1" pre-commit = "^3.4.0"
rise = "^5.7.1"
[tool.poetry.group.doc.dependencies]
jupyter = "^1.0.0" [tool.poetry.group.doc.dependencies]
myst-parser = "^1.0.0" jupyter = "^1.0.0"
nbsphinx = "^0.9.2" myst-parser = "^1.0.0"
sphinx = "*" nbsphinx = "^0.9.2"
sphinx-copybutton = "^0.5.2" sphinx = "*"
sphinx-git = "^11.0.0" sphinx-copybutton = "^0.5.2"
sphinx-notfound-page = "^1.0.0" sphinx-git = "^11.0.0"
sphinx-rtd-theme = "^1.3.0" sphinx-notfound-page = "^1.0.0"
sphinx_autodoc_typehints = "*" sphinx-rtd-theme = "^1.3.0"
sphinxcontrib-drawio = "^0.0.17" sphinx_autodoc_typehints = "*"
sphinxcontrib-mermaid = "^0.9.2" sphinxcontrib-drawio = "^0.0.17"
sphinxcontrib-napoleon = "^0.7" sphinxcontrib-mermaid = "^0.9.2"
sphinxcontrib-napoleon = "^0.7"
[tool.poetry.group.lint.dependencies]
SQLAlchemy = {version = "*", extras = ["mypy"]} [tool.poetry.group.lint.dependencies]
black = "*" SQLAlchemy = {version = "*", extras = ["mypy"]}
loguru-mypy = "*" black = "*"
mypy = "*" loguru-mypy = "*"
networkx-stubs = "*" mypy = "*"
pandas-stubs = "*" networkx-stubs = "*"
pip-audit = "*" pandas-stubs = "*"
pip-licenses = "*" pip-audit = "*"
ruff = "*" pip-licenses = "*"
types-cachetools = "*" ruff = "*"
types-decorator = "*" types-cachetools = "*"
types-pyOpenSSL = "*" types-decorator = "*"
types-requests = "*" types-pyOpenSSL = "*"
types-setuptools = "*" types-requests = "*"
types-six = "*" types-setuptools = "*"
types-tabulate = "*" types-six = "*"
types-tqdm = "*" types-tabulate = "*"
types-urllib3 = "*" types-tqdm = "*"
types-urllib3 = "*"
[tool.poetry.group.test.dependencies]
pytest = "^7.4.2" [tool.poetry.group.test.dependencies]
pytest-clarity = "^1.0.1" pytest = "^7.4.2"
pytest-cov = "^4.1.0" pytest-clarity = "^1.0.1"
pytest-mock = "^3.12.0" pytest-cov = "^4.1.0"
pytest-repeat = "^0.9.1" pytest-mock = "^3.12.0"
pytest-repeat = "^0.9.1"
[tool.poetry.scripts]
copy-sql = "aki_prj23_transparenzregister.utils.sql.copy_sql:copy_db_cli" [tool.poetry.scripts]
data-transformation = "aki_prj23_transparenzregister.utils.data_transfer:transfer_data_cli" copy-sql = "aki_prj23_transparenzregister.utils.sql.copy_sql:copy_db_cli"
reset-sql = "aki_prj23_transparenzregister.utils.sql.connector:reset_all_tables_cli" data-transformation = "aki_prj23_transparenzregister.utils.data_transfer:transfer_data_cli"
webserver = "aki_prj23_transparenzregister.ui.app:main" reset-sql = "aki_prj23_transparenzregister.utils.sql.connector:reset_all_tables_cli"
webserver = "aki_prj23_transparenzregister.ui.app:main"
[[tool.poetry.source]]
name = "torch-cpu" [[tool.poetry.source]]
priority = "explicit" name = "torch-cpu"
url = "https://download.pytorch.org/whl/cpu" priority = "explicit"
url = "https://download.pytorch.org/whl/cpu"
[tool.ruff]
exclude = [ [tool.ruff]
".bzr", exclude = [
".direnv", ".bzr",
".eggs", ".direnv",
".git", ".eggs",
".git-rewrite", ".git",
".hg", ".git-rewrite",
".mypy_cache", ".hg",
".nox", ".mypy_cache",
".pants.d", ".nox",
".pytype", ".pants.d",
".ruff_cache", ".pytype",
".svn", ".ruff_cache",
".tox", ".svn",
".venv", ".tox",
"__pypackages__", ".venv",
"_build", "__pypackages__",
"buck-out", "_build",
"build", "buck-out",
"dist", "build",
"node_modules", "dist",
"venv" "node_modules",
] "venv"
# Never enforce `E501` (line length violations). ]
ignore = ["E501", "D105"] # Never enforce `E501` (line length violations).
line-length = 88 ignore = ["E501", "D105"]
# Enable flake8-bugbear (`B`) rules. line-length = 88
select = ["E", "F", "B", "I", "S", "RSE", "RET", "SLF", "SIM", "TID", "PD", "PL", "PLE", "PLR", "PLW", "NPY", "UP", "D", "N", "A", "C4", "T20", "PT"] # Enable flake8-bugbear (`B`) rules.
src = ["src"] select = ["E", "F", "B", "I", "S", "RSE", "RET", "SLF", "SIM", "TID", "PD", "PL", "PLE", "PLR", "PLW", "NPY", "UP", "D", "N", "A", "C4", "T20", "PT"]
target-version = "py311" src = ["src"]
unfixable = ["B"] target-version = "py311"
unfixable = ["B"]
[tool.ruff.flake8-builtins]
builtins-ignorelist = ["id"] [tool.ruff.flake8-builtins]
builtins-ignorelist = ["id"]
[tool.ruff.per-file-ignores]
"tests/*.py" = ["S101", "SLF001", "S311", "D103", "PLR0913"] [tool.ruff.per-file-ignores]
"tests/*.py" = ["S101", "SLF001", "S311", "D103", "PLR0913"]
[tool.ruff.pydocstyle]
convention = "google" [tool.ruff.pydocstyle]
convention = "google"