Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ This project is experimental, provided as-is, and independent from 2Do and its d

## Install

Requires macOS on Apple Silicon (arm64) with native arm64 Python 3.11 or newer. Intel Macs and Python running under Rosetta are not supported.

Install [`uv`](https://docs.astral.sh/uv/) first:

```bash
Expand Down
2 changes: 2 additions & 0 deletions mcpb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
This directory contains the MCPB manifest and entry point used to package
2Do Tools as a Claude Desktop extension.

Requires macOS on Apple Silicon (arm64) with native arm64 Python 3.11 or newer. Intel Macs and Python running under Rosetta are not supported.

Build from the repository root:

```bash
Expand Down
2 changes: 1 addition & 1 deletion mcpb/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"display_name": "2Do Tools",
"version": "0.10.0",
"description": "Read, create, and complete tasks in the local 2Do macOS app.",
"long_description": "A local MCP server for reading tasks from a read-only backup and creating or completing confirmed tasks through the 2Do macOS app.",
"long_description": "A local MCP server for reading tasks from a read-only backup and creating or completing confirmed tasks through the 2Do macOS app. Requires macOS on Apple Silicon (arm64) with native arm64 Python 3.11 or newer. Intel Macs and Python running under Rosetta are not supported.",
"author": {
"name": "Tim Finkel",
"url": "https://github.com/kingfink"
Expand Down
2 changes: 2 additions & 0 deletions plugins/2do/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
This plugin registers the `2do` MCP server with clients that support plugin
marketplaces.

Requires macOS on Apple Silicon (arm64) with native arm64 Python 3.11 or newer. Intel Macs and Python running under Rosetta are not supported.

Install the `2do` command first, then install this plugin from the marketplace.
The plugin intentionally uses the plain `2do` command so each client can run the
server from the user's normal install location.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
dependencies = [
"cryptography==48.0.1",
"fastmcp==3.4.5",
"cryptography==50.0.0",
"fastmcp==3.4.10",
"pydantic==2.13.4",
]

Expand Down
19 changes: 12 additions & 7 deletions tests/test_release_automation.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from pathlib import Path

import pytest
from packaging.utils import parse_wheel_filename

REPO_ROOT = Path(__file__).resolve().parents[1]
STABLE_GIT_REF = "git+https://github.com/kingfink/2do-tools@stable"
Expand Down Expand Up @@ -71,19 +72,23 @@ def test_product_metadata_describes_reading_creating_and_completing_tasks() -> N
assert "read-only MCP server" not in mcpb_manifest["long_description"]


def test_project_pins_cryptography_to_a_macos_universal2_wheel_release() -> None:
# cryptography 48.x is the last series to publish a macOS universal2 wheel;
# 49.0.0 dropped it in favor of an arm64-only wheel, which would force a
# from-source (Rust toolchain) build for uvx installs on Intel Macs. Stay on
# a 48.x pin until we intentionally handle that regression.
def test_locked_cryptography_has_an_apple_silicon_wheel() -> None:
# Intel Macs are no longer supported. Keep native Apple Silicon installs
# free of source builds without restricting cryptography to a major version.
pyproject = tomllib.loads((REPO_ROOT / "pyproject.toml").read_text())
lockfile = tomllib.loads((REPO_ROOT / "uv.lock").read_text())
cryptography = next(pkg for pkg in lockfile["package"] if pkg["name"] == "cryptography")

crypto_pins = [
dep for dep in pyproject["project"]["dependencies"] if dep.startswith("cryptography==")
]

assert len(crypto_pins) == 1
assert crypto_pins[0].startswith("cryptography==48.")
assert crypto_pins == [f"cryptography=={cryptography['version']}"]
assert any(
tag.platform.startswith("macosx_") and tag.platform.endswith(("_arm64", "_universal2"))
for wheel in cryptography["wheels"]
for tag in parse_wheel_filename(wheel["url"].rsplit("/", 1)[-1])[3]
)


def test_mcpb_manifest_lists_task_mutation_tools() -> None:
Expand Down
Loading
Loading