Skip to content

Commit

Permalink
Add tests for PACKAGE_VERSION strategy with multiple functions
Browse files Browse the repository at this point in the history
These are not working correctly yet as `uv sync` is changing the lockfile in a
way that's breaking things. Committing so can make a PR and get help debugging
further.
  • Loading branch information
chrismcg committed Nov 29, 2024
1 parent 3fbc70c commit 13a5066
Show file tree
Hide file tree
Showing 2 changed files with 400 additions and 39 deletions.
2 changes: 2 additions & 0 deletions src/bundling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ export class Bundling {
? `--package ${workspacePackage}`
: '';
const uvTreeOptions = [
'--python-preference=only-system', // will be running the lambda python
'--no-dev', // don't need dev dependencies
'--frozen', // don't try and update the lock file
];
const command = `cd ${options.rootDir} && uv tree ${uvTreeOptions.join(' ')} ${uvPackageArgs}`;
Expand Down
Loading

0 comments on commit 13a5066

Please sign in to comment.