Skip to content

Commit 1b5fd05

Browse files
committed
adding venv and fix regex
Signed-off-by: Sachin Pisal <[email protected]>
1 parent a5ed32c commit 1b5fd05

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/docker_images.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -841,6 +841,7 @@ jobs:
841841
# In containers without GPU support, UCX does not work properly since it is configured to work with GPU-support.
842842
# Hence, don't enforce UCX when running these tests.
843843
docker exec cuda-quantum bash -c "python3 -m pip install --break-system-packages pandas scipy seaborn h5py contfrac"
844+
docker exec cuda-quantum bash -c "apt install python3.12-venv"
844845
(docker exec cuda-quantum bash -c "unset OMPI_MCA_pml && set -o pipefail && bash validate_container.sh | tee /tmp/validation.out") && passed=true || passed=false
845846
docker cp cuda-quantum:"/tmp/validation.out" /tmp/validation.out
846847
docker stop cuda-quantum

docs/notebook_validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def validate(notebook_filename, available_backends):
2929
with open(notebook_filename) as f:
3030
lines = f.readlines()
3131
for notebook_content in lines:
32-
match = re.search('set_target[\\\s\(]+"(.+)\\\\"[)]', notebook_content)
32+
match = re.search('set_target[\\s\\(]+"(.+)\\\\"[)]', notebook_content)
3333
if match and (match.group(1) not in available_backends):
3434
return False
3535
for notebook_content in lines:

0 commit comments

Comments
 (0)