From db0322d870419a5799f87cb07192c552bb1427ef Mon Sep 17 00:00:00 2001 From: jpburbank Date: Fri, 20 Aug 2021 22:47:04 -0700 Subject: [PATCH 01/11] test output to see when it loads in --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 3852af3d..804e8af8 100644 --- a/setup.py +++ b/setup.py @@ -41,6 +41,8 @@ if "google.cloud" in packages: namespaces.append("google.cloud") +print("***** JPB *****) + setuptools.setup( author="Google LLC", author_email="cloud-spanner-developers@googlegroups.com", From f9486e6ee492497a8f894547786c482499fda952 Mon Sep 17 00:00:00 2001 From: jpburbank Date: Fri, 20 Aug 2021 22:58:42 -0700 Subject: [PATCH 02/11] forgotten end quote --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 804e8af8..d16b128d 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ if "google.cloud" in packages: namespaces.append("google.cloud") -print("***** JPB *****) +print("***** JPB *****") setuptools.setup( author="Google LLC", From 6b7d1334de05184d2baf4800efda91ff5fa87a2f Mon Sep 17 00:00:00 2001 From: jpburbank Date: Tue, 28 Sep 2021 11:38:00 -0700 Subject: [PATCH 03/11] Update setup.py --- setup.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index d16b128d..2c38f612 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ name = "sqlalchemy-spanner" description = "SQLAlchemy dialect integrated into Cloud Spanner database" -dependencies = ["sqlalchemy>=1.1.13, <=1.3.23", "google-cloud-spanner>=3.3.0"] +dependencies = ["sqlalchemy>=1.1.13, <=1.3.23", "google-cloud-spanner-tmp>=3.3.0"] extras = { "tracing": [ "opentelemetry-api >= 1.1.0", @@ -41,12 +41,13 @@ if "google.cloud" in packages: namespaces.append("google.cloud") -print("***** JPB *****") - setuptools.setup( author="Google LLC", author_email="cloud-spanner-developers@googlegroups.com", classifiers=["Intended Audience :: Developers"], + dependency_links=[ + "https://github.com/jpburbank/python-spanner-tmp", + ], description=description, entry_points={ "sqlalchemy.dialects": [ From 7ea0954630b804f105be29e3b66c6da606900422 Mon Sep 17 00:00:00 2001 From: jpburbank Date: Tue, 28 Sep 2021 11:41:39 -0700 Subject: [PATCH 04/11] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f601c077..c57ced39 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +# This is a fork for the sole reason to be able to use a different repo fork with a bug fix in it. Waiting on corporate to sign a CLA so that a PR may be made. Once that has been accepted, this fork will be deleted and so will the other with the fix. + # Spanner dialect for SQLAlchemy Spanner dialect for SQLAlchemy represents an interface API designed to make it possible to control Cloud Spanner databases with SQLAlchemy API. The dialect is built on top of [the Spanner DB API](https://github.com/googleapis/python-spanner/tree/master/google/cloud/spanner_dbapi), which is designed in accordance with [PEP-249](https://www.python.org/dev/peps/pep-0249/). From 7a22c59bac49702c9919b2cd764e5805027b77f6 Mon Sep 17 00:00:00 2001 From: jpburbank Date: Tue, 28 Sep 2021 11:43:07 -0700 Subject: [PATCH 05/11] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c57ced39..c159384f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# This is a fork for the sole reason to be able to use a different repo fork with a bug fix in it. Waiting on corporate to sign a CLA so that a PR may be made. Once that has been accepted, this fork will be deleted and so will the other with the fix. +# This is a fork +This exists for the sole reason to be able to redefine a dependency to use a different repo's fork with a bug fix in it. Waiting on corporate to sign a CLA so that a PR may be made. Once that has been accepted, this fork will be deleted and so will the other with the fix. # Spanner dialect for SQLAlchemy From d1db730b0d6b463d24b86f5ed6953143a7318e42 Mon Sep 17 00:00:00 2001 From: jpburbank Date: Tue, 28 Sep 2021 11:44:43 -0700 Subject: [PATCH 06/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c159384f..e47d5aa7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# This is a fork +# THIS IS A FORK This exists for the sole reason to be able to redefine a dependency to use a different repo's fork with a bug fix in it. Waiting on corporate to sign a CLA so that a PR may be made. Once that has been accepted, this fork will be deleted and so will the other with the fix. # Spanner dialect for SQLAlchemy From 85d617b485e4940f8218d90d13c54b5c9ab9feda Mon Sep 17 00:00:00 2001 From: jpburbank Date: Tue, 28 Sep 2021 12:36:23 -0700 Subject: [PATCH 07/11] Update setup.py --- setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 2c38f612..3852af3d 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ name = "sqlalchemy-spanner" description = "SQLAlchemy dialect integrated into Cloud Spanner database" -dependencies = ["sqlalchemy>=1.1.13, <=1.3.23", "google-cloud-spanner-tmp>=3.3.0"] +dependencies = ["sqlalchemy>=1.1.13, <=1.3.23", "google-cloud-spanner>=3.3.0"] extras = { "tracing": [ "opentelemetry-api >= 1.1.0", @@ -45,9 +45,6 @@ author="Google LLC", author_email="cloud-spanner-developers@googlegroups.com", classifiers=["Intended Audience :: Developers"], - dependency_links=[ - "https://github.com/jpburbank/python-spanner-tmp", - ], description=description, entry_points={ "sqlalchemy.dialects": [ From b1514cb74fcaf9e0e7d16e5c31ee9fb998af1b7b Mon Sep 17 00:00:00 2001 From: jpburbank Date: Tue, 28 Sep 2021 12:50:18 -0700 Subject: [PATCH 08/11] Update provision.py --- google/cloud/sqlalchemy_spanner/provision.py | 1 + 1 file changed, 1 insertion(+) diff --git a/google/cloud/sqlalchemy_spanner/provision.py b/google/cloud/sqlalchemy_spanner/provision.py index 91ff8e92..a7371942 100644 --- a/google/cloud/sqlalchemy_spanner/provision.py +++ b/google/cloud/sqlalchemy_spanner/provision.py @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# This is a test from sqlalchemy.testing.provision import temp_table_keyword_args From 15903c2103062fa6aa6b6a0997246996d1534196 Mon Sep 17 00:00:00 2001 From: jpburbank Date: Tue, 28 Sep 2021 13:09:59 -0700 Subject: [PATCH 09/11] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3852af3d..e121dca8 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ namespace_packages=namespaces, packages=packages, url="https://github.com/cloudspannerecosystem/python-spanner-sqlalchemy", - version="0.1", + version="0.1.1", include_package_data=True, zip_safe=False, ) From 337c1ead67ee85dccb7c06486b46bcf12b18f438 Mon Sep 17 00:00:00 2001 From: jpburbank Date: Tue, 28 Sep 2021 15:38:34 -0700 Subject: [PATCH 10/11] Update setup.py --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index e121dca8..37a6e046 100644 --- a/setup.py +++ b/setup.py @@ -45,6 +45,9 @@ author="Google LLC", author_email="cloud-spanner-developers@googlegroups.com", classifiers=["Intended Audience :: Developers"], + dependency_links=[ + "https://github.com/jpburbank/python-spanner-tmp", + ], description=description, entry_points={ "sqlalchemy.dialects": [ From 7ec4c91197356095ea36410296852a3250035d4b Mon Sep 17 00:00:00 2001 From: jpburbank Date: Tue, 28 Sep 2021 15:57:45 -0700 Subject: [PATCH 11/11] Update setup.py --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 37a6e046..1d78aa67 100644 --- a/setup.py +++ b/setup.py @@ -17,9 +17,9 @@ # Package metadata. -name = "sqlalchemy-spanner" +name = "sqlalchemy-spanner-tmp" description = "SQLAlchemy dialect integrated into Cloud Spanner database" -dependencies = ["sqlalchemy>=1.1.13, <=1.3.23", "google-cloud-spanner>=3.3.0"] +dependencies = ["sqlalchemy>=1.1.13, <=1.3.23", "google-cloud-spanner-tmp>=3.3.0"] extras = { "tracing": [ "opentelemetry-api >= 1.1.0",