snapcraft 8.2.10 build failure
Metadata
Current evaluation
Fixed by updating the Homebrew formula to require craft-parts 1.30.0, resolving the missing unregister API error in snapcraft 8.2.10. Closed.
Suggested action: —
No scores available.
Issue body
### Bug Description
snapcraft 8.2.10 build failure
### To Reproduce
brew install -s https://raw.githubusercontent.com/Homebrew/homebrew-core/8e944da56201148b5a8181631001ce8c1d2f30f2/Formula/s/snapcraft.rb
### Environment
ubuntu 22.04
### snapcraft.yaml
```shell
n/a
```
### Relevant log output
```shell
==> /home/linuxbrew/.linuxbrew/Cellar/snapcraft/8.2.10/bin/snapcraft --version
/home/linuxbrew/.linuxbrew/Cellar/snapcraft/8.2.10/libexec/lib/python3.12/site-packages/apt/__init__.py:37: Warning: W:Unable to read /home/linuxbrew/.linuxbrew/Cellar/apt/2.9.4/etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
apt_pkg.init_config()
/home/linuxbrew/.linuxbrew/Cellar/snapcraft/8.2.10/libexec/lib/python3.12/site-packages/gnupg/_util.py:129: SyntaxWarning: invalid escape sequence '\d'
_VERSION_STRING_REGEX = re.compile('(\d)(\.)(\d)(\.)(\d+)')
/home/linuxbrew/.linuxbrew/Cellar/snapcraft/8.2.10/libexec/lib/python3.12/site-packages/gnupg/_parsers.py:846: SyntaxWarning: invalid escape sequence '\d'
allowed_entry = re.findall('^(\d+)(|w|m|y)$', self._expiration_time)
Traceback (most recent call last):
File "/home/linuxbrew/.linuxbrew/Cellar/snapcraft/8.2.10/bin/snapcraft", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/linuxbrew/.linuxbrew/Cellar/snapcraft/8.2.10/libexec/lib/python3.12/site-packages/snapcraft/application.py", line 368, in main
return app.run()
^^^^^^^^^
File "/home/linuxbrew/.linuxbrew/Cellar/snapcraft/8.2.10/libexec/lib/python3.12/site-packages/craft_application/application.py", line 487, in run
self._register_default_plugins()
File "/home/linuxbrew/.linuxbrew/Cellar/snapcraft/8.2.10/libexec/lib/python3.12/site-packages/snapcraft/application.py", line 117, in _register_default_plugins
craft_parts.plugins.unregister("dotnet")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'craft_parts.plugins' has no attribute 'unregister'. Did you mean: 'register'?
```
```
### Additional context
full build log, https://github.com/Homebrew/homebrew-core/actions/runs/9387671141/job/25851261032?pr=173791
relates to https://github.com/Homebrew/homebrew-core/pull/173791
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Fixed by updating the Homebrew formula to require craft-parts 1.30.0, resolving the missing unregister API error in snapcraft 8.2.10. Closed. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed a build failure caused by Homebrew pinning an outdated craft-parts version missing the unregister function. The dependency mismatch was resolved by updating the package version. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed a build failure caused by Homebrew pinning an outdated craft-parts version. The dependency mismatch was resolved, a new release was shipped, and the issue closed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Build failure resulted from Homebrew pinning an outdated craft-parts version lacking the required unregister method. The dependency mismatch was resolved by updating the formula, and the issue closed after a corrected release shipped. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Build failure resulted from Homebrew pinning an outdated craft-parts version missing the unregister function. The dependency mismatch was corrected in a new release, resolving the issue. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #141 No longer works on macOS | craft-archives | open | Snapcraft 8.5.0 via Homebrew fails on macOS: craft-archives unconditionally imports python-debian, which the brew formula only installs on Linux. Discussion ended ~20 months ago with the maintainer questioning whether it's a bug in this repo at all. | |
| #1816 snapcraft update won't fetch from `SNAPCRAFT_PARTS_URI` | snapcraft | closed | Closed without resolution or comments. Likely superseded by the linked Launchpad bug report. No fixes or code changes were applied. |