Commit 283154b
chore(snyk): add [tool.poetry.dependencies] shim with bumped versions
Snyk's GitHub PR app integration uses the legacy poetry parser even when
the org has "uv preview" enabled — preview is CLI-only per their docs:
https://docs.snyk.io/supported-languages/supported-languages-list/python/cli-support-for-uv
Without [tool.poetry.dependencies] in pyproject.toml the snyk PR check
fails with "pyproject.toml error Failed to detect issues" and never falls
through to scan requirements.txt or uv.lock. The shim mirrors the
just-bumped (and verified vuln-free) [project.dependencies] versions so
snyk's legacy parser succeeds without finding any vulns at the constraint
floor.
Pre-commit hook still keeps requirements.txt in sync for redundancy.
Will revert this whole [tool.poetry.dependencies] block once snyk's PR
app integration uses uv preview natively (snyk-python-plugin#251).
Build verified: `python -m build` produces wheel + sdist.
Tests verified: 293/293 pass.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 28405e6 commit 283154b
1 file changed
Lines changed: 28 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
73 | 89 | | |
74 | 90 | | |
75 | 91 | | |
76 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
77 | 103 | | |
78 | 104 | | |
79 | 105 | | |
| |||
0 commit comments