Skip to content

Commit f6a4dc7

Browse files
committed
Add pip-compile'd requirements.txt
In theory, this file shouldn't need to be regenerated very often. One thing of note is that pip-compile strongly recommends that it be run on the target system in order to ensure it selects the correct versions. This is because pip-compile doesn't (yet) have a way to specify the Python version, platform, and machine type during compilation. The setup.py file was also tweaked to ignore any --options in the requirements.txt file. Signed-off-by: llamasoft <llamasoft@rm-rf.email>
1 parent 43cc16b commit f6a4dc7

2 files changed

Lines changed: 226 additions & 42 deletions

File tree

requirements.txt

Lines changed: 221 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,225 @@
1-
pycryptodome==3.9.4
2-
requests==2.21.0
3-
PyYAML==5.3.1
4-
scapy==2.4.3
5-
gym==0.14.0
6-
scipy==1.3.1
7-
stable-baselines==2.7.0
8-
tensorflow==1.13.1
9-
tensorflow-estimator==1.14.0
10-
tweepy==3.7.0
1+
#
2+
# This file is autogenerated by pip-compile with python 3.7
3+
# To update, run:
4+
#
5+
# pip-compile --resolver=backtracking --strip-extras
6+
#
7+
--extra-index-url https://www.piwheels.org/simple
8+
9+
absl-py==1.2.0
10+
# via
11+
# tensorboard
12+
# tensorflow
13+
astor==0.8.1
14+
# via tensorflow
15+
atari-py==0.2.6
16+
# via gym
17+
cachetools==4.2.4
18+
# via google-auth
19+
certifi==2022.6.15
20+
# via requests
21+
charset-normalizer==2.1.1
22+
# via requests
23+
click==7.1.2
24+
# via flask
25+
cloudpickle==1.6.0
26+
# via
27+
# gym
28+
# stable-baselines
29+
cycler==0.11.0
30+
# via matplotlib
31+
dbus-python==1.3.2
32+
# via -r requirements.in
1133
file-read-backwards==2.0.0
12-
numpy==1.20.2
13-
inky==1.2.0
14-
smbus2==0.3.0
15-
Pillow==5.4.1
16-
spidev==3.4
34+
# via -r requirements.in
35+
flask==1.1.4
36+
# via
37+
# -r requirements.in
38+
# flask-cors
39+
# flask-wtf
40+
flask-cors==3.0.10
41+
# via -r requirements.in
42+
flask-wtf==1.0.1
43+
# via -r requirements.in
44+
fonttools==4.37.1
45+
# via matplotlib
1746
gast==0.2.2
18-
flask==1.0.2
19-
flask-cors==3.0.7
20-
flask-wtf==0.14.3
21-
dbus-python==1.2.12
22-
toml==0.10.0
23-
python-dateutil==2.8.1
47+
# via tensorflow
48+
google-auth==1.35.0
49+
# via
50+
# google-auth-oauthlib
51+
# tensorboard
52+
google-auth-oauthlib==0.4.6
53+
# via tensorboard
54+
google-pasta==0.2.0
55+
# via tensorflow
56+
grpcio==1.44.0
57+
# via
58+
# tensorboard
59+
# tensorflow
60+
gym==0.19.0
61+
# via
62+
# -r requirements.in
63+
# stable-baselines
64+
h5py==3.7.0
65+
# via keras-applications
66+
idna==3.3
67+
# via requests
68+
importlib-metadata==4.12.0
69+
# via
70+
# gym
71+
# markdown
72+
inky==1.3.2
73+
# via -r requirements.in
74+
itsdangerous==1.1.0
75+
# via
76+
# flask
77+
# flask-wtf
78+
jinja2==2.11.3
79+
# via flask
80+
joblib==1.1.0
81+
# via stable-baselines
82+
keras-applications==1.0.8
83+
# via tensorflow
84+
keras-preprocessing==1.1.2
85+
# via tensorflow
86+
kiwisolver==1.4.4
87+
# via matplotlib
88+
markdown==3.4.1
89+
# via tensorboard
90+
markupsafe==2.0.1
91+
# via
92+
# -r requirements.in
93+
# jinja2
94+
# wtforms
95+
matplotlib==3.5.3
96+
# via stable-baselines
97+
numpy==1.21.4
98+
# via
99+
# -r requirements.in
100+
# atari-py
101+
# gym
102+
# h5py
103+
# inky
104+
# keras-applications
105+
# keras-preprocessing
106+
# matplotlib
107+
# opencv-python
108+
# opt-einsum
109+
# pandas
110+
# scipy
111+
# stable-baselines
112+
# tensorboard
113+
# tensorflow
114+
oauthlib==3.2.0
115+
# via requests-oauthlib
116+
opencv-python==4.6.0.66
117+
# via
118+
# gym
119+
# stable-baselines
120+
opt-einsum==3.3.0
121+
# via tensorflow
122+
packaging==21.3
123+
# via matplotlib
124+
pandas==1.3.5
125+
# via stable-baselines
126+
pillow==9.2.0
127+
# via
128+
# -r requirements.in
129+
# matplotlib
130+
protobuf==4.21.5
131+
# via
132+
# tensorboard
133+
# tensorflow
134+
pyasn1==0.4.8
135+
# via
136+
# pyasn1-modules
137+
# rsa
138+
pyasn1-modules==0.2.8
139+
# via google-auth
140+
pycryptodome==3.15.0
141+
# via -r requirements.in
142+
pyglet==1.5.26
143+
# via gym
144+
pyparsing==3.0.9
145+
# via
146+
# matplotlib
147+
# packaging
148+
python-dateutil==2.8.2
149+
# via
150+
# -r requirements.in
151+
# matplotlib
152+
# pandas
153+
pytz==2022.2.1
154+
# via pandas
155+
pyyaml==6.0
156+
# via -r requirements.in
157+
requests==2.28.1
158+
# via
159+
# -r requirements.in
160+
# requests-oauthlib
161+
# tensorboard
162+
requests-oauthlib==1.3.1
163+
# via google-auth-oauthlib
164+
rsa==4.9
165+
# via google-auth
166+
scapy==2.4.5
167+
# via -r requirements.in
168+
scipy==1.7.3
169+
# via stable-baselines
170+
six==1.16.0
171+
# via
172+
# atari-py
173+
# flask-cors
174+
# google-auth
175+
# google-pasta
176+
# grpcio
177+
# keras-preprocessing
178+
# python-dateutil
179+
# tensorboard
180+
# tensorflow
181+
smbus2==0.4.2
182+
# via
183+
# -r requirements.in
184+
# inky
185+
spidev==3.5
186+
# via
187+
# -r requirements.in
188+
# inky
189+
stable-baselines==2.10.2
190+
# via -r requirements.in
191+
tensorboard==2.0.2
192+
# via tensorflow
193+
tensorflow==1.14.0
194+
# via -r requirements.in
195+
tensorflow-estimator==1.14.0
196+
# via tensorflow
197+
termcolor==1.1.0
198+
# via tensorflow
199+
toml==0.10.2
200+
# via -r requirements.in
201+
typing-extensions==4.3.0
202+
# via
203+
# importlib-metadata
204+
# kiwisolver
205+
urllib3==1.26.12
206+
# via requests
24207
websockets==8.1
208+
# via -r requirements.in
209+
werkzeug==1.0.1
210+
# via
211+
# flask
212+
# tensorboard
213+
wheel==0.37.1
214+
# via
215+
# tensorboard
216+
# tensorflow
217+
wrapt==1.14.1
218+
# via tensorflow
219+
wtforms==3.0.1
220+
# via flask-wtf
221+
zipp==3.8.1
222+
# via importlib-metadata
25223

