Commit 5a7b958
IntegrationTest: catch ResolverError for URL-based downstreams (#80)
## Summary
The `try/catch Pkg.Resolve.ResolverError` wrapper was only around the
registered-package branch of `IntegrationTest.yml`. URL-based
downstreams (unregistered / private packages specified as `https://...`
or `git@...`) ran `Pkg.add(url=pkg)` / `Pkg.develop(".")` /
`Pkg.update()` with no error handling, so a breaking change in the PR
that the downstream's compat didn't allow failed the job instead of
being reported as an intentional SemVer-breaking change.
This PR hoists the existing `try/catch` up to cover the full `if/else`,
so both branches share one resolver-error exit (the "not compatible with
this release — no problem" path). No other behavior changes.
Surfaced by
[ITensor/ITensorNetworks.jl#327](ITensor/ITensorNetworks.jl#327),
where the Tennis.jl downstream (passed as a URL) failed with
`ResolverError` after the PR bumped ITensorNetworks to 0.16.0.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e9999c6 commit 5a7b958
1 file changed
Lines changed: 16 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
111 | 111 | | |
0 commit comments