Fix conflicts_with stanza odeprecated method call issue#20517
Merged
MikeMcQuaid merged 1 commit intomainfrom Aug 19, 2025
Merged
Fix conflicts_with stanza odeprecated method call issue#20517MikeMcQuaid merged 1 commit intomainfrom
MikeMcQuaid merged 1 commit intomainfrom
Conversation
Copilot
AI
changed the title
[WIP] Cask docker-desktop definition invalid: conflicts_with stanza failed
Fix conflicts_with stanza odeprecated method call issue
Aug 19, 2025
7ad30ad to
f2901ac
Compare
MikeMcQuaid
approved these changes
Aug 19, 2025
dduugg
approved these changes
Aug 19, 2025
Co-authored-by: MikeMcQuaid <[email protected]>
f2901ac to
8b10231
Compare
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
conflicts_withstanza was failing when deprecated keys (likeformula:) were used, causing cask operations to crash with the error:This issue was introduced in PR #20499 when deprecation warnings were added for certain
conflicts_withkeys. TheConflictsWithclass (which inherits fromSimpleDelegator) was callingodeprecateddirectly, but the method wasn't accessible in its scope.The fix explicitly calls
Kernel.odeprecatedinstead of relying on method resolution, allowing deprecated keys to show proper warnings without crashing:This ensures that casks using deprecated
conflicts_withsyntax continue to work while showing appropriate deprecation warnings.Fixes #20516.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
brew.sh/home/linuxbrew/.linuxbrew/opt/curl/bin/curl --tlsv1.3 --head REDACTED(dns block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --connect-timeout 15 --max-time 25 --retry 3 --retry-max-time 25 --dump-header - --output /var/tmp/20250819-17368-kothro --location REDACTED(dns block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --connect-timeout 15 --max-time 25 --retry 3 --retry-max-time 25 --dump-header - --output /var/tmp/20250819-17368-dfjstv --location REDACTED(dns block)https://api.github.com/graphql/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --data @/var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_post20250819-17368-kf1s3t --request POST --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-5xylpn(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --data @/var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_post20250819-17368-jhc9di --request POST --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-8pgdzw(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --data @/var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_post20250819-17368-g8slqc --request POST --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-3yvyw4(http block)https://api.github.com/orgs/Homebrew/public_members/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-chy956(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-oosm4u(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-lt3w9b(http block)https://api.github.com/repos/Homebrew/homebrew-core/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-49962-lnqfmy(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-50309-bev42h(http block)https://api.github.com/repos/Homebrew/homebrew-core/actions/workflows/tests.yml/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-k2h7t8(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-myc840(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-okdetm(http block)https://api.github.com/repos/Homebrew/homebrew-core/actions/workflows/triage.yml/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-dauhe6(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-h568jm(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-mf6cag(http block)https://api.github.com/repos/Homebrew/homebrew-foo/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-50309-163i6i(http block)https://api.github.com/repos/Homebrew/homebrew-test-bot/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17367-arjizb/temp/github_api_headers20250819-17367-wlcfuf(http block)https://api.github.com/repos/Homebrew/legacy-homebrew/pulls/50678/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-zceb20(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-vjo4kk(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-wwe70t(http block)https://api.github.com/repos/cask/cask/license/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-pkrskb(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-dz3m0l(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-4bplgk(http block)https://api.github.com/repos/spdx/license-list-data/releases/latest/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17370-msfsbk/temp/github_api_headers20250819-17370-8jlmrw(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17370-msfsbk/temp/github_api_headers20250819-17370-23a0dd(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17370-msfsbk/temp/github_api_headers20250819-17370-uijqwt(http block)https://api.github.com/search/issues/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-vvlvie(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-bl2tzp(http block)/bin/curl --disable --cookie /dev/null --globoff --show-error --user-agent Linuxbrew/4.6.4-82-g3fbce1b (Linux; x86_64 Ubuntu 24.04.2 LTS) curl/8.5.0 --header Accept-Language: en --retry 3 --location REDACTED --header Accept: application/vnd.github+json --write-out %{http_code} --header Authorization: token ghs_kdH17Nt85TMo4amrQyUChS6SRxqSF33JBBAQ --header X-GitHub-Api-Version:2022-11-28 --dump-header /var/tmp/homebrew-tests-20250819-17368-w14oiy/temp/github_api_headers20250819-17368-55z4lr(http block)svn.apache.org/home/linuxbrew/.linuxbrew/bin/svn ls REDACTED --depth empty(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.