Skip to content

Commit

Permalink
Merge pull request #552 from conda-forge/use-conda-forge-metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr authored May 5, 2023
2 parents a1eba42 + f47a003 commit 5d6c65a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
1 change: 1 addition & 0 deletions conda-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ black
cachetools
conda
conda-build
conda-forge-metadata>=0.4.1
conda-forge-pinning
conda-smithy>=3.7.6 # this pin is for bot automerge and maint. team bug fixes
cryptography>=39
Expand Down
9 changes: 1 addition & 8 deletions conda_forge_webservices/feedstock_outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

from binstar_client.utils import get_server_api
from binstar_client import BinstarError
from conda_forge_metadata.feedstock_outputs import sharded_path as _get_sharded_path
import binstar_client.errors

from .utils import parse_conda_pkg
Expand All @@ -26,14 +27,6 @@
PROD = "conda-forge"


def _get_sharded_path(output):
chars = [c for c in output if c.isalnum()]
while len(chars) < 3:
chars.append("z")

return os.path.join("outputs", chars[0], chars[1], chars[2], output + ".json")


def is_valid_feedstock_token(user, project, feedstock_token, provider=None):
gh_token = get_app_token_for_webservices_only()
r = requests.get(
Expand Down

0 comments on commit 5d6c65a

Please sign in to comment.