Skip to content

working-directory missing in python environment #586

@ArBridgeman

Description

@ArBridgeman

We cannot update to the latest PTB 1.12.0 from 1.6.0 in the pytest-plugins as the working-directory is not set for the cache variables.

https://github.com/exasol/pytest-plugins/actions/runs/18967562352/job/54167450029

Run echo "ImageOS=$ImageOS"
  echo "ImageOS=$ImageOS"
  echo "ImageVersion=$ImageVersion"
  POETRY_ENV_PATH=$(poetry config virtualenvs.path)
  POETRY_SHA=$(sha256sum poetry.lock | awk '{print $1}') #Remove trailing filename
  echo "POETRY_ENV_PATH=$POETRY_ENV_PATH" >>  $GITHUB_OUTPUT
  echo "IMAGE_OS=$ImageOS" >> $GITHUB_OUTPUT
  echo "IMAGE_VERSION=$ImageVersion" >> $GITHUB_OUTPUT
  echo "POETRY_SHA=$POETRY_SHA" >> $GITHUB_OUTPUT
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.10.18/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.10.18/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.18/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.18/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.18/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.18/x64/lib
ImageOS=ubuntu24
ImageVersion=20250929.60.1
sha256sum: poetry.lock: No such file or directory
Error: Process completed with exit code 1.

To Dos

  • Double-check other areas
  • Make fix & update changelog
  • Run branch on affected repo to verify issue is resolved
  • Create patch/feature release (check status & coord with people with work in progress)

Metadata

Metadata

Assignees

Labels

bugUnwanted / harmful behavior

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions