Skip to content

Commit 4879e9c

Browse files
robot-ci-heartexfern-api[bot]matt-bernstein
authored
chore: FIT-1233: update Fern and generator versions (#722)
Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Matt Bernstein <matt@humansignal.com> Co-authored-by: robot-ci-heartex <robot-ci-heartex@users.noreply.github.com>
1 parent f39939f commit 4879e9c

529 files changed

Lines changed: 64629 additions & 21768 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.fern/metadata.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"cliVersion": "3.46.0",
3+
"generatorName": "fernapi/fern-python-sdk",
4+
"generatorVersion": "4.48.1",
5+
"generatorConfig": {
6+
"pydantic_config": {
7+
"skip_validation": true
8+
},
9+
"inline_request_params": true,
10+
"package_name": "label_studio_sdk",
11+
"client": {
12+
"class_name": "LabelStudioBase",
13+
"filename": "base_client.py",
14+
"exported_class_name": "LabelStudio",
15+
"exported_filename": "client.py"
16+
},
17+
"additional_init_exports": [
18+
{
19+
"from": "_legacy",
20+
"imports": [
21+
"Client"
22+
]
23+
}
24+
],
25+
"pyproject_python_version": ">=3.10,<4",
26+
"extra_dependencies": {
27+
"pandas": ">=0.24.0",
28+
"requests": ">=2.22.0",
29+
"Pillow": ">=11.3.0",
30+
"nltk": "^3.9.1",
31+
"ujson": ">=5.8.0",
32+
"ijson": ">=3.2.3",
33+
"appdirs": ">=1.4.3",
34+
"lxml": ">=4.2.5",
35+
"xmljson": "0.2.1",
36+
"jsonschema": ">=4.23.0",
37+
"requests-mock": "1.12.1",
38+
"numpy": ">=2.2,<3.0.0",
39+
"opencv-python-headless": "^4.12.0",
40+
"datamodel-code-generator": "0.26.1",
41+
"jsf": "^0.11.2",
42+
"pyjwt": "^2.10.1",
43+
"urllib3": ">=2.5.0"
44+
},
45+
"extra_dev_dependencies": {
46+
"respx": "^0.22.0"
47+
},
48+
"pyproject_toml": "[project.scripts]\nlabel-studio-converter = \"label_studio_sdk.converter.main:main\"\n"
49+
},
50+
"sdkVersion": "2.0.17"
51+
}

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
dist/
21
.mypy_cache/
2+
.ruff_cache/
33
__pycache__/
4+
dist/
45
poetry.toml
5-
.ruff_cache/

poetry.lock

Lines changed: 440 additions & 442 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[project]
22
name = "label-studio-sdk"
3+
dynamic = ["version"]
34

45
[tool.poetry]
56
name = "label-studio-sdk"
@@ -30,11 +31,11 @@ packages = [
3031
{ include = "label_studio_sdk", from = "src"}
3132
]
3233

33-
[project.urls]
34+
[tool.poetry.urls]
3435
Repository = 'https://github.com/HumanSignal/label-studio-sdk'
3536

3637
[tool.poetry.dependencies]
37-
python = ">=3.9,<4"
38+
python = ">=3.10,<4"
3839
Pillow = ">=11.3.0"
3940
appdirs = ">=1.4.3"
4041
datamodel-code-generator = "0.26.1"
@@ -44,11 +45,11 @@ jsf = "^0.11.2"
4445
jsonschema = ">=4.23.0"
4546
lxml = ">=4.2.5"
4647
nltk = "^3.9.1"
47-
numpy = ">=1.26.4,<3.0.0"
48+
numpy = ">=2.2,<3.0.0"
4849
opencv-python-headless = "^4.12.0"
4950
pandas = ">=0.24.0"
5051
pydantic = ">= 1.9.2"
51-
pydantic-core = "^2.18.2"
52+
pydantic-core = ">=2.18.2"
5253
pyjwt = "^2.10.1"
5354
requests = ">=2.22.0"
5455
requests-mock = "1.12.1"
@@ -57,14 +58,15 @@ ujson = ">=5.8.0"
5758
urllib3 = ">=2.5.0"
5859
xmljson = "0.2.1"
5960

60-
[tool.poetry.dev-dependencies]
61-
mypy = "1.0.1"
61+
[tool.poetry.group.dev.dependencies]
62+
mypy = "==1.13.0"
6263
pytest = "^7.4.0"
6364
pytest-asyncio = "^0.23.5"
65+
pytest-xdist = "^3.6.1"
6466
python-dateutil = "^2.9.0"
6567
types-python-dateutil = "^2.9.0.20240316"
6668
respx = "^0.22.0"
67-
ruff = "^0.5.6"
69+
ruff = "==0.11.5"
6870

6971
[tool.pytest.ini_options]
7072
testpaths = [ "tests" ]
@@ -76,6 +78,26 @@ plugins = ["pydantic.mypy"]
7678
[tool.ruff]
7779
line-length = 120
7880

81+
[tool.ruff.lint]
82+
select = [
83+
"E", # pycodestyle errors
84+
"F", # pyflakes
85+
"I", # isort
86+
]
87+
ignore = [
88+
"E402", # Module level import not at top of file
89+
"E501", # Line too long
90+
"E711", # Comparison to `None` should be `cond is not None`
91+
"E712", # Avoid equality comparisons to `True`; use `if ...:` checks
92+
"E721", # Use `is` and `is not` for type comparisons, or `isinstance()` for insinstance checks
93+
"E722", # Do not use bare `except`
94+
"E731", # Do not assign a `lambda` expression, use a `def`
95+
"F821", # Undefined name
96+
"F841" # Local variable ... is assigned to but never used
97+
]
98+
99+
[tool.ruff.lint.isort]
100+
section-order = ["future", "standard-library", "third-party", "first-party"]
79101

80102
[build-system]
81103
requires = ["poetry-core"]

0 commit comments

Comments
 (0)