diff --git a/pipenv/project.py b/pipenv/project.py
index 45b387c82..fc9a23730 100644
--- a/pipenv/project.py
+++ b/pipenv/project.py
@@ -733,7 +733,7 @@ def build_script(self, name: str, extra_args: list[str] | None = None) -> Script
     def update_settings(self, d: dict[str, str | bool]) -> None:
         settings = self.settings
         changed = False
-        for new in d:
+        for new in d.keys():  # noqa: PLC0206
             if new not in settings:
                 settings[new] = d[new]
                 changed = True
diff --git a/pipenv/routines/outdated.py b/pipenv/routines/outdated.py
index c5974490a..1fcbbea3f 100644
--- a/pipenv/routines/outdated.py
+++ b/pipenv/routines/outdated.py
@@ -47,7 +47,7 @@ def do_outdated(project, pypi_mirror=None, pre=False, clear=False):
                 pass
     outdated = []
     skipped = []
-    for package in packages:
+    for package in packages.keys():  # noqa: PLC0206
         norm_name = pep423_name(package)
         if norm_name in updated_packages:
             version = packages[package]