Fix PyPy Poetry cache failures and refresh audited dependency metadata by Copilot · Pull Request #5 · HarithaVattikuti/setup-python · GitHub
Skip to content

Fix PyPy Poetry cache failures and refresh audited dependency metadata#5

Draft
Copilot wants to merge 7 commits into
mainfrom
copilot/fix-github-actions-job
Draft

Fix PyPy Poetry cache failures and refresh audited dependency metadata#5
Copilot wants to merge 7 commits into
mainfrom
copilot/fix-github-actions-job

Conversation

Copilot AI commented Jun 12, 2026

Copy link
Copy Markdown

Description:
PyPy jobs in the python-poetry-dependencies-caching matrix were failing due to a packaging>=26 incompatibility with PyPy's sysconfig. This pins packaging in the test pyproject.toml to <26, keeping Poetry dependency resolution compatible across all Python/PyPy versions.

  • PyPy compatibility fix

    • Added packaging = ">=22.0,<26" constraint to __tests__/data/pyproject.toml to prevent Poetry from resolving a packaging version incompatible with PyPy's sysconfig.get_config_var('EXT_SUFFIX').
  • Dependency security refresh

    • Applied npm audit fix; bumped transitive deps (fast-xml-parser, strnum, et al.) in package-lock.json.
  • Licensed metadata sync

    • Updated existing .licenses/npm/*.dep.yml entries for bumped packages.
    • Added new license entries for newly introduced transitive dependencies (@nodable/entities, anynum, xml-naming).

Related issue:
N/A

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

Copilot AI changed the title Fix PyPy 3.10 poetry test failure by pinning packaging<26 Stabilize PyPy Poetry cache job and align audited dependency license metadata Jun 12, 2026
@HarithaVattikuti

Copy link
Copy Markdown
Owner

Copilot AI commented Jun 18, 2026

Copy link
Copy Markdown
Author

@copilot Add the below step after setup-python step in python-poetry-dependencies-caching job in e2e-cache.yml file to ensure there is no failure on the job. Also fix the check dist job failure

Implemented in d640171. I added the requested Bootstrap packaging step immediately after Setup Python in the python-poetry-dependencies-caching job of /home/runner/work/setup-python/setup-python/.github/workflows/e2e-cache.yml, and also updated generated dist/ bundles to address the check-dist failure.

Copilot AI changed the title Stabilize PyPy Poetry cache job and align audited dependency license metadata Fix PyPy Poetry cache failures and refresh audited dependency metadata Jun 18, 2026
@HarithaVattikuti

Copy link
Copy Markdown
Owner

@copilot Add only the removed "Bootstrap packaging" step

Copilot AI commented Jun 18, 2026

Copy link
Copy Markdown
Author

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