Skip to content

Conversation

BrewTestBot
Copy link
Member

@BrewTestBot BrewTestBot commented Aug 9, 2025

Created by brew bump


Created with brew bump-formula-pr.

mpremote

  • resource blocks have been checked for updates.

@github-actions github-actions bot added python Python use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Aug 9, 2025
@branchvincent branchvincent force-pushed the bump-micropython-1.26.0 branch from 046391c to aabef8a Compare August 9, 2025 18:03
Copy link
Contributor

github-actions bot commented Aug 9, 2025

🤖 An automated task has requested bottles to be published to this PR.

Caution

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

Copy link
Contributor

github-actions bot commented Aug 9, 2025

⚠️ Bottle publish failed.

Copy link
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a help wanted or in progress label.

@github-actions github-actions bot added the stale No recent activity label Aug 12, 2025
@chenrui333 chenrui333 added in progress Stale bot should stay away and removed stale No recent activity labels Aug 12, 2025
@carlocab carlocab force-pushed the bump-micropython-1.26.0 branch from aabef8a to 741cd5a Compare August 16, 2025 00:54
@carlocab
Copy link
Member

inreplace might need adjusting due to relocation changes in brew.

@daeho-ro daeho-ro added the brew Issue may be Homebrew/brew related label Aug 16, 2025
@carlocab
Copy link
Member

No service blocks here, so this is unrelated to Homebrew/brew#20478.

@carlocab carlocab removed the brew Issue may be Homebrew/brew related label Aug 16, 2025
@daeho-ro daeho-ro force-pushed the bump-micropython-1.26.0 branch from 741cd5a to 4fc0bca Compare August 17, 2025 10:05
@daeho-ro
Copy link
Member

MacOS 14 arm and linux,

│ ├── mpremote/1.26.0/libexec/lib/python3.13/site-packages/platformdirs/macos.py
│ │ @@ -30,21 +30,21 @@
│ │          return self._append_app_name_and_version(os.path.expanduser("~/Library/Application Support"))  # noqa: PTH111
│ │  
│ │      @property
│ │      def site_data_dir(self) -> str:
│ │          """
│ │          :return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``.
│ │            If we're using a Python binary managed by `Homebrew <https://brew.sh>`_, the directory
│ │ -          will be under the Homebrew prefix, e.g. ``@@HOMEBREW_PREFIX@@/share/$appname/$version``.
│ │ +          will be under the Homebrew prefix, e.g. ``/opt/homebrew/share/$appname/$version``.
│ │            If `multipath <platformdirs.api.PlatformDirsABC.multipath>` is enabled, and we're in Homebrew,
│ │            the response is a multi-path string separated by ":", e.g.
│ │ -          ``@@HOMEBREW_PREFIX@@/share/$appname/$version:/Library/Application Support/$appname/$version``
│ │ +          ``/opt/homebrew/share/$appname/$version:/Library/Application Support/$appname/$version``
│ │          """
│ │ -        is_homebrew = sys.prefix.startswith("@@HOMEBREW_PREFIX@@")
│ │ -        path_list = [self._append_app_name_and_version("@@HOMEBREW_PREFIX@@/share")] if is_homebrew else []
│ │ +        is_homebrew = sys.prefix.startswith("/opt/homebrew")
│ │ +        path_list = [self._append_app_name_and_version("/opt/homebrew/share")] if is_homebrew else []
│ │          path_list.append(self._append_app_name_and_version("/Library/Application Support"))
│ │          if self.multipath:
│ │              return os.pathsep.join(path_list)
│ │          return path_list[0]
│ │  
│ │      @property
│ │      def site_data_path(self) -> Path:
│ │ @@ -67,21 +67,21 @@
│ │          return self._append_app_name_and_version(os.path.expanduser("~/Library/Caches"))  # noqa: PTH111
│ │  
│ │      @property
│ │      def site_cache_dir(self) -> str:
│ │          """
│ │          :return: cache directory shared by users, e.g. ``/Library/Caches/$appname/$version``.
│ │            If we're using a Python binary managed by `Homebrew <https://brew.sh>`_, the directory
│ │ -          will be under the Homebrew prefix, e.g. ``@@HOMEBREW_PREFIX@@/var/cache/$appname/$version``.
│ │ +          will be under the Homebrew prefix, e.g. ``/opt/homebrew/var/cache/$appname/$version``.
│ │            If `multipath <platformdirs.api.PlatformDirsABC.multipath>` is enabled, and we're in Homebrew,
│ │            the response is a multi-path string separated by ":", e.g.
│ │ -          ``@@HOMEBREW_PREFIX@@/var/cache/$appname/$version:/Library/Caches/$appname/$version``
│ │ +          ``/opt/homebrew/var/cache/$appname/$version:/Library/Caches/$appname/$version``
│ │          """
│ │ -        is_homebrew = sys.prefix.startswith("@@HOMEBREW_PREFIX@@")
│ │ -        path_list = [self._append_app_name_and_version("@@HOMEBREW_PREFIX@@/var/cache")] if is_homebrew else []
│ │ +        is_homebrew = sys.prefix.startswith("/opt/homebrew")
│ │ +        path_list = [self._append_app_name_and_version("/opt/homebrew/var/cache")] if is_homebrew else []
│ │          path_list.append(self._append_app_name_and_version("/Library/Caches"))
│ │          if self.multipath:
│ │              return os.pathsep.join(path_list)
│ │          return path_list[0]
│ │  
│ │      @property
│ │      def site_cache_path(self) -> Path:

