Skip to content

Commit

Permalink
more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
saikonen committed Nov 22, 2023
1 parent a8d8a36 commit 78e0d9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metaflow/plugins/pypi/conda_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ def _datastore_url(url, local_path):
base, _file = os.path.split(urlparse(url).path)
_, localfile = os.path.split(local_path)
# Uses netloc and basepath from the url, but the filename from local_path
# to support pip wheels that are installed from version control system urls
# to support pip wheels that were built on the fly.
#
# the VCS url does not contain a file extension, which also can not be inferred after the fact.
# the url might not contain a file extension, which also can not be inferred after the fact.
# pip install fails during bootstrapping if the downloaded packages are missing file extensions.
return urlparse(url).netloc + os.path.join(base, localfile)

Expand Down

0 comments on commit 78e0d9a

Please sign in to comment.