Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ pyinstrument upgrade, removed pin from webserver #5271

Merged
merged 9 commits into from
Jan 29, 2024

Conversation

GitHK
Copy link
Contributor

@GitHK GitHK commented Jan 25, 2024

What do these changes do?

Since pyinstrument is not used to track await calls, async_mode can be disabled.
Only one instance of the profiler will be used from now on.

Highlights on updated libraries (only updated libraries are included)

  • #packages before: 2
  • #packages after : 1
# name before after upgrade count packages
1 pyinstrument 3.4.2 4.6.1 MAJOR 1 web⬆️
2 pyinstrument-cext 0.2.4 🗑️ removed 1 web⬆️

Legend:

  • ⬆️ base dependency (only services because packages are floating)
  • 🧪 test dependency
  • 🔧 tool dependency

Repo-wide overview of libraries

  • #reqs files parsed: 91
# name versions-base versions-test versions-tool
1 aio-pika 9.1.2, 9.2.2, 9.3.0 9.1.2, 9.3.0
2 aioboto3 12.0.0, 12.2.0 9.6.0, 12.0.0
3 aiobotocore 2.5.4, 2.7.0, 2.9.0 2.3.0, 2.7.0
4 aiocache 0.11.1, 0.12.1, 0.12.2 0.12.2
5 aiodebug 2.3.0 2.3.0
6 aiodocker 0.21.0 0.21.0
7 aiofiles 0.8.0, 22.1.0, 23.1.0, 23.2.1 23.2.1
8 aiohttp 3.8.5, 3.8.6 3.8.5, 3.8.6, 3.9.1 3.8.5, 3.8.6, 3.9.1
9 aiohttp-jinja2 1.5
10 aiohttp-security 0.4.0
11 aiohttp-session 2.11.0
12 aiohttp-swagger 1.0.16
13 aioitertools 0.11.0 0.11.0
14 aiopg 1.4.0 1.4.0
15 aioprocessing 2.0.1
16 aioredis 2.0.1
17 aioresponses 0.7.4, 0.7.5
18 aiormq 6.7.6, 6.7.7 6.7.6, 6.7.7
19 aiosignal 1.2.0, 1.3.1 1.2.0, 1.3.1 1.2.0, 1.3.1
20 aiosmtplib 1.1.6
21 aiozipkin 1.1.1
22 alembic 1.8.1, 1.11.1, 1.12.1 1.8.1, 1.11.1, 1.12.1
23 annotated-types 0.6.0
24 anyio 3.6.2, 3.7.0, 3.7.1, 4.0.0 3.6.2, 3.7.0, 3.7.1, 4.0.0
25 arrow 1.2.3, 1.3.0 1.3.0
26 asgi-lifespan 2.1.0
27 asgiref 3.5.2, 3.7.2
28 astroid 3.0.2
29 async-asgi-testclient 1.4.11
30 async-timeout 4.0.2, 4.0.3 4.0.2, 4.0.3 4.0.2, 4.0.3
31 asyncpg 0.27.0, 0.28.0, 0.29.0 0.28.0
32 attrs 21.4.0, 23.1.0 21.4.0, 23.1.0 21.4.0, 23.1.0
33 aws-sam-translator 1.55.0, 1.79.0, 1.82.0, 1.83.0
34 aws-xray-sdk 2.12.1
35 bidict 0.22.0, 0.22.1 0.22.1
36 black 23.12.0
37 blinker 1.7.0
38 blosc 1.11.1
39 bokeh 2.4.3 2.4.3
40 boto3 1.24.96, 1.28.64, 1.33.13 1.21.21, 1.28.17, 1.28.64, 1.29.2, 1.33.13
41 boto3-stubs 1.29.2
42 botocore 1.27.96, 1.31.17, 1.31.64, 1.33.13 1.24.21, 1.31.17, 1.31.64, 1.32.2, 1.33.13
43 botocore-stubs 1.31.77, 1.31.80, 1.31.85, 1.34.23 1.32.2, 1.33.6
44 build 1.0.3
45 bump2version 1.0.1
46 certifi 2023.7.22, 2023.11.17 2023.7.22, 2023.11.17
47 cffi 1.15.0, 1.15.1, 1.16.0 1.15.1, 1.16.0
48 cfgv 3.4.0
49 cfn-lint 0.72.0, 0.83.1, 0.83.6, 0.84.0
50 change-case 0.5.2
51 charset-normalizer 2.0.12, 2.1.1, 3.1.0, 3.2.0, 3.3.2 2.0.12, 2.1.1, 3.1.0, 3.2.0, 3.3.2 2.0.12, 2.1.1, 3.1.0, 3.2.0, 3.3.2
52 click 8.1.3, 8.1.6, 8.1.7 8.1.3, 8.1.7 8.1.3, 8.1.6, 8.1.7
53 cloudpickle 2.2.1, 3.0.0 2.2.1
54 colorama 0.4.6
55 colorlog 6.7.0 6.7.0
56 contourpy 1.0.7
57 coverage 7.3.2, 7.3.3
58 cryptography 41.0.7 41.0.7
59 cycler 0.11.0
60 dask 2023.3.2, 2023.12.0 2023.3.2
61 dask-gateway 2023.1.1 2023.9.0
62 dask-gateway-server 2023.1.1 2023.1.1
63 dateparser 1.1.8
64 debugpy 1.8.0
65 deepdiff 6.7.0, 6.7.1
66 dill 0.3.7
67 distlib 0.3.8
68 distributed 2023.3.2, 2023.12.0 2023.3.2
69 dnspython 2.1.0, 2.2.1, 2.3.0, 2.4.0, 2.4.1, 2.4.2 2.4.2
70 docker 6.1.3 6.1.3, 7.0.0
71 ecdsa 0.18.0 0.18.0
72 email-validator 1.2.1, 1.3.0, 2.0.0.post2, 2.1.0.post1 2.1.0.post1
73 et-xmlfile 1.1.0
74 exceptiongroup 1.1.1, 1.1.2, 1.1.3 1.1.1, 1.1.2, 1.1.3, 1.2.0
75 execnet 2.0.2
76 faker 19.6.1 19.6.1, 19.13.0, 20.0.3, 21.0.0
77 fakeredis 2.20.0, 2.20.1
78 fastapi 0.96.0, 0.98.0, 0.99.1
79 fastapi-pagination 0.10.0, 0.12.5
80 filelock 3.13.1
81 flaky 3.7.0
82 flask 2.1.3, 3.0.0, 3.0.1
83 flask-cors 4.0.0
84 fonttools 4.39.4
85 frozenlist 1.3.0, 1.3.1, 1.3.3, 1.4.0 1.3.0, 1.3.1, 1.3.3, 1.4.0 1.3.0, 1.3.1, 1.3.3, 1.4.0, 1.4.1
86 fsspec 2023.6.0, 2023.12.2 2023.6.0
87 graphql-core 3.2.3
88 greenlet 2.0.2, 3.0.1 2.0.2, 3.0.1
89 gunicorn 20.1.0
90 h11 0.12.0, 0.14.0 0.12.0, 0.14.0
91 h2 4.1.0
92 hpack 4.0.0
93 httmock 1.4.0
94 httpcore 0.15.0, 0.17.1, 0.17.2, 0.17.3, 0.18.0, 1.0.1, 1.0.2 0.15.0, 0.17.1, 0.17.2, 0.17.3, 0.18.0, 1.0.1, 1.0.2
95 httptools 0.2.0, 0.5.0, 0.6.0, 0.6.1
96 httpx 0.24.0, 0.24.1, 0.25.0, 0.25.1, 0.26.0 0.24.0, 0.24.1, 0.25.0, 0.25.1, 0.26.0
97 hyperframe 6.0.1
98 hypothesis 6.88.1, 6.88.3
99 icdiff 2.0.7
100 identify 2.5.33
101 idna 2.10, 3.3, 3.4, 3.6 2.10, 3.3, 3.4, 3.6 2.10, 3.3, 3.4, 3.6
102 importlib-metadata 6.8.0, 7.0.0 6.8.0
103 iniconfig 2.0.0 2.0.0
104 inotify 0.2.10
105 isodate 0.6.1
106 isort 5.13.2
107 itsdangerous 1.1.0, 2.1.2 2.1.2
108 jinja-app-loader 1.0.2
109 jinja2 3.1.2 3.1.2, 3.1.3 3.1.2
110 jmespath 1.0.1 1.0.1
111 jschema-to-python 1.2.3
112 json2html 1.3.0
113 jsondiff 2.0.0 2.0.0
114 jsonpatch 1.33
115 jsonpickle 3.0.2
116 jsonpointer 2.4
117 jsonref 1.1.0
118 jsonschema 3.2.0, 4.18.4, 4.19.0, 4.19.2, 4.20.0 3.2.0, 4.19.0, 4.19.2
119 jsonschema-path 0.3.1 0.3.1, 0.3.2
120 jsonschema-spec 0.2.4 0.2.4
121 jsonschema-specifications 2023.7.1, 2023.11.2 2023.7.1
122 junit-xml 1.9
123 kiwisolver 1.4.4
124 lazy-object-proxy 1.7.1, 1.9.0 1.9.0
125 locket 1.0.0 1.0.0
126 lupa 2.0
127 lz4 4.3.2 4.3.2
128 mako 1.2.2, 1.2.4 1.2.2, 1.2.4
129 markdown-it-py 2.2.0, 3.0.0 3.0.0
130 markupsafe 2.1.1, 2.1.3 2.1.1, 2.1.3 2.1.3
131 matplotlib 3.7.1
132 mccabe 0.7.0
133 mdurl 0.1.2 0.1.2
134 more-itertools 10.1.0
135 moto 4.0.1, 4.1.5, 4.2.6, 4.2.7, 4.2.11
136 mpmath 1.3.0
137 msgpack 1.0.3, 1.0.5, 1.0.7 1.0.5
138 multidict 6.0.2, 6.0.3, 6.0.4 6.0.2, 6.0.4 6.0.2, 6.0.3, 6.0.4
139 mypy 1.6.1, 1.7.0
140 mypy-extensions 1.0.0 1.0.0
141 networkx 3.1 2.8.8, 3.2.1
142 nodeenv 1.8.0
143 nose 1.3.7
144 numpy 1.24.3, 1.25.2 1.25.2, 1.26.1
145 openapi-core 0.12.0, 0.18.2
146 openapi-schema-validator 0.2.3, 0.6.2 0.2.3, 0.6.0, 0.6.2
147 openapi-spec-validator 0.4.0, 0.7.1 0.4.0, 0.6.0, 0.7.1
148 openpyxl 3.0.9
149 ordered-set 4.1.0 4.1.0
150 orjson 3.7.2, 3.9.1, 3.9.2, 3.9.7, 3.9.10 3.9.10
151 packaging 23.1, 23.2 23.1, 23.2 23.1, 23.2
152 pamqp 3.2.1 3.2.1
153 pandas 2.0.1 2.1.2
154 parse 1.19.1 1.19.1
155 partd 1.4.0, 1.4.1 1.4.0
156 passlib 1.7.4
157 pathable 0.4.3 0.4.3
158 pathspec 0.12.1
159 pbr 5.11.1, 6.0.0
160 pillow 9.5.0, 10.0.0 10.1.0
161 pint 0.19.2, 0.22 0.22, 0.23
162 pip-tools 7.3.0
163 platformdirs 4.1.0
164 playwright 1.40.0
165 pluggy 1.3.0 1.3.0
166 pprintpp 0.4.0
167 pre-commit 3.6.0
168 prometheus-api-client 0.5.3
169 prometheus-client 0.14.1, 0.18.0, 0.19.0
170 prometheus-fastapi-instrumentator 6.1.0
171 psutil 5.9.5, 5.9.6 5.9.5
172 psycopg2-binary 2.9.6, 2.9.9 2.9.9
173 ptvsd 4.3.2
174 py-cpuinfo 9.0.0
175 py-partiql-parser 0.4.0, 0.4.1, 0.4.2
176 pyasn1 0.5.0 0.5.0, 0.5.1
177 pycparser 2.21 2.21
178 pydantic 1.9.0, 1.10.2, 1.10.7, 1.10.9, 1.10.11, 1.10.12, 1.10.13 1.10.2, 1.10.7, 1.10.12, 1.10.13, 2.5.2
179 pydantic-core 2.14.5
180 pyee 11.0.1
181 pyftpdlib 1.5.9
182 pygments 2.15.1, 2.16.1, 2.17.2 2.16.1
183 pyinstrument 4.1.1, 4.3.0, 4.4.0, 4.5.0, 4.5.1, 4.6.0, 4.6.1 4.5.0, 4.6.1
184 pyjwt 2.4.0
185 pylint 3.0.3
186 pyopenssl 23.3.0
187 pyparsing 3.0.9 3.0.9, 3.1.1
188 pyproject-hooks 1.0.0
189 pyrsistent 0.18.1, 0.19.2, 0.19.3 0.18.1, 0.19.2, 0.19.3
190 pytest 7.4.3 7.4.3
191 pytest-aiohttp 1.0.5
192 pytest-asyncio 0.21.1, 0.23.2
193 pytest-base-url 2.0.0
194 pytest-benchmark 4.0.0
195 pytest-cov 4.1.0
196 pytest-docker 2.0.1
197 pytest-html 4.1.1
198 pytest-icdiff 0.8, 0.9
199 pytest-instafail 0.5.0
200 pytest-lazy-fixture 0.6.3
201 pytest-localftpserver 1.2.0
202 pytest-metadata 3.0.0
203 pytest-mock 3.12.0
204 pytest-playwright 0.4.3
205 pytest-runner 6.0.0, 6.0.1
206 pytest-sugar 0.9.7
207 pytest-xdist 3.3.1
208 python-dateutil 2.8.2 2.8.2
209 python-dotenv 0.20.0, 0.21.0, 1.0.0 1.0.0
210 python-engineio 4.3.4, 4.8.0 4.8.0
211 python-jose 3.3.0 3.3.0
212 python-magic 0.4.25, 0.4.27
213 python-multipart 0.0.5, 0.0.6
214 python-slugify 8.0.1
215 python-socketio 5.8.0, 5.10.0 5.10.0
216 pytz 2022.1, 2023.3 2023.3.post1
217 pyyaml 6.0.1 6.0.1 6.0.1
218 redis 4.5.4, 4.5.5, 4.6.0, 5.0.0, 5.0.1 4.5.4, 4.5.5, 5.0.1
219 referencing 0.29.3, 0.30.2, 0.32.0 0.29.3, 0.30.2
220 regex 2023.5.5 2023.5.5, 2023.10.3
221 requests 2.30.0, 2.31.0 2.30.0, 2.31.0
222 requests-mock 1.11.0
223 responses 0.23.3, 0.24.0, 0.24.1
224 respx 0.20.2
225 rfc3339-validator 0.1.4 0.1.4
226 rich 13.3.5, 13.4.2, 13.5.2, 13.6.0, 13.7.0 13.6.0
227 rpds-py 0.9.2, 0.10.6, 0.12.0, 0.13.2 0.9.2, 0.10.6, 0.12.0
228 rsa 4.9 4.9
229 ruff 0.1.8
230 s3fs 2023.6.0
231 s3transfer 0.6.0, 0.7.0, 0.8.2 0.5.2, 0.6.2, 0.7.0, 0.8.2
232 sarif-om 1.0.4
233 semantic-version 2.10.0
234 setproctitle 1.2.3
235 sh 2.0.6
236 shellingham 1.5.0.post1, 1.5.4
237 shortuuid 1.0.11
238 simple-websocket 1.0.0 1.0.0
239 six 1.15.0, 1.16.0 1.15.0, 1.16.0
240 sniffio 1.2.0, 1.3.0 1.2.0, 1.3.0
241 sortedcontainers 2.4.0 2.4.0
242 sqlalchemy 1.4.47, 1.4.48, 1.4.49, 1.4.50 1.4.47, 1.4.48, 1.4.49, 1.4.50
243 sqlalchemy2-stubs 0.0.2a36, 0.0.2a37
244 sshpubkeys 3.3.1
245 starlette 0.27.0
246 strict-rfc3339 0.7
247 sympy 1.12
248 tblib 2.0.0, 3.0.0 2.0.0
249 tenacity 8.0.1, 8.1.0, 8.2.2, 8.2.3 8.0.1, 8.2.3
250 termcolor 2.3.0, 2.4.0
251 text-unidecode 1.3
252 tomli 2.0.1 2.0.1 2.0.1
253 tomlkit 0.12.3
254 toolz 0.12.0 0.12.0
255 tornado 6.3.3, 6.4 6.3.3
256 tqdm 4.64.0, 4.64.1, 4.65.0, 4.66.1 4.66.1
257 traitlets 5.9.0 5.13.0
258 twilio 7.12.0
259 typer 0.4.1, 0.6.1, 0.9.0 0.9.0 0.9.0
260 types-aiobotocore 2.7.0, 2.11.0 2.8.0
261 types-aiobotocore-ec2 2.7.0, 2.11.0
262 types-aiobotocore-s3 2.7.0, 2.11.0 2.7.0, 2.8.0
263 types-aiofiles 23.2.0.0
264 types-awscrt 0.19.8, 0.19.10, 0.20.2 0.19.12, 0.19.19
265 types-boto3 1.0.2
266 types-pkg-resources 0.1.3
267 types-python-dateutil 2.8.19.14 2.8.19.14, 2.8.19.20240106
268 types-pyyaml 6.0.12.12
269 types-s3transfer 0.7.0
270 typing-extensions 4.3.0, 4.4.0, 4.5.0, 4.6.3, 4.7.1, 4.8.0, 4.9.0 4.3.0, 4.4.0, 4.5.0, 4.6.3, 4.7.1, 4.8.0, 4.9.0 4.3.0, 4.4.0, 4.5.0, 4.6.3, 4.7.1, 4.8.0, 4.9.0
271 tzdata 2023.3 2023.3
272 tzlocal 5.0.1
273 u-msgpack-python 2.8.0
274 ujson 5.5.0, 5.8.0
275 urllib3 1.26.11, 1.26.12, 1.26.16, 2.0.2, 2.0.7, 2.1.0 1.26.11, 1.26.12, 1.26.16, 1.26.18, 2.0.2, 2.0.7, 2.1.0
276 uvicorn 0.15.0, 0.19.0, 0.22.0, 0.23.1, 0.23.2, 0.24.0.post1
277 uvloop 0.16.0, 0.17.0, 0.19.0
278 virtualenv 20.25.0
279 watchdog 3.0.0 3.0.0
280 watchfiles 0.18.0, 0.19.0, 0.21.0
281 watchgod 0.8.2
282 websocket-client 1.6.4 1.6.4
283 websockets 10.1, 10.3, 11.0.3, 12.0 12.0
284 werkzeug 2.1.2, 3.0.1 2.1.2, 3.0.1
285 wheel 0.42.0
286 wrapt 1.15.0, 1.16.0 1.15.0, 1.16.0
287 wsproto 1.2.0 1.2.0
288 xmltodict 0.13.0
289 yarl 1.5.1, 1.9.2 1.5.1, 1.9.2, 1.9.4 1.5.1, 1.9.2, 1.9.4
290 zict 3.0.0 3.0.0
291 zipp 3.16.2, 3.17.0 3.16.2