MacOS 14 arm and 14 x86_64

│ ├── mpremote/1.26.0/libexec/lib/python3.13/site-packages/platformdirs/macos.py
│ │ @@ -30,21 +30,21 @@
│ │          return self._append_app_name_and_version(os.path.expanduser("~/Library/Application Support"))  # noqa: PTH111
│ │  
│ │      @property
│ │      def site_data_dir(self) -> str:
│ │          """
│ │          :return: data directory shared by users, e.g. ``/Library/Application Support/$appname/$version``.
│ │            If we're using a Python binary managed by `Homebrew <https://brew.sh>`_, the directory
│ │ -          will be under the Homebrew prefix, e.g. ``@@HOMEBREW_PREFIX@@/share/$appname/$version``.
│ │ +          will be under the Homebrew prefix, e.g. ``/opt/homebrew/share/$appname/$version``.
│ │            If `multipath <platformdirs.api.PlatformDirsABC.multipath>` is enabled, and we're in Homebrew,
│ │            the response is a multi-path string separated by ":", e.g.
│ │ -          ``@@HOMEBREW_PREFIX@@/share/$appname/$version:/Library/Application Support/$appname/$version``
│ │ +          ``/opt/homebrew/share/$appname/$version:/Library/Application Support/$appname/$version``
│ │          """
│ │ -        is_homebrew = sys.prefix.startswith("@@HOMEBREW_PREFIX@@")
│ │ -        path_list = [self._append_app_name_and_version("@@HOMEBREW_PREFIX@@/share")] if is_homebrew else []
│ │ +        is_homebrew = sys.prefix.startswith("/opt/homebrew")
│ │ +        path_list = [self._append_app_name_and_version("/opt/homebrew/share")] if is_homebrew else []
│ │          path_list.append(self._append_app_name_and_version("/Library/Application Support"))
│ │          if self.multipath:
│ │              return os.pathsep.join(path_list)
│ │          return path_list[0]
│ │  
│ │      @property
│ │      def site_data_path(self) -> Path:
│ │ @@ -67,21 +67,21 @@
│ │          return self._append_app_name_and_version(os.path.expanduser("~/Library/Caches"))  # noqa: PTH111
│ │  
│ │      @property
│ │      def site_cache_dir(self) -> str:
│ │          """
│ │          :return: cache directory shared by users, e.g. ``/Library/Caches/$appname/$version``.
│ │            If we're using a Python binary managed by `Homebrew <https://brew.sh>`_, the directory
│ │ -          will be under the Homebrew prefix, e.g. ``@@HOMEBREW_PREFIX@@/var/cache/$appname/$version``.
│ │ +          will be under the Homebrew prefix, e.g. ``/opt/homebrew/var/cache/$appname/$version``.
│ │            If `multipath <platformdirs.api.PlatformDirsABC.multipath>` is enabled, and we're in Homebrew,
│ │            the response is a multi-path string separated by ":", e.g.
│ │ -          ``@@HOMEBREW_PREFIX@@/var/cache/$appname/$version:/Library/Caches/$appname/$version``
│ │ +          ``/opt/homebrew/var/cache/$appname/$version:/Library/Caches/$appname/$version``
│ │          """
│ │ -        is_homebrew = sys.prefix.startswith("@@HOMEBREW_PREFIX@@")
│ │ -        path_list = [self._append_app_name_and_version("@@HOMEBREW_PREFIX@@/var/cache")] if is_homebrew else []
│ │ +        is_homebrew = sys.prefix.startswith("/opt/homebrew")
│ │ +        path_list = [self._append_app_name_and_version("/opt/homebrew/var/cache")] if is_homebrew else []
│ │          path_list.append(self._append_app_name_and_version("/Library/Caches"))
│ │          if self.multipath:
│ │              return os.pathsep.join(path_list)
│ │          return path_list[0]
│ │  
│ │      @property
│ │      def site_cache_path(self) -> Path:
│ ├── mpremote/1.26.0/libexec/lib/python3.13/site-packages/platformdirs/unix.py
│ │ @@ -47,23 +47,23 @@
│ │              path = os.path.expanduser("~/.local/share")  # noqa: PTH111
│ │          return self._append_app_name_and_version(path)
│ │  
│ │      @property
│ │      def _site_data_dirs(self) -> list[str]:
│ │          path = os.environ.get("XDG_DATA_DIRS", "")
│ │          if not path.strip():
│ │ -            path = f"@@HOMEBREW_PREFIX@@/share{os.pathsep}/usr/share"
│ │ +            path = f"/usr/local/share{os.pathsep}/usr/share"
│ │          return [self._append_app_name_and_version(p) for p in path.split(os.pathsep)]
│ │  
│ │      @property
│ │      def site_data_dir(self) -> str:
│ │          """
│ │          :return: data directories shared by users (if `multipath <platformdirs.api.PlatformDirsABC.multipath>` is
│ │           enabled and ``XDG_DATA_DIRS`` is set and a multi path the response is also a multi path separated by the
│ │ -         OS path separator), e.g. ``@@HOMEBREW_PREFIX@@/share/$appname/$version`` or ``/usr/share/$appname/$version``
│ │ +         OS path separator), e.g. ``/usr/local/share/$appname/$version`` or ``/usr/share/$appname/$version``
│ │          """
│ │          # XDG default for $XDG_DATA_DIRS; only first, if multipath is False
│ │          dirs = self._site_data_dirs
│ │          if not self.multipath:
│ │              return dirs[0]
│ │          return os.pathsep.join(dirs)
│ ├── mpremote/1.26.0/libexec/lib/python3.13/site-packages/platformdirs-4.3.8.dist-info/METADATA
│ │ @@ -185,22 +185,22 @@
│ │      >>> user_data_dir(appname, appauthor)
│ │      '/home/trentm/.local/share/SuperApp'
│ │      >>> user_config_dir(appname)
│ │      '/home/trentm/.config/SuperApp'
│ │      >>> user_cache_dir(appname, appauthor)
│ │      '/home/trentm/.cache/SuperApp'
│ │      >>> site_data_dir(appname, appauthor)
│ │ -    '@@HOMEBREW_PREFIX@@/share/SuperApp'
│ │ +    '/usr/local/share/SuperApp'
│ │      >>> site_data_dir(appname, appauthor, multipath=True)
│ │ -    '@@HOMEBREW_PREFIX@@/share/SuperApp:/usr/share/SuperApp'
│ │ +    '/usr/local/share/SuperApp:/usr/share/SuperApp'
│ │      >>> site_config_dir(appname)
│ │      '/etc/xdg/SuperApp'
│ │ -    >>> os.environ["XDG_CONFIG_DIRS"] = "/etc:@@HOMEBREW_PREFIX@@/etc"
│ │ +    >>> os.environ["XDG_CONFIG_DIRS"] = "/etc:/usr/local/etc"
│ │      >>> site_config_dir(appname, multipath=True)
│ │ -    '/etc/SuperApp:@@HOMEBREW_PREFIX@@/etc/SuperApp'
│ │ +    '/etc/SuperApp:/usr/local/etc/SuperApp'
│ │      >>> user_log_dir(appname, appauthor)
│ │      '/home/trentm/.local/state/SuperApp/log'
│ │      >>> user_documents_dir()
│ │      '/home/trentm/Documents'
│ │      >>> user_downloads_dir()
│ │      '/home/trentm/Downloads'
│ │      >>> user_pictures_dir()

@daeho-ro daeho-ro force-pushed the bump-micropython-1.26.0 branch from 4fc0bca to 7b37695 Compare August 17, 2025 11:45
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

Caution

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

Copy link
Contributor

⚠️ Bottle publish failed.

@daeho-ro daeho-ro force-pushed the bump-micropython-1.26.0 branch from 7b37695 to d1a0e3a Compare August 17, 2025 12:37
@carlocab carlocab force-pushed the bump-micropython-1.26.0 branch 2 times, most recently from ba2e82c to d1a0e3a Compare August 17, 2025 12:40
@carlocab
Copy link
Member

Oops, didn't realise you pushed a fix already. Undid my force-push!

@daeho-ro
Copy link
Member

Your turn, @carlocab
Bottle comparison is quite confused and now only intel macos has different checksum.

@daeho-ro daeho-ro force-pushed the bump-micropython-1.26.0 branch 2 times, most recently from 40e9faf to 4195a5d Compare August 17, 2025 15:08
@daeho-ro daeho-ro force-pushed the bump-micropython-1.26.0 branch 2 times, most recently from 176f0be to a727d25 Compare August 17, 2025 15:14
@github-actions github-actions bot added the automerge-skip `brew pr-automerge` will skip this pull request label Aug 17, 2025
@daeho-ro
Copy link
Member

daeho-ro commented Aug 17, 2025

Now all bottles have same checksum.

@daeho-ro daeho-ro removed the in progress Stale bot should stay away label Aug 18, 2025
@daeho-ro daeho-ro marked this pull request as draft August 18, 2025 07:50
@daeho-ro daeho-ro force-pushed the bump-micropython-1.26.0 branch from a727d25 to ccb41cf Compare August 18, 2025 21:58
@github-actions github-actions bot removed the automerge-skip `brew pr-automerge` will skip this pull request label Aug 18, 2025
@daeho-ro daeho-ro marked this pull request as ready for review August 18, 2025 22:27
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

Caution

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Aug 18, 2025
@BrewTestBot BrewTestBot enabled auto-merge August 18, 2025 22:30
@BrewTestBot BrewTestBot added this pull request to the merge queue Aug 18, 2025
Merged via the queue into main with commit 67e8bb8 Aug 18, 2025
19 checks passed
@BrewTestBot BrewTestBot deleted the bump-micropython-1.26.0 branch August 18, 2025 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-all-bottle bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. python Python use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants