Skip to content

dev 0.9#64

Merged
mivanit merged 135 commits intomainfrom
dev-0.9
Feb 18, 2026
Merged

dev 0.9#64
mivanit merged 135 commits intomainfrom
dev-0.9

Conversation

@mivanit
Copy link
Owner

@mivanit mivanit commented Oct 17, 2025

No description provided.

@lang-ci

This comment was marked as off-topic.

- comment out set/frozenset overloads in json_serialize.py that caused
  overlapping overload errors (functionality unchanged, just type hints)
- add pyright: ignore comments for false positives across source and tests
- initialize variable before try block in serializable_dataclass.py
- add ty: ignore comments for ty type checker in test files
- normalize whitespace before pyright ignore comments
- Rename `path` parameter to `collection_path` in pytest_ignore_collect
  hook to use the modern pytest API (py.path.local deprecated in pytest 9)
- Rename generic `result` variables in test_json_serialize.py to more
  descriptive names
The Interval class only supports list and tuple for single-arg
initialization, not range objects. The test was invalid.
typing.get_type_hints() evaluates forward refs at runtime, so
tuple[int, int] fails in Python 3.8 even with future annotations.
- Replace verbose module descriptions with a compact table (26 modules)
- Add 16 previously undocumented modules: interval, errormode, validate_type,
  console_unicode, spinner, timeit_fancy, dbg, collect_warnings, parallel,
  math, cli, web, logger, mlutils, tensor_info, ml
- Use absolute docs links (miv.name/muutils) that work on GitHub, PyPI, and locally
- Document all optional dependency groups: array, notebook, parallel, web
- Remove separate ZANJ section (external project, now linked from json_serialize)
- CI: split typing step into two - normal check for 3.9+, non-blocking
  for 3.8 (log only). Also removes 3.14 exclusion.
- makefile: only pass TYPECHECK_ARGS (mypy-specific flags like
  --disable-error-code) to mypy, not to ty/basedpyright
Legacy test matrix uses numpy 1.24.4 which is incompatible with
current pandas version, so we force an old once
- Add pandas 2.0.3 pin (compatible with numpy 1.24.4)
- Add pillow 10.4.0 pin (avoids deprecation warning in newer versions)
- Consolidate numpy/pandas/pillow installs into single legacy step
This module is dynamically generated by PyTorch and has no source file,
causing "No source for code" errors when running coverage reports.
matplotlib's PDF backend triggers a Pillow deprecation warning about
the 'mode' parameter. Filter this third-party warning only on 3.9.
Add `from __future__ import annotations` to files using `X | Y` union
syntax. This enables PEP 563 postponed evaluation, fixing basedpyright
errors on Python <3.10.
ty incorrectly infers argument types for pytest.fail() and pytest.skip()
due to pytest's internal @_with_exception decorator on Python 3.9 and below.
- Add explicit import of torch.backends.mps to fix possibly-missing-attribute warnings
- Add invalid-argument-type to ty ignore comments for pytest.fail/skip calls
  (arg-type is unknown to ty on Python 3.10, invalid-argument-type is the correct rule name)
The ty type checker reports `too-many-positional-arguments` for
pytest.skip() calls on Python <= 3.9. Add this error code to the
existing ignore comments.
@mivanit mivanit merged commit 4fe9a41 into main Feb 18, 2026
15 checks passed
@mivanit mivanit deleted the dev-0.9 branch February 18, 2026 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments