Skip to content

Commit 075e013

Browse files
committed
Merge branch 'release/0.3.13'
2 parents 0c86e52 + 9e79ef2 commit 075e013

File tree

20 files changed

+915
-643
lines changed

20 files changed

+915
-643
lines changed

.github/workflows/ctnrs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
2222
- name: push container images
2323
run: |
24-
for img in $(podman images -n -f reference=andykluger --format={{.Repository}}:{{.Tag}}); do
24+
for img in $(podman images -n -f reference='andykluger/*' --format={{.Repository}}:{{.Tag}}); do
2525
podman push "$img"
2626
done

NEWS.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
News
33
====
44

5+
0.3.13
6+
======
7+
8+
Changed
9+
-------
10+
11+
- Ensure Zsh is used for fzf/skim preview commands, even with ``SHELL`` unset (or set to something other than Zsh)
12+
- Refresh docs:
13+
14+
- add mise hooks and combination methods
15+
- replace deprecated tabs and admonitions
16+
- use filename code block titles
17+
- use newer pypc behavior for screenshot, replacing outdated gif
18+
519
0.3.12
620
======
721

@@ -31,6 +45,7 @@ Changed
3145
- Remove useless double-zsh-invocation during fzf/skim preview
3246
- Exclude wheel from pipcheckold listings
3347
- Use new wheezy.template feature (``__args__``) to reduce shell-manipulation of JSON
48+
3449
- If using the wheezy.template JSON-reading backend, upgrade it (``pipz upgrade wheezy.template``)!
3550

3651
0.3.10
@@ -110,6 +125,7 @@ Changed
110125
-- It's been pip-tools' default for while already,
111126
and it's irrelevant to uv
112127
- Update container build scripts:
128+
113129
- use newer base images
114130
- install uv and rich-cli
115131
- don't bother installing highlight and corresponding alias

README.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,26 @@ __ https://flit.readthedocs.io/en/latest/
155155

156156
__ https://github.com/AndydeCleyre/zpy/issues
157157

158+
Known Issues
159+
------------
160+
161+
Functions ``pipacs``, ``pipac``, ``pipcs``, and ``pipc`` allow forwarding arguments directly
162+
to ``pip-compile``, or ``uv pip compile`` when ``uv`` is installed.
163+
164+
There are currently two problems with this when ``uv`` is used:
165+
166+
- Tab completion of those arguments, even when ``uv`` tab completions are installed, will fail.
167+
If it bothers you, please add a 👍 on
168+
`their existing issue`__.
169+
- When the options passed are intended to override ones already passed internally,
170+
the command will fail.
171+
If this bothers you, please add a 👍 on
172+
`their existing issue`__.
173+
174+
__ https://github.com/astral-sh/uv/issues/3249
175+
176+
__ https://github.com/astral-sh/uv/issues/3248
177+
158178
.. |repo| image:: https://img.shields.io/github/size/andydecleyre/zpy/zpy.plugin.zsh?logo=github&label=Code&color=blueviolet
159179
:alt: Plugin file size in bytes
160180
:target: https://github.com/andydecleyre/zpy

doc/mkdocs/mkdocs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ repo_url: https://github.com/andydecleyre/zpy
66
docs_dir: ../src
77
# site_dir:
88
markdown_extensions:
9-
- admonition
109
- footnotes
1110
- pymdownx.superfences
12-
- pymdownx.tabbed:
13-
alternate_style: true
11+
- pymdownx.blocks.admonition
12+
- pymdownx.blocks.tab:
13+
alternate_style: True
1414
plugins:
1515
- privacy
1616
theme:

