Repository navigation
Commit 80fee27
authored
build: drop oldest-supported-numpy from build requirements (#286)
`pyproject.toml` lists `oldest-supported-numpy` as a build requirement.
spatialmath is pure Python (no extension modules, no `setup.py`), so
numpy is not needed at build time. numpy has also deprecated
`oldest-supported-numpy`.
Build tools that only install the build backend fail on it. One example
is rules_py's uv sdist builder, which fails with `Unmet dependencies:
oldest-supported-numpy` when building spatialmath from a source archive.
This PR leaves `requires = ["setuptools"]`.
### Testing
- `pyproject-build` (isolated) builds the sdist and the wheel.
- The wheel's file list and `METADATA` are identical to a wheel built
from `master`.1 parent d0c4afb commit 80fee27
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments