Skip to content

⬆️ Upgrade api-server requirements and includes pagination library #4411

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

Merged
merged 5 commits into from
Jun 23, 2023

Conversation

pcrespov
Copy link
Member

@pcrespov pcrespov commented Jun 23, 2023

What do these changes do?

  • ⬆️ full upgrade of api-server requirements
  • ⬆️ adds fastapi-pagination
  • 📝 Updated hotfix template forms PULL_REQUEST_TEMPLATE.md

Related issue/s

Upgrade report

  • #packages before: 61
  • #packages after : 66
# name before after upgrade count packages
1 aio-pika 9.1.2 9.1.3 1 api-server⬆️
2 aiocache 0.11.1 0.12.1 minor 1 api-server⬆️
3 aiofiles 0.8.0 23.1.0 MAJOR 1 api-server⬆️
4 aiohttp 3.8.3 3.8.4 1 api-server⬆️
5 aiosignal 1.2.0 1.3.1 minor 1 api-server⬆️
6 alembic 1.8.1 1.11.1 minor 2 api-server⬆️🧪
7 anyio 3.6.2 3.7.0 minor 2 api-server⬆️🧪
8 asgiref 3.5.2 🗑️ removed 1 api-server⬆️
9 boto3 1.26.147 1.26.159 1 api-server🧪
10 boto3-stubs 1.26.147 1.26.159 1 api-server🧪
11 botocore 1.29.147 1.29.159 1 api-server🧪
12 botocore-stubs 1.29.147 1.29.159 1 api-server🧪
13 certifi 2022.12.7 2023.5.7 MAJOR 2 api-server⬆️🧪
14 cffi 1.15.0 1.15.1 2 api-server⬆️🧪
15 charset-normalizer 2.0.12 3.1.0 MAJOR 2 api-server⬆️🧪
16 cryptography 39.0.1 41.0.1 MAJOR 2 api-server⬆️🧪
17 dnspython 2.2.1 2.3.0 minor 1 api-server⬆️
18 email-validator 1.2.1 2.0.0.post2 MAJOR 1 api-server⬆️
19 faker 18.10.1 18.11.1 minor 1 api-server🧪
20 fastapi 0.96.0 0.98.0 minor 1 api-server⬆️
21 filelock 3.12.0 3.12.2 1 api-server🔧
22 frozenlist 1.3.0 1.3.3 1 api-server⬆️
23 h11 0.12.0 0.14.0 minor 2 api-server⬆️🧪
24 httpcore 0.15.0 0.17.2 minor 2 api-server⬆️🧪
25 httptools 0.2.0 0.5.0 minor 1 api-server⬆️
26 httpx 0.24.0 0.24.1 2 api-server⬆️🧪
27 idna 3.3 3.4 minor 2 api-server⬆️🧪
28 jsonpatch 1.32 1.33 minor 1 api-server🧪
29 jsonpointer 2.3 2.4 minor 1 api-server🧪
30 mako 1.2.2 1.2.4 2 api-server⬆️🧪
31 markupsafe 2.1.1 2.1.3 3 api-server⬆️🧪🔧
32 multidict 6.0.2 6.0.4 1 api-server⬆️
33 mypy 1.3.0 1.4.0 minor 1 api-server🧪
34 orjson 3.7.2 3.9.1 minor 1 api-server⬆️
35 pint 0.19.2 0.22 minor 1 api-server⬆️
36 platformdirs 3.5.1 3.8.0 minor 1 api-server🔧
37 pluggy 1.0.0 1.2.0 minor 1 api-server🧪
38 pre-commit 3.3.2 3.3.3 1 api-server🔧
39 pydantic 1.9.0 1.10.9 minor 1 api-server⬆️
40 pyinstrument 4.1.1 4.5.0 minor 1 api-server⬆️
41 pyparsing 3.0.9 3.1.0 minor 1 api-server🧪
42 pyrsistent 0.18.1 0.19.3 minor 2 api-server⬆️🧪
43 pytest 7.3.1 7.3.2 1 api-server🧪
44 pytest-mock 3.10.0 3.11.1 minor 1 api-server🧪
45 python-dotenv 0.20.0 1.0.0 MAJOR 1 api-server⬆️
46 python-multipart 0.0.5 0.0.6 1 api-server⬆️
47 redis 4.5.4 4.5.5 1 api-server⬆️
48 sniffio 1.2.0 1.3.0 minor 2 api-server⬆️🧪
49 sqlalchemy 1.4.47 1.4.48 2 api-server⬆️🧪
50 tenacity 8.0.1 8.2.2 minor 1 api-server⬆️
51 tqdm 4.64.0 4.65.0 minor 1 api-server⬆️
52 typer 0.4.1 0.9.0 minor 1 api-server⬆️
53 typing-extensions 4.3.0 4.6.3 minor 3 api-server⬆️🧪🔧
54 ujson 5.5.0 5.8.0 minor 1 api-server⬆️
55 urllib3 1.26.9 1.26.16 1 api-server🧪
56 uvicorn 0.15.0 0.22.0 minor 1 api-server⬆️
57 uvloop 0.16.0 0.17.0 minor 1 api-server⬆️
58 virtualenv 20.23.0 20.23.1 1 api-server🔧
59 watchgod 0.8.2 🗑️ removed 1 api-server⬆️
60 websocket-client 1.5.2 1.6.0 minor 1 api-server🧪
61 websockets 10.2 11.0.3 MAJOR 1 api-server⬆️

