Skip to content

Commit

Permalink
Update deprecation date
Browse files Browse the repository at this point in the history
  • Loading branch information
soapy1 committed Jan 6, 2025
1 parent e98319a commit 33c3067
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ async def api_get_build_archive(


@router_api.get("/build/{build_id}/docker/", deprecated=True)
@deprecated(sunset_date=datetime.date(2025, 2, 17))
@deprecated(sunset_date=datetime.date(2025, 3, 17))
async def api_get_build_docker_image_url(
build_id: int,
request: Request,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def replace_words(s, words):
)
return environment_name

@deprecated(sunset_date=datetime.date(2025, 2, 17))
@deprecated(sunset_date=datetime.date(2025, 3, 17))
def get_docker_image_manifest(conda_store, image, tag, timeout=10 * 60):
namespace, *image_name = image.split("/")

Expand Down Expand Up @@ -129,13 +129,13 @@ def get_docker_image_manifest(conda_store, image, tag, timeout=10 * 60):
return RedirectResponse(conda_store.storage.get_url(manifests_key))


@deprecated(sunset_date=datetime.date(2025, 2, 17))
@deprecated(sunset_date=datetime.date(2025, 3, 17))
def get_docker_image_blob(conda_store, image, blobsum):
blob_key = f"docker/blobs/{blobsum}"
return RedirectResponse(conda_store.storage.get_url(blob_key))

@router_registry.get("/v2/", deprecated=True)
@deprecated(sunset_date=datetime.date(2025, 2, 17))
@deprecated(sunset_date=datetime.date(2025, 3, 17))
def v2(
request: Request,
entity=Depends(dependencies.get_entity),
Expand All @@ -149,7 +149,7 @@ def v2(
@router_registry.get(
"/v2/{rest:path}", deprecated=True
)
@deprecated(sunset_date=datetime.date(2025, 2, 17))
@deprecated(sunset_date=datetime.date(2025, 3, 17))
def list_tags(
rest: str,
request: Request,
Expand Down

0 comments on commit 33c3067

Please sign in to comment.