doc/mkdocs/requirements.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
babel==2.16.0 # via mkdocs-material
2-
certifi==2024.8.30 # via requests
3-
charset-normalizer==3.4.0 # via requests
4-
click==8.1.7 # via mkdocs
2+
certifi==2024.12.14 # via requests
3+
charset-normalizer==3.4.1 # via requests
4+
click==8.1.8 # via mkdocs
55
colorama==0.4.6 # via mkdocs-material
66
ghp-import==2.1.0 # via mkdocs
77
idna==3.10 # via requests
8-
jinja2==3.1.4 # via mkdocs, mkdocs-material
8+
jinja2==3.1.5 # via mkdocs, mkdocs-material
99
markdown==3.7 # via mkdocs, mkdocs-material, pymdown-extensions
1010
markupsafe==3.0.2 # via jinja2, mkdocs
1111
mergedeep==1.3.4 # via mkdocs, mkdocs-get-deps
1212
mkdocs==1.6.1 # via -r requirements.in, mkdocs-material
1313
mkdocs-get-deps==0.2.0 # via mkdocs
14-
mkdocs-material==9.5.48 # via -r requirements.in
14+
mkdocs-material==9.5.49 # via -r requirements.in
1515
mkdocs-material-extensions==1.3.1 # via mkdocs-material
1616
packaging==24.2 # via mkdocs
1717
paginate==0.5.7 # via mkdocs-material
1818
pathspec==0.12.1 # via mkdocs
1919
platformdirs==4.3.6 # via mkdocs-get-deps
20-
pygments==2.18.0 # via mkdocs-material
21-
pymdown-extensions==10.12 # via mkdocs-material
20+
pygments==2.19.1 # via mkdocs-material
21+
pymdown-extensions==10.14 # via mkdocs-material
2222
python-dateutil==2.9.0.post0 # via ghp-import
2323
pyyaml==6.0.2 # via mkdocs, mkdocs-get-deps, pymdown-extensions, pyyaml-env-tag
2424
pyyaml-env-tag==0.1 # via mkdocs
2525
regex==2024.11.6 # via mkdocs-material
2626
requests==2.32.3 # via mkdocs-material
2727
six==1.17.0 # via python-dateutil
28-
urllib3==2.2.3 # via requests
28+
urllib3==2.3.0 # via requests
2929
watchdog==6.0.0 # via mkdocs

doc/src/completions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
If you've been using Zsh, you probably have completions already set up,
44
either manually or with a framework.
55

6-
If not, at a minimum you'll want this in your `~/.zshrc`,
6+
If not, at a minimum you'll want this line in your `~/.zshrc`,
77
somewhere before loading zpy:
88

9-
```shell
9+
```shell {title=".zshrc"}
1010
autoload -Uz compinit && compinit
1111
```
1212

1313
I'll also recommend:
1414

15-
```shell
15+
```shell {title=".zshrc"}
1616
zstyle ':completion:*' menu select
1717
```
1818

doc/src/deps.md

