Skip to content

[CI] Upgrade build tooling to fix the Python 3.8 package build - #327

Merged
1technophile merged 1 commit into
theengs:developmentfrom
jcsanyi:workflow-fix
Aug 16, 2026
Merged

[CI] Upgrade build tooling to fix the Python 3.8 package build#327
1technophile merged 1 commit into
theengs:developmentfrom
jcsanyi:workflow-fix

Conversation

@jcsanyi

@jcsanyi jcsanyi commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Description:

test (3.8) fails on every pull request against this repo, in the Build package step, with AttributeError: ignore_egg_info_in_manifest.

Install requirements installs setuptools unpinned, so pip leaves whatever the runner image ships in place. The 3.8 image ships setuptools 56.0.0, from 2021, which current setuptools_scm fails against. The other matrix entries pass only because their images happen to ship something more recent. Adding --upgrade installs the newest setuptools each Python version supports, which is 75.3.4 on 3.8.

Tested on a pull request against my own fork: a commit changing nothing but a comment in the workflow reproduced the failure (run), and the --upgrade change turned it 6/6 green (run). setuptools_scm was 10.2.1 in both, so setuptools is the only thing that moved.

Worth knowing separately: before today's failure on #325, this workflow had effectively not run since 2026-06-07 - every pull request after that sat behind the approval gate for outside contributors.

Checklist:

  • I have created the pull request against the latest development branch
  • I have added only one feature/fix per PR and the code change compiles without warnings
  • I accept the Developer Certificate of Origin (DCO).

setuptools is installed unpinned, so pip leaves whatever the runner
image ships in place. The Python 3.8 image ships setuptools 56.0.0,
which current setuptools_scm fails against when building the sdist:
AttributeError: ignore_egg_info_in_manifest.

Adding --upgrade installs the newest setuptools each Python version
supports, which is 75.3.4 on 3.8.
@1technophile

Copy link
Copy Markdown
Member

Thanks

@1technophile
1technophile merged commit b60b79c into theengs:development Aug 16, 2026
6 checks passed
@jcsanyi
jcsanyi deleted the workflow-fix branch August 17, 2026 14:33
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