Legend:

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

Repo-wide overview of libraries

  • #reqs files parsed: 76
# name versions-base versions-test versions-tool
1 aio-pika 9.1.2, 9.1.3 9.1.2
2 aioboto3 9.6.0, 10.4.0 9.6.0, 11.2.0
3 aiobotocore 2.3.0, 2.4.2, 2.5.0 2.3.0, 2.5.0
4 aiocache 0.11.1, 0.12.1 0.12.1
5 aiodebug 2.3.0 2.3.0
6 aiodocker 0.19.1, 0.21.0 0.21.0
7 aiofiles 0.8.0, 22.1.0, 23.1.0 23.1.0
8 aiohttp 3.8.3, 3.8.4 3.8.3, 3.8.4
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.10.0, 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
18 aiormq 6.7.6 6.7.6
19 aiosignal 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.8.1, 1.11.1
23 anyio 3.6.2, 3.7.0 3.6.2, 3.7.0
24 arrow 1.2.3 1.2.3
25 asgi-lifespan 2.1.0
26 asgiref 3.5.2
27 astroid 2.15.5
28 async-asgi-testclient 1.4.11
29 async-timeout 4.0.2 4.0.2
30 asyncpg 0.27.0 0.27.0
31 attrs 21.4.0, 23.1.0 21.4.0, 23.1.0
32 aws-sam-translator 1.55.0, 1.68.0
33 aws-xray-sdk 2.12.0
34 bcrypt 3.2.0
35 bidict 0.22.0
36 black 23.3.0
37 blinker 1.6.2
38 blosc 1.11.1
39 bokeh 2.4.3 2.4.3
40 boto3 1.21.21, 1.24.59, 1.24.96 1.21.21, 1.24.59, 1.26.76, 1.26.159
41 boto3-stubs 1.26.159
42 botocore 1.24.21, 1.27.59, 1.27.96, 1.29.76 1.24.21, 1.27.59, 1.29.76, 1.29.159
43 botocore-stubs 1.27.17, 1.29.78 1.29.159
44 build 0.10.0
45 bump2version 1.0.1
46 certifi 2022.12.7, 2023.5.7 2022.12.7, 2023.5.7
47 cffi 1.15.0, 1.15.1 1.15.1
48 cfgv 3.3.1
49 cfn-lint 0.72.0, 0.72.6, 0.77.6
50 change-case 0.5.2
51 charset-normalizer 2.0.12, 2.1.1, 3.0.1, 3.1.0 2.0.12, 2.1.1, 3.0.1, 3.1.0
52 click 8.1.3 8.1.3 8.1.3
53 cloudpickle 2.2.1 2.2.1
54 colorama 0.4.6
55 colorlog 6.7.0 6.7.0
56 commonmark 0.9.1
57 contourpy 1.0.7
58 coverage 7.2.7
59 cryptography 39.0.1, 40.0.2, 41.0.1 41.0.1
60 cycler 0.11.0
61 dask 2023.3.2, 2023.5.1 2023.3.2
62 dask-gateway 2023.1.1 2023.1.1
63 dask-gateway-server 2023.1.1 2023.1.1
64 dateparser 1.1.8
65 debugpy 1.6.7
66 decorator 4.4.2
67 deepdiff 6.3.0
68 dill 0.3.6
69 distlib 0.3.6
70 distributed 2023.3.2, 2023.5.1 2023.3.2
71 distro 1.5.0
72 dnspython 2.1.0, 2.2.1, 2.3.0 2.3.0
73 docker 6.0.0, 6.1.3 6.1.3
74 docker-compose 1.29.1
75 dockerpty 0.4.1
76 docopt 0.6.2
77 ecdsa 0.18.0
78 email-validator 1.2.1, 1.3.0, 1.3.1, 2.0.0.post2 2.0.0.post2
79 et-xmlfile 1.1.0
80 exceptiongroup 1.1.1 1.1.1
81 execnet 1.9.0
82 expiringdict 1.2.1
83 faker 18.10.1, 18.11.1
84 fakeredis 2.14.0
85 fastapi 0.85.0, 0.96.0, 0.98.0
86 fastapi-pagination 0.10.0, 0.12.4
87 filelock 3.12.0, 3.12.2
88 flaky 3.7.0
89 flask 2.1.3, 2.2.5, 2.3.2
90 flask-cors 3.0.10
91 fonttools 4.39.4
92 frozenlist 1.3.0, 1.3.1, 1.3.3 1.3.0, 1.3.1, 1.3.3
93 fsspec 2023.5.0 2023.5.0
94 graphql-core 3.2.3
95 greenlet 2.0.2 2.0.2
96 gunicorn 20.1.0
97 h11 0.12.0, 0.14.0 0.12.0, 0.14.0
98 h2 4.1.0
99 hpack 4.0.0
100 httmock 1.4.0
101 httpcore 0.15.0, 0.16.3, 0.17.1, 0.17.2 0.15.0, 0.16.3, 0.17.1, 0.17.2
102 httptools 0.2.0, 0.5.0
103 httpx 0.24.0, 0.24.1 0.24.0, 0.24.1
104 hyperframe 6.0.1
105 hypothesis 6.76.0
106 icdiff 2.0.6
107 identify 2.5.24
108 idna 2.10, 3.3, 3.4 2.10, 3.3, 3.4
109 importlib-metadata 6.6.0 6.6.0
110 iniconfig 2.0.0 2.0.0
111 inotify 0.2.10
112 isodate 0.6.1
113 isort 5.12.0
114 itsdangerous 1.1.0, 2.1.2 2.1.2
115 jinja-app-loader 1.0.2
116 jinja2 3.1.2 3.1.2 3.1.2
117 jmespath 1.0.0, 1.0.1 1.0.0, 1.0.1
118 jschema-to-python 1.2.3
119 json2html 1.3.0
120 jsondiff 2.0.0 2.0.0
121 jsonpatch 1.32, 1.33
122 jsonpickle 3.0.1
123 jsonpointer 2.3, 2.4
124 jsonschema 3.2.0, 4.17.3 3.2.0, 4.17.3
125 junit-xml 1.9
126 kiwisolver 1.4.4
127 lazy-object-proxy 1.7.1 1.7.1, 1.9.0
128 locket 1.0.0 1.0.0
129 lupa 1.14.1
130 lz4 4.3.2 4.3.2
131 mako 1.2.2, 1.2.4 1.2.2, 1.2.4
132 markdown-it-py 2.2.0, 3.0.0
133 markupsafe 2.1.1, 2.1.2, 2.1.3 2.1.1, 2.1.2, 2.1.3 2.1.3
134 matplotlib 3.7.1
135 mccabe 0.7.0
136 mdurl 0.1.2
137 minio 7.0.4
138 moto 4.0.1, 4.1.11
139 mpmath 1.3.0
140 msgpack 1.0.3, 1.0.5 1.0.5
141 multidict 6.0.2, 6.0.3, 6.0.4 6.0.2, 6.0.4
142 mypy 1.3.0, 1.4.0
143 mypy-extensions 1.0.0 1.0.0
144 networkx 2.5.1 2.8.8, 3.1
145 nodeenv 1.8.0
146 nose 1.3.7
147 numpy 1.24.3 1.24.3
148 openapi-core 0.12.0
149 openapi-schema-validator 0.2.3 0.2.3
150 openapi-spec-validator 0.4.0 0.4.0
151 openpyxl 3.0.9
152 ordered-set 4.1.0 4.1.0
153 orjson 3.7.2, 3.9.1
154 packaging 23.0, 23.1 23.0, 23.1 23.0, 23.1
155 pamqp 3.2.1 3.2.1
156 pandas 2.0.1 2.0.2
157 paramiko 2.11.0
158 partd 1.4.0 1.4.0
159 passlib 1.7.4
160 pathspec 0.11.1
161 pbr 5.11.1
162 pillow 9.5.0 9.5.0
163 pint 0.19.2, 0.22 0.22
164 pip-tools 6.13.0
165 platformdirs 3.5.1, 3.5.3, 3.8.0
166 pluggy 1.0.0 1.0.0, 1.2.0
167 pprintpp 0.4.0
168 pre-commit 3.3.2, 3.3.3
169 prometheus-api-client 0.5.3
170 prometheus-client 0.14.1
171 psutil 5.9.1, 5.9.5 5.9.5
172 psycopg2-binary 2.9.6 2.9.6
173 ptvsd 4.3.2
174 py-cpuinfo 9.0.0
175 py-partiql-parser 0.3.3
176 pyasn1 0.5.0
177 pycparser 2.20, 2.21 2.21
178 pydantic 1.9.0, 1.10.2, 1.10.8, 1.10.9 1.10.2, 1.10.8
179 pyftpdlib 1.5.7
180 pygments 2.13.0, 2.14.0, 2.15.1
181 pyinstrument 3.4.2, 4.1.1, 4.3.0, 4.4.0, 4.5.0 4.5.0
182 pyinstrument-cext 0.2.4
183 pyjwt 2.4.0
184 pylint 2.17.4
185 pynacl 1.4.0
186 pyopenssl 23.2.0
187 pyparsing 3.0.9 3.0.9, 3.1.0
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.3.1 7.3.1, 7.3.2
191 pytest-aiohttp 1.0.4
192 pytest-asyncio 0.21.0
193 pytest-benchmark 4.0.0
194 pytest-cov 4.1.0
195 pytest-docker 1.0.1
196 pytest-icdiff 0.6
197 pytest-instafail 0.5.0
198 pytest-lazy-fixture 0.6.3
199 pytest-localftpserver 1.1.4
200 pytest-mock 3.10.0, 3.11.1
201 pytest-runner 6.0.0
202 pytest-sugar 0.9.7
203 pytest-xdist 3.3.1
204 python-dateutil 2.8.2 2.8.2
205 python-dotenv 0.20.0, 0.21.0, 1.0.0 0.21.0, 1.0.0
206 python-engineio 4.3.4
207 python-jose 3.3.0
208 python-magic 0.4.25
209 python-multipart 0.0.5, 0.0.6
210 python-socketio 5.8.0
211 pytz 2022.1, 2023.3 2023.3
212 pyyaml 5.4.1, 6.0 5.4.1, 6.0 5.4.1, 6.0
213 redis 4.5.4, 4.5.5 4.5.4, 4.5.5
214 regex 2023.5.5 2023.6.3
215 requests 2.30.0, 2.31.0 2.30.0, 2.31.0
216 requests-mock 1.10.0
217 responses 0.23.1
218 respx 0.20.1
219 rich 12.5.1, 12.6.0, 13.3.5, 13.4.1, 13.4.2
220 rsa 4.9
221 s3fs 2023.5.0
222 s3transfer 0.5.2, 0.6.0 0.5.2, 0.6.0, 0.6.1
223 sarif-om 1.0.4
224 semantic-version 2.9.0
225 setproctitle 1.2.3
226 shellingham 1.5.0.post1
227 six 1.15.0, 1.16.0 1.15.0, 1.16.0
228 sniffio 1.2.0, 1.3.0 1.2.0, 1.3.0
229 sortedcontainers 2.4.0 2.4.0
230 sqlalchemy 1.4.47, 1.4.48 1.4.47, 1.4.48
231 sqlalchemy2-stubs 0.0.2a34
232 sshpubkeys 3.3.1
233 starlette 0.20.4, 0.27.0
234 strict-rfc3339 0.7
235 sympy 1.12
236 tblib 1.7.0 1.7.0
237 tenacity 8.0.1, 8.1.0, 8.2.1, 8.2.2 8.0.1, 8.2.2
238 termcolor 2.3.0
239 texttable 1.6.3
240 tomli 2.0.1 2.0.1 2.0.1
241 tomlkit 0.11.8
242 toolz 0.12.0 0.12.0
243 tornado 6.3.2 6.3.2
244 tqdm 4.64.0, 4.64.1, 4.65.0 4.65.0
245 traitlets 5.9.0 5.9.0
246 twilio 7.12.0
247 typer 0.4.1, 0.6.1, 0.7.0, 0.9.0 0.9.0 0.9.0
248 types-aiobotocore 2.3.3, 2.4.2.post1
249 types-aiobotocore-ec2 2.4.2
250 types-aiobotocore-s3 2.3.3
251 types-aiofiles 23.1.0.3
252 types-awscrt 0.16.10 0.16.19
253 types-boto3 1.0.2
254 types-pkg-resources 0.1.3
255 types-pyyaml 6.0.12.10
256 types-s3transfer 0.6.1
257 typing-extensions 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.6.1, 4.6.3 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.6.1, 4.6.3 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.6.1, 4.6.3
258 tzdata 2023.3 2023.3
259 tzlocal 5.0.1
260 ujson 5.5.0, 5.8.0
261 urllib3 1.26.9, 1.26.11, 1.26.12, 1.26.14, 1.26.16, 2.0.2 1.26.9, 1.26.11, 1.26.12, 1.26.14, 1.26.16, 2.0.2, 2.0.3
262 uvicorn 0.15.0, 0.17.0, 0.19.0, 0.20.0, 0.22.0
263 uvloop 0.16.0, 0.17.0
264 virtualenv 20.23.0, 20.23.1
265 watchdog 2.1.5 3.0.0
266 watchfiles 0.18.0, 0.18.1, 0.19.0
267 watchgod 0.8.2
268 websocket-client 0.59.0, 1.5.2 0.59.0, 1.5.2, 1.6.0
269 websockets 10.1, 10.3, 10.4, 11.0.3 11.0.3
270 werkzeug 2.1.2, 2.2.2 2.1.2, 2.2.2, 2.3.4
271 wheel 0.40.0
272 wrapt 1.14.1, 1.15.0 1.14.1, 1.15.0 1.14.1, 1.15.0
273 xmltodict 0.13.0
274 yarl 1.5.1, 1.9.2 1.5.1, 1.9.2
275 zict 3.0.0 3.0.0
276 zipp 3.15.0 3.15.0

