Skip to content

Commit 5f95543

Browse files
author
jgstern
committed
Merge pull request 'fix: resolve pytest/syrupy conflict in release post-publish-matrix' (#2202) from dev into main
Reviewed-on: https://codeberg.org/iterabloom/hypergumbo/pulls/2202
2 parents 39b916a + c4bb453 commit 5f95543

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

.ci/affected-tests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Test selection manifest
2-
# Generated by smart-test at 2026-03-12T17:40:48-04:00
2+
# Generated by smart-test at 2026-03-12T18:10:01-04:00
33
# Mode: targeted
44
# Baseline: b9148d0e3f989729c11028870100ac7e337bb59c
55
# Reason: no Python source files changed

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,13 +318,18 @@ jobs:
318318
run: |
319319
pip install --upgrade pip
320320
if [ -d "packages/hypergumbo-core" ]; then
321-
pip install -e "packages/hypergumbo-core[dev]" \
321+
# Install test deps separately, then packages without [dev] extras.
322+
# This matches ci.yml's approach and avoids a resolution conflict:
323+
# hypergumbo-core[dev] pins pytest~=9.0.2, but syrupy==4.8.0
324+
# (from pytest-textual-snapshot via tracker[tui]) requires pytest<9.
325+
# Installing pytest first lets pip skip the upper-bound check.
326+
pip install pytest pytest-cov pytest-xdist jsonschema
327+
pip install -e packages/hypergumbo-core \
322328
-e packages/hypergumbo-lang-mainstream \
323329
-e packages/hypergumbo-lang-common \
324330
-e packages/hypergumbo-lang-extended1 \
325331
-e "packages/hypergumbo-tracker[dev,tui]" \
326-
-e packages/hypergumbo \
327-
jsonschema
332+
-e packages/hypergumbo
328333
else
329334
pip install -e .[dev]
330335
fi

0 commit comments

Comments
 (0)