Skip to content
Merged
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
15 changes: 3 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
popd
- name: Check built distributions for direct-reference URLs
run: |
# Surface the [nss] git+ direct-URL footgun early and loudly. PyPI and
# Surface any git+ direct-URL footgun early and loudly. PyPI and
# TestPyPI reject any uploaded wheel/sdist whose metadata carries a
# PEP 508 direct-reference dependency (e.g. `pkg @ git+https://...`);
# twine would otherwise fail the upload with a raw HTTP 400. We fail
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
print('ERROR: direct-reference (git+/url) dependencies in built metadata:')
for origin, line in offending:
print(f' {origin}: {line}')
print('TestPyPI/PyPI will reject these (the historical [nss] failure).')
print('TestPyPI/PyPI will reject these direct-reference URLs.')
sys.exit(1)
print('OK: no direct-reference URLs in built distribution metadata.')
PY
Expand Down Expand Up @@ -247,16 +247,7 @@ jobs:
pip install pynufft==2025.1.1
pip install pytest
pip install numba
# PyAutoFit's NSS tests need the handley-lab blackjax fork +
# yallup/nss, which can't live in the [nss] extra because
# PyPI bans direct git+ URLs in uploaded wheels. They're tested
# separately in PyAutoFit's own unittest_nss job. Here we only
# exercise the TestPyPI-installable surface, so skip them.
if [ "${{ matrix.project.path }}" = "PyAutoFit" ]; then
python3 -m pytest --ignore=test_autofit/non_linear/search/nest/nss
else
python3 -m pytest
fi
python3 -m pytest

run_smoke_tests:
runs-on: ubuntu-latest
Expand Down