Skip to content

Commit 633aa1b

Browse files
committed
Add Requirements Files for Python Application
Introduced requirements.piptools file for Python application, and updated requirements.txt according to it. The requirements.piptools file includes packages needed for the project that are then compiled into the requirements.txt file via pip-compile. This way, exact requirements including dependencies and their versions are documented for more deterministic builds. See pip-tools package.
1 parent 79b742f commit 633aa1b

File tree

2 files changed

+100
-11
lines changed

2 files changed

+100
-11
lines changed

apps/py/requirements.piptools

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# comments
2+
colorama
3+
bs4
4+
httpx
5+
flask
6+
sqlalchemy
7+
requests
8+
pytest
9+
pytest-mock
10+
pytest-clarity
11+
unsync

apps/py/requirements.txt

Lines changed: 89 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,89 @@
1-
# comments
2-
colorama
3-
bs4
4-
httpx
5-
flask
6-
sqlalchemy
7-
requests
8-
pytest
9-
pytest-mock
10-
pytest-clarity
11-
unsync
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.12
3+
# by the following command:
4+
#
5+
# pip-compile requirements.piptools
6+
#
7+
anyio==4.1.0
8+
# via httpx
9+
beautifulsoup4==4.12.2
10+
# via bs4
11+
blinker==1.7.0
12+
# via flask
13+
bs4==0.0.1
14+
# via -r requirements.piptools
15+
certifi==2023.11.17
16+
# via
17+
# httpcore
18+
# httpx
19+
# requests
20+
charset-normalizer==3.3.2
21+
# via requests
22+
click==8.1.7
23+
# via flask
24+
colorama==0.4.6
25+
# via -r requirements.piptools
26+
flask==3.0.0
27+
# via -r requirements.piptools
28+
h11==0.14.0
29+
# via httpcore
30+
httpcore==1.0.2
31+
# via httpx
32+
httpx==0.25.2
33+
# via -r requirements.piptools
34+
idna==3.6
35+
# via
36+
# anyio
37+
# httpx
38+
# requests
39+
iniconfig==2.0.0
40+
# via pytest
41+
itsdangerous==2.1.2
42+
# via flask
43+
jinja2==3.1.2
44+
# via flask
45+
markdown-it-py==3.0.0
46+
# via rich
47+
markupsafe==2.1.3
48+
# via
49+
# jinja2
50+
# werkzeug
51+
mdurl==0.1.2
52+
# via markdown-it-py
53+
packaging==23.2
54+
# via pytest
55+
pluggy==1.3.0
56+
# via pytest
57+
pprintpp==0.4.0
58+
# via pytest-clarity
59+
pygments==2.17.2
60+
# via rich
61+
pytest==7.4.3
62+
# via
63+
# -r requirements.piptools
64+
# pytest-clarity
65+
# pytest-mock
66+
pytest-clarity==1.0.1
67+
# via -r requirements.piptools
68+
pytest-mock==3.12.0
69+
# via -r requirements.piptools
70+
requests==2.31.0
71+
# via -r requirements.piptools
72+
rich==13.7.0
73+
# via pytest-clarity
74+
sniffio==1.3.0
75+
# via
76+
# anyio
77+
# httpx
78+
soupsieve==2.5
79+
# via beautifulsoup4
80+
sqlalchemy==2.0.23
81+
# via -r requirements.piptools
82+
typing-extensions==4.9.0
83+
# via sqlalchemy
84+
unsync==1.4.0
85+
# via -r requirements.piptools
86+
urllib3==2.1.0
87+
# via requests
88+
werkzeug==3.0.1
89+
# via flask

0 commit comments

Comments
 (0)