Skip to content

Commit 8c54037

Browse files
committed
chore: update repo URLs and references and check for Ruff
1 parent 894c2d3 commit 8c54037

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

packages/google-cloud-spanner/.repo-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"release_level": "stable",
88
"language": "python",
99
"library_type": "GAPIC_COMBO",
10-
"repo": "googleapis/python-spanner",
10+
"repo": "googleapis/google-cloud-python",
1111
"distribution_name": "google-cloud-spanner",
1212
"api_id": "spanner.googleapis.com",
1313
"requires_billing": true,

packages/google-cloud-spanner/CONTRIBUTING.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ You'll have to create a development environment using a Git checkout:
4242

4343
- Clone your fork of ``python-spanner`` from your GitHub account to your local
4444
computer, substituting your account username and specifying the destination
45-
as ``hack-on-python-spanner``. E.g.::
45+
as ``hack-on-google-cloud-python``. E.g.::
4646

4747
$ cd ${HOME}
48-
$ git clone git@github.com:USERNAME/python-spanner.git hack-on-python-spanner
49-
$ cd hack-on-python-spanner
50-
# Configure remotes such that you can pull changes from the googleapis/python-spanner
48+
$ git clone git@github.com:USERNAME/google-cloud-python.git hack-on-google-cloud-python
49+
$ cd hack-on-google-cloud-python
50+
# Configure remotes such that you can pull changes from the googleapis/google-cloud-python
5151
# repository into your local repository.
52-
$ git remote add upstream git@github.com:googleapis/python-spanner.git
52+
$ git remote add upstream git@github.com:googleapis/google-cloud-python.git
5353
# fetch and merge changes from upstream into main
5454
$ git fetch upstream
5555
$ git merge upstream/main
@@ -60,7 +60,7 @@ repo, from which you can submit a pull request.
6060
To work on the codebase and run the tests, we recommend using ``nox``,
6161
but you can also use a ``virtualenv`` of your own creation.
6262

63-
.. _repo: https://github.com/googleapis/python-spanner
63+
.. _repo: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-spanner
6464

6565
Using ``nox``
6666
=============
@@ -209,7 +209,7 @@ The `description on PyPI`_ for the project comes directly from the
209209
``README``. Due to the reStructuredText (``rst``) parser used by
210210
PyPI, relative links which will work on GitHub (e.g. ``CONTRIBUTING.rst``
211211
instead of
212-
``https://github.com/googleapis/python-spanner/blob/main/CONTRIBUTING.rst``)
212+
``https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-spanner/CONTRIBUTING.rst``)
213213
may cause problems creating links or rendering the description.
214214

215215
.. _description on PyPI: https://pypi.org/project/google-cloud-spanner
@@ -238,7 +238,7 @@ We support:
238238

239239
Supported versions can be found in our ``noxfile.py`` `config`_.
240240

241-
.. _config: https://github.com/googleapis/python-spanner/blob/main/noxfile.py
241+
.. _config: https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-spanner/noxfile.py
242242

243243

244244
We also explicitly decided to support Python 3 beginning with version 3.9.

packages/google-cloud-spanner/noxfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ def install_unittest_dependencies(session, *constraints):
201201
def unit(session, protobuf_implementation):
202202
# Install all test dependencies, then install this package in-place.
203203

204+
if session.python in ("3.7",):
205+
session.skip("Python 3.7 is no longer supported")
204206
if protobuf_implementation == "cpp" and session.python in (
205207
"3.11",
206208
"3.12",

packages/google-cloud-spanner/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
]
5959
extras = {"libcst": "libcst >= 0.2.5"}
6060

61-
url = "https://github.com/googleapis/python-spanner"
61+
url = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-spanner"
6262

6363
package_root = os.path.abspath(os.path.dirname(__file__))
6464

0 commit comments

Comments
 (0)