Skip to content

Commit

Permalink
Remove jinja templates in poetry pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaweikho committed Dec 15, 2024
1 parent 40652aa commit fa5430b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/manager/poetry/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function getPoetryRequirement(
function getPoetrySources(content: string, fileName: string): PoetrySource[] {
let pyprojectFile: PoetryFile;
try {
pyprojectFile = parseToml(content) as PoetryFile;
pyprojectFile = parseToml(content, { removeTemplates: true }) as PoetryFile;
} catch (err) {
logger.debug({ err }, 'Error parsing pyproject.toml file');
return [];
Expand Down

0 comments on commit fa5430b

Please sign in to comment.