diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0dc1670..d22bc71 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 @@ -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