Skip to content

Commit bf3378c

Browse files
author
Val Brodsky
committed
Update min pandas version in the examples dir
1 parent 058d597 commit bf3378c

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

examples/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ dev-dependencies = [
2222
"yapf>=0.40.2",
2323
"black[jupyter]>=24.4.2",
2424
"databooks>=1.3.10",
25-
# higher versions dont support python 3.8
26-
"pandas>=2.0.3",
25+
# higher versions dont support python 3.9
26+
"pandas>=2.2.3",
2727
]
2828

2929
[tool.rye.scripts]

libs/labelbox/src/labelbox/schema/project_overview.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
from typing import Dict, List, TypedDict
1+
from typing import Dict, List
22

33
from pydantic import BaseModel
4+
from typing_extensions import TypedDict
45

56

67
class ProjectOverview(BaseModel):

libs/labelbox/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212

1313
import pytest
1414
import requests
15+
from lbox.exceptions import LabelboxError
1516

1617
from labelbox import (
1718
Classification,
1819
Client,
1920
DataRow,
2021
Dataset,
21-
LabelingFrontend,
2222
MediaType,
2323
OntologyBuilder,
2424
Option,

libs/labelbox/tests/data/test_data_row_metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import uuid
2-
from datetime import datetime
2+
from datetime import datetime, timezone
33

44
import pytest
55
from lbox.exceptions import MalformedQueryException
@@ -61,7 +61,7 @@ def big_dataset(dataset: Dataset, image_url):
6161

6262
def make_metadata(dr_id: str = None, gk: str = None) -> DataRowMetadata:
6363
msg = "A message"
64-
time = datetime.now(timezone.utc),
64+
time = datetime.now(timezone.utc)
6565

6666
metadata = DataRowMetadata(
6767
global_key=gk,

0 commit comments

Comments
 (0)