← Back to issue list

ci: disable osx tests until a new pyyaml is released

View original Github issue

Metadata

Project
snapcraft
Number
#2175
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged as commit 75c06e465, temporarily disabling macOS Travis tests because Homebrew's Python 3.7 lacked a working PyYAML (pyyaml#126); later reverted by PR #2213 (c3bf48065) once the dependency was updated.

Resolution: closed resolved

Reason: PR #2175 was approved and merged by maintainer sergiusens as commit 75c06e465, commenting that the failure was only due to org/test-user permissions. The temporary .travis.yml osx test disable was later reverted in PR #2213 (commit c3bf48065) after PyYAML/Homebrew were updated.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Homebrew updated to Python 3.7 which causes build failures with the currently released PyYaml https://github.com/yaml/pyyaml/issues/126. Disabled the tests until a working version for Ptthon 3.7 of PyYaml is released. - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as commit 75c06e465, temporarily disabling macOS Travis tests because Homebrew's Python 3.7 lacked a working PyYAML (pyyaml#126); later reverted by PR #2213 (c3bf48065) once the dependency was updated.
stealth/space-bunny-alpha — closed resolved PR #2175 merged as commit 75c06e46, temporarily disabling macOS CI tests because Homebrew's Python 3.7 broke with the released PyYAML (yaml/pyyaml#126). Later reverted by #2213 (c3bf4806) once PyYAML/Homebrew were updated.
stealth/space-bunny-alpha — closed resolved PR #2175 merged as 75c06e46, temporarily disabling macOS tests because Homebrew Python 3.7 lacked compatible PyYAML. PR #2213 later reverted it after the dependency was updated.
qwen/qwen3.6-35b-a3b — — Merged to temporarily disable macOS tests, bypassing build failures from Homebrew's Python 3.7 update and an incompatible PyYaml version. Tests will resume once a compatible release is available.
qwen3.6-35b-a3b-mtp-q6 — — Merged a temporary workaround disabling macOS CI tests. Homebrew's Python 3.7 update broke builds with the current PyYaml release. Tests remain disabled until a compatible PyYaml version is available. Merged despite unrelated CI failures.

Update history

No update history recorded yet.

Related work

  • Superseded By: snapcraft#2213 (confidence 95%)

    Merged PR that reverted commit 75c06e465 in c3bf48065, re-enabling macOS tests once PyYAML supported Python 3.7.

  • Related To: snapcraft#2218 (confidence 60%)

    Commit 2e6ed7fd1 'yaml: replace yaml.safe_load() with CSafeLoader' landed in the same window addressing the PyYAML problem.

  • Related To: snapcraft#2383 (confidence 55%)

    Later PR reworking osx CI with more Travis primitives, a follow-on to the re-enabled macOS test job.

Related issues

Issue Project State Summary Similarity
#2213 Revert "ci: disable osx tests until a new pyyaml is released" snapcraft merged Merged PR #2213 re-enabled macOS CI tests after PyYAML and Homebrew updates, reverting commit 75c06e46561b6f8a57b2968c44d45e647358ef0b in c3bf48065.
83%
#1779855 Re-enable travis tests for OSX when pyyaml is updated snapcraft (launchpad) closed OSX Travis tests were re-enabled by PR #2213, which reverted the temporary PyYAML-related disablement in commit 75c06e465.
79%
#2606 ci: disable macos tests charmcraft merged Merged PR #2606 (commit df2c6233) temporarily disabled macOS CI tests while issue #2605 investigated the missing Homebrew libgit2 dependency.
73%
#2605 Re-enable MacOS tests charmcraft open macOS CI (macos-smoke-test) is commented out since PR #2606 because Homebrew's libgit2@1.7 disappeared. A maintainer-endorsed proposal to drop brew libgit2 and use pygit2 wheels is in progress via PR #2907.
70%