Skip to content

Removed unused setup.py and fixed the _files docstring - #21

Merged
david-yz-liu merged 1 commit into
mainfrom
pre-release-cleanups
Nov 1, 2026
Merged

david-yz-liu merged 1 commit into
mainfrom
pre-release-cleanups

Conversation

@david-yz-liu

Copy link
Copy Markdown
Contributor

Summary

  • Removed setup.py. It only contained from setuptools import setup; setup(), a leftover from the earlier setuptools build. pyproject.toml uses build-backend = "uv_build", so it was unused; nothing in the workflows, pyproject.toml, or README references it.
  • Fixed the _AutotestSettings._files docstring. It said "A list of test files", but the field is a single string: the path of the directory where the autotester extracted these settings' test files (markus-autotesting sets test_settings["_files"] = files_dir).
  • Corrected a stale changelog line. The unreleased entry said ruff was pinned to v0.17.1; it is now pinned to v0.17.3 in the dev dependency group and .pre-commit-config.yaml, and CI's ruff-action reads the version from pyproject.toml. Only that line was edited; no new entry, since these cleanups are not user-facing.

Testing

  • uv sync --locked --all-extras --dev, then uv run pytest -q: 11 passed.
  • uv run ruff check .: all checks passed. uv run ruff format --check .: 6 files already formatted.
  • uvx --from "uv==0.13.6" uv build -o <temp dir>: built both the sdist and the wheel without setup.py; the sdist contains PKG-INFO, pyproject.toml, README.md and the src/markus_autotesting_core sources, and the wheel contains the package and its dist-info.

🤖 Generated with Claude Code

- Removed setup.py, a leftover from the earlier setuptools build. The
  package is built with the uv_build backend, which does not use it.
- Fixed the docstring of _AutotestSettings._files: it is the path of the
  directory where the test files were extracted, not a list of files.
- Corrected the changelog entry about pinning ruff, which is now pinned
  in the dev dependencies and pre-commit (currently v0.17.3).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@david-yz-liu
david-yz-liu merged commit e092028 into main Nov 1, 2026
6 checks passed
@david-yz-liu
david-yz-liu deleted the pre-release-cleanups branch November 1, 2026 17:42
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.

1 participant