chore/migrate to uv ruff#1494
Merged
Merged
Conversation
mvantellingen
commented
Jun 18, 2026
Owner
- chore: move to ruff
- chore: migrate to uv and ruff, drop tox/pip
- Manage env and deps with uv; add committed uv.lock - Move test deps into PEP 735 [dependency-groups] dev group - Replace isort/flake8/black with ruff (lint + format) - Remove tox.ini; CI matrix + uv run --python replaces it - Add `make test-all` sweep using isolated per-version .venv-py* envs - Update GitHub workflows: setup-uv with caching, uv sync/run for test+coverage, uv build for release (OIDC publishing unchanged)
The old CI only checked black/isort formatting, never flake8, so these pre-existing issues were never enforced. Now that the format job runs `ruff check`, fix them: - loader: drop redundant lxml XMLSyntaxError import (zeep's is used) - proxy/signature: use `is`/`is not` for type and None comparisons - complex: `type(element) is list` (NOT isinstance -- Sequence subclasses list and would be double-wrapped) - builtins: remove unused `math` import - xsd/__init__: explicit re-export aliases for Nil/SkipValue - tests: drop unused vars, fix `== True`, detab XSD fixtures, strip trailing whitespace
uv installs the project editable, so coverage records src/zeep/... paths
instead of the site-packages paths tox produced. The per-OS absolute
prefixes (/home/runner, /Users/runner, D:\a) then failed to unify on the
coverage job ("No source for code"). Set relative_files = true so paths
are stored relative to the repo root and combine cleanly across runners.
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.