Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

tiran
Copy link
Contributor

@tiran tiran commented May 2, 2025

get_embed_wheel() no longer fails with TypeError: unsupported operand type(s) for /: 'PosixPath' and 'NoneType' for unsupport distributions. Callers like load_embed_wheel() and get_wheel() are handling None correctly.

The fix simplifies custom seed plugins. They no longer have to monkey-patch BUNDLE_SUPPORT. See
https://github.com/sclabs/virtualenv-seedhelper/blob/v0.0.1/virtualenv_seedhelper.py#L53-L56

Thanks for contributing, make sure you address all the checklists (for details on how see development documentation)

  • ran the linter to address style issues (tox -e fix)
  • wrote descriptive pull request text
  • ensured there are test(s) validating the fix
  • added news fragment in docs/changelog folder
  • updated/extended the documentation

`get_embed_wheel()` no longer fails with `TypeError: unsupported operand
type(s) for /: 'PosixPath' and 'NoneType'` for unsupport distributions.
Callers like `load_embed_wheel()` and `get_wheel()` are handling `None`
correctly.

The fix simplifies custom seed plugins. They no longer have to
monkey-patch `BUNDLE_SUPPORT`. See
https://github.com/sclabs/virtualenv-seedhelper/blob/v0.0.1/virtualenv_seedhelper.py#L53-L56

Signed-off-by: Christian Heimes <[email protected]>
@tiran tiran force-pushed the fix_get_embed_wheel branch from cd7fd75 to d1f2bfb Compare May 2, 2025 08:09
@tiran tiran marked this pull request as ready for review May 2, 2025 08:10
@gaborbernat gaborbernat enabled auto-merge (squash) May 5, 2025 15:09
@gaborbernat gaborbernat merged commit a2e76cb into pypa:main May 5, 2025
42 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.

2 participants