Related issue/s

How to test

Dev Checklist

DevOps Checklist

Copy link

codecov bot commented Jan 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9a2bcd4) 87.2% compared to head (cfe58bb) 86.7%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #5271     +/-   ##
========================================
- Coverage    87.2%   86.7%   -0.6%     
========================================
  Files        1308    1042    -266     
  Lines       53564   44893   -8671     
  Branches     1170     607    -563     
========================================
- Hits        46755   38953   -7802     
+ Misses       6560    5799    -761     
+ Partials      249     141    -108     
Flag Coverage Δ
integrationtests 63.8% <ø> (-1.5%) ⬇️
unittests 84.3% <100.0%> (-0.8%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...y/src/servicelib/aiohttp/monitor_slow_callbacks.py 100.0% <100.0%> (ø)

... and 278 files with indirect coverage changes

@GitHK GitHK added this to the This is Sparta! milestone Jan 25, 2024
@GitHK GitHK self-assigned this Jan 25, 2024
@GitHK GitHK changed the title ⬆️ pyinstrument upgrade inside webserver ⬆️ pyinstrument upgrade, removed pin from webserver Jan 25, 2024
@GitHK GitHK marked this pull request as ready for review January 26, 2024 09:53
Copy link
Member

@pcrespov pcrespov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx!

@GitHK GitHK enabled auto-merge (squash) January 29, 2024 10:28
Copy link

sonarcloud bot commented Jan 29, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@GitHK GitHK merged commit f8064f8 into ITISFoundation:master Jan 29, 2024
55 checks passed
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Feb 14, 2024
39 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants