Skip to content

Conversation

@Tejas-Kochar
Copy link

@Tejas-Kochar Tejas-Kochar commented Jan 7, 2026

What changes are proposed in this pull request?

The current Makefile activates a virtual environment but does not actually use it, as commands on different lines run in different processes.
This manifested as a failure in this job run because of the wrong version of a dependancy being used. It passes after including the fix in it: see here.

This PR ensures the activated venv is used by explicitly using the path to it.

How is this tested?

Added a test which checks whether .venv is in the path of the Python installation being used.
See this job run to see the test failing.

See this job run from after the fix (test made to fail with an assert False).

You can verify this yourself by running make dev followed by make lint. It will fail if you don't have pycodestyle installed in your local python installation. If you switch to this branch and then run make dev followed by make lint, it will succeed.


NO_CHANGELOG=true

@github-actions
Copy link

github-actions bot commented Jan 7, 2026

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-py

Inputs:

  • PR number: 1192
  • Commit SHA: e6a355021d71e69f55ce0b4036c3439938ad92dc

Checks will be approved automatically on success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants