datalab-api 0.3.0__tar.gz → 0.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datalab-api
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: A Python API for instances of the datalab data management platform (https://github.com/datalab-org/datalab).
5
5
  Author-email: Matthew Evans <matthew@ml-evs.science>
6
6
  License-Expression: MIT
@@ -22,12 +22,12 @@ Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
23
  Requires-Dist: httpx~=0.28
24
24
  Requires-Dist: bokeh~=2.4; platform_system != "Emscripten"
25
- Requires-Dist: rich~=13.0
25
+ Requires-Dist: rich<15,>=13
26
26
  Requires-Dist: numpy<2
27
27
  Provides-Extra: dev
28
28
  Requires-Dist: pre-commit<5,>=3; extra == "dev"
29
29
  Requires-Dist: pytest~=8.0; extra == "dev"
30
- Requires-Dist: pytest-cov<7,>=5; extra == "dev"
30
+ Requires-Dist: pytest-cov<8,>=5; extra == "dev"
31
31
  Requires-Dist: respx~=0.22; extra == "dev"
32
32
  Provides-Extra: docs
33
33
  Requires-Dist: mkdocs; extra == "docs"
@@ -26,7 +26,7 @@ requires-python = ">=3.9"
26
26
  dependencies = [
27
27
  "httpx ~= 0.28", # better HTTP requests
28
28
  'bokeh ~= 2.4; platform_system != "Emscripten"', # interactive plots from datalab directly
29
- "rich ~= 13.0", # nicer terminal output
29
+ "rich >= 13,< 15", # nicer terminal output
30
30
  "numpy < 2", # upper pin for numpy due to bad pins in bokeh
31
31
  ]
32
32
 
@@ -35,7 +35,7 @@ dependencies = [
35
35
  dev = [
36
36
  "pre-commit >= 3,< 5",
37
37
  "pytest ~= 8.0",
38
- "pytest-cov >= 5,< 7",
38
+ "pytest-cov >= 5,< 8",
39
39
  "respx ~= 0.22",
40
40
  ]
41
41
 
@@ -157,6 +157,7 @@ class DatalabClient(BaseDatalabClient):
157
157
  created_item = self._post(
158
158
  create_item_url,
159
159
  json={"new_sample_data": new_item, "generate_id_automatically": item_id is None},
160
+ expected_status=201,
160
161
  )
161
162
  return created_item["sample_list_entry"]
162
163
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datalab-api
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: A Python API for instances of the datalab data management platform (https://github.com/datalab-org/datalab).
5
5
  Author-email: Matthew Evans <matthew@ml-evs.science>
6
6
  License-Expression: MIT
@@ -22,12 +22,12 @@ Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
23
  Requires-Dist: httpx~=0.28
24
24
  Requires-Dist: bokeh~=2.4; platform_system != "Emscripten"
25
- Requires-Dist: rich~=13.0
25
+ Requires-Dist: rich<15,>=13
26
26
  Requires-Dist: numpy<2
27
27
  Provides-Extra: dev
28
28
  Requires-Dist: pre-commit<5,>=3; extra == "dev"
29
29
  Requires-Dist: pytest~=8.0; extra == "dev"
30
- Requires-Dist: pytest-cov<7,>=5; extra == "dev"
30
+ Requires-Dist: pytest-cov<8,>=5; extra == "dev"
31
31
  Requires-Dist: respx~=0.22; extra == "dev"
32
32
  Provides-Extra: docs
33
33
  Requires-Dist: mkdocs; extra == "docs"
@@ -1,5 +1,5 @@
1
1
  httpx~=0.28
2
- rich~=13.0
2
+ rich<15,>=13
3
3
  numpy<2
4
4
 
5
5
  [:platform_system != "Emscripten"]
@@ -19,7 +19,7 @@ click-shell~=2.1
19
19
  [dev]
20
20
  pre-commit<5,>=3
21
21
  pytest~=8.0
22
- pytest-cov<7,>=5
22
+ pytest-cov<8,>=5
23
23
  respx~=0.22
24
24
 
25
25
  [docs]
File without changes
File without changes
File without changes