Skip to content

Install fails on python 3.12 #183

@ejm714

Description

@ejm714

To reproduce, set up a conda environment with python=3.12 and then try to pip install the package.

Unpinning numpy should resolve this. Is there a reason this specific version is pinned?

❯ uv pip install aequitas
Resolved 50 packages in 5.69s
   Built antlr4-python3-runtime==4.9.3
   Built millify==0.1.1
error: Failed to download distributions
  Caused by: Failed to fetch wheel: numpy==1.23.5
  Caused by: Failed to build: numpy==1.23.5
  Caused by: Build backend failed to determine extra requires with `build_wheel()`:
--- stdout:

--- stderr:
Traceback (most recent call last):
  File "<string>", line 8, in <module>
  File "/Users/emily/Library/Caches/uv/.tmpFmkBHz/.venv/lib/python3.12/site-packages/setuptools/__init__.py", line 10, in <module>
    import distutils.core
ModuleNotFoundError: No module named 'distutils'
---

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingDependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions