Skip to content

Commit 019a1cc

Browse files
authored
Merge branch 'main' into saumya/native-size-validation
2 parents d0912f6 + 0facea3 commit 019a1cc

9 files changed

Lines changed: 163 additions & 27 deletions

‎.github/workflows/refresh-build-dependencies.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
5252
enable-cache: false
5353
- name: Compile Linux dependency locks
5454
run: |
55-
uv pip compile ${{ github.event_name != 'pull_request' && '--upgrade' || '' }} --generate-hashes --no-emit-index-url --no-header --strip-extras --python-version 3.10 --default-index https://pypi.org/simple --output-file eng/requirements-build-linux.txt eng/requirements-build-linux.in
56-
uv pip compile ${{ github.event_name != 'pull_request' && '--upgrade' || '' }} --generate-hashes --no-emit-index-url --no-header --strip-extras --python-version 3.10 --default-index https://pypi.org/simple --output-file eng/requirements-test-linux.txt eng/requirements-test-linux.in
55+
uv pip compile ${{ github.event_name != 'pull_request' && '--upgrade' || '' }} --universal --generate-hashes --no-emit-index-url --no-header --strip-extras --python-version 3.10 --default-index https://pypi.org/simple --output-file eng/requirements-build-linux.txt eng/requirements-build-linux.in
56+
uv pip compile ${{ github.event_name != 'pull_request' && '--upgrade' || '' }} --universal --generate-hashes --no-emit-index-url --no-header --strip-extras --python-version 3.10 --default-index https://pypi.org/simple --output-file eng/requirements-test-linux.txt eng/requirements-test-linux.in
5757
- name: Verify committed Linux locks are current
5858
if: github.event_name == 'pull_request'
5959
run: |
@@ -80,14 +80,17 @@ jobs:
8080
os: macos-latest
8181
input: eng/requirements-build-macos.in
8282
output: eng/requirements-build-macos.txt
83+
universal: --universal
8384
- name: windows
8485
os: windows-latest
8586
input: eng/requirements-build-windows.in
8687
output: eng/requirements-build-windows.txt
88+
universal: --universal
8789
- name: odbc
8890
os: windows-latest
8991
input: eng/requirements-build-odbc.in
9092
output: eng/requirements-build-odbc.txt
93+
universal: ""
9194
steps:
9295
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
9396
with:
@@ -100,7 +103,7 @@ jobs:
100103
- name: Compile ${{ matrix.name }} dependency lock
101104
# Python 3.10 is the oldest supported release, so every lock remains
102105
# installable throughout the release pipeline's Python 3.10-3.14 matrix.
103-
run: uv pip compile ${{ github.event_name != 'pull_request' && '--upgrade' || '' }} --generate-hashes --no-emit-index-url --no-header --strip-extras --python-version 3.10 --default-index https://pypi.org/simple --output-file "${{ matrix.output }}" "${{ matrix.input }}"
106+
run: uv pip compile ${{ github.event_name != 'pull_request' && '--upgrade' || '' }} ${{ matrix.universal }} --generate-hashes --no-emit-index-url --no-header --strip-extras --python-version 3.10 --default-index https://pypi.org/simple --output-file "${{ matrix.output }}" "${{ matrix.input }}"
104107
- name: Verify committed ${{ matrix.name }} lock is current
105108
if: github.event_name == 'pull_request'
106109
shell: bash

