Skip to content

Commit 536f750

Browse files
committed
chore: update repo URLs and references and check for Ruff
1 parent 80c97f2 commit 536f750

4 files changed

Lines changed: 12 additions & 10 deletions

File tree

packages/sqlalchemy-bigquery/.repo-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"release_level": "preview",
66
"language": "python",
77
"library_type": "INTEGRATION",
8-
"repo": "googleapis/python-bigquery-sqlalchemy",
8+
"repo": "googleapis/google-cloud-python",
99
"distribution_name": "sqlalchemy-bigquery",
1010
"api_id": "bigquery.googleapis.com",
1111
"default_version": "",

packages/sqlalchemy-bigquery/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-bigquery-sqlalchemy`` from your GitHub account to your local
4444
computer, substituting your account username and specifying the destination
45-
as ``hack-on-python-bigquery-sqlalchemy``. E.g.::
45+
as ``hack-on-google-cloud-python``. E.g.::
4646

4747
$ cd ${HOME}
48-
$ git clone git@github.com:USERNAME/python-bigquery-sqlalchemy.git hack-on-python-bigquery-sqlalchemy
49-
$ cd hack-on-python-bigquery-sqlalchemy
50-
# Configure remotes such that you can pull changes from the googleapis/python-bigquery-sqlalchemy
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-bigquery-sqlalchemy.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-bigquery-sqlalchemy
63+
.. _repo: https://github.com/googleapis/google-cloud-python/tree/main/packages/sqlalchemy-bigquery
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-bigquery-sqlalchemy/blob/main/CONTRIBUTING.rst``)
212+
``https://github.com/googleapis/google-cloud-python/blob/main/packages/sqlalchemy-bigquery/CONTRIBUTING.rst``)
213213
may cause problems creating links or rendering the description.
214214

215215
.. _description on PyPI: https://pypi.org/project/sqlalchemy-bigquery
@@ -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-bigquery-sqlalchemy/blob/main/noxfile.py
241+
.. _config: https://github.com/googleapis/google-cloud-python/blob/main/packages/sqlalchemy-bigquery/noxfile.py
242242

243243

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

packages/sqlalchemy-bigquery/noxfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ def install_unittest_dependencies(session, *constraints):
244244
def unit(session, protobuf_implementation, install_extras=True):
245245
# Install all test dependencies, then install this package in-place.
246246

247+
if session.python in ("3.7",):
248+
session.skip("Python 3.7 is no longer supported")
247249
if protobuf_implementation == "cpp" and session.python in (
248250
"3.11",
249251
"3.12",

packages/sqlalchemy-bigquery/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def readme():
9292
"sqlalchemy_bigquery_vendored": "third_party/sqlalchemy_bigquery_vendored",
9393
},
9494
packages=packages,
95-
url="https://github.com/googleapis/python-bigquery-sqlalchemy",
95+
url="https://github.com/googleapis/google-cloud-python/tree/main/packages/sqlalchemy-bigquery",
9696
keywords=["bigquery", "sqlalchemy"],
9797
classifiers=[
9898
release_status,

0 commit comments

Comments
 (0)