AllenNeuralDynamics / AllenNeuralDynamics/aind-metadata-mapper

Installation fails on macOS with Python 3.13 due to wavpack-numcodecs compatibility

Open
#261 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
2
Avg merge
1d 7h
Merged PRs (30d)
1

Description

## Description
When attempting to install the package on macOS using Python 3.13, the installation fails during the build of wavpack-numcodecs, even after installing wavpack via homebrew.

## Environment
- OS: macOS
- Python: 3.13
- Installation command: `pip install -e ".[all]"`

## Error
The installation fails with compilation errors in wavpack-numcodecs:
```bash
error: call to undeclared function '_PyGC_FINALIZED'
```
and
```bash
error: too few arguments to function call, expected 6, have 5
```

Full error trace shows Python 3.13 compatibility issues with the wavpack-numcodecs package during compilation.

## Workaround
Downgrading to Python 3.12 resolves the installation issue.

## Steps to reproduce
1. Create a Python 3.13 environment
2. Install wavpack: `brew install wavpack`
3. Try to install package: `pip install -e ".[all]"`

## Additional Context
This appears to be a compatibility issue between wavpack-numcodecs and Python 3.13's API changes. The issue may be specific to macOS users

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.