Skip to content

Commit d0bd1c9

Browse files
committed
reoragnize dependencies, imports
This commit was sponsored by Quentin Pradet, Greg Back, Blaise Pabon, and my other patrons. If you want to join them, you can support my work at https://glyph.im/patrons/.
1 parent 7001cd6 commit d0bd1c9

File tree

8 files changed

+220
-127
lines changed

8 files changed

+220
-127
lines changed

.github/workflows/test-ui.yml

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
run: |
2828
python -m pip install --upgrade pip
2929
pip install -Ur macOS-gui.requirements.txt
30+
pip install -Ur dev-requirements.txt
3031
- name: Check
3132
run: |
3233
mypy src

dev-requirements.txt

+145
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.12
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --extra=dev --no-emit-index-url --output-file=dev-requirements.txt --strip-extras
6+
#
7+
altgraph==0.17.4
8+
# via
9+
# macholib
10+
# modulegraph
11+
# py2app
12+
attrs==24.2.0
13+
# via
14+
# service-identity
15+
# twisted
16+
automat==24.8.1
17+
# via twisted
18+
build==1.2.2.post1
19+
# via pip-tools
20+
cffi==1.17.1
21+
# via cryptography
22+
click==8.1.7
23+
# via
24+
# encrust
25+
# pip-tools
26+
constantly==23.10.4
27+
# via twisted
28+
cryptography==44.0.0
29+
# via
30+
# pyopenssl
31+
# service-identity
32+
datetype==2024.2.28
33+
# via
34+
# Pomodouroboros (pyproject.toml)
35+
# fritter
36+
delocate==0.12.0
37+
# via encrust
38+
encrust==2024.12.0 ; sys_platform == "darwin"
39+
# via Pomodouroboros (pyproject.toml)
40+
fritter==0.0.9
41+
# via Pomodouroboros (pyproject.toml)
42+
h2==4.1.0
43+
# via twisted
44+
hpack==4.0.0
45+
# via h2
46+
hyperframe==6.0.1
47+
# via h2
48+
hyperlink==21.0.0
49+
# via twisted
50+
idna==3.10
51+
# via
52+
# hyperlink
53+
# twisted
54+
incremental==24.7.2
55+
# via twisted
56+
macholib==1.16.3
57+
# via
58+
# delocate
59+
# py2app
60+
modulegraph==0.19.6
61+
# via py2app
62+
mypy==1.13.0
63+
# via
64+
# Pomodouroboros (pyproject.toml)
65+
# mypy-zope
66+
mypy-extensions==1.0.0
67+
# via mypy
68+
mypy-zope==1.0.9
69+
# via Pomodouroboros (pyproject.toml)
70+
packaging==24.2
71+
# via
72+
# build
73+
# delocate
74+
# py2app
75+
pip-tools==7.4.1
76+
# via Pomodouroboros (pyproject.toml)
77+
priority==1.3.0
78+
# via twisted
79+
py2app==0.28.8
80+
# via encrust
81+
pyasn1==0.6.1
82+
# via
83+
# pyasn1-modules
84+
# service-identity
85+
pyasn1-modules==0.4.1
86+
# via service-identity
87+
pycparser==2.22
88+
# via cffi
89+
pygobject-stubs==2.12.0
90+
# via Pomodouroboros (pyproject.toml)
91+
pyopenssl==24.3.0
92+
# via twisted
93+
pyproject-hooks==1.2.0
94+
# via
95+
# build
96+
# pip-tools
97+
python-dateutil==2.9.0.post0
98+
# via Pomodouroboros (pyproject.toml)
99+
service-identity==24.2.0
100+
# via twisted
101+
six==1.17.0
102+
# via python-dateutil
103+
twisted==24.11.0
104+
# via
105+
# Pomodouroboros (pyproject.toml)
106+
# encrust
107+
types-python-dateutil==2.9.0.20241206
108+
# via Pomodouroboros (pyproject.toml)
109+
types-python-xlib==0.33.0.20240407
110+
# via Pomodouroboros (pyproject.toml)
111+
typing-extensions==4.12.2
112+
# via
113+
# delocate
114+
# mypy
115+
# twisted
116+
tzdata==2024.2
117+
# via fritter
118+
ulid-py==1.1.0
119+
# via Pomodouroboros (pyproject.toml)
120+
wheel==0.45.1
121+
# via pip-tools
122+
wheel-filename==1.4.2
123+
# via encrust
124+
zope-event==5.0
125+
# via zope-schema
126+
zope-interface==7.2
127+
# via
128+
# mypy-zope
129+
# twisted
130+
# zope-schema
131+
zope-schema==7.0.1
132+
# via mypy-zope
133+
134+
# The following packages are considered to be unsafe in a requirements file:
135+
pip==24.3.1
136+
# via pip-tools
137+
setuptools==70.3.0
138+
# via
139+
# Pomodouroboros (pyproject.toml)
140+
# incremental
141+
# modulegraph
142+
# pip-tools
143+
# zope-event
144+
# zope-interface
145+
# zope-schema

macOS-gui.requirements.txt

