Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
14cefcd
chore: Add support for Python 3.13
arwas11 Jan 21, 2025
e8e4811
Merge branch 'main' into update-to-python-3-13
arwas11 Jan 21, 2025
9f65105
Merge remote-tracking branch 'origin/main' into update-to-python-3-13
arwas11 Jan 22, 2025
c998c11
update contibuting.rst with the the new version
arwas11 Jan 22, 2025
0a46d4a
skip sklearn import
arwas11 Jan 22, 2025
8414fad
Merge branch 'main' into update-to-python-3-13
arwas11 Jan 23, 2025
d75a1b3
Merge remote-tracking branch 'origin/main' into update-to-python-3-13
arwas11 Jan 23, 2025
db78d65
Merge remote-tracking branch 'origin/update-to-python-3-13' into upda…
arwas11 Jan 23, 2025
4c9e4a6
skip api coverage tests because of sklearn NameError
arwas11 Jan 24, 2025
1bd284d
Merge remote-tracking branch 'origin/main' into update-to-python-3-13
arwas11 Jan 24, 2025
678b676
skip remote function tests
arwas11 Jan 24, 2025
25bc738
skip all remote function tests and doctests
arwas11 Jan 24, 2025
106af9a
update doctest python version to 3.12 in noxfile
arwas11 Jan 28, 2025
cf91455
Merge branch 'main' into update-to-python-3-13
arwas11 Jan 28, 2025
57f7227
Update noxfile.py
tswast Jan 28, 2025
213eaeb
Merge branch 'main' into update-to-python-3-13
tswast Jan 28, 2025
875f59a
Merge branch 'main' into update-to-python-3-13
arwas11 Jan 28, 2025
3fca9ab
Merge branch 'main' into update-to-python-3-13
arwas11 Jan 28, 2025
366e4f8
fix the system_pre-release error
arwas11 Jan 28, 2025
a389687
Merge remote-tracking branch 'origin/update-to-python-3-13' into upda…
arwas11 Jan 28, 2025
102f2cb
Merge branch 'main' into update-to-python-3-13
arwas11 Jan 28, 2025
ad9110b
Merge branch 'main' into update-to-python-3-13
arwas11 Jan 28, 2025
d3279d6
Merge remote-tracking branch 'origin/main' into update-to-python-3-13
tswast Jan 29, 2025
66f584d
skip remote functions notebooks on 3.13 tests
tswast Jan 29, 2025
770fef2
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Jan 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update doctest python version to 3.12 in noxfile
  • Loading branch information
arwas11 committed Jan 28, 2025
commit 106af9a574a51a4611073ba608b0d6a07829f665
1 change: 0 additions & 1 deletion bigframes/session/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,6 @@ def read_gbq_function(
(See: https://github.com/GoogleCloudPlatform/bigquery-utils/tree/master/udfs/community#community-udfs).

**Examples:**
.. doctest-skip-all

>>> import bigframes.pandas as bpd
>>> bpd.options.display.progress_bar = None
Expand Down
15 changes: 4 additions & 11 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@
import shutil
import time
from typing import Dict, List
import warnings

import nox
import nox.sessions

BLACK_VERSION = "black==22.3.0"
ISORT_VERSION = "isort==5.12.0"

# TODO: switch to 3.13 once remote functions / cloud run adds a runtime for it (internal issue 333742751)
LATEST_FULLY_SUPPORTED_PYTHON = "3.12"

# pytest-retry is not yet compatible with pytest 8.x.
# https://github.com/str0zzapreti/pytest-retry/issues/32
PYTEST_VERSION = "pytest<8.0.0dev"
Expand All @@ -57,7 +59,6 @@
"pytest-asyncio",
"pytest-mock",
]
UNIT_TEST_EXTERNAL_DEPENDENCIES: List[str] = []
UNIT_TEST_LOCAL_DEPENDENCIES: List[str] = []
UNIT_TEST_DEPENDENCIES: List[str] = []
UNIT_TEST_EXTRAS: List[str] = []
Expand Down Expand Up @@ -169,14 +170,6 @@ def install_unittest_dependencies(session, install_test_extra, *constraints):
standard_deps = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_DEPENDENCIES
session.install(*standard_deps, *constraints)

if UNIT_TEST_EXTERNAL_DEPENDENCIES:
msg = (
"'unit_test_external_dependencies' is deprecated. Instead, please "
"use 'unit_test_dependencies' or 'unit_test_local_dependencies'.",
)
warnings.warn(msg, DeprecationWarning)
session.install(*UNIT_TEST_EXTERNAL_DEPENDENCIES, *constraints)

if UNIT_TEST_LOCAL_DEPENDENCIES:
session.install(*UNIT_TEST_LOCAL_DEPENDENCIES, *constraints)

Expand Down Expand Up @@ -386,7 +379,7 @@ def system_noextras(session: nox.sessions.Session):
)


@nox.session(python=SYSTEM_TEST_PYTHON_VERSIONS[-1])
@nox.session(python=LATEST_FULLY_SUPPORTED_PYTHON)
def doctest(session: nox.sessions.Session):
"""Run the system test suite."""
run_system(
Expand Down
2 changes: 0 additions & 2 deletions third_party/bigframes_vendored/pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -4358,7 +4358,6 @@ def map(self, func, na_action: Optional[str] = None) -> DataFrame:
DataFrame.map.

**Examples:**
.. doctest-skip-all

>>> import bigframes.pandas as bpd
>>> bpd.options.display.progress_bar = None
Expand Down Expand Up @@ -4719,7 +4718,6 @@ def apply(self, func, *, axis=0, args=(), **kwargs):
``axis=1`` scenario is in preview.

**Examples:**
.. doctest-skip-all

>>> import bigframes.pandas as bpd
>>> import pandas as pd
Expand Down
3 changes: 0 additions & 3 deletions third_party/bigframes_vendored/pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -1772,7 +1772,6 @@ def apply(
python function then converting it into a `remote_function` is recommended.

**Examples:**
.. doctest-skip-all

>>> import bigframes.pandas as bpd
>>> bpd.options.display.progress_bar = None
Expand Down Expand Up @@ -4936,7 +4935,6 @@ def mask(self, cond, other):
"""Replace values where the condition is True.

**Examples:**
.. doctest-skip-all

>>> import bigframes.pandas as bpd
>>> bpd.options.display.progress_bar = None
Expand Down Expand Up @@ -5556,7 +5554,6 @@ def map(
are treated the same as ``dict``.

**Examples:**
.. doctest-skip-all

>>> import bigframes.pandas as bpd
>>> bpd.options.display.progress_bar = None
Expand Down