Skip to content

Push builds for numpy v2 to pypi & co #76

@jo-chemla

Description

@jo-chemla

Hi there,
Following a need to embed pymartini & quantized-mesh-encoder into titiler - original discussion here - I had to recompile the quantized-mesh-encoder and pymartini python wheels against numpy v2. Here are the easy steps I followed in case anyone need it. It might be good to push that new version to pypi/conda with version bump.
For reference, corresponding thread in pymartini here kylebarron/pymartini#37

pip uninstall pymartini
pip uninstall quantized-mesh-encoder

git clone https://github.com/kylebarron/pymartini.git
git clone https://github.com/kylebarron/quantized-mesh-encoder.git
# edit both pyproject.toml to specify "numpy>=2.0" instead of "oldest-supported-numpy"
cd pymartini && pip install . && cd ..
cd quantized-mesh-encoder && pip install . 
pip list

# also tried from github action 
# python -m build . --sdist && pip install dist\pymartini-0.4.4.tar.gz 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions