Skip to content

Set up Cursor Cloud dev environment for CPython#121

Draft
methane wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-b63c
Draft

Set up Cursor Cloud dev environment for CPython#121
methane wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-b63c

Conversation

@methane

@methane methane commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

Sets up the development environment for this CPython checkout and documents non-obvious startup/run caveats for future Cloud agents.

This repo is the CPython interpreter (3.15.0a8+) — there are no runtime services/databases. "Running the app" = building ./python; "end-to-end testing" = running the Lib/test/ regression suite.

Changes

  • Add AGENTS.md with a ## Cursor Cloud specific instructions section (build flags, output location, expected missing _decimal, test/lint commands, system dep list).

Environment setup (via update script, not committed to repo)

./configure --config-cache --with-pydebug
make -s -j$(nproc)
python3 -m pip install --user --quiet "ruff==0.15.7"

System build deps (libssl-dev, libsqlite3-dev, libffi-dev, zlib1g-dev, etc.) were installed into the VM once.

Testing

  • ./configure --config-cache --with-pydebug — configured (all optional modules detected except _decimal)
  • make -s -j$(nproc) — built ./python (Python 3.15.0a8+)
  • ./python -m test -j4 test_grammar test_builtin test_os test_sqlite3 test_hashlib test_json — 7 tests OK, 1,597 subtests
  • ruff check Lib/test/test_json — All checks passed
  • ✅ hello-world exercising hashlib/zlib/ssl/sqlite3 against the freshly built interpreter

hello_world_output.log

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e85a656f-765a-466b-8226-bc76c188ff9c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/setup-dev-environment-b63c

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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