conda-forge / conda-forge/numpy-feedstock
numpy 2.2.4 package for free-threading python 3.13. on osx-arm64 contains bytecode for other libraries
- Dominant language
- Shell
- Stars
- 10
- Forks
- 52
- Avg merge
- 4h 45m
- Merged PRs (30d)
- 5
Description
### Solution to issue cannot be found in the documentation.
- [x] I checked the documentation.
### Issue
The numpy 2.2.4 package for free-threading python 3.13 on osx-arm64 (specifically the file `numpy-2.2.4-py313h991d4a7_0.conda`) contains bytecode files for build dependencies in the `lib/python3.13/site-packages` directory. These should not be included.
```
❯ curl -SLOs https://anaconda.org/conda-forge/numpy/2.2.4/download/osx-arm64/numpy-2.2.4-py313h991d4a7_0.conda
❯ unzip numpy-2.2.4-py313h991d4a7_0.conda
Archive: numpy-2.2.4-py313h991d4a7_0.conda
extracting: metadata.json
extracting: pkg-numpy-2.2.4-py313h991d4a7_0.tar.zst
extracting: info-numpy-2.2.4-py313h991d4a7_0.tar.zst
❯ tar tf pkg-numpy-2.2.4-py313h991d4a7_0.tar.zst| grep 3.13/site-packages
lib/python3.13/site-packages/pip/_internal/operations/install/__pycache__/editable_legacy.cpython-313.pyc
lib/python3.13/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-313.pyc
...
```
I have not examined other free-threading packages to see if this is more widespread.
### Installed packages
```shell
NA
```
### Environment info
```shell
NA
```
Contributor guide
Assessment
This issue has not been assessed yet.