Skip to content

Commit ff58199

Browse files
authored
Feature/upgrade deps (#205)
* update depedencies for devbox * update lock files * update lock files * update lock * remove python3.8 from workflow; not supporting it anymore * fixed test failure * wat * remove UTC import * going back to the original regardless of deprecation warning * im an idiot * added more --help tests to ensure all subcmds run * update to ci job * update python deps * fix pylint issue * bump minor version
1 parent 1d21c22 commit ff58199

File tree

12 files changed

+1309
-635
lines changed

12 files changed

+1309
-635
lines changed

.github/workflows/workflow.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:
20-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
20+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2121
steps:
2222
- uses: actions/checkout@v4
2323
with:
@@ -48,8 +48,9 @@ jobs:
4848
- name: Install Test
4949
run: |
5050
pdm install
51-
${{ github.workspace }}/.venv/bin/mmpm version
52-
${{ github.workspace }}/.venv/bin/mmpm --help
51+
options=("version" "--help" "completion --help" "db --help" "guided-setup --help" "install --help" "list --help" "logs --help" "mm-ctl --help" "mm-pkg --help" "open --help" "remove --help" "search --help" "show --help" "ui --help" "update --help" "upgrade --help" "version --help")
52+
53+
for option in "${options[@]}"; do ${{ github.workspace }}/.venv/bin/mmpm $option; done
5354
5455
mmpm-ui:
5556
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,10 @@
340340
- updated urls from PR
341341
- Simple cleanup
342342

343-
## Version 4.1.4
343+
## Version 4.2.0
344344

345345
- corrected typo in `mmpm/magicmirror/magicmirror.py` instructing user to use outdated `mmpm log`
346346
command; now directing them to use `mmpm logs`
347+
348+
- Dropped support for Python<=3.8
349+
- Update dependencies

devbox.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"packages": [
3-
"bun@1.0.30",
4-
"nodejs@20.11.0",
5-
"pdm@2.12.3",
6-
"pm2@5.3.1",
7-
"python-full@3.10.13",
8-
"gcc13Stdenv.cc.cc.lib"
3+
"gcc13Stdenv.cc.cc.lib",
4+
"pm2@5.4.2",
5+
"bun@1.1.31",
6+
"nodejs@22.10.0",
7+
"python-full@3.12.6",
8+
"pdm@2.18.2"
99
],
1010
"env": {
1111
"VENV_DIR": "$PWD/.venv",

devbox.lock

Lines changed: 234 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,106 +1,300 @@
11
{
22
"lockfile_version": "1",
33
"packages": {
4-
"bun@1.0.30": {
5-
"last_modified": "2024-03-12T14:03:31Z",
6-
"resolved": "github:NixOS/nixpkgs/7eeacecff44e05a9fd61b9e03836b66ecde8a525#bun",
4+
"bun@1.1.31": {
5+
"last_modified": "2024-11-03T14:18:04Z",
6+
"resolved": "github:NixOS/nixpkgs/4ae2e647537bcdbb82265469442713d066675275#bun",
77
"source": "devbox-search",
8-
"version": "1.0.30",
8+
"version": "1.1.31",
99
"systems": {
1010
"aarch64-darwin": {
11-
"store_path": "/nix/store/90dmwb6gh4qxbgibbpvbyl1drpllc11k-bun-1.0.30"
11+
"outputs": [
12+
{
13+
"name": "out",
14+
"path": "/nix/store/gmvlpnhc673pjwai7q0ydvikif8r1gg5-bun-1.1.31",
15+
"default": true
16+
}
17+
],
18+
"store_path": "/nix/store/gmvlpnhc673pjwai7q0ydvikif8r1gg5-bun-1.1.31"
1219
},
1320
"aarch64-linux": {
14-
"store_path": "/nix/store/pspan4bw8mw04dpzbawf0ca9by7hn90y-bun-1.0.30"
21+
"outputs": [
22+
{
23+
"name": "out",
24+
"path": "/nix/store/4xbdp3yb549g0c50qjb2majdg3b484i1-bun-1.1.31",
25+
"default": true
26+
}
27+
],
28+
"store_path": "/nix/store/4xbdp3yb549g0c50qjb2majdg3b484i1-bun-1.1.31"
29+
},
30+
"x86_64-darwin": {
31+
"outputs": [
32+
{
33+
"name": "out",
34+
"path": "/nix/store/rvf4znnp3zy53f6wc8wkccrz3n59l552-bun-1.1.31",
35+
"default": true
36+
}
37+
],
38+
"store_path": "/nix/store/rvf4znnp3zy53f6wc8wkccrz3n59l552-bun-1.1.31"
1539
},
1640
"x86_64-linux": {
17-
"store_path": "/nix/store/zrmhfs5758g3fl6hd4c8wd0z22lay330-bun-1.0.30"
41+
"outputs": [
42+
{
43+
"name": "out",
44+
"path": "/nix/store/gimbmhysr6l7fbzk25alznv0mphiy97a-bun-1.1.31",
45+
"default": true
46+
}
47+
],
48+
"store_path": "/nix/store/gimbmhysr6l7fbzk25alznv0mphiy97a-bun-1.1.31"
1849
}
1950
}
2051
},
2152
"gcc13Stdenv.cc.cc.lib": {
2253
"resolved": "github:NixOS/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c#gcc13Stdenv.cc.cc.lib",
23-
"source": "nixpkg"
54+
"source": "nixpkg",
55+
"systems": {
56+
"x86_64-linux": {
57+
"outputs": [
58+
{
59+
"name": "lib",
60+
"path": "/nix/store/a2wqdxzjd68qaki5gx2a28f9p8pny6fh-gcc-13.2.0-lib",
61+
"default": true
62+
}
63+
]
64+
}
65+
}
2466
},
25-
"nodejs@20.11.0": {
26-
"last_modified": "2024-01-27T14:55:31Z",
67+
"nodejs@22.10.0": {
68+
"last_modified": "2024-11-03T14:18:04Z",
2769
"plugin_version": "0.0.2",
28-
"resolved": "github:NixOS/nixpkgs/160b762eda6d139ac10ae081f8f78d640dd523eb#nodejs_20",
70+
"resolved": "github:NixOS/nixpkgs/4ae2e647537bcdbb82265469442713d066675275#nodejs_22",
2971
"source": "devbox-search",
30-
"version": "20.11.0",
72+
"version": "22.10.0",
3173
"systems": {
3274
"aarch64-darwin": {
33-
"store_path": "/nix/store/kwwq75mfw7xch7vx40sdn5sbxp5ibmgd-nodejs-20.11.0"
75+
"outputs": [
76+
{
77+
"name": "out",
78+
"path": "/nix/store/m1dlz5sk0l77a2c4mwcppldxxmsmifs2-nodejs-22.10.0",
79+
"default": true
80+
},
81+
{
82+
"name": "libv8",
83+
"path": "/nix/store/9zyi8gcg1flm378pxpfi9d7wdvhnckrh-nodejs-22.10.0-libv8"
84+
}
85+
],
86+
"store_path": "/nix/store/m1dlz5sk0l77a2c4mwcppldxxmsmifs2-nodejs-22.10.0"
3487
},
3588
"aarch64-linux": {
36-
"store_path": "/nix/store/9w2340q4fl45sfmllsgicbv2n2xhzjsw-nodejs-20.11.0"
89+
"outputs": [
90+
{
91+
"name": "out",
92+
"path": "/nix/store/xpj9k6pk9bgmmc3zkfkq1f7938sczpgd-nodejs-22.10.0",
93+
"default": true
94+
},
95+
{
96+
"name": "libv8",
97+
"path": "/nix/store/grqr5f4cg0d86rqh9g08pp216937f6vy-nodejs-22.10.0-libv8"
98+
}
99+
],
100+
"store_path": "/nix/store/xpj9k6pk9bgmmc3zkfkq1f7938sczpgd-nodejs-22.10.0"
37101
},
38102
"x86_64-darwin": {
39-
"store_path": "/nix/store/zgmy5yc85d3mkz6zdmazv799c45f2gkh-nodejs-20.11.0"
103+
"outputs": [
104+
{
105+
"name": "out",
106+
"path": "/nix/store/3c9ggwrv1ssbrpki607908mvlvarhrbq-nodejs-22.10.0",
107+
"default": true
108+
},
109+
{
110+
"name": "libv8",
111+
"path": "/nix/store/gfr37bc0y98sl5q4lxclsv83gpr8i6va-nodejs-22.10.0-libv8"
112+
}
113+
],
114+
"store_path": "/nix/store/3c9ggwrv1ssbrpki607908mvlvarhrbq-nodejs-22.10.0"
40115
},
41116
"x86_64-linux": {
42-
"store_path": "/nix/store/d6lkbndr98lcn8spbqxfq52f2ldvqhks-nodejs-20.11.0"
117+
"outputs": [
118+
{
119+
"name": "out",
120+
"path": "/nix/store/2p8ilfl32xmhz49qghsayprxc001n2yv-nodejs-22.10.0",
121+
"default": true
122+
},
123+
{
124+
"name": "libv8",
125+
"path": "/nix/store/agfb25wm92v5hpw831fy1w7z7q870sfp-nodejs-22.10.0-libv8"
126+
}
127+
],
128+
"store_path": "/nix/store/2p8ilfl32xmhz49qghsayprxc001n2yv-nodejs-22.10.0"
43129
}
44130
}
45131
},
46-
"pdm@2.12.3": {
47-
"last_modified": "2024-02-05T02:15:44Z",
48-
"resolved": "github:NixOS/nixpkgs/0a254180b4cad6be45aa46dce896bdb8db5d2930#pdm",
132+
"pdm@2.18.2": {
133+
"last_modified": "2024-09-29T13:45:20Z",
134+
"resolved": "github:NixOS/nixpkgs/7eee17a8a5868ecf596bbb8c8beb527253ea8f4d#pdm",
49135
"source": "devbox-search",
50-
"version": "2.12.3",
136+
"version": "2.18.2",
51137
"systems": {
52138
"aarch64-darwin": {
53-
"store_path": "/nix/store/4v4prvipjljdzq86qj9sx2kg3a2m5sv1-pdm-2.12.3"
139+
"outputs": [
140+
{
141+
"name": "out",
142+
"path": "/nix/store/zkm4nxf0qm0zlszg8as3c4828fryf32r-pdm-2.18.2",
143+
"default": true
144+
},
145+
{
146+
"name": "dist",
147+
"path": "/nix/store/cnxv85c3qs3w7p4qcv36yp4mpmysvn83-pdm-2.18.2-dist"
148+
}
149+
],
150+
"store_path": "/nix/store/zkm4nxf0qm0zlszg8as3c4828fryf32r-pdm-2.18.2"
54151
},
55152
"aarch64-linux": {
56-
"store_path": "/nix/store/2hw0rnd6sapaz30qll7crlwlgp49k76k-pdm-2.12.3"
153+
"outputs": [
154+
{
155+
"name": "out",
156+
"path": "/nix/store/cdsi576pkgpvcbd5ksqphq1axgg3gkvi-pdm-2.18.2",
157+
"default": true
158+
},
159+
{
160+
"name": "dist",
161+
"path": "/nix/store/706cijccllz3wr132l4siph8nirp2qsg-pdm-2.18.2-dist"
162+
}
163+
],
164+
"store_path": "/nix/store/cdsi576pkgpvcbd5ksqphq1axgg3gkvi-pdm-2.18.2"
57165
},
58166
"x86_64-darwin": {
59-
"store_path": "/nix/store/d2r2ggxivcxba4417g2kghg76qpiq1h2-pdm-2.12.3"
167+
"outputs": [
168+
{
169+
"name": "out",
170+
"path": "/nix/store/wf3wpprjxdxqwq9kn65asc3skzn0v7pj-pdm-2.18.2",
171+
"default": true
172+
},
173+
{
174+
"name": "dist",
175+
"path": "/nix/store/jybjz97pig3grnl6ci6qsawl5ipmivvq-pdm-2.18.2-dist"
176+
}
177+
],
178+
"store_path": "/nix/store/wf3wpprjxdxqwq9kn65asc3skzn0v7pj-pdm-2.18.2"
60179
},
61180
"x86_64-linux": {
62-
"store_path": "/nix/store/brmayzcr4c2rwl9gp69cxr697ay19bd4-pdm-2.12.3"
181+
"outputs": [
182+
{
183+
"name": "out",
184+
"path": "/nix/store/jjsyzf1vkp8caapssqnpxmg6z030j7k0-pdm-2.18.2",
185+
"default": true
186+
},
187+
{
188+
"name": "dist",
189+
"path": "/nix/store/02lv35cq28if46578kaixx9fd2rn9g4s-pdm-2.18.2-dist"
190+
}
191+
],
192+
"store_path": "/nix/store/jjsyzf1vkp8caapssqnpxmg6z030j7k0-pdm-2.18.2"
63193
}
64194
}
65195
},
66-
"pm2@5.3.1": {
67-
"last_modified": "2024-01-29T00:15:04Z",
68-
"resolved": "github:NixOS/nixpkgs/90f456026d284c22b3e3497be980b2e47d0b28ac#pm2",
196+
"pm2@5.4.2": {
197+
"last_modified": "2024-11-03T14:18:04Z",
198+
"resolved": "github:NixOS/nixpkgs/4ae2e647537bcdbb82265469442713d066675275#pm2",
69199
"source": "devbox-search",
70-
"version": "5.3.1",
200+
"version": "5.4.2",
71201
"systems": {
72202
"aarch64-darwin": {
73-
"store_path": "/nix/store/2njk5s0lp9alg8bpmzjlam5r8myr5zn6-pm2-5.3.1"
203+
"outputs": [
204+
{
205+
"name": "out",
206+
"path": "/nix/store/d75542ilqrrqpvx7l982192kyazjfbm3-pm2-5.4.2",
207+
"default": true
208+
}
209+
],
210+
"store_path": "/nix/store/d75542ilqrrqpvx7l982192kyazjfbm3-pm2-5.4.2"
74211
},
75212
"aarch64-linux": {
76-
"store_path": "/nix/store/fiafxwppa8w442qnjhf4bjcc5vmmx17k-pm2-5.3.1"
213+
"outputs": [
214+
{
215+
"name": "out",
216+
"path": "/nix/store/4sl9vb9nc42g0825a94dpr7qf5yigcnf-pm2-5.4.2",
217+
"default": true
218+
}
219+
],
220+
"store_path": "/nix/store/4sl9vb9nc42g0825a94dpr7qf5yigcnf-pm2-5.4.2"
77221
},
78222
"x86_64-darwin": {
79-
"store_path": "/nix/store/3ldyvwfb05dg75qg5yihdffj7vpvgrfg-pm2-5.3.1"
223+
"outputs": [
224+
{
225+
"name": "out",
226+
"path": "/nix/store/llw5lxafpkz9miqpnz4fqfhs93c9c8xl-pm2-5.4.2",
227+
"default": true
228+
}
229+
],
230+
"store_path": "/nix/store/llw5lxafpkz9miqpnz4fqfhs93c9c8xl-pm2-5.4.2"
80231
},
81232
"x86_64-linux": {
82-
"store_path": "/nix/store/dkc1mwlp8kkpagdzvn2xcsy7qx34j8zv-pm2-5.3.1"
233+
"outputs": [
234+
{
235+
"name": "out",
236+
"path": "/nix/store/c27cdxvk4zmyj246xjyjg3dqgy3il3y7-pm2-5.4.2",
237+
"default": true
238+
}
239+
],
240+
"store_path": "/nix/store/c27cdxvk4zmyj246xjyjg3dqgy3il3y7-pm2-5.4.2"
83241
}
84242
}
85243
},
86-
"python-full@3.10.13": {
87-
"last_modified": "2024-03-08T13:51:52Z",
244+
"python-full@3.12.6": {
245+
"last_modified": "2024-10-13T23:44:06Z",
88246
"plugin_version": "0.0.3",
89-
"resolved": "github:NixOS/nixpkgs/a343533bccc62400e8a9560423486a3b6c11a23b#python310Full",
247+
"resolved": "github:NixOS/nixpkgs/d4f247e89f6e10120f911e2e2d2254a050d0f732#python312Full",
90248
"source": "devbox-search",
91-
"version": "3.10.13",
249+
"version": "3.12.6",
92250
"systems": {
93251
"aarch64-darwin": {
94-
"store_path": "/nix/store/ii4aimvkacf4lb9hs1d8n0ahm69dvsis-python3-3.10.13"
252+
"outputs": [
253+
{
254+
"name": "out",
255+
"path": "/nix/store/rncwh0fv7ysn7mpahsr4w98zy10dhzwp-python3-3.12.6",
256+
"default": true
257+
}
258+
],
259+
"store_path": "/nix/store/rncwh0fv7ysn7mpahsr4w98zy10dhzwp-python3-3.12.6"
95260
},
96261
"aarch64-linux": {
97-
"store_path": "/nix/store/h25gdf09jgln9n4b6x74j8a4ks6y9pj8-python3-3.10.13"
262+
"outputs": [
263+
{
264+
"name": "out",
265+
"path": "/nix/store/sq20341kg2yz6rjr4lnq1p5v2x9ry1lm-python3-3.12.6",
266+
"default": true
267+
},
268+
{
269+
"name": "debug",
270+
"path": "/nix/store/ly98bkiksw80d9mn0mgv458mbwxz62zx-python3-3.12.6-debug"
271+
}
272+
],
273+
"store_path": "/nix/store/sq20341kg2yz6rjr4lnq1p5v2x9ry1lm-python3-3.12.6"
98274
},
99275
"x86_64-darwin": {
100-
"store_path": "/nix/store/qy60zmhpldkiz6f5sqlwvknx49rqg439-python3-3.10.13"
276+
"outputs": [
277+
{
278+
"name": "out",
279+
"path": "/nix/store/ibgkv0sx9b09j0p1wlv26hb5wspcyvn8-python3-3.12.6",
280+
"default": true
281+
}
282+
],
283+
"store_path": "/nix/store/ibgkv0sx9b09j0p1wlv26hb5wspcyvn8-python3-3.12.6"
101284
},
102285
"x86_64-linux": {
103-
"store_path": "/nix/store/0g0938c29rzyav6xriy9s0wah02d3vni-python3-3.10.13"
286+
"outputs": [
287+
{
288+
"name": "out",
289+
"path": "/nix/store/bsnx84gmxkvvbsabki10bm9fc8gkwixw-python3-3.12.6",
290+
"default": true
291+
},
292+
{
293+
"name": "debug",
294+
"path": "/nix/store/qs3l0fdf8kisxn46valnndw8g69s7cji-python3-3.12.6-debug"
295+
}
296+
],
297+
"store_path": "/nix/store/bsnx84gmxkvvbsabki10bm9fc8gkwixw-python3-3.12.6"
104298
}
105299
}
106300
}

0 commit comments

Comments
 (0)