← Back to team overview

sts-sponsors team mailing list archive

[Merge] ~ack/maas-site-manager:tox-ini-pin-deps into maas-site-manager:main

 

Alberto Donato has proposed merging ~ack/maas-site-manager:tox-ini-pin-deps into maas-site-manager:main.

Commit message:
pin env dependencies in tox.ini



Requested reviews:
  MAAS Lander (maas-lander): unittests
  MAAS Committers (maas-committers)

For more details, see:
https://code.launchpad.net/~ack/maas-site-manager/+git/site-manager/+merge/442135
-- 
Your team MAAS Committers is requested to review the proposed merge of ~ack/maas-site-manager:tox-ini-pin-deps into maas-site-manager:main.
diff --git a/backend/pyproject.toml b/backend/pyproject.toml
index 036842e..f3e040b 100644
--- a/backend/pyproject.toml
+++ b/backend/pyproject.toml
@@ -16,6 +16,11 @@ authors = [
     {name = "MAAS Developers", email = "maas-devel@xxxxxxxxxxxxxxxxxxx"},
 ]
 requires-python = ">=3.10"
+classifiers = [
+  "Programming Language :: Python :: 3 :: Only",
+  "Programming Language :: Python :: 3.10",
+  "Programming Language :: Python :: 3.11",
+]
 dependencies = [
   "fastapi",
   "passlib[bcrypt]",
diff --git a/backend/tox.ini b/backend/tox.ini
index dfc9798..631a0fc 100644
--- a/backend/tox.ini
+++ b/backend/tox.ini
@@ -24,10 +24,10 @@ commands =
 
 [testenv:format]
 deps =
-    black
-    isort
-    pyproject-fmt
-    tox-ini-fmt
+    black==23.3
+    isort==5.12
+    pyproject-fmt==0.11.1
+    tox-ini-fmt==1.3
 commands =
     isort {[globals]lint_files}
     black -q {[globals]lint_files}
@@ -36,11 +36,11 @@ commands =
 
 [testenv:lint]
 deps =
-    black
-    flake8
-    flake8-pyproject
-    isort
-    pyproject-fmt
+    Flake8-pyproject==1.2.3
+    black==23.3
+    flake8==6
+    isort==5.12
+    pyproject-fmt==0.11.1
 commands =
     isort --check-only --diff {[globals]lint_files}
     black --check {[globals]lint_files}
@@ -50,7 +50,7 @@ commands =
 [testenv:check]
 deps =
     .[testing]
-    mypy
+    mypy==1.2
 commands =
     mypy {[globals]lint_files} {posargs}