Skip to content

Commit 61a8839

Browse files
committed
fix: pythonic pipelines rerun uv sync on all builds/runs.
1 parent 1563684 commit 61a8839

5 files changed

Lines changed: 326 additions & 8 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SOURCE_TYPE=repo
2+
SOURCE_ADDRESS=https://github.com/dotnet/docfx.git

docs/reference/misc/external/language-ext-v4/.source.env

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/extensions/Flowthru.Extensions.Python/Runtime/PythonRuntimeOptions.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -431,12 +431,6 @@ public List<string> GetResolvedModuleSearchPaths()
431431
var venvPath = Path.Combine(directory, ".venv");
432432
var pyvenvCfg = Path.Combine(venvPath, "pyvenv.cfg");
433433

434-
// If .venv already exists and is valid, return it immediately
435-
if (File.Exists(pyvenvCfg))
436-
{
437-
return venvPath;
438-
}
439-
440434
// Check if uv manifest files exist
441435
if (!File.Exists(pyprojectPath) || !File.Exists(uvLockPath))
442436
{

tests/Flowthru.Tests.Examples/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dependencies = [
1212
"matplotlib>=3.5.0",
1313
"seaborn~=0.12.1",
1414
"plotly>=5.0.0",
15+
"kaleido>=0.2.1",
1516
]
1617

1718
[tool.uv]

0 commit comments

Comments
 (0)