jazzband / help

Use this repo to get help from the roadies
https://jazzband.co/roadies
27 stars 7 forks source link

PyPI Release: django-revproxy #330

Closed andruten closed 11 months ago

andruten commented 1 year ago

PyPI Release

I'm trying to publish django-revproxy 0.11.0 release but it seems JAZZBAND_RELEASE_KEY is not set. Who can set that secret?

This is the stacktrace

Run pypa/gh-action-pypi-publish@release/v1
/usr/bin/docker run --name cd58adb946fe34372a428bf54f5420199_a1d1dd --label 49859c --workdir /github/workspace --rm -e "pythonLocation" -e "LD_LIBRARY_PATH" -e "INPUT_USER" -e "INPUT_PASSWORD" -e "INPUT_REPOSITORY_URL" -e "INPUT_PACKAGES_DIR" -e "INPUT_VERIFY_METADATA" -e "INPUT_SKIP_EXISTING" -e "INPUT_VERBOSE" -e "INPUT_PRINT_HASH" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/django-revproxy/django-revproxy":"/github/workspace" 49859c:d58adb946fe34372a428bf54f5420199  "jazzband" "" "https://jazzband.co/projects/django-revproxy/upload" "dist" "true" "false" "false" "false"
Checking dist/django_revproxy-0.11.0-py3-none-any.whl: PASSED with warnings
WARNING  `long_description_content_type` missing. defaulting to `text/x-rst`.   
Checking dist/django-revproxy-0.11.0.tar.gz: PASSED with warnings
WARNING  `long_description_content_type` missing. defaulting to `text/x-rst`.   
Uploading distributions to https://jazzband.co/projects/django-revproxy/upload
Uploading django_revproxy-0.11.0-py3-none-any.whl
25l
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/25.6 kB • --:-- • ?
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/25.6 kB • --:-- • ?
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/25.6 kB • --:-- • ?
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/25.6 kB • --:-- • ?
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [25](https://github.com/jazzband/django-revproxy/actions/runs/4272307639/jobs/7437352667#step:7:26).6/25.6 kB • 00:00 • 60.3 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.6/25.6 kB • 00:00 • 60.3 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.6/25.6 kB • 00:00 • 60.3 MB/s
25hWARNING  Received "500: INTERNAL SERVER ERROR"                                  
         Package upload appears to have failed. Retry 1 of 5.                   
Uploading django_revproxy-0.11.0-py3-none-any.whl
25l
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/25.6 kB • --:-- • ?
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.6/25.6 kB • 00:00 • 59.3 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.6/25.6 kB • 00:00 • 59.3 MB/s
25hWARNING  Received "500: INTERNAL SERVER ERROR"                                  
         Package upload appears to have failed. Retry 2 of 5.                   
Uploading django_revproxy-0.11.0-py3-none-any.whl
25l
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/25.6 kB • --:-- • ?
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.6/25.6 kB • 00:00 • 66.6 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.6/25.6 kB • 00:00 • 66.6 MB/s
25hWARNING  Received "500: INTERNAL SERVER ERROR"                                  
         Package upload appears to have failed. Retry 3 of 5.                   
Uploading django_revproxy-0.11.0-py3-none-any.whl
25l
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/25.6 kB • --:-- • ?
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.6/25.6 kB • 00:00 • 70.2 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.6/25.6 kB • 00:00 • 70.2 MB/s
25hWARNING  Received "500: INTERNAL SERVER ERROR"                                  
         Package upload appears to have failed. Retry 4 of 5.                   
Uploading django_revproxy-0.11.0-py3-none-any.whl
25l
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/25.6 kB • --:-- • ?
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.6/25.6 kB • 00:00 • 53.2 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.6/25.6 kB • 00:00 • 53.2 MB/s
25hWARNING  Received "500: INTERNAL SERVER ERROR"                                  
         Package upload appears to have failed. Retry 5 of 5.                   
WARNING  Error during upload. Retry with the --verbose option for more details. 
ERROR    HTTPError: [50](https://github.com/jazzband/django-revproxy/actions/runs/4272307639/jobs/7437352667#step:7:51)0 Internal Server Error from                              
         https://jazzband.co/projects/django-revproxy/upload                    
         INTERNAL SERVER ERROR

Could anybody help me? :)

UPDATE: I can confirm that JAZZBAND_RELEASE_KEY is not set.

##[debug]Expanded: (true && ('push' == 'push') && startsWith('refs/tags/0.11.0', 'refs/tags'))
##[debug]Result: true
##[debug]Starting: Upload packages to Jazzband
##[debug]Loading inputs
##[debug]Evaluating: secrets.JAZZBAND_RELEASE_KEY
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'JAZZBAND_RELEASE_KEY'
##[debug]=> null
##[debug]Result: null
##[debug]Loading env

Thanks in advance!

ddelange commented 1 year ago

workaround for now:

pip install 'django-revproxy @ https://github.com/jazzband/django-revproxy/archive/refs/tags/0.11.0.zip'
954-Ivory commented 1 year ago

workaround for now:

pip install 'django-revproxy @ https://github.com/jazzband/django-revproxy/archive/refs/tags/0.11.0.zip'

I think this is the correct command:

pip install https://github.com/jazzband/django-revproxy/archive/refs/tags/0.11.0.zip
ddelange commented 1 year ago

both do the same, but my notation can also be used as a requirement in another python package. without the @ will only work when passing directly to pip 👍

jezdez commented 11 months ago

I've just added the release key.

andruten commented 11 months ago

Thank you @jezdez !!