Repository navigation
Modernize - #6
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Use uv_build backend and a PEP 735 dev dependency group - Replace poetry.lock with uv.lock; ignore .venv/ - Exclude stray .mypy_cache from built distributions - Catch pickle.PicklingError (raised for local objects on 3.14+) alongside AttributeError when pickling exceptions - Update AGENTS.md commands for uv Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Runs pytest via uv across Python 3.11-3.14 on GitHub Actions. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- Run tests on ubuntu-latest and macos-latest - Also trigger on pushes to master - Add a lint job running ruff and mypy Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Adds a 'test and lint pass' job that succeeds only if all test and lint jobs succeed, for use as a single required check on PRs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
setup-uv no longer publishes floating major-version tags after v7, so @v10 failed to resolve. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Raise requires-python to >=3.13, relock, and drop 3.11/3.12 from the CI test matrix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Move the implementation to fork_map/core.py and re-export fork_map from the package, so 'from fork_map import fork_map' returns the function (as in the README and demo) - Update tests to import core - Add 'from __future__ import annotations' to tests so Queue[...] annotations don't fail at runtime on Python 3.13 - Update AGENTS.md for the new layout Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues requiring resolution.
No open issues 🎉
What changed in this PR
Modernizes fork_map’s packaging, development workflow, and Python compatibility while retaining its fork-based mapping approach.
Changes:
- Migrates from Poetry to uv and raises the minimum Python version to 3.13.
- Exports the public function, improves type annotations, and handles newer pickle exceptions.
- Adds automated testing, linting, dependency updates, and contributor guidance.
| File | Description |
|---|---|
uv.lock |
Adds locked runtime and development dependencies. |
README.md |
Documents uv setup and development commands. |
pyproject.toml |
Adopts uv builds and dependency groups; requires Python 3.13+. |
poetry.lock |
Removes the superseded Poetry lockfile. |
fork_map/tests/test_fork_map.py |
Updates imports, annotations, and pickle exception expectations. |
fork_map/core.py |
Improves typing, pickle error handling, and default worker selection. |
fork_map/__init__.py |
Re-exports the public fork_map function. |
fork_map.wpr |
Updates the Wing project format version. |
demo.py |
Adds a lint suppression for the intentionally delayed import. |
CLAUDE.md |
Points to shared agent guidance. |
AGENTS.md |
Documents architecture, commands, and fork-specific constraints. |
.gitignore |
Ignores the uv environment and private Wing task files. |
.github/workflows/tests.yml |
Adds Linux/macOS tests, linting, type checks, and a combined status check. |
.github/dependabot.yml |
Configures grouped monthly uv and GitHub Actions updates. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.