@@ -121,7 +121,7 @@ def deployment_package_filename(
121121 # based on a hash of the requirements file.
122122 # This is done so that we only "pip install -r requirements.txt"
123123 # when we know there's new dependencies we need to install.
124- # The python version these depedencies were downloaded for is appended
124+ # The python version these dependencies were downloaded for is appended
125125 # to the end of the filename since the the dependencies may not change
126126 # but if the python version changes then the dependencies need to be
127127 # re-downloaded since they will not be compatible.
@@ -616,8 +616,8 @@ def _has_at_least_one_package(self, filename: str) -> bool:
616616 def _download_all_dependencies (
617617 self , requirements_filename : str , directory : str
618618 ) -> Set [Package ]:
619- # Download dependencies prefering wheel files but falling back to
620- # raw source dependences to get the transitive closure over
619+ # Download dependencies preferring wheel files but falling back to
620+ # raw source dependencies to get the transitive closure over
621621 # the dependency graph. Return the set of all package objects
622622 # which will serve as the master list of dependencies needed to deploy
623623 # successfully.
@@ -713,7 +713,7 @@ def _download_dependencies(
713713 # - lambda incompatible wheel files
714714 # Pip will give us a wheel when it can, but some distributions do not
715715 # ship with wheels at all in which case we will have an sdist for it.
716- # In some cases a platform specific wheel file may be availble so pip
716+ # In some cases a platform specific wheel file may be available so pip
717717 # will have downloaded that, if our platform does not match the
718718 # platform lambda runs on (linux_x86_64/manylinux) then the downloaded
719719 # wheel file may not be compatible with lambda. Pure python wheels
@@ -1130,8 +1130,8 @@ def download_all_dependencies(
11301130 # When downloading all dependencies we expect to get an rc of 0 back
11311131 # since we are casting a wide net here letting pip have options about
11321132 # what to download. If a package is not found it is likely because it
1133- # does not exist and was mispelled . In this case we raise an error with
1134- # the package name. Otherwise a nonzero rc results in a generic
1133+ # does not exist and was misspelled . In this case we raise an error
1134+ # with the package name. Otherwise a nonzero rc results in a generic
11351135 # download error where we pass along the stderr.
11361136 if rc != 0 :
11371137 if err is None :
0 commit comments