Commit 4df9f65
nss extras: strip git+https URLs to unblock PyPI uploads (#1286)
* nss extras: strip git+https URLs to unblock PyPI uploads
The [nss] extra declared two direct git dependencies for the
handley-lab/blackjax fork and yallup/nss. PyPI and TestPyPI both reject
these in uploaded wheels with:
400 Can't have direct dependency: blackjax @ git+https://...
Last successful PyAutoFit PyPI release was 2026.5.14.2 (May 14, 2026);
the [nss] extra was added on May 16 (commit 4d42e55), so every release
attempt since has been silently blocked at the twine upload step. This
surfaced today when a TestPyPI rehearsal failed the autofit upload while
the four downstream libraries (autoconf, autoarray, autogalaxy, autolens)
all uploaded fine.
The fix preserves the [nss] extra (still installs `fastprogress<1.1`)
and documents the manual `pip install git+...` step for the fork-based
deps directly in the pyproject.toml comment, so users running
`pip install autofit[nss]` see the next step at the source of truth.
SHAs are unchanged.
Wheel METADATA verified clean — no `git+` strings anywhere.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* ci(nss): install fork blackjax/nss manually post-extras
Follow-up to the metadata cleanup in this PR. With the git+ URLs out of
pyproject.toml's [nss] extra, `pip install autofit[nss]` no longer
auto-installs the handley-lab/blackjax fork or yallup/nss. Both CI jobs
that exercise the NSS path now do an explicit `pip install git+...` step
after the extras install, matching the documented user workflow.
Affected jobs:
- main.yml `unittest_nss` matrix (3.12 + 3.13)
- nss_install_smoke.yml `fresh_venv_install`
SHAs are mirrored from the pyproject.toml comment block, which remains
the single source of truth for the pinned commits.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Jammy2211 <JNightingale2211@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 8929df5 commit 4df9f65
3 files changed
Lines changed: 54 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
140 | 147 | | |
141 | 148 | | |
142 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
8 | 18 | | |
9 | 19 | | |
10 | 20 | | |
| |||
37 | 47 | | |
38 | 48 | | |
39 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
40 | 58 | | |
41 | 59 | | |
42 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
84 | 103 | | |
85 | | - | |
86 | | - | |
87 | 104 | | |
88 | 105 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 106 | | |
97 | 107 | | |
98 | 108 | | |
| |||
0 commit comments