You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update `packaging/homebrew/mdbub.rb` to fully comply with Homebrew Python-for-Formula-Authors guidelines by explicitly declaring all non-stdlib dependencies as `resource` blocks.
5
+
6
+
## Steps
7
+
8
+
-[x] Extract all runtime dependencies from `[tool.poetry.dependencies]` in `pyproject.toml`.
9
+
-[x] For each dependency (excluding `python` itself):
10
+
-[x] Find the latest matching version and PyPI tarball URL.
11
+
-[x] Compute or note the need for the correct SHA256 for each resource.
12
+
-[x] Add a `resource` block for each dependency in the formula.
13
+
-[ ] Update the formula's `url` and `sha256` to match the latest release.
14
+
-[ ] Test formula install locally or via CI.
15
+
-[ ] Check off after successful install and test.
16
+
17
+
## Extracted Dependencies
18
+
19
+
- click
20
+
- markdown
21
+
- markdown-it-py
22
+
- packaging
23
+
- platformdirs
24
+
- prompt-toolkit
25
+
- pyyaml
26
+
- requests
27
+
- rich
28
+
- rich-click
29
+
- ruamel-yaml
30
+
- tomli
31
+
- typer
32
+
33
+
## Notes
34
+
-`python` is already specified as a dependency in the formula.
35
+
- For each dependency, use the PyPI sdist (tar.gz) URL and compute the SHA256.
36
+
- Homebrew will use these resources to populate the virtualenv at install time.
37
+
- After updating, bump the formula version and update the top-level `sha256` for the main tarball.
38
+
- Test with `brew install --build-from-source mdbub`.
39
+
40
+
---
41
+
42
+
## TODO
43
+
-[ ] Add all resource blocks to `packaging/homebrew/mdbub.rb`
0 commit comments