@pcrespov pcrespov self-assigned this Jun 23, 2023
@pcrespov pcrespov added dependencies t:maintenance Some planned maintenance work labels Jun 23, 2023
@pcrespov pcrespov added this to the Watermelon milestone Jun 23, 2023
@pcrespov pcrespov enabled auto-merge (squash) June 23, 2023 08:30
@pcrespov pcrespov requested review from matusdrobuliak66, sanderegg and GitHK and removed request for matusdrobuliak66 and sanderegg June 23, 2023 08:30
@codecov
Copy link

codecov bot commented Jun 23, 2023

Codecov Report

Merging #4411 (bbe76ce) into master (8fcf17d) will decrease coverage by 8.4%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #4411      +/-   ##
=========================================
- Coverage    86.1%   77.7%    -8.4%     
=========================================
  Files         993      62     -931     
  Lines       42489    1788   -40701     
  Branches     1007       0    -1007     
=========================================
- Hits        36612    1391   -35221     
+ Misses       5646     397    -5249     
+ Partials      231       0     -231     
Flag Coverage Δ
integrationtests ?
unittests 77.7% <ø> (-6.0%) ⬇️

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

see 931 files with indirect coverage changes

@codeclimate
Copy link

codeclimate bot commented Jun 23, 2023

Code Climate has analyzed commit bbe76ce and detected 0 issues on this pull request.

View more on Code Climate.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@pcrespov pcrespov merged commit 7047efc into ITISFoundation:master Jun 23, 2023
@pcrespov pcrespov deleted the is4110/upgrade-api-server branch June 23, 2023 12:45
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Jul 12, 2023
36 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:maintenance Some planned maintenance work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants