vgplot 0.34.0__tar.gz → 0.34.2__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,9 +1,9 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: vgplot
3
- Version: 0.34.0
3
+ Version: 0.34.2
4
4
  Summary: A Python API for authoring Mosaic vgplot visualizations
5
5
  Project-URL: homepage, https://github.com/uwdata/mosaic
6
- Requires-Python: >=3.10
6
+ Requires-Python: >=3.11
7
7
  Requires-Dist: narwhals>=2.8.0
8
8
  Description-Content-Type: text/markdown
9
9
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vgplot-python",
3
- "version": "0.34.0",
3
+ "version": "0.34.2",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "prerelease": "uv run ruff check && uv run ruff format --check",
@@ -3,7 +3,7 @@ name = "vgplot"
3
3
  dynamic = ["version"]
4
4
  description = "A Python API for authoring Mosaic vgplot visualizations"
5
5
  readme = "README.md"
6
- requires-python = ">=3.10"
6
+ requires-python = ">=3.11"
7
7
  dependencies = ["narwhals>=2.8.0"]
8
8
 
9
9
  [project.urls]
@@ -143,7 +143,8 @@ class TestDataFrames:
143
143
  vg.mark("rectX", df_pyarrow)
144
144
 
145
145
  if TYPE_CHECKING:
146
- from typing_extensions import assert_type
146
+ from typing import assert_type
147
+
147
148
  from vgplot._types import MarkData
148
149
 
149
150
  assert_type(mark_polars.data, MarkData)
@@ -59,7 +59,7 @@ def test_unset_union_identity() -> None:
59
59
 
60
60
 
61
61
  if TYPE_CHECKING:
62
- from typing_extensions import assert_type
62
+ from typing import assert_type
63
63
 
64
64
  def typing_unset(
65
65
  a: UNSET, b: str | UNSET, c: Any | UNSET, d: int | UNSET | None = UNSET
@@ -50,12 +50,6 @@ def _sentinel_backport_pre_typing_extensions_4_16() -> Any:
50
50
  def __repr__(self) -> str:
51
51
  return self._repr
52
52
 
53
- if sys.version_info < (3, 11):
54
- # The presence of this method convinces typing._type_check that Sentinels are types.
55
- def __call__(self, *args: Any, **kwargs: Any) -> Any:
56
- msg = f"{type(self).__name__!r} object is not callable"
57
- raise TypeError(msg)
58
-
59
53
  def __or__(self, other: Any) -> Any:
60
54
  return typing.Union[self, other] # noqa: UP007
61
55
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes