Skip to content

fix: sanitize version specifier and handled generator name edge case for Python builds#1247

Merged
behnazh-w merged 2 commits into
mainfrom
abhinav/fix-sanitize-generator-string
Nov 27, 2025
Merged

fix: sanitize version specifier and handled generator name edge case for Python builds#1247
behnazh-w merged 2 commits into
mainfrom
abhinav/fix-sanitize-generator-string

Conversation

@AbhinavPradeep

Copy link
Copy Markdown
Contributor

Summary

Fixed logic related to parsing the "Generator: ..." line of .dist_info

Description of changes

  • Modified pypi_spec.py, specifically added parse_generator_version so correctly sanitize and standardize the generator's version and added logic to handle the edge case of the bdist_wheel build backend. It's name is not indicative of the backend to be installed: instead wheel must be installed.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 25, 2025
Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
@AbhinavPradeep AbhinavPradeep force-pushed the abhinav/fix-sanitize-generator-string branch from eec8d83 to e1ac713 Compare November 26, 2025 23:20
…ion and fixed small bug with version regex.

Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
@behnazh-w behnazh-w changed the title fix: sanitized version specifier and handled generator name edge case. fix: sanitize version specifier and handled generator name edge case for Python builds Nov 27, 2025
@AbhinavPradeep AbhinavPradeep marked this pull request as ready for review November 27, 2025 04:41
@behnazh-w behnazh-w merged commit 8791027 into main Nov 27, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants