-
-
Notifications
You must be signed in to change notification settings - Fork 13k
micropython mpremote 1.26.0 #232946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
micropython mpremote 1.26.0 #232946
Conversation
046391c
to
aabef8a
Compare
🤖 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. |
|
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 |
aabef8a
to
741cd5a
Compare
|
No |
741cd5a
to
4fc0bca
Compare
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() |
4fc0bca
to
7b37695
Compare
🤖 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. |
|
7b37695
to
d1a0e3a
Compare
ba2e82c
to
d1a0e3a
Compare
Oops, didn't realise you pushed a fix already. Undid my force-push! |
Your turn, @carlocab |
40e9faf
to
4195a5d
Compare
176f0be
to
a727d25
Compare
Now all bottles have same checksum. |
Co-authored-by: Carlo Cabrera <[email protected]>
a727d25
to
ccb41cf
Compare
🤖 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. |
Created by
brew bump
Created with
brew bump-formula-pr
.mpremote
resource
blocks have been checked for updates.