Skip to content

Fix Poetry editable test failing due to build backend warnings - #2146

Merged
edmorley merged 1 commit into
mainfrom
edmorley/fix-poetry-editable-test
Oct 1, 2026
Merged

edmorley merged 1 commit into
mainfrom
edmorley/fix-poetry-editable-test

Conversation

@edmorley

@edmorley edmorley commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

pyproject-hooks 1.3 now re-emits build backend UserWarnings as BuildBackendWarning, which Poetry displays. This broke the exact-output assertions in the Poetry editable requirements test, since setuptools emits warnings when building the editable dependencies:

  • License metadata deprecation warnings for the locked gunicorn commit. These have been resolved by updating the fixture's gunicorn to the latest commit (v26.2.2), which uses SPDX license metadata.
  • An informational "Editable installation" warning for every flat-layout package. These are always emitted, so the test now expects them.

Test failures on main:
https://github.com/heroku/heroku-buildpack-python/actions/runs/36851627329

pyproject-hooks changelog:
https://pyproject-hooks.readthedocs.io/en/latest/changelog.html#v1-3

GUS-W-24372151.

@edmorley edmorley self-assigned this Oct 1, 2026
pyproject-hooks 1.3 now re-emits build backend `UserWarning`s as
`BuildBackendWarning`, which Poetry displays. This broke the
exact-output assertions in the Poetry editable requirements test, since
setuptools emits warnings when building the editable dependencies:

- License metadata deprecation warnings for the locked gunicorn commit.
  These have been resolved by updating the fixture's gunicorn to the
  latest commit (v26.2.2), which uses SPDX license metadata.
- An informational "Editable installation" warning for every
  flat-layout package. These are always emitted, so the test now
  expects them.

Test failures on main:
https://github.com/heroku/heroku-buildpack-python/actions/runs/36851627329

pyproject-hooks changelog:
https://pyproject-hooks.readthedocs.io/en/latest/changelog.html#v1-3

GUS-W-24372151.
@edmorley
edmorley force-pushed the edmorley/fix-poetry-editable-test branch from 6371b83 to ccd65d0 Compare October 1, 2026 12:42
@edmorley
edmorley marked this pull request as ready for review October 1, 2026 12:46
@edmorley
edmorley requested a review from a team as a code owner October 1, 2026 12:46
@edmorley
edmorley enabled auto-merge (squash) October 1, 2026 12:46
@edmorley
edmorley merged commit 80b733b into main Oct 1, 2026
10 checks passed
@edmorley
edmorley deleted the edmorley/fix-poetry-editable-test branch October 1, 2026 12:59
@heroku-linguist heroku-linguist Bot mentioned this pull request Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants