Skip to content

Commit

Permalink
Rename AWS package and update its deps
Browse files Browse the repository at this point in the history
This renames the AWS python package to be in line with the new core
packages, and updates its dependency to be on the new core package
rather than the old one.
  • Loading branch information
JordonPhillips committed Jan 16, 2024
1 parent 8c9703b commit 97e7198
Show file tree
Hide file tree
Showing 192 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repos:
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: python-packages/aws-smithy-python/tests/unit/auth/aws4_testsuite/
exclude: python-packages/smithy-aws-core/tests/unit/auth/aws4_testsuite/
- id: trailing-whitespace
- repo: local
hooks:
Expand Down
1 change: 0 additions & 1 deletion python-packages/aws-smithy-python/MANIFEST.in

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ python_distribution(
":pyproject",
":readme",
":notice",
"python-packages/aws-smithy-python/aws_smithy_python:source",
"python-packages/smithy-aws-core/smithy_aws_core:source",
"python-packages/smithy-python:dist",
],
provides=python_artifact(
name="aws_smithy_python",
name="smithy_aws_core",
version="0.0.1",
),
)
Expand Down
1 change: 1 addition & 0 deletions python-packages/smithy-aws-core/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include smithy_aws_core/py.typed
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# aws-smithy-python
# smithy-aws-core

This is the core package that provides AWS specific interfaces for both client and server
tooling generated by Smithy.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools", "setuptools-scm", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "aws_smithy_python"
name = "smithy_aws_core"
version = "0.0.1"
description = "Core libraries for Smithy defined AWS services in Python."
readme = "README.md"
Expand All @@ -26,11 +26,11 @@ classifiers = [
"Topic :: Software Development :: Libraries"
]
dependencies = [
"smithy-python==0.0.1"
"smithy-core==0.0.1"
]

[project.urls]
source = "https://github.com/awslabs/smithy-python/tree/develop/python-packages/aws-smithy-python"
source = "https://github.com/awslabs/smithy-python/tree/develop/python-packages/smithy-aws-core"
changelog = "https://github.com/awslabs/smithy-python/blob/develop/CHANGES.md"

[tool.setuptools]
Expand All @@ -43,4 +43,4 @@ exclude=["tests*", "codegen", "designs"]
[tool.isort]
profile = "black"
honor_noqa = true
src_paths = ["aws_smithy_python", "tests"]
src_paths = ["smithy_aws_core", "tests"]
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# language governing permissions and limitations under the License.
from datetime import datetime

from smithy_python._private.identity import Identity
from smithy_core.identity import Identity


class AWSCredentialIdentity(Identity):
Expand Down

0 comments on commit 97e7198

Please sign in to comment.