Skip to content

Commit 06fd123

Browse files
committed
Fix to resolve failing integration test. There was a mismatch in the installed PTB of the temporary project (6.4.0) and the available code.
1 parent 4fed2f3 commit 06fd123

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

test/integration/project-template/conftest.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ def poetry_install(run_command, poetry_path):
5353
# dependency to the PTB itself in the pyproject.toml file by replacing the latest
5454
# released PTB version with the current checked-out branch in
5555
# PROJECT_CONFIG.root_path:
56-
run_command([poetry_path, "add", "--group", "dev", PROJECT_CONFIG.root_path])
56+
run_command(
57+
[poetry_path, "add", "--group", "dev", "--editable", PROJECT_CONFIG.root_path]
58+
)
59+
# This is needed due to pysonar hard-pinning requests. Without this addition,
60+
# the selected requests has an active vulnerability.
61+
run_command([poetry_path, "add", "--group", "dev", "requests>=2.33.0"])
5762
run_command([poetry_path, "install"])
5863

5964

0 commit comments

Comments
 (0)