Skip to content

Dev env bootstrap fails on both Python 3.13 and 3.12 (build isolation + pinned deps) #5

@Ofekirsh

Description

@Ofekirsh

Running make venv && make install currently fails on:

Python 3.13 - Cython/Tempita import of removed stdlib cgi while building py-graph-imputation.

Python 3.12 - a separate failure caused by pinned deps that force building an incompatible NumPy from sdist inside an isolated build env, leading to a setuptools/pkg_resources error.
So using 3.12 is not a reliable workaround in the current state.

Environment:

i)macOS (Apple Silicon)
ii)Python 3.13.x and Python 3.12.2 tested
iii)Fresh clone of py-graph-match

Steps to Reproduce:
׳׳׳
git clone https://github.com/nmdp-bioinformatics/py-graph-match
cd py-graph-match
make venv
source venv/bin/activate
make install
׳׳׳

Failure on Python 3.13 (example excerpt)
While building py-graph-imputation:
׳׳׳
ModuleNotFoundError: No module named 'cgi'
...
File ".../Cython/Tempita/_tempita.py", line 36, in
import cgi
׳׳׳

Expected Behavior
make venv && make install should succeed on at least one clearly documented, supported Python version; contributors should then be able to run make lint && make test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions