Skip to content

Commit

Permalink
chore: apply v2 trove classifier on v2 python packages
Browse files Browse the repository at this point in the history
Those are currently incorrectly listed against version 1 of the
Framework :: AWS CDK trove classifier. This changes so the v2 branch
correctly uses version 2 here.
  • Loading branch information
RomainMuller committed Mar 30, 2022
1 parent 3d71e44 commit 2cf4baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/@aws-cdk/pkglint/lib/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ export class JSIIPythonTarget extends ValidationRule {

expectJSON(this.name, pkg, 'jsii.targets.python.distName', moduleName.python.distName);
expectJSON(this.name, pkg, 'jsii.targets.python.module', moduleName.python.module);
expectJSON(this.name, pkg, 'jsii.targets.python.classifiers', ['Framework :: AWS CDK', 'Framework :: AWS CDK :: 1']);
expectJSON(this.name, pkg, 'jsii.targets.python.classifiers', ['Framework :: AWS CDK', `Framework :: AWS CDK :: ${cdkMajorVersion()}`]);
}
}

Expand Down

0 comments on commit 2cf4baf

Please sign in to comment.