Skip to content

Commit f1c465d

Browse files
authored
chore: apply v2 trove classifier on v2 python packages (#19630)
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. ---- ### All Submissions: * [X] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)? * [ ] Did you use `cdk-integ` to deploy the infrastructure and generate the snapshot (i.e. `cdk-integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent e7f43d1 commit f1c465d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/@aws-cdk/pkglint/lib/rules.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ export class JSIIPythonTarget extends ValidationRule {
809809

810810
expectJSON(this.name, pkg, 'jsii.targets.python.distName', moduleName.python.distName);
811811
expectJSON(this.name, pkg, 'jsii.targets.python.module', moduleName.python.module);
812-
expectJSON(this.name, pkg, 'jsii.targets.python.classifiers', ['Framework :: AWS CDK', 'Framework :: AWS CDK :: 1']);
812+
expectJSON(this.name, pkg, 'jsii.targets.python.classifiers', ['Framework :: AWS CDK', `Framework :: AWS CDK :: ${cdkMajorVersion()}`]);
813813
}
814814
}
815815

0 commit comments

Comments
 (0)