+8-59
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ altgraph==0.17.4
99
# macholib
1010
# modulegraph
1111
# py2app
12-
anyio==4.6.2.post1
12+
anyio==4.7.0
1313
# via httpx
1414
appdirs==1.4.4
1515
# via twisted
@@ -22,18 +22,12 @@ automat==24.8.1
2222
# via twisted
2323
bcrypt==4.2.1
2424
# via twisted
25-
build==1.2.2.post1
26-
# via pip-tools
2725
certifi==2024.8.30
2826
# via
2927
# httpcore
3028
# httpx
3129
cffi==1.17.1
3230
# via cryptography
33-
click==8.1.7
34-
# via
35-
# encrust
36-
# pip-tools
3731
constantly==23.10.4
3832
# via twisted
3933
cryptography==44.0.0
@@ -47,10 +41,6 @@ datetype==2024.2.28
4741
# via
4842
# Pomodouroboros (pyproject.toml)
4943
# fritter
50-
delocate==0.12.0
51-
# via encrust
52-
encrust==2024.9.3 ; sys_platform == "darwin"
53-
# via Pomodouroboros (pyproject.toml)
5444
fritter==0.0.9
5545
# via Pomodouroboros (pyproject.toml)
5646
h11==0.14.0
@@ -63,13 +53,13 @@ hpack==4.0.0
6353
# via h2
6454
httpcore==1.0.7
6555
# via httpx
66-
httpx==0.28.0
56+
httpx==0.28.1
6757
# via twisted
6858
hyperframe==6.0.1
6959
# via h2
7060
hyperlink==21.0.0
7161
# via twisted
72-
hypothesis==6.122.1
62+
hypothesis==6.122.3
7363
# via twisted
7464
idna==3.10
7565
# via
@@ -80,32 +70,15 @@ idna==3.10
8070
incremental==24.7.2
8171
# via twisted
8272
macholib==1.16.3
83-
# via
84-
# delocate
85-
# py2app
73+
# via py2app
8674
modulegraph==0.19.6
8775
# via py2app
88-
mypy==1.13.0
89-
# via
90-
# Pomodouroboros (pyproject.toml)
91-
# mypy-zope
92-
mypy-extensions==1.0.0
93-
# via mypy
94-
mypy-zope==1.0.9
95-
# via Pomodouroboros (pyproject.toml)
9676
packaging==24.2
97-
# via
98-
# build
99-
# delocate
100-
# py2app
101-
pip-tools==7.4.1
102-
# via Pomodouroboros (pyproject.toml)
77+
# via py2app
10378
priority==1.3.0
10479
# via twisted
10580
py2app==0.28.8 ; sys_platform == "darwin"
106-
# via
107-
# Pomodouroboros (pyproject.toml)
108-
# encrust
81+
# via Pomodouroboros (pyproject.toml)
10982
pyasn1==0.6.1
11083
# via
11184
# pyasn1-modules
@@ -147,10 +120,6 @@ pyobjc-framework-usernotifications==10.3.2 ; sys_platform == "darwin"
147120
# quickmacapp
148121
pyopenssl==24.3.0
149122
# via twisted
150-
pyproject-hooks==1.2.0
151-
# via
152-
# build
153-
# pip-tools
154123
pyserial==3.5
155124
# via twisted
156125
python-dateutil==2.9.0.post0
@@ -170,42 +139,22 @@ sortedcontainers==2.4.0
170139
twisted==24.11.0
171140
# via
172141
# Pomodouroboros (pyproject.toml)
173-
# encrust
174142
# quickmacapp
175-
types-python-dateutil==2.9.0.20241003
176-
# via Pomodouroboros (pyproject.toml)
177143
typing-extensions==4.12.2
178144
# via
179-
# delocate
180-
# mypy
145+
# anyio
181146
# twisted
182147
tzdata==2024.2
183148
# via fritter
184149
ulid-py==1.1.0
185150
# via Pomodouroboros (pyproject.toml)
186-
wheel==0.45.1
187-
# via pip-tools
188-
wheel-filename==1.4.2
189-
# via encrust
190-
zope-event==5.0
191-
# via zope-schema
192151
zope-interface==7.2
193-
# via
194-
# mypy-zope
195-
# twisted
196-
# zope-schema
197-
zope-schema==7.0.1
198-
# via mypy-zope
152+
# via twisted
199153

200154
# The following packages are considered to be unsafe in a requirements file:
201-
pip==24.3.1
202-
# via pip-tools
203155
setuptools==70.3.0
204156
# via
205157
# Pomodouroboros (pyproject.toml)
206158
# incremental
207159
# modulegraph
208-
# pip-tools
209-
# zope-event
210160
# zope-interface
211-
# zope-schema

pindeps

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ import platform
77
print(platform.platform().split("-")[0])
88
'
99
)-gui.requirements.txt"
10+
pip-compile --strip-extras --quiet --upgrade --allow-unsafe --no-emit-index-url --extra dev -o dev-requirements.txt

pyproject.toml

+10-7
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ dependencies = [
2020
"datetype",
2121
"fritter",
2222
"setuptools<71.0.0",
23-
24-
"pip-tools",
25-
"mypy",
26-
"mypy-zope",
27-
"types-python-dateutil",
28-
2923
]
3024
classifiers = [
3125
"Programming Language :: Python :: 3",
@@ -43,7 +37,6 @@ gui = [
4337
"pyobjc-framework-CFNetwork ; sys_platform == 'darwin'",
4438
"quickmacapp ; sys_platform == 'darwin'",
4539
"quickmachotkey ; sys_platform == 'darwin'",
46-
"encrust ; sys_platform == 'darwin'",
4740

4841
"ewmh ; sys_platform == 'linux'",
4942
"pycairo ; sys_platform == 'linux'",
@@ -52,6 +45,16 @@ gui = [
5245
"pydbus ; sys_platform == 'linux'",
5346
]
5447

48+
dev = [
49+
"pip-tools",
50+
"mypy",
51+
"mypy-zope",
52+
"types-python-dateutil",
53+
"pygobject-stubs",
54+
"types-python-xlib",
55+
"encrust ; sys_platform == 'darwin'",
56+
]
57+
5558
[project.urls]
5659
Source = "https://github.com/glyph/Pomodouroboros"
5760
Bug-Tracker = "https://github.com/glyph/Pomodouroboros/issues"

0 commit comments

Comments
 (0)