‎OneBranchPipelines/stages/build-linux-single-stage.yml‎

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,13 +324,24 @@ stages:
324324
cp -r /workspace/tests $TEST_DIR/ || echo "WARNING: No tests directory";
325325
# Some tests read repo-side helper scripts/workflows (e.g. .github/scripts/prepare_fork_coverage_comment.py).
326326
cp -r /workspace/.github $TEST_DIR/ || echo "WARNING: No .github directory";
327+
# Keep the isolated wheel test fixture narrow, but include the files
328+
# required by the mssql-odbc runner contract tests.
329+
mkdir -p $TEST_DIR/eng/scripts $TEST_DIR/eng/pipelines $TEST_DIR/eng/versions;
330+
mkdir -p $TEST_DIR/OneBranchPipelines/stages;
331+
cp /workspace/eng/scripts/run-mssql-odbc-tests.sh /workspace/eng/scripts/verify_mssql_odbc_provider.py $TEST_DIR/eng/scripts/;
332+
cp /workspace/eng/pipelines/mssql-odbc-daily-validation-pipeline.yml $TEST_DIR/eng/pipelines/;
333+
cp /workspace/eng/versions/mssql-python-rs-nuget.version $TEST_DIR/eng/versions/;
334+
cp /workspace/OneBranchPipelines/stages/build-linux-single-stage.yml $TEST_DIR/OneBranchPipelines/stages/;
327335
cp /workspace/pytest.ini $TEST_DIR/ || echo "WARNING: No pytest.ini";
328336
329337
# Step 8: Run pytest (stops on first failure)
330338
if [ -d $TEST_DIR/tests ]; then
331339
echo "Running pytest for ${PYBIN}...";
340+
# Release-lock tests validate repository workflows and lock files,
341+
# not the installed wheel; run them in source-checkout validation.
332342
DB_CONNECTION_STRING="Server=$SQL_IP;Database=master;Uid=SA;Pwd=$DB_PASSWORD;TrustServerCertificate=yes" \
333-
$PY -m pytest $TEST_DIR/tests -v --maxfail=1 || {
343+
$PY -m pytest $TEST_DIR/tests -v --maxfail=1 \
344+
--ignore=tests/test_release_build_dependencies.py || {
334345
echo "ERROR: Tests failed for ${PYBIN}";
335346
exit 1;
336347
};
@@ -394,13 +405,24 @@ stages:
394405
cp -r /workspace/tests $TEST_DIR/ || echo "WARNING: No tests directory";
395406
# Some tests read repo-side helper scripts/workflows (e.g. .github/scripts/prepare_fork_coverage_comment.py).
396407
cp -r /workspace/.github $TEST_DIR/ || echo "WARNING: No .github directory";
408+
# Keep the isolated wheel test fixture narrow, but include the files
409+
# required by the mssql-odbc runner contract tests.
410+
mkdir -p $TEST_DIR/eng/scripts $TEST_DIR/eng/pipelines $TEST_DIR/eng/versions;
411+
mkdir -p $TEST_DIR/OneBranchPipelines/stages;
412+
cp /workspace/eng/scripts/run-mssql-odbc-tests.sh /workspace/eng/scripts/verify_mssql_odbc_provider.py $TEST_DIR/eng/scripts/;
413+
cp /workspace/eng/pipelines/mssql-odbc-daily-validation-pipeline.yml $TEST_DIR/eng/pipelines/;
414+
cp /workspace/eng/versions/mssql-python-rs-nuget.version $TEST_DIR/eng/versions/;
415+
cp /workspace/OneBranchPipelines/stages/build-linux-single-stage.yml $TEST_DIR/OneBranchPipelines/stages/;
397416
cp /workspace/pytest.ini $TEST_DIR/ || echo "WARNING: No pytest.ini";
398417
399418
# Step 8: Run pytest (stops on first failure)
400419
if [ -d $TEST_DIR/tests ]; then
401420
echo "Running pytest for ${PYBIN}...";
421+
# Release-lock tests validate repository workflows and lock files,
422+
# not the installed wheel; run them in source-checkout validation.
402423
DB_CONNECTION_STRING="Server=$SQL_IP;Database=master;Uid=SA;Pwd=$DB_PASSWORD;TrustServerCertificate=yes" \
403-
$PY -m pytest $TEST_DIR/tests -v --maxfail=1 || {
424+
$PY -m pytest $TEST_DIR/tests -v --maxfail=1 \
425+
--ignore=tests/test_release_build_dependencies.py || {
404426
echo "ERROR: Tests failed for ${PYBIN}";
405427
exit 1;
406428
};

‎eng/requirements-build-linux.txt‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
exceptiongroup==1.3.1 \
1+
colorama==0.4.6 ; sys_platform == 'win32' \
2+
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
3+
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
4+
# via pytest
5+
exceptiongroup==1.3.1 ; python_full_version < '3.11' \
26
--hash=sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219 \
37
--hash=sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598
48
# via pytest
@@ -36,7 +40,7 @@ setuptools==84.0.0 \
3640
--hash=sha256:51a52592b3b99e102b609654876bd65f19f999935166d1352678931132b0c670 \
3741
--hash=sha256:f4695c21257f0d9b537ec2692c941d02ee143b7cc1276941349a546573b2ef73
3842
# via -r eng/requirements-build-linux.in
39-
tomli==2.4.1 \
43+
tomli==2.4.1 ; python_full_version < '3.11' \
4044
--hash=sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853 \
4145
--hash=sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe \
4246
--hash=sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5 \
@@ -85,7 +89,7 @@ tomli==2.4.1 \
8589
--hash=sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9 \
8690
--hash=sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049
8791
# via pytest
88-
typing-extensions==4.16.0 \
92+
typing-extensions==4.16.0 ; python_full_version < '3.11' \
8993
--hash=sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8 \
9094
--hash=sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5
9195
# via exceptiongroup

‎eng/requirements-build-macos.txt‎

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ azure-identity==1.25.3 \
7373
--hash=sha256:ab23c0d63015f50b630ef6c6cf395e7262f439ce06e5d07a64e874c724f8d9e6 \
7474
--hash=sha256:f4d0b956a8146f30333e071374171f3cfa7bdb8073adb8c3814b65567aa7447c
7575
# via -r eng/../requirements.txt
76-
backports-asyncio-runner==1.2.0 \
76+
backports-asyncio-runner==1.2.0 ; python_full_version < '3.11' \
7777
--hash=sha256:0da0a936a8aeb554eccb426dc55af3ba63bcdc69fa1a600b5bb305413a4477b5 \
7878
--hash=sha256:a5aa7b2b7d8f8bfcaa2b57313f70792df84e32a2a746f585213373f900b42162
7979
# via pytest-asyncio
@@ -110,7 +110,7 @@ certifi==2026.7.22 \
110110
--hash=sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775 \
111111
--hash=sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55
112112
# via requests
113-
cffi==2.1.1 \
113+
cffi==2.1.1 ; platform_python_implementation != 'PyPy' \
114114
--hash=sha256:046bfc24911b37851ee1b51aab8bffe713d89c68c6a057b09484ce9fd5f69b4e \
115115
--hash=sha256:06c72bb76605a4b0cd0aad6930b69d4baf7dd5d806cfc409b824191099700e66 \
116116
--hash=sha256:0beceaabe56af686895136a2de78db54ecd8e4046b236b8fd6d6cb61389e9bf2 \
@@ -411,6 +411,12 @@ cmake==4.4.3 \
411411
--hash=sha256:d36c9bb471a67970b031d45b29c3b852f14bc8b64ac46b39ccc046fdf652f36d \
412412
--hash=sha256:f5aead3c09bfa662da5d1d65f6c526a449966314913039ce6de3c0ff82ea9266
413413
# via -r eng/requirements-build-macos.in
414+
colorama==0.4.6 ; sys_platform == 'win32' \
415+
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
416+
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
417+
# via
418+
# pylint
419+
# pytest
414420
coverage==7.16.0 \
415421
--hash=sha256:01b18b8a6c9cec8d5f45550e2501426ed982cf2c35016b0acd2ba9b5d8b2fb06 \
416422
--hash=sha256:0466f4a5c0370461b7d8c7eb259d7d1db0b5756f13d66230b04d22a1d380ee11 \
@@ -599,7 +605,7 @@ dill==0.4.1 \
599605
--hash=sha256:1e1ce33e978ae97fcfcff5638477032b801c46c7c65cf717f95fbc2248f79a9d \
600606
--hash=sha256:423092df4182177d4d8ba8290c8a5b640c66ab35ec7da59ccfa00f6fa3eea5fa
601607
# via pylint
602-
exceptiongroup==1.3.1 \
608+
exceptiongroup==1.3.1 ; python_full_version < '3.11' \
603609
--hash=sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219 \
604610
--hash=sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598
605611
# via pytest
@@ -654,7 +660,7 @@ isort==9.0.1 \
654660
--hash=sha256:fb7d55156a1f766a2b097165524f07be61ececa41a71ca33d24a00777f79a829 \
655661
--hash=sha256:fd326823ddbe338357ba1823b7f96481d4421d54c83ebd43c92f1b51314a24ae
656662
# via pylint
657-
librt==0.15.0 \
663+
librt==0.15.0 ; platform_python_implementation != 'PyPy' \
658664
--hash=sha256:04d5387b908676c0b8d5d2f5fb58373b4ea382d81f7a6f0fab8ea2a462bb4738 \
659665
--hash=sha256:077471b3182db4e17c36ae91555f36a4d2c00080b267f749bcad34a478a9a302 \
660666
--hash=sha256:0a15cb554761247d84a3ec0cbdf4078d70725384f0e4662c0fa3b26266eb60ad \
@@ -1170,7 +1176,7 @@ pycodestyle==2.14.0 \
11701176
# via
11711177
# autopep8
11721178
# flake8
1173-
pycparser==3.0 \
1179+
pycparser==3.0 ; implementation_name != 'PyPy' and platform_python_implementation != 'PyPy' \
11741180
--hash=sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29 \
11751181
--hash=sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992
11761182
# via cffi
@@ -1259,7 +1265,7 @@ setuptools==84.0.0 \
12591265
--hash=sha256:51a52592b3b99e102b609654876bd65f19f999935166d1352678931132b0c670 \
12601266
--hash=sha256:f4695c21257f0d9b537ec2692c941d02ee143b7cc1276941349a546573b2ef73
12611267
# via -r eng/../requirements.txt
1262-
tomli==2.4.1 \
1268+
tomli==2.4.1 ; python_full_version <= '3.11' \
12631269
--hash=sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853 \
12641270
--hash=sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe \
12651271
--hash=sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5 \

‎eng/requirements-build-windows.txt‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
backports-asyncio-runner==1.2.0 \
1+
backports-asyncio-runner==1.2.0 ; python_full_version < '3.11' \
22
--hash=sha256:0da0a936a8aeb554eccb426dc55af3ba63bcdc69fa1a600b5bb305413a4477b5 \
33
--hash=sha256:a5aa7b2b7d8f8bfcaa2b57313f70792df84e32a2a746f585213373f900b42162
44
# via pytest-asyncio
5-
colorama==0.4.6 \
5+
colorama==0.4.6 ; sys_platform == 'win32' \
66
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
77
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
88
# via pytest
9-
exceptiongroup==1.3.1 \
9+
exceptiongroup==1.3.1 ; python_full_version < '3.11' \
1010
--hash=sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219 \
1111
--hash=sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598
1212
# via pytest
@@ -139,7 +139,7 @@ setuptools==84.0.0 \
139139
--hash=sha256:51a52592b3b99e102b609654876bd65f19f999935166d1352678931132b0c670 \
140140
--hash=sha256:f4695c21257f0d9b537ec2692c941d02ee143b7cc1276941349a546573b2ef73
141141
# via -r eng/requirements-build-windows.in
142-
tomli==2.4.1 \
142+
tomli==2.4.1 ; python_full_version < '3.11' \
143143
--hash=sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853 \
144144
--hash=sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe \
145145
--hash=sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5 \
@@ -188,7 +188,7 @@ tomli==2.4.1 \
188188
--hash=sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9 \
189189
--hash=sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049
190190
# via pytest
191-
typing-extensions==4.16.0 \
191+
typing-extensions==4.16.0 ; python_full_version < '3.13' \
192192
--hash=sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8 \
193193
--hash=sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5
194194
# via

‎eng/requirements-test-linux.txt‎

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ azure-identity==1.25.3 \
7373
--hash=sha256:ab23c0d63015f50b630ef6c6cf395e7262f439ce06e5d07a64e874c724f8d9e6 \
7474
--hash=sha256:f4d0b956a8146f30333e071374171f3cfa7bdb8073adb8c3814b65567aa7447c
7575
# via -r eng/../requirements.txt
76-
backports-asyncio-runner==1.2.0 \
76+
backports-asyncio-runner==1.2.0 ; python_full_version < '3.11' \
7777
--hash=sha256:0da0a936a8aeb554eccb426dc55af3ba63bcdc69fa1a600b5bb305413a4477b5 \
7878
--hash=sha256:a5aa7b2b7d8f8bfcaa2b57313f70792df84e32a2a746f585213373f900b42162
7979
# via pytest-asyncio
@@ -110,7 +110,7 @@ certifi==2026.7.22 \
110110
--hash=sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775 \
111111
--hash=sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55
112112
# via requests
113-
cffi==2.1.1 \
113+
cffi==2.1.1 ; platform_python_implementation != 'PyPy' \
114114
--hash=sha256:046bfc24911b37851ee1b51aab8bffe713d89c68c6a057b09484ce9fd5f69b4e \
115115
--hash=sha256:06c72bb76605a4b0cd0aad6930b69d4baf7dd5d806cfc409b824191099700e66 \
116116
--hash=sha256:0beceaabe56af686895136a2de78db54ecd8e4046b236b8fd6d6cb61389e9bf2 \
@@ -390,6 +390,13 @@ click==8.5.0 \
390390
--hash=sha256:255bc9599cf7748b4b1a446ccc735421bd08a2ae529a8b88597d3de5664ee360 \
391391
--hash=sha256:ba0d2089de75ea0310e2dde03160e6ca10009947fb95a182f9b54021bb272e34
392392
# via black
393+
colorama==0.4.6 ; sys_platform == 'win32' \
394+
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
395+
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
396+
# via
397+
# -c eng/requirements-build-linux.txt
398+
# pylint
399+
# pytest
393400
coverage==7.16.0 \
394401
--hash=sha256:01b18b8a6c9cec8d5f45550e2501426ed982cf2c35016b0acd2ba9b5d8b2fb06 \
395402
--hash=sha256:0466f4a5c0370461b7d8c7eb259d7d1db0b5756f13d66230b04d22a1d380ee11 \
@@ -574,7 +581,7 @@ dill==0.4.1 \
574581
--hash=sha256:1e1ce33e978ae97fcfcff5638477032b801c46c7c65cf717f95fbc2248f79a9d \
575582
--hash=sha256:423092df4182177d4d8ba8290c8a5b640c66ab35ec7da59ccfa00f6fa3eea5fa
576583
# via pylint
577-
exceptiongroup==1.3.1 \
584+
exceptiongroup==1.3.1 ; python_full_version < '3.11' \
578585
--hash=sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219 \
579586
--hash=sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598
580587
# via
@@ -633,7 +640,7 @@ isort==9.0.1 \
633640
--hash=sha256:fb7d55156a1f766a2b097165524f07be61ececa41a71ca33d24a00777f79a829 \
634641
--hash=sha256:fd326823ddbe338357ba1823b7f96481d4421d54c83ebd43c92f1b51314a24ae
635642
# via pylint
636-
librt==0.15.0 \
643+
librt==0.15.0 ; platform_python_implementation != 'PyPy' \
637644
--hash=sha256:04d5387b908676c0b8d5d2f5fb58373b4ea382d81f7a6f0fab8ea2a462bb4738 \
638645
--hash=sha256:077471b3182db4e17c36ae91555f36a4d2c00080b267f749bcad34a478a9a302 \
639646
--hash=sha256:0a15cb554761247d84a3ec0cbdf4078d70725384f0e4662c0fa3b26266eb60ad \
@@ -1156,7 +1163,7 @@ pycodestyle==2.14.0 \
11561163
# via
11571164
# autopep8
11581165
# flake8
1159-
pycparser==3.0 \
1166+
pycparser==3.0 ; implementation_name != 'PyPy' and platform_python_implementation != 'PyPy' \
11601167
--hash=sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29 \
11611168
--hash=sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992
11621169
# via cffi
@@ -1252,7 +1259,7 @@ setuptools==84.0.0 \
12521259
# -c eng/requirements-build-linux.txt
12531260
# -r eng/../requirements.txt
12541261
# -r eng/requirements-build-linux.in
1255-
tomli==2.4.1 \
1262+
tomli==2.4.1 ; python_full_version <= '3.11' \
12561263
--hash=sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853 \
12571264
--hash=sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe \
12581265
--hash=sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5 \

‎tests/test_036_profiler_ci.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222
import pytest
2323

2424
ROOT = Path(__file__).resolve().parents[1]
25-
if not (ROOT / ".github/scripts/post_profiler_comment.py").is_file():
25+
if (
26+
not (ROOT / "eng/profiler_benchmarks").is_dir()
27+
or not (ROOT / ".github/scripts/post_profiler_comment.py").is_file()
28+
):
2629
pytest.skip("CI reporting tools are not installed in driver wheels", allow_module_level=True)
2730

2831
from eng.profiler_benchmarks import controller

0 commit comments

Comments
 (0)