Lines changed: 113 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -4,106 +4,132 @@ The primary requirements are Zsh, Python, and
44
[`fzf`](https://github.com/junegunn/fzf) *or* [`sk` (skim)](https://github.com/skim-rs/skim),
55
with optional additions for more colorful output, alternative json parsers, and faster performance.
66

7+
`uv` is strongly recommended, and can be installed after zpy, with zpy:
8+
9+
```console
10+
% pipz install uv
11+
```
12+
713
## Suggested Dependencies by Platform
814

9-
=== "Alpine"
15+
/// tab | Alpine
16+
17+
```console
18+
$ sudo apk add fzf pcre2-tools python3 zsh
19+
```
20+
21+
///
22+
23+
/// tab | Arch
24+
25+
```console
26+
$ sudo pacman -S --needed fzf python zsh
27+
```
28+
29+
///
30+
31+
/// tab | Debian/Ubuntu
1032

11-
```console
12-
$ sudo apk add fzf pcre2-tools python3 zsh
13-
```
33+
```console
34+
$ sudo apt --no-install-recommends install fzf python3{,-venv} wget zsh
35+
```
1436

15-
=== "Arch"
37+
///
1638

17-
```console
18-
$ sudo pacman -S --needed fzf python zsh
19-
```
39+
/// tab | Fedora
2040

21-
=== "Debian/Ubuntu"
41+
```console
42+
$ sudo dnf --setopt=install_weak_deps=False install diffutils fzf python3 zsh
43+
```
2244

23-
```console
24-
$ sudo apt --no-install-recommends install fzf python3{,-venv} wget zsh
25-
```
45+
///
2646

27-
=== "Fedora"
47+
/// tab | MacOS
2848

29-
```console
30-
$ sudo dnf --setopt=install_weak_deps=False install diffutils fzf python3 zsh
31-
```
49+
```console
50+
$ brew install fzf pcre2 python zsh
51+
```
3252

33-
=== "MacOS"
53+
///
3454

35-
```console
36-
$ brew install fzf pcre2 python zsh
37-
```
55+
/// tab | OpenSUSE
3856

39-
=== "OpenSUSE"
57+
```console
58+
$ sudo zypper in curl diffutils fzf python3 zsh
59+
```
4060

41-
```console
42-
$ sudo zypper in curl diffutils fzf python3 zsh
43-
```
61+
///
4462

4563
## All Dependencies
4664

47-
=== "The big ones"
48-
49-
- [Zsh](https://repology.org/project/zsh/versions)
50-
- [Python](https://repology.org/project/python/versions)
51-
- [`fzf`](https://github.com/junegunn/fzf) *or* [`sk` (skim)](https://github.com/skim-rs/skim)
52-
53-
=== "The optional ones"
54-
55-
- [uv](https://github.com/astral-sh/uv/)
56-
-- for faster performance, leaner venvs, and more operational feedback
57-
- [highlight](https://repology.org/project/highlight/versions)
58-
*or* [gat](https://github.com/koki-develop/gat/)
59-
*or* [bat](https://repology.org/project/bat/versions)
60-
*or* [rich-cli](https://github.com/Textualize/rich-cli)
61-
-- for pretty syntax highlighting; rich-cli adds fancy tables
62-
- [riff](https://github.com/walles/riff)
63-
*or* [diffr](https://github.com/mookid/diffr)
64-
*or* [delta](https://github.com/dandavison/delta)
65-
*or* [diff-so-fancy](https://github.com/so-fancy/diff-so-fancy)
66-
*or* [colordiff](https://repology.org/project/colordiff/versions)
67-
-- for more pretty syntax highlighting
68-
- [jq](https://repology.org/project/jq/versions)
69-
*or* [wheezy.template](https://github.com/akornatskyy/wheezy.template)
70-
-- for faster JSON parsing
71-
- [jq](https://repology.org/project/jq/versions)
72-
*or* [dasel](https://github.com/TomWright/dasel)
73-
-- for faster JSON writing
74-
- [zsh-defer](https://github.com/romkatv/zsh-defer)
75-
-- for caching help content to eliminate a small delay in the first help message
76-
77-
!!! tip
78-
79-
Some of these can be installed after installing zpy, with zpy's `pipz` command:
80-
81-
```console
82-
% pipz install uv rich-cli wheezy.template
83-
```
84-
85-
=== "The ones you already have anyway, probably"
86-
87-
- `du`, `mktemp`, `md5sum` *or* `md5`, and `nproc` *or* `sysctl` -- provided by
88-
[coreutils](https://repology.org/project/coreutils/versions),
89-
[busybox](https://repology.org/project/busybox/versions),
90-
[toybox](https://repology.org/project/toybox/versions),
91-
BSD,
92-
or macOS
93-
- `diff` -- provided by
94-
[diffutils](https://repology.org/project/diffutils/versions),
95-
[uutils/diffutils](https://github.com/uutils/diffutils),
96-
[busybox](https://repology.org/project/busybox/versions),
97-
BSD,
98-
or macOS
99-
- `wget` *or* `curl` -- provided by
100-
[wget](https://repology.org/project/wget/versions),
101-
[curl](https://repology.org/project/curl/versions),
102-
[busybox](https://repology.org/project/busybox/versions),
103-
or macOS
104-
- a pcre tool -- provided by
105-
pcregrep/pcre-tools,
106-
pcre2grep/pcre2-tools,
107-
[ripgrep (>=14.0.0)](https://repology.org/project/ripgrep/versions),
108-
[ugrep](https://repology.org/project/ugrep/versions),
109-
or Zsh with pcre enabled
65+
/// tab | The big ones
66+
67+
- [Zsh](https://repology.org/project/zsh/versions)
68+
- [Python](https://repology.org/project/python/versions)
69+
- [`fzf`](https://github.com/junegunn/fzf) *or* [`sk` (skim)](https://github.com/skim-rs/skim)
70+
71+
///
72+
73+
/// tab | The optional ones
74+
75+
- [uv](https://github.com/astral-sh/uv/)
76+
-- for faster performance, leaner venvs, and more operational feedback
77+
- [highlight](https://repology.org/project/highlight/versions)
78+
*or* [gat](https://github.com/koki-develop/gat/)
79+
*or* [bat](https://repology.org/project/bat/versions)
80+
*or* [rich-cli](https://github.com/Textualize/rich-cli)
81+
-- for pretty syntax highlighting; rich-cli adds fancy tables
82+
- [riff](https://github.com/walles/riff)
83+
*or* [diffr](https://github.com/mookid/diffr)
84+
*or* [delta](https://github.com/dandavison/delta)
85+
*or* [diff-so-fancy](https://github.com/so-fancy/diff-so-fancy)
86+
*or* [colordiff](https://repology.org/project/colordiff/versions)
87+
-- for more pretty syntax highlighting
88+
- [jq](https://repology.org/project/jq/versions)
89+
*or* [wheezy.template](https://github.com/akornatskyy/wheezy.template)
90+
-- for faster JSON parsing
91+
- [jq](https://repology.org/project/jq/versions)
92+
*or* [dasel](https://github.com/TomWright/dasel)
93+
-- for faster JSON writing
94+
- [zsh-defer](https://github.com/romkatv/zsh-defer)
95+
-- for caching help content to eliminate a small delay in the first help message
96+
97+
/// tip
98+
99+
Some of these can be installed after installing zpy, with zpy's `pipz` command:
100+
101+
```console
102+
% pipz install uv rich-cli wheezy.template
103+
```
104+
105+
///
106+
107+
///
108+
109+
/// tab | The ones you already have anyway, probably
110+
111+
- `du`, `mktemp`, `md5sum` *or* `md5`, and `nproc` *or* `sysctl` -- provided by
112+
[coreutils](https://repology.org/project/coreutils/versions),
113+
[busybox](https://repology.org/project/busybox/versions),
114+
[toybox](https://repology.org/project/toybox/versions),
115+
BSD,
116+
or macOS
117+
- `diff` -- provided by
118+
[diffutils](https://repology.org/project/diffutils/versions),
119+
[uutils/diffutils](https://github.com/uutils/diffutils),
120+
[busybox](https://repology.org/project/busybox/versions),
121+
BSD,
122+
or macOS
123+
- `wget` *or* `curl` -- provided by
124+
[wget](https://repology.org/project/wget/versions),
125+
[curl](https://repology.org/project/curl/versions),
126+
[busybox](https://repology.org/project/busybox/versions),
127+
or macOS
128+
- a pcre tool -- provided by
129+
pcregrep/pcre-tools,
130+
pcre2grep/pcre2-tools,
131+
[ripgrep (>=14.0.0)](https://repology.org/project/ripgrep/versions),
132+
[ugrep](https://repology.org/project/ugrep/versions),
133+
or Zsh with pcre enabled
134+
135+
///

0 commit comments

Comments
 (0)