Skip to content

Commit

Permalink
fix(pypi): add .tgz extension (renovatebot#29956)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jul 1, 2024
1 parent 72caed7 commit 6d30cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/datasource/pypi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export class PypiDatasource extends Datasource {
// source packages
const srcText = PypiDatasource.normalizeName(text);
const srcPrefix = `${packageName}-`;
const srcSuffixes = ['.tar.gz', '.tar.bz2', '.tar.xz', '.zip'];
const srcSuffixes = ['.tar.gz', '.tar.bz2', '.tar.xz', '.zip', '.tgz'];
if (
srcText.startsWith(srcPrefix) &&
srcSuffixes.some((srcSuffix) => srcText.endsWith(srcSuffix))
Expand Down

0 comments on commit 6d30cc9

Please sign in to comment.