Lightning-AI / Lightning-AI/LitLogger

Publish a LitLogger release containing #66; PyPI 2026.6.25 cannot import with current lightning-sdk

Open
#70 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
37
Forks
7
Avg merge
4d 13h
Merged PRs (30d)
4

Description

The fix for current lightning-sdk compatibility was merged in #66 on 2026-08-05, but it has not yet been published. PyPI still serves litlogger 2026.6.25, which cannot be imported with the current SDK.

Minimal clean-environment reproduction:

REPRO=$(mktemp -d)
uv venv --python 3.12 "$REPRO/.venv"
PY="$REPRO/.venv/bin/python"

uv pip install --python "$PY" 'litlogger==2026.6.25'
"$PY" -c "import litlogger"

This currently resolves:

  • litlogger 2026.6.25
  • lightning-sdk 2026.8.26

and fails with:

File "litlogger/api/artifacts_api.py", line 18, in <module>
    from lightning_sdk.api.utils import _FileUploader
ImportError: cannot import name '_FileUploader' from
'lightning_sdk.api.utils'

The release boundary is:

  • lightning-sdk 2026.7.9.post0: import succeeds
  • lightning-sdk 2026.7.21: import fails
  • lightning-sdk 2026.8.26: import fails

PR #66 already fixes this by removing the private _FileUploader import, routing upload_metrics_binary through public Teamspace.upload_file, and raising the SDK minimum to 2026.8.5. I also verified that current LitLogger main imports successfully with lightning-sdk 2026.8.26.

Could you please publish a new LitLogger release containing #66?

It would also be helpful to add a clean-environment import litlogger smoke test against both the declared minimum and newest supported lightning-sdk, so future dependency updates cannot leave the latest published pair unimportable.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing PR #66 and litlogger/api/artifacts_api.py, then run the clean-environment uv reproduction with litlogger 2026.6.25. Publish a release containing the merged compatibility fix, and add an import smoke test covering the declared minimum and newest supported lightning-sdk versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
release, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.