Skip to content

Mass fixes - #18

Merged
jonringer merged 78 commits into
masterfrom
jonringer/mass-fixes
Oct 20, 2026
Merged

jonringer merged 78 commits into
masterfrom
jonringer/mass-fixes

Conversation

@jonringer

Copy link
Copy Markdown
Collaborator

Do a fix sweep of python packages

- propagatedBuildInputs → dependencies (633 files)
- checkInputs → nativeCheckInputs (20 files)
- remove redundant doCheck = false (1283 files, already the default)
- remove redundant doCheck = true at top level (4 files)
- remove redundant __structuredAttrs = true (323 files, already the default)
- rev → tag for version-based git references (278 files)
- placeholder "out" → $(out) shell output reference (6 files)
- format = "pyproject" → pyproject = true (1 file)
- fix orphaned blank lines from removed attributes
Convert all 565 packages using `format = "setuptools"` to the
preferred `pyproject = true` with explicit `build-system = [ setuptools ]`.

For packages that had setuptools in nativeBuildInputs (26), it was
moved to build-system. For the remaining 525+, setuptools was added
to the function arguments with a `# build-system` comment group.
Convert 4122 packages from `buildPythonPackage rec { ... }` to
`buildPythonPackage (finalAttrs: { ... })`.

- version/pname references updated to use finalAttrs:
  - `inherit pname version` → `inherit (finalAttrs) pname version`
  - `tag = version` → `tag = finalAttrs.version`
  - `${version}` → `${finalAttrs.version}` in string interpolations
  - `env.FOO = version` → `env.FOO = finalAttrs.version`
- `self = buildPythonPackage rec` patterns unwrapped with
  `self.` → `finalAttrs.finalPackage.`
- `buildPythonPackage.override {...} rec` also converted
@jonringer
jonringer merged commit 8ebb171 into master Oct 20, 2026
2 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