Skip to content

Address JOSS reviewer code feedback: __version__, lockfile, sample data#94

Merged
vgreg merged 35 commits into
mainfrom
address-review-code-feedback
May 12, 2026
Merged

Address JOSS reviewer code feedback: __version__, lockfile, sample data#94
vgreg merged 35 commits into
mainfrom
address-review-code-feedback

Conversation

@vgreg
Copy link
Copy Markdown
Owner

@vgreg vgreg commented May 6, 2026

Summary

Addresses the non-paper items from the JOSS reviewer's comment:

  • `meatpy.version` — the docs install verification snippet (`import meatpy; print(meatpy.version)`) crashed because the attribute did not exist. Now sourced from `importlib.metadata.version("meatpy")` so it cannot drift from `pyproject.toml`.
  • Version metadata alignment — `uv.lock` was stale at 0.2.11; refreshed to match `pyproject.toml` (0.4.0).
  • Sample data — adds a 590-byte synthetic ITCH 5.0 file at `samples/data/sample.itch50` plus the generator script and a quickstart that exercises the parser, processor, and LOB against fictional symbols MEAT and PYTH. Lets new users run the library end-to-end without a Nasdaq subscription.

The paper-side fixes (typos, ITCH/IEX DEEP support text) are in #92 against the paper branch.

Test plan

  • `uv run pytest` — 659 passed
  • `uv run ruff check` / `ruff format` — clean
  • `uv run python -c "import meatpy; print(meatpy.version)"` → `0.4.0`
  • `uv run python samples/itch50/00_quickstart.py` — replays the sample and prints sane top-of-book

🤖 Generated with Claude Code

vgreg and others added 21 commits July 26, 2025 09:29
Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.5.1 to 6.5.5.
- [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst)
- [Commits](tornadoweb/tornado@v6.5.1...v6.5.5)

---
updated-dependencies:
- dependency-name: tornado
  dependency-version: 6.5.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [requests](https://github.com/psf/requests) from 2.32.4 to 2.33.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.32.4...v2.33.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.33.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pygments](https://github.com/pygments/pygments) from 2.19.2 to 2.20.0.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](pygments/pygments@2.19.2...2.20.0)

---
updated-dependencies:
- dependency-name: pygments
  dependency-version: 2.20.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.4.1 to 9.0.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.4.1...9.0.3)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.0.3
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [nbconvert](https://github.com/jupyter/nbconvert) from 7.16.6 to 7.17.1.
- [Release notes](https://github.com/jupyter/nbconvert/releases)
- [Changelog](https://github.com/jupyter/nbconvert/blob/main/CHANGELOG.md)
- [Commits](jupyter/nbconvert@v7.16.6...v7.17.1)

---
updated-dependencies:
- dependency-name: nbconvert
  dependency-version: 7.17.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [notebook](https://github.com/jupyter/notebook) from 7.4.4 to 7.5.6.
- [Release notes](https://github.com/jupyter/notebook/releases)
- [Changelog](https://github.com/jupyter/notebook/blob/@jupyter-notebook/tree@7.5.6/CHANGELOG.md)
- [Commits](https://github.com/jupyter/notebook/compare/@jupyter-notebook/tree@7.4.4...@jupyter-notebook/tree@7.5.6)

---
updated-dependencies:
- dependency-name: notebook
  dependency-version: 7.5.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [jupyterlab](https://github.com/jupyterlab/jupyterlab) from 4.4.8 to 4.5.7.
- [Release notes](https://github.com/jupyterlab/jupyterlab/releases)
- [Changelog](https://github.com/jupyterlab/jupyterlab/blob/main/RELEASE.md)
- [Commits](https://github.com/jupyterlab/jupyterlab/compare/@jupyterlab/lsp@4.4.8...@jupyterlab/lsp@4.5.7)

---
updated-dependencies:
- dependency-name: jupyterlab
  dependency-version: 4.5.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Fixed typos and updated the supported-formats footnote to reflect
current ITCH (2.0-5.0) and IEX DEEP support.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Bumps [jupyter-server](https://github.com/jupyter-server/jupyter_server) from 2.16.0 to 2.18.0.
- [Release notes](https://github.com/jupyter-server/jupyter_server/releases)
- [Changelog](https://github.com/jupyter-server/jupyter_server/blob/main/CHANGELOG.md)
- [Commits](jupyter-server/jupyter_server@v2.16.0...v2.18.0)

---
updated-dependencies:
- dependency-name: jupyter-server
  dependency-version: 2.18.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
The docs install snippet (`import meatpy; print(meatpy.__version__)`) was
broken because the attribute did not exist. Source it from
importlib.metadata so it stays in lockstep with pyproject.toml. Refresh
the lockfile to pick up the 0.4.0 version that was already on PyPI.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds samples/data/sample.itch50 (590 bytes, 20 messages, fictional
symbols MEAT and PYTH) so users can run the parser, processor, and
LOB end-to-end without a Nasdaq subscription. Includes the generator
script, a README, and samples/itch50/00_quickstart.py demonstrating
message-count and top-of-book reconstruction against the sample.

Addresses the JOSS reviewer's request for bundled sample data.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/meatpy/__init__.py 60.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

dependabot Bot and others added 8 commits May 8, 2026 05:08
Bumps [mistune](https://github.com/lepture/mistune) from 3.1.3 to 3.2.1.
- [Release notes](https://github.com/lepture/mistune/releases)
- [Changelog](https://github.com/lepture/mistune/blob/main/docs/changes.rst)
- [Commits](lepture/mistune@v3.1.3...v3.2.1)

---
updated-dependencies:
- dependency-name: mistune
  dependency-version: 3.2.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Address JOSS reviewer typos and clarify format support
chore(deps): bump tornado from 6.5.1 to 6.5.5
chore(deps): bump requests from 2.32.4 to 2.33.0
chore(deps): bump pygments from 2.19.2 to 2.20.0
chore(deps-dev): bump pytest from 8.4.1 to 9.0.3
chore(deps): bump nbconvert from 7.16.6 to 7.17.1
chore(deps): bump notebook from 7.4.4 to 7.5.6
vgreg and others added 6 commits May 12, 2026 07:19
chore(deps): bump jupyterlab from 4.4.8 to 4.5.7
chore(deps): bump jupyter-server from 2.16.0 to 2.18.0
chore(deps): bump mistune from 3.1.3 to 3.2.1
Add a top-level pointer in the getting-started guide and the landing page to
the synthetic samples/data/sample.itch50 + samples/itch50/00_quickstart.py
end-to-end flow so users can try MeatPy without a Nasdaq subscription. Fix
the LOB code snippet to use `processor.current_lob` (the actual attribute)
and drop the redundant `/ 10000` since `best_bid`/`best_ask` already return
a Decimal scaled to dollars.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…s 2.20

Pygments 2.20.0 calls `html.escape(filename)` in `HtmlFormatter.__init__`,
which crashes when pymdown-extensions' highlight formatter passes
`filename=None` for code blocks without a title. The fix landed in
pymdown-extensions 10.21.2.

Add an explicit lower bound in the docs group so transitive resolution
through mkdocs-material can't pull the broken 10.16.x line back in, and
refresh uv.lock (pymdown-extensions 10.16.1 -> 10.21.2). `mkdocs build
--strict` now succeeds.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Bring JOSS paper into address-review-code-feedback
@vgreg vgreg merged commit c43394d into main May 12, 2026
6 checks passed
@vgreg vgreg deleted the address-review-code-feedback branch May 12, 2026 11:45
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.

2 participants