Verified Commit 43d6c0e7 authored by David Runge's avatar David Runge
Browse files

Update functionally blocking dependencies

pyproject.toml:
Update the python requirement to 3.10.
Update the prometheus-client requirement to 0.14.1.
Update the pytest dev requirement to 7.1.
Update the black dev requirement to 22.3.
Update the mypy dev requirement to 0.942.
Update the flake8 dev requirement to 4.0.1.
Update the coverage dev requirement to 6.1.
Change the build-system to also pull in setuptools as some dependencies
do not build properly.
Change the mypy configuration to show specific error codes.
parent 575accf1
......@@ -31,7 +31,7 @@ classifiers = [
"Bug Tracker" = "https://gitlab.archlinux.org/archlinux/arch-release-promotion/-/issues/"
[tool.poetry.dependencies]
python = "^3.9"
python = "^3.10"
pydantic = "^1.8.2"
python-dotenv = "^0.19.0"
pyxdg = "^0.27"
......@@ -39,23 +39,23 @@ email-validator = "^1.1.3"
torrentool = "^1.1.1"
python-gitlab = "^2.10.0"
orjson = "^3.6.1"
prometheus-client = "^0.11.0"
prometheus-client = "^0.14.1"
toml = "^0.10.2"
[tool.poetry.dev-dependencies]
pytest = "^5.2"
pytest = "^7.1"
isort = "^5.8.0"
black = "^21.7b0"
mypy = "^0.910"
flake8 = "^3.9.2"
coverage = "^5.5"
black = "^22.3"
mypy = "^0.942"
flake8 = "^4.0.1"
coverage = "^6.1"
[tool.poetry.scripts]
arch-release-promotion = "arch_release_promotion.cli:main"
arch-release-sync = "arch_release_promotion.cli:arch_release_sync"
[build-system]
requires = ["poetry-core>=1.0.0"]
requires = ["poetry-core>=1.0.0", "setuptools"]
build-backend = "poetry.core.masonry.api"
[tool.black]
......@@ -115,3 +115,4 @@ disallow_any_generics = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
show_error_codes = true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment