Skip to content

Commit 92936e2

Browse files
committed
chore: update repo URLs and references and check for Ruff
1 parent 7fe41c8 commit 92936e2

File tree

6 files changed

+21
-19
lines changed

6 files changed

+21
-19
lines changed

packages/bigframes/.repo-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"release_level": "preview",
88
"language": "python",
99
"library_type": "INTEGRATION",
10-
"repo": "googleapis/python-bigquery-dataframes",
10+
"repo": "googleapis/google-cloud-python",
1111
"distribution_name": "bigframes",
1212
"api_id": "bigquery.googleapis.com",
1313
"default_version": "",

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

4747
$ cd ${HOME}
48-
$ git clone git@github.com:USERNAME/python-bigquery-dataframes.git hack-on-python-bigquery-dataframes
49-
$ cd hack-on-python-bigquery-dataframes
50-
# Configure remotes such that you can pull changes from the googleapis/python-bigquery-dataframes
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-dataframes.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-dataframes
63+
.. _repo: https://github.com/googleapis/google-cloud-python/tree/main/packages/bigframes
6464

6565
Using ``nox``
6666
=============
@@ -246,7 +246,7 @@ The `description on PyPI`_ for the project comes directly from the
246246
``README``. Due to the reStructuredText (``rst``) parser used by
247247
PyPI, relative links which will work on GitHub (e.g. ``CONTRIBUTING.rst``
248248
instead of
249-
``https://github.com/googleapis/python-bigquery-dataframes/blob/main/CONTRIBUTING.rst``)
249+
``https://github.com/googleapis/google-cloud-python/blob/main/packages/bigframes/CONTRIBUTING.rst``)
250250
may cause problems creating links or rendering the description.
251251

252252
.. _description on PyPI: https://pypi.org/project/bigframes
@@ -273,7 +273,7 @@ We support:
273273

274274
Supported versions can be found in our ``noxfile.py`` `config`_.
275275

276-
.. _config: https://github.com/googleapis/python-bigquery-dataframes/blob/main/noxfile.py
276+
.. _config: https://github.com/googleapis/google-cloud-python/blob/main/packages/bigframes/noxfile.py
277277

278278

279279
We also explicitly decided to support Python 3 beginning with version 3.10.

packages/bigframes/README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ for many use cases, including:
1616
* `bigframes.bigquery.ai <https://dataframes.bigquery.dev/reference/api/bigframes.bigquery.ai.html>`_
1717
are a collection of powerful AI methods, powered by Gemini.
1818

19-
BigQuery DataFrames is an `open-source package <https://github.com/googleapis/python-bigquery-dataframes>`_.
19+
BigQuery DataFrames is an `open-source package <https://github.com/googleapis/google-cloud-python>`_.
2020

2121
.. |GA| image:: https://img.shields.io/badge/support-GA-gold.svg
2222
:target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#general-availability
@@ -64,15 +64,15 @@ Documentation
6464
To learn more about BigQuery DataFrames, visit these pages
6565

6666
* `Introduction to BigQuery DataFrames (BigFrames) <https://cloud.google.com/bigquery/docs/bigquery-dataframes-introduction>`_
67-
* `Sample notebooks <https://github.com/googleapis/python-bigquery-dataframes/tree/main/notebooks>`_
67+
* `Sample notebooks <https://github.com/googleapis/google-cloud-python/tree/main/notebooks>`_
6868
* `API reference <https://dataframes.bigquery.dev/>`_
69-
* `Source code (GitHub) <https://github.com/googleapis/python-bigquery-dataframes>`_
69+
* `Source code (GitHub) <https://github.com/googleapis/google-cloud-python>`_
7070

7171
License
7272
-------
7373

7474
BigQuery DataFrames is distributed with the `Apache-2.0 license
75-
<https://github.com/googleapis/python-bigquery-dataframes/blob/main/LICENSE>`_.
75+
<https://github.com/googleapis/google-cloud-python/blob/main/LICENSE>`_.
7676

7777
It also contains code derived from the following third-party packages:
7878

@@ -84,7 +84,7 @@ It also contains code derived from the following third-party packages:
8484
* `SQLGlot <https://sqlglot.com/sqlglot.html>`_
8585

8686
For details, see the `third_party
87-
<https://github.com/googleapis/python-bigquery-dataframes/tree/main/third_party/bigframes_vendored>`_
87+
<https://github.com/googleapis/google-cloud-python/tree/main/third_party/bigframes_vendored>`_
8888
directory.
8989

9090

packages/bigframes/docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
# documentation.
161161
# https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/layout.html#references
162162
html_theme_options = {
163-
"github_url": "https://github.com/googleapis/python-bigquery-dataframes",
163+
"github_url": "https://github.com/googleapis/google-cloud-python",
164164
"logo": {
165165
"text": "BigQuery DataFrames (BigFrames)",
166166
},

packages/bigframes/noxfile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ def run_unit(session, install_test_extra):
244244

245245
@nox.session(python=UNIT_TEST_PYTHON_VERSIONS)
246246
def unit(session):
247+
if session.python in ("3.7",):
248+
session.skip("Python 3.7 is no longer supported")
247249
run_unit(session, install_test_extra=True)
248250

249251

@@ -600,7 +602,7 @@ def prerelease(session: nox.sessions.Session, tests_path, extra_pytest_options=(
600602
"pyarrow",
601603
# We exclude each version individually so that we can continue to test
602604
# some prerelease packages. See:
603-
# https://github.com/googleapis/python-bigquery-dataframes/pull/268#discussion_r1423205172
605+
# https://github.com/googleapis/google-cloud-python/pull/268#discussion_r1423205172
604606
# "pandas!=2.1.4, !=2.2.0rc0, !=2.2.0, !=2.2.1",
605607
"pandas",
606608
# Workaround https://github.com/googleapis/python-db-dtypes-pandas/issues/178

packages/bigframes/setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,17 +122,17 @@
122122
name=name,
123123
version=version_id,
124124
description=description,
125-
download_url="https://github.com/googleapis/python-bigquery-dataframes/releases",
125+
download_url="https://github.com/googleapis/google-cloud-python/tree/main/packages/bigframes/releases",
126126
long_description=readme,
127127
long_description_content_type="text/x-rst",
128128
author="Google LLC",
129129
author_email="bigframes-feedback@google.com",
130130
license="Apache 2.0",
131131
url="https://dataframes.bigquery.dev",
132132
project_urls={
133-
"Source": "https://github.com/googleapis/python-bigquery-dataframes",
133+
"Source": "https://github.com/googleapis/google-cloud-python/tree/main/packages/bigframes",
134134
"Changelog": "https://dataframes.bigquery.dev/changelog.html",
135-
"Issues": "https://github.com/googleapis/python-bigquery-dataframes/issues",
135+
"Issues": "https://github.com/googleapis/google-cloud-python/tree/main/packages/bigframes/issues",
136136
},
137137
classifiers=[
138138
release_status,

0 commit comments

Comments
 (0)