← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~jugmac00/lpcraft:enable-pip-compile-upgrade into lpcraft:main

 

Jürgen Gmach has proposed merging ~jugmac00/lpcraft:enable-pip-compile-upgrade into lpcraft:main.

Commit message:
Enable upgrading of dependencies via the `pip-compile` tox env

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~jugmac00/lpcraft/+git/lpcraft/+merge/418289
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~jugmac00/lpcraft:enable-pip-compile-upgrade into lpcraft:main.
diff --git a/NEWS.rst b/NEWS.rst
index f4d3db9..b5307d5 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -12,6 +12,8 @@ Version history
 
 - pre-commit: Add the ``pydocstyle`` hook to lint the docstrings.
 
+- tox: The `pip-compile` env now upgrades the project's dependencies.
+
 0.0.5   (2022-03-30)
 ====================
 
diff --git a/requirements.txt b/requirements.txt
index da8baf5..289541a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6,37 +6,35 @@
 #
 certifi==2021.10.8
     # via requests
-charset-normalizer==2.0.7
+charset-normalizer==2.0.12
     # via requests
-craft-cli==0.2.0
+craft-cli==0.4.0
     # via -r requirements.in
-craft-providers==1.0.3
+craft-providers==1.1.1
     # via -r requirements.in
 idna==3.3
     # via requests
-platformdirs==2.4.0
+platformdirs==2.5.1
     # via craft-cli
 pluggy==1.0.0
     # via -r requirements.in
-pydantic==1.8.2
+pydantic==1.9.0
     # via
     #   -r requirements.in
     #   craft-cli
     #   craft-providers
-python-dotenv==0.19.2
+python-dotenv==0.20.0
     # via -r requirements.in
 pyyaml==6.0
     # via
     #   -r requirements.in
     #   craft-cli
     #   craft-providers
-requests==2.26.0
+requests==2.27.1
     # via requests-unixsocket
-requests-unixsocket==0.2.0
+requests-unixsocket==0.3.0
     # via craft-providers
-typing-extensions==3.10.0.2
+typing-extensions==4.1.1
     # via pydantic
-urllib3==1.26.7
-    # via
-    #   requests
-    #   requests-unixsocket
+urllib3==1.26.9
+    # via requests
diff --git a/tox.ini b/tox.ini
index 5ddc55c..71f524e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -31,14 +31,14 @@ commands =
 
 [testenv:pip-compile]
 description =
-    update and regenerate requirements.txt
+    upgrade/regenerate requirements.txt
 basepython =
     python3.8
 deps =
     pip-tools
 skip_install = true
 commands =
-    pip-compile
+    pip-compile {posargs:--upgrade}
 
 [testenv:mypy]
 description =