Commit Graph

31 Commits

Author SHA1 Message Date
ntsk 9d1070091a fix(manager/pep621): support array form of tool.uv.sources (#44970)
* test(manager/pep621): cover array uv sources

* fix(manager/pep621): support array uv sources

* test(manager/pep621): cover unknown source fallback
2026-09-04 11:06:07 +00:00
Niels Pardon c3c70b8cdb feat(managers/pep621): update pixi.lock if present (#44004)
* feat(managers/pep621): update pixi.lock if present

* test(managers/pep621): cover pixi requires-pixi from workspace table

* refactor(manager/pixi): extract shared pixi.lock update helper

* test(manager/pep621): use arrange-act-assert spacing in pixi tests

* refactor(manager/pixi): revert shared pixi.lock helper extraction

Move the extraction of the shared pixi.lock update helper into a
follow-up PR, as requested in review. The pep621 pixi processor and the
pixi manager again carry their own lock-update logic.

This reverts commit 743db204f2.

* feat(manager/pep621): gate pixi.lock updates behind allowedUnsafeExecutions

`pixi lock` can execute arbitrary code from conda package hooks, so the
pep621 manager now only updates `pixi.lock` when `pixi` is included in the
global `allowedUnsafeExecutions` option, following the same pattern as the
`mise` manager. When `pixi` is not allowed, PEP 621 dependencies in
`pyproject.toml` are still updated but `pixi.lock` is left unchanged.

https://pixi.prefix.dev/latest/security/#4-treat-package-hooks-as-code-execution

* feat(manager/pixi)!: gate pixi.lock updates behind allowedUnsafeExecutions

The pixi manager runs `pixi lock`, which can execute arbitrary code from
conda package hooks. Like the pep621 manager, it now only updates
`pixi.lock` when `pixi` is included in the global `allowedUnsafeExecutions`
option. When it is not allowed, the package file is still updated but
`pixi.lock` is left unchanged.

https://pixi.prefix.dev/latest/security/#4-treat-package-hooks-as-code-execution

BREAKING CHANGE: The `pixi` manager no longer updates `pixi.lock`
automatically. To keep `pixi.lock` updated, add `pixi` to the global
`allowedUnsafeExecutions` option.
2026-07-29 10:31:15 +00:00
renovate[bot] 196101a6bb chore(deps): update dependency oxlint-tsgolint to v0.25.0 (main) (#44424)
* chore(deps): update dependency oxlint-tsgolint to v0.25.0

| datasource | package         | from   | to     |
| ---------- | --------------- | ------ | ------ |
| npm        | oxlint-tsgolint | 0.23.0 | 0.25.0 |

* chore: fix new no-unnecessary-type-assertion findings

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Poxhofer <sebastian.poxhofer@stedi.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-28 07:04:21 +00:00
Sebastian Poxhofer d57843c60d refactor(oxlint): enable typescript/no-unnecessary-type-arguments (#44555)
Enable the type-aware typescript/no-unnecessary-type-arguments rule as
error and remove all 44 pre-existing redundant type arguments (type
arguments identical to the type parameter default), e.g.
HttpResponse<string>, ZodError<unknown>,
PackageDependency<Record<string, any>>.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 12:33:42 +00:00
Sebastian Poxhofer 15f4bd8eff chore: migrate from zod/v3 to zod/v4 (#43691)
* chore: migrate from zod/v3 to zod/v4

This commit contains the logic changes

* chore: migrate imports from zod/v3 to zod/v4

This contains import updates and adds explicit record keys as zod/v4 requires these now

* ci: enforce usage of zod/v4
2026-05-30 16:01:58 +00:00
renovate[bot] 4a2578d18d build(deps): update dependency zod to v4 (main) (#41225)
* build(deps): update dependency zod to v4

| datasource | package | from    | to    |
| ---------- | ------- | ------- | ----- |
| npm        | zod     | 3.25.76 | 4.3.6 |

* fix: zod migration

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-02-18 07:37:50 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Jonas Kuske 1839f934e4 feat(poetry): support PEP735 dependency-groups (#38608)
* feat: support PEP735 dependency-groups in Poetry

* test: verify poetry pep735 dependency-groups extraction

* docs: add dependency-groups to supported poetry depTypes

* test: move poetry pep735 test to poetry v2 block
2025-11-10 10:41:50 +00:00
Sergei Zharinov 5f150439e2 feat(poetry): Support Poetry V2 (#37563) 2025-08-16 19:59:19 +00:00
Michael Kriese 3211d56e21 refactor(zod): rename schema to match our best practices guide (#37499) 2025-08-14 10:35:03 +00:00
Sergei Zharinov ceeb69cade refactor(pep621): Refactor PDM processor (#37465) 2025-08-13 05:59:30 +00:00
Sergei Zharinov 2ce429f4d1 refactor(pep621): Simplify schema (#37441) 2025-08-12 05:25:18 +00:00
Johannes Feichtner 5a9190488e feat(pep621): detect uv constraint from tool.uv.required-version (#36850) 2025-07-06 07:13:56 +00:00
Nik Stuckenbrock f067f6a60e fix(pep621): make name for uv index optional (#35150) 2025-04-28 14:19:06 +00:00
Trim21 87ebf4c6a5 feat: new manager pixi (#34400)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2025-03-06 16:57:26 +00:00
Bas Schoenmaeckers 55b08e281b feat(manager/pep621): add support for uv index configuration (#32771) 2024-11-29 08:49:37 +00:00
Mathieu Kniewallner c20044e2d5 fix(manager/uv): apply normalization on sources (#31297) 2024-10-29 18:56:50 +00:00
Mathieu Kniewallner babd6da95b feat(pep621): add support for dependency-groups (PEP 735) (#32148)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2024-10-26 15:26:35 +00:00
Nam Vu 03cf03b2be feat(manager/uv): add support for git sources (#31928)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2024-10-19 13:57:08 +00:00
Mathieu Kniewallner e5eab538e4 fix(manager/uv): skip unsupported sources (#31270) 2024-09-09 20:45:44 +00:00
Mathieu Kniewallner ea09532ff2 refactor(manager/pep621): extract custom managers (#31280) 2024-09-09 13:34:49 +00:00
Mathieu Kniewallner 058578f619 feat(manager/uv): extract packages from lockfile (#31137)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-09-02 06:29:27 +00:00
Mathieu Kniewallner e8d872f7d1 feat(managers): add support for uv universal locking (#30756)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-08-19 14:34:22 +00:00
Johannes Feichtner ec572f880d refactor(manager/pep621): simplify zod schema for parsing pdm.lock (#27717) 2024-03-05 07:53:01 +00:00
Johannes Feichtner c2be56d6ff feat(manager/pep621): extract locked versions from pdm.lock (#27694) 2024-03-04 05:46:01 +00:00
Patrick Lannigan 3a8574bbd7 feat(manager/pep621): Add support for python build-system dependencies (#26440) 2023-12-27 19:52:22 +00:00
Johannes Feichtner fa04884a37 feat(manager/pep621): add support for bumpVersion option (#26361)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-12-19 08:50:34 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Jonathan Berthias 98dccfffbc feat(manager/pep621): support hatch environments (#25211)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-10-16 15:44:48 +00:00
Sebastian Poxhofer 4da3f25058 feat(manager/pep621): uses required-python to set constraint (#22456) 2023-05-28 08:30:42 +00:00
Sebastian Poxhofer 019c75caab feat(manager/pep621): implement manager (#22082)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2023-05-15 07:51:05 +00:00