[python] Log contents of manifests we fail to parse#15019
Merged
Conversation
If we failed to parse `requirements.txt` or any other manifest, dump its contents to log for easier diagnosis.
🦋 Changeset detectedLatest commit: 5880178 The changes in this PR will be included in the next version bump. This PR includes changesets to release 17 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
📦 CLI Tarball ReadyThe Vercel CLI tarball for this PR is now available! Quick TestYou can test this PR's CLI directly by running: npx https://vercel-jtzn9k7k5.vercel.sh/tarballs/vercel.tgz --helpUse in vercel.jsonTo use this CLI version in your project builds, add to your {
"build": {
"env": {
"VERCEL_CLI_VERSION": "vercel@https://vercel-jtzn9k7k5.vercel.sh/tarballs/vercel.tgz"
}
}
} |
Contributor
🧪 Unit Test StrategyComparing: Strategy: Affected packages only ✅ Only testing packages that have been modified or depend on modified packages. Affected packages - 40 (100%)
Results
This comment is automatically generated based on the affected testing strategy |
Merged
tknickman
pushed a commit
that referenced
this pull request
Feb 12, 2026
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @vercel/build-utils@13.4.0 ### Minor Changes - [services] synchronize dependencies in dev mode for JS/TS and Python services ([#14987](#14987)) ### Patch Changes - Add new expirementalTrigger format for queues v2beta ([#14970](#14970)) - Updated dependencies \[[`a960cf23a42ff1a570c808ee9567670c24422f98`](a960cf2)]: - @vercel/python-analysis@0.4.1 ## vercel@50.16.0 ### Minor Changes - [services] synchronize dependencies in dev mode for JS/TS and Python services ([#14987](#14987)) - Add `contract` cli cmd for checking contract commitments ([#14735](#14735)) - Add `usage` command to check billing and usage information ([#14733](#14733)) ### Patch Changes - Add `--plan` flag to `vercel integration add` for specifying a billing plan ID ([#14965](#14965)) - Include the current Vercel CLI version in `.vercel/output/builds.json` generated by `vercel build`. ([#14999](#14999)) - Fixed deployment rate limit error message displaying incorrect retry time ([#14947](#14947)) - [services] services dev server orchestrator framework fallback fix ([#14985](#14985)) - Add new expirementalTrigger format for queues v2beta ([#14970](#14970)) - non-interactive mode for link - selectOrg ([#15003](#15003)) - non-interactive mode for link ([#15001](#15001)) - Remove tags column from `integration discover` table and compact terminal views to reduce width on small screens. Tags remain available in JSON output. ([#15000](#15000)) - non-interactive mode for link - enable for agents ([#15002](#15002)) - Add `--breakdown` option to `vercel usage` for viewing usage broken down by period ([#14741](#14741)) - Updated dependencies \[[`8f2c79045858cd41fa89522ee13f2ce5d6c81be1`](8f2c790), [`2686071de8e17161babea397fcd12226de8ecce9`](2686071), [`a960cf23a42ff1a570c808ee9567670c24422f98`](a960cf2)]: - @vercel/build-utils@13.4.0 - @vercel/python@6.12.0 - @vercel/backends@0.0.33 - @vercel/elysia@0.1.36 - @vercel/express@0.1.45 - @vercel/fastify@0.1.39 - @vercel/go@3.4.0 - @vercel/h3@0.1.45 - @vercel/hono@0.2.39 - @vercel/hydrogen@1.3.5 - @vercel/koa@0.1.19 - @vercel/nestjs@0.2.40 - @vercel/next@4.15.28 - @vercel/node@5.6.3 - @vercel/redwood@2.4.9 - @vercel/remix-builder@5.5.10 - @vercel/ruby@2.3.0 - @vercel/rust@1.0.5 - @vercel/static-build@2.8.37 ## @vercel/python@6.12.0 ### Minor Changes - [services] synchronize dependencies in dev mode for JS/TS and Python services ([#14987](#14987)) ### Patch Changes - log contents of malformed manifests ([#15019](#15019)) - Updated dependencies \[[`a960cf23a42ff1a570c808ee9567670c24422f98`](a960cf2)]: - @vercel/python-analysis@0.4.1 ## @vercel/backends@0.0.33 ### Patch Changes - Updated dependencies \[[`8f2c79045858cd41fa89522ee13f2ce5d6c81be1`](8f2c790), [`2686071de8e17161babea397fcd12226de8ecce9`](2686071)]: - @vercel/build-utils@13.4.0 ## @vercel/cervel@0.0.20 ### Patch Changes - Updated dependencies \[]: - @vercel/backends@0.0.33 ## @vercel/client@17.2.40 ### Patch Changes - Updated dependencies \[[`8f2c79045858cd41fa89522ee13f2ce5d6c81be1`](8f2c790), [`2686071de8e17161babea397fcd12226de8ecce9`](2686071)]: - @vercel/build-utils@13.4.0 ## @vercel/config@0.0.30 ### Patch Changes - Add new expirementalTrigger format for queues v2beta ([#14970](#14970)) ## @vercel/elysia@0.1.36 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.3 ## @vercel/express@0.1.45 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.3 - @vercel/cervel@0.0.20 ## @vercel/fastify@0.1.39 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.3 ## @vercel/gatsby-plugin-vercel-builder@2.0.135 ### Patch Changes - Updated dependencies \[[`8f2c79045858cd41fa89522ee13f2ce5d6c81be1`](8f2c790), [`2686071de8e17161babea397fcd12226de8ecce9`](2686071)]: - @vercel/build-utils@13.4.0 ## @vercel/h3@0.1.45 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.3 ## @vercel/hono@0.2.39 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.3 ## @vercel/koa@0.1.19 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.3 ## @vercel/mcp-adapter@0.3.2 ### Patch Changes - Fix .repository field in package.json to make it possible to publish ([#14997](#14997)) ## @vercel/nestjs@0.2.40 ### Patch Changes - Updated dependencies \[]: - @vercel/node@5.6.3 ## @vercel/node@5.6.3 ### Patch Changes - Updated dependencies \[[`8f2c79045858cd41fa89522ee13f2ce5d6c81be1`](8f2c790), [`2686071de8e17161babea397fcd12226de8ecce9`](2686071)]: - @vercel/build-utils@13.4.0 ## @vercel/python-analysis@0.4.1 ### Patch Changes - log contents of malformed manifests ([#15019](#15019)) ## @vercel/static-build@2.8.37 ### Patch Changes - Updated dependencies \[]: - @vercel/gatsby-plugin-vercel-builder@2.0.135 ## @vercel/python-runtime@0.4.0 ### Minor Changes - Install \_runtime_requirements.txt during lambda execution if provided. ([#15011](#15011)) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
If we failed to parse
requirements.txtor any other manifest, dump itscontents to log for easier diagnosis.
Note
Low Risk Change
This PR adds diagnostic logging for file contents when manifest parsing fails, with no changes to validation, security, or business logic.
fileContentproperty toPythonAnalysisErrorclass for diagnostic purposesRisk assessment for commit 5880178.