Repository navigation
[python] Fix env marker-excluded deps erroneously flagged as lacking wheels - #15668
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: d08192b The changes in this PR will be included in the next version bump. This PR includes changesets to release 18 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
|
Low Risk — Bug fix adding PEP 508 marker evaluation to filter platform-excluded dependencies from wheel checks.
Assessed at d08192b. |
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 |
gscho
approved these changes
Mar 20, 2026
elprans
force-pushed
the
elprans/python-stop-bundling-incompatible-packages
branch
from
March 20, 2026 23:07
8d1be89 to
813f34d
Compare
…wheels Dependencies guarded by PEP 508 environment markers that exclude the target platform (e.g. pywin32 with `sys_platform == 'win32'`) are being checked for Linux wheel compatibility and incorrectly marked for force-bundling. Fix by traversing the `uv.lock` dependency graph from the project root, evaluating markers via uv's `MarkerTree::evaluate()` (exposed through the WASM module), to determine which packages are actually reachable on the target platform before checking wheel compatibility.
elprans
force-pushed
the
elprans/python-stop-bundling-incompatible-packages
branch
from
March 21, 2026 01:11
813f34d to
d08192b
Compare
Merged
ijjk
added a commit
that referenced
this pull request
Mar 24, 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/[email protected] ### Minor Changes - [services] support multiple topics for a single worker service ([#15615](#15615)) - [services] support for specifying an env prefix for each service ([#15641](#15641)) - Simplify python runtime by always passing in app variable ([#15635](#15635)) ### Patch Changes - Namespace diagnostics keys by builder and service workspace, and aggregate per-builder `package-manifest.json` files into a single `project-manifest.json` ([#15399](#15399)) - Updated dependencies \[[`ac87d5a5ef5d79b55765e094efc957de987d7ac4`](ac87d5a), [`25a6a2daa46baba6e8d7dec90eb49213b8150b8c`](25a6a2d)]: - @vercel/[email protected] ## [email protected] ### Minor Changes - [services] support multiple topics for a single worker service ([#15615](#15615)) - [services] support for specifying an env prefix for each service ([#15641](#15641)) ### Patch Changes - fix(cli): support installation-level metadata for `integration add` ([#15444](#15444)) Integrations like Sentry have both product-level metadata (e.g. `platform`) and installation-level metadata (e.g. `name`, `region`). The CLI now: - Shows installation-level metadata fields in `--help` output - Accepts installation-level metadata keys via `-m` flags - Splits metadata into product and installation buckets, sending `installationMetadata` as a separate API field - Shows actionable hint when required metadata is missing on browser fallback (lists missing fields with example `-m` flags) - Forwards `installationMetadata` to browser fallback URL so installation config isn't lost on redirect - Logs debug warning when product and installation schemas have overlapping key names - Redirect sources now support domains ([#15670](#15670)) - Improve buy command error handling: handle new API error codes (invalid_plan, already_on_plan, invalid_status, forbidden, purchase_create_hosted_failed), distinguish 402 payment failures from server errors, and auto-open billing page in TTY mode for payment-related errors. ([#15699](#15699)) - Namespace diagnostics keys by builder and service workspace, and aggregate per-builder `package-manifest.json` files into a single `project-manifest.json` ([#15399](#15399)) - Updated dependencies \[[`69cd8ea307f507037fe735d7ba09c58fb4193e13`](69cd8ea), [`e921c3f3f42cd436525c05627109115bcffc9f4c`](e921c3f), [`bb98cc3b9a303b9e598c14feca5c0f36128bcf7f`](bb98cc3), [`4839214ae9cbcc95d448429bf93133e58284e03f`](4839214), [`ac87d5a5ef5d79b55765e094efc957de987d7ac4`](ac87d5a), [`ece813e0a9a75e3ad262817f00050c62f5ad67eb`](ece813e), [`d7107d025500d6be305895dfd5cd89d87e6eb9f0`](d7107d0), [`25a6a2daa46baba6e8d7dec90eb49213b8150b8c`](25a6a2d), [`f02b9da61d1acac5b426d8757e9bfb4ba4ffedd8`](f02b9da)]: - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Minor Changes - [services] support multiple topics for a single worker service ([#15615](#15615)) - [services] support for specifying an env prefix for each service ([#15641](#15641)) ### Patch Changes - Updated dependencies \[[`13f719da050ba4b73b95b51e8edf7141c967b9a2`](13f719d)]: - @vercel/[email protected] ## @vercel/[email protected] ### Minor Changes - [services] support multiple topics for a single worker service ([#15615](#15615)) - [services] support for specifying an env prefix for each service ([#15641](#15641)) ### Patch Changes - Updated dependencies \[[`4839214ae9cbcc95d448429bf93133e58284e03f`](4839214), [`13f719da050ba4b73b95b51e8edf7141c967b9a2`](13f719d), [`ece813e0a9a75e3ad262817f00050c62f5ad67eb`](ece813e), [`d7107d025500d6be305895dfd5cd89d87e6eb9f0`](d7107d0), [`25a6a2daa46baba6e8d7dec90eb49213b8150b8c`](25a6a2d)]: - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Minor Changes - Update uv to v0.10.11 ([#15623](#15623)) - Simplify python runtime by always passing in app variable ([#15635](#15635)) ### Patch Changes - Fix env marker-excluded deps erroneously flagged as lacking wheels ([#15668](#15668)) - Updated dependencies \[[`ac87d5a5ef5d79b55765e094efc957de987d7ac4`](ac87d5a), [`25a6a2daa46baba6e8d7dec90eb49213b8150b8c`](25a6a2d)]: - @vercel/[email protected] ## @vercel/[email protected] ### Minor Changes - Simplify python runtime by always passing in app variable ([#15635](#15635)) ### Patch Changes - Fix env marker-excluded deps erroneously flagged as lacking wheels ([#15668](#15668)) ## @vercel/[email protected] ### Patch Changes - Bump @vercel/nft to 1.5.0 ([#15683](#15683)) - Updated dependencies \[[`4839214ae9cbcc95d448429bf93133e58284e03f`](4839214), [`ece813e0a9a75e3ad262817f00050c62f5ad67eb`](ece813e), [`d7107d025500d6be305895dfd5cd89d87e6eb9f0`](d7107d0), [`25a6a2daa46baba6e8d7dec90eb49213b8150b8c`](25a6a2d)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`69cd8ea307f507037fe735d7ba09c58fb4193e13`](69cd8ea)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`4839214ae9cbcc95d448429bf93133e58284e03f`](4839214), [`13f719da050ba4b73b95b51e8edf7141c967b9a2`](13f719d), [`ece813e0a9a75e3ad262817f00050c62f5ad67eb`](ece813e), [`d7107d025500d6be305895dfd5cd89d87e6eb9f0`](d7107d0), [`25a6a2daa46baba6e8d7dec90eb49213b8150b8c`](25a6a2d)]: - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`69cd8ea307f507037fe735d7ba09c58fb4193e13`](69cd8ea)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Bump @vercel/nft to 1.5.0 ([#15683](#15683)) - Updated dependencies \[[`69cd8ea307f507037fe735d7ba09c58fb4193e13`](69cd8ea)]: - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`69cd8ea307f507037fe735d7ba09c58fb4193e13`](69cd8ea)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`4839214ae9cbcc95d448429bf93133e58284e03f`](4839214), [`ece813e0a9a75e3ad262817f00050c62f5ad67eb`](ece813e), [`d7107d025500d6be305895dfd5cd89d87e6eb9f0`](d7107d0), [`25a6a2daa46baba6e8d7dec90eb49213b8150b8c`](25a6a2d)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`69cd8ea307f507037fe735d7ba09c58fb4193e13`](69cd8ea)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Bump @vercel/nft to 1.5.0 ([#15683](#15683)) - Updated dependencies \[[`69cd8ea307f507037fe735d7ba09c58fb4193e13`](69cd8ea)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`69cd8ea307f507037fe735d7ba09c58fb4193e13`](69cd8ea)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`69cd8ea307f507037fe735d7ba09c58fb4193e13`](69cd8ea)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Bump @vercel/nft to 1.5.0 ([#15683](#15683)) - fix(next): merge next-minimal-server.js.nft.json into server trace for prebuilt deployments ([#15688](#15688)) - Update to latest Next.js adapter ([#15695](#15695)) ## @vercel/[email protected] ### Patch Changes - Bump @vercel/nft to 1.5.0 ([#15683](#15683)) - Updated dependencies \[[`4839214ae9cbcc95d448429bf93133e58284e03f`](4839214), [`ece813e0a9a75e3ad262817f00050c62f5ad67eb`](ece813e), [`d7107d025500d6be305895dfd5cd89d87e6eb9f0`](d7107d0), [`25a6a2daa46baba6e8d7dec90eb49213b8150b8c`](25a6a2d)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Bump @vercel/nft to 1.5.0 ([#15683](#15683)) ## @vercel/[email protected] ### Patch Changes - Bump @vercel/nft to 1.5.0 ([#15683](#15683)) ## @vercel/[email protected] ### Patch Changes - Redirect sources now support domains ([#15670](#15670)) ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[]: - @vercel/[email protected] ## @vercel/[email protected] ### Minor Changes - Update uv to v0.10.11 ([#15623](#15623)) - Simplify python runtime by always passing in app variable ([#15635](#15635)) ### Patch Changes - Fix a flakey unit test ([#15647](#15647)) --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: JJ Kasper <[email protected]>
This branch was successfully deployed
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.
Dependencies guarded by PEP 508 environment markers that exclude the
target platform (e.g. pywin32 with
sys_platform == 'win32') arebeing checked for Linux wheel compatibility and incorrectly marked
for force-bundling.
Fix by traversing the
uv.lockdependency graph from the project root,evaluating markers via uv's
MarkerTree::evaluate()(exposed throughthe WASM module), to determine which packages are actually reachable
on the target platform before checking wheel compatibility.