Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Move schema source/generation out of samtranslator package #2825

Merged

Conversation

aahung
Copy link
Contributor

@aahung aahung commented Jan 27, 2023

Issue #, if available

Description of changes

The generated schema files stay in samtranslator/schema, everything else moved to schema_source.
This removes pydantic from our pypi requirement

Description of how you validated changes

Checklist

Examples?

Please reach out in the comments if you want to add an example. Examples will be
added to sam init through aws/aws-sam-cli-app-templates.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@aahung aahung force-pushed the move-schema-src-out-of-samtranslator-package branch from ab12fd0 to ed24a5d Compare January 27, 2023 19:26
@aahung aahung force-pushed the move-schema-src-out-of-samtranslator-package branch from ed24a5d to 4616b5a Compare January 27, 2023 19:33
@aahung aahung marked this pull request as ready for review January 27, 2023 19:34
@aahung aahung requested a review from a team as a code owner January 27, 2023 19:34
@aahung aahung requested a review from hoffa January 27, 2023 19:35
@aahung aahung enabled auto-merge (squash) January 27, 2023 19:36
@aahung aahung force-pushed the move-schema-src-out-of-samtranslator-package branch from 4616b5a to eb359a8 Compare January 27, 2023 19:39
@aahung aahung force-pushed the move-schema-src-out-of-samtranslator-package branch from eb359a8 to fe6899b Compare January 27, 2023 19:43
@hoffa hoffa disabled auto-merge January 27, 2023 19:49
@aahung aahung merged commit b906765 into aws:develop Jan 27, 2023
@aahung aahung deleted the move-schema-src-out-of-samtranslator-package branch January 27, 2023 20:14
@musicinmybrain
Copy link
Contributor

As a result of this PR, schema_source is installed in site-packages beginning with 1.60.0. I expect this was not intentional. This directory could be excluded in:

exclude=("bin", "bin.*", "tests", "tests.*", "integration", "integration.*", "docs", "examples", "versions")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants