Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaos committed Mar 18, 2024
1 parent 2d454ad commit 20665f1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tools/src/scie_pants/pants_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def determine_find_links(
pants_version: str,
sha: str,
find_links_dir: Path,
include_nonrelease_pants_distributions_in_findlinks: bool,
) -> ResolveInfo:
abbreviated_sha = sha[:8]
sha_version = Version(f"{pants_version}+git{abbreviated_sha}")
Expand All @@ -62,14 +61,6 @@ def determine_find_links(
f"</a>{os.linesep}".encode()
)
fp.flush()
if include_nonrelease_pants_distributions_in_findlinks:
pantsbuild_pants_find_links = (
"https://binaries.pantsbuild.org/wheels/pantsbuild.pants/"
f"{sha}/{urllib.parse.quote(str(sha_version))}/index.html"
)
ptex.fetch_to_fp(pantsbuild_pants_find_links, fp)
fp.flush()

ptex.fetch_to_fp("https://wheels.pantsbuild.org/simple/", fp)

return ResolveInfo(
Expand Down Expand Up @@ -127,7 +118,6 @@ def determine_tag_version(
pants_version,
commit_sha,
find_links_dir,
include_nonrelease_pants_distributions_in_findlinks=False,
)


Expand Down

0 comments on commit 20665f1

Please sign in to comment.