Skip to content

Migrate to uv, drop setup.py, bump to v0.8#81

Merged
initstring merged 2 commits into
masterfrom
modernize-uv
May 21, 2026
Merged

Migrate to uv, drop setup.py, bump to v0.8#81
initstring merged 2 commits into
masterfrom
modernize-uv

Conversation

@initstring
Copy link
Copy Markdown
Owner

Summary

  • Replace setup.py and requirements.txt with pyproject.toml (uv-compatible)
  • Pin dependencies to current releases: dnspython>=2.8.0, requests>=2.34.2, requests-futures>=1.0.2
  • Add [build-system] table (setuptools) to preserve Debian packaging compatibility
  • Update CI (python-app.yml) to use astral-sh/setup-uv@v6 instead of pip
  • Add release.yml workflow — auto-creates a GitHub tag + release whenever version in pyproject.toml changes on master push
  • Slim down .gitignore with uv-specific entries; uv.lock is excluded from version control
  • Update README setup instructions to use uv sync / uv run cloud_enum
  • Bump version to 0.8 (release workflow will tag it on merge)

Test plan

  • CI passes (uv sync + uv run pytest)
  • After merge, release workflow creates tag 0.8 and a GitHub release automatically
  • Confirm pip install . still works (for Debian packaging compat)

🤖 Generated with Claude Code

initstring and others added 2 commits May 21, 2026 12:35
- Replace setup.py and requirements.txt with pyproject.toml
- Pin dependencies to current releases (dnspython>=2.8.0, requests>=2.34.2, requests-futures>=1.0.2)
- Add [build-system] table for Debian packaging compatibility
- Update CI to use astral-sh/setup-uv@v6 and uv run
- Add release.yml workflow to auto-tag/release on version bump
- Slim down .gitignore with uv-specific entries (exclude uv.lock)
- Update README setup instructions to use uv

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Explicitly set packages and py-modules to match old setup.py, preventing
setuptools from erroring on the manpage/ directory during build.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@initstring initstring merged commit 4e0fa84 into master May 21, 2026
4 checks passed
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