Skip to content

Commit a0e07bf

Browse files
committed
skip google-cloud-documentai-toolbox
1 parent d167d00 commit a0e07bf

3 files changed

Lines changed: 6 additions & 16 deletions

File tree

.github/workflows/unittest.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,6 @@ jobs:
7373
with:
7474
enable-cache: true
7575
cache-dependency-glob: 'packages/**/testing/constraints*.txt'
76-
# Temporarily needed for Python 3.15+.
77-
# Packages like `lxml` (required by `pikepdf` -> `google-cloud-documentai-toolbox`)
78-
# do not have precompiled binary wheels on PyPI for Python 3.15 yet.
79-
# This requires building `lxml` from source, which uses local
80-
# system headers. Once stable Python 3.15 is released and `lxml` wheels are
81-
# published to PyPI, this step can be safely removed.
82-
- name: Install libxml2 and libxslt dependencies
83-
run: |
84-
sudo apt-get update
85-
sudo apt-get install -y libxml2-dev libxslt1-dev
86-
8776
- name: Install nox
8877
run: |
8978
uv pip install --system nox nox-uv

packages/google-cloud-documentai-toolbox/noxfile.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ def install_unittest_dependencies(session, *constraints):
189189
)
190190
def unit(session, protobuf_implementation):
191191
# Install all test dependencies, then install this package in-place.
192+
if session.python == "3.15":
193+
session.skip(
194+
"Skipping 3.15 until wheels are available for numba (from pandas) and lxml (from pikepdf)"
195+
)
192196

193197
constraints_path = str(
194198
CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"

packages/google-cloud-documentai-toolbox/setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,8 @@
5454
},
5555
install_requires=(
5656
"google-api-core>=2.15.0, <3.0.0",
57-
# For Python < 3.15: Install with performance extras (which includes numba)
58-
"pandas[performance,gcp]>=2.0.0, <3.0.0; python_version < '3.15'",
59-
# pandas[performance] requires numba which does not have 3.15 support yet
60-
"pandas[gcp]>=2.0.0, <3.0.0;python_version>='3.15'",
61-
"pyarrow>=15.0.0",
57+
"pandas[performance,gcp]>=2.0.0, <3.0.0",
58+
"pyarrow>=15.0.0, <23.0.0",
6259
"tabulate>=0.9.0, <1.0.0",
6360
"proto-plus>=1.22.3, <2.0.0",
6461
"proto-plus >= 1.25.0, <2.0.0; python_version>='3.13'",

0 commit comments

Comments
 (0)