26-
# flask==1.0.2 requires:
27-
# Jinja2>=2.10
28-
# Werkzeug>=0.14
29-
# itsdangerous>=0.24
30-
31-
# Jinja2 v2.1.0 requires MarkupSafe>=0.23 for `soft_unicode`
32-
# but the function was removed in MarkupSafe v2.1.0.
33-
# Jinja2 v3.0.0 fixed this issue but flask doesn't support it until v2.0.
34-
MarkupSafe<2.1.0
35-
36-
# Werkzeug v2.2.0 adds a requirement of MarkupSafe>=2.1.1
37-
# which triggers the `soft_unicode` issue in Jinja2.
38-
# Werkzeug v2.1.0 removes `safe_str_cmp` which breaks flask-wtf.
39-
# flask-wtf fixes this in v0.15.
40-
Werkzeug<2.1.0
41-
42-
# flask requires itsdangerous>=0.24 for its `json` module
43-
# but the module was removed in v2.1.0.
44-
# flask fixed this issue in v2.X.
45-
itsdangerous<2.1.0
224+
# The following packages are considered to be unsafe in a requirements file:
225+
# setuptools

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ def version(version_file):
6969
return None
7070

7171
with open('requirements.txt') as fp:
72-
required = [line.strip() for line in fp if line.strip() != ""]
72+
required = [
73+
line.strip()
74+
for line in fp
75+
if line.strip() and not line.startswith("--")
76+
]
7377

7478
VERSION_FILE = 'pwnagotchi/_version.py'
7579
pwnagotchi_version = version(VERSION_FILE)

0 commit comments

Comments
 (0)