Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/live-heartrate-leaderboard/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plotly>=5.18.0
pandas>=2.2.0
python-dateutil>=2.8.2
kafka-python-ng==2.2.2
clickhouse-connect==0.7.16
clickhouse-connect==0.11.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Version mismatch between setup.py and requirements.txt

Medium Severity

The requirements.txt was updated to clickhouse-connect==0.11.0, but setup.py in the same template still pins clickhouse_connect==0.7.16. This version conflict means the installed version depends on which file is used, leading to unpredictable behavior — especially since 0.7.16→0.11.0 includes multiple breaking changes (dropped Python 3.8, changed IPv6 behavior, removed SQLAlchemy 1.3 support).

Fix in Cursor Fix in Web

Triggered by team rule: Pragmatic Developper

requests>=2.31.0
moose-cli==0.6.402
moose-lib==0.6.402
2 changes: 1 addition & 1 deletion templates/python-cluster/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kafka-python-ng==2.2.2
clickhouse-connect==0.7.16
clickhouse-connect==0.11.0
requests==2.32.4
moose-cli==0.6.402
moose-lib==0.6.402
Expand Down
2 changes: 1 addition & 1 deletion templates/python-empty/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kafka-python-ng==2.2.2
clickhouse-connect==0.7.16
clickhouse-connect==0.11.0
requests==2.32.4
moose-cli==0.6.402
moose-lib==0.6.402
2 changes: 1 addition & 1 deletion templates/python-experimental/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kafka-python-ng==2.2.2
clickhouse-connect==0.7.16
clickhouse-connect==0.11.0
requests==2.32.4
moose-cli==0.6.402
moose-lib==0.6.402
Expand Down
2 changes: 1 addition & 1 deletion templates/python-fastapi-client-only/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kafka-python-ng==2.2.2
clickhouse-connect==0.7.16
clickhouse-connect==0.11.0
requests==2.32.4
moose-cli==0.6.402
moose-lib==0.6.402
Expand Down
2 changes: 1 addition & 1 deletion templates/python-fastapi/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kafka-python-ng==2.2.2
clickhouse-connect==0.7.16
clickhouse-connect==0.11.0
requests==2.32.4
moose-cli==0.6.402
moose-lib==0.6.402
Expand Down
2 changes: 1 addition & 1 deletion templates/python-tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kafka-python-ng==2.2.2
clickhouse-connect==0.7.16
clickhouse-connect==0.11.0
requests==2.32.4
moose-cli==0.6.402
moose-lib==0.6.402
Expand Down
2 changes: 1 addition & 1 deletion templates/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kafka-python-ng==2.2.2
clickhouse-connect==0.7.16
clickhouse-connect==0.11.0
requests==2.32.4
moose-cli==0.6.402
moose-lib==0.6.402
Expand Down
Loading