Closed
Description
Filing separately from #112 , since the $PATH issues outlined there seem separate from what I'm experiencing.
Version: e71a4a4
Example failure:
https://github.com/foxglove/mcap/actions/runs/3634377846/jobs/6132519798#step:11:20
with:
user: __token__
password: ***
packages_dir: python/mcap/dist
repository_url: https://test.pypi.org/legacy/
skip_existing: true
verify_metadata: true
verbose: false
print_hash: false
env:
pythonLocation: /opt/hostedtoolcache/Python/[3](https://github.com/foxglove/mcap/actions/runs/3634377846/jobs/6132519798#step:11:3).7.15/x6[4](https://github.com/foxglove/mcap/actions/runs/3634377846/jobs/6132519798#step:11:4)
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.7.1[5](https://github.com/foxglove/mcap/actions/runs/3634377846/jobs/6132519798#step:11:5)/x[6](https://github.com/foxglove/mcap/actions/runs/3634377846/jobs/6132519798#step:11:6)4/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.7.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.7.15/x64/lib
/usr/bin/docker run --name ac8f0bed99144e79bbebae175f60826_b0a163 --label 290506 --workdir /github/workspace --rm -e "pythonLocation" -e "PKG_CONFIG_PATH" -e "Python_ROOT_DIR" -e "Python2_ROOT_DIR" -e "Python3_ROOT_DIR" -e "LD_LIBRARY_PATH" -e "INPUT_USER" -e "INPUT_PASSWORD" -e "INPUT_PACKAGES_DIR" -e "INPUT_REPOSITORY_URL" -e "INPUT_SKIP_EXISTING" -e "INPUT_VERIFY_METADATA" -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_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -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_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/mcap/mcap":"/github/workspace" 290506:6ac8f0bed99144e79bbebae175f60826 "__token__" "***" "https://test.pypi.org/legacy/" "python/mcap/dist" "true" "true" "false" "false"
/app/twine-upload.sh: line 50: twine: command not found
Action configuration:
https://github.com/foxglove/mcap/blob/0b5fcf170aa8cb265a38fa2ffc03cb9b53fc131c/.github/workflows/ci.yml#L256:L278
python:
runs-on: ubuntu-latest
defaults:
run:
working-directory: python
steps:
- uses: actions/checkout@v3
with:
lfs: true
- uses: actions/setup-python@v4
with:
python-version: 3.7
- uses: satackey/action-docker-layer-caching@v0.0.11
continue-on-error: true
- run: pip install pipenv==2022.7.24
- run: make lint
- run: make test
- run: make examples
- run: make build
- name: Publish mcap to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
with:
user: __token__
password: ${{ secrets.TESTPYPI_API_TOKEN }}
packages_dir: python/mcap/dist
repository_url: https://test.pypi.org/legacy/
skip_existing: true