oda-hub / oda_api

API client to access some of the MMODA resources: INTEGRAL, POLAR, ANTARES, LIGO/Virgo, SDSS
Other
2 stars 2 forks source link

Restricted 'astropy<5.0.0' version is causing installation issues with python3.10 #183

Closed dsavchenko closed 1 year ago

dsavchenko commented 1 year ago

No pre-built wheel is available for py3.10 in astropy-4.x The build process fails with ImportError: cannot import name 'soft_unicode' from 'markupsafe' due to restricted version of Jinja2 in package's build-dependencies but unrestricted MarkupSafe version.

This doesn't affect CI/CD as we use up to Python 3.9 there, but could manifest itself later on.

The workaround is to use pip --no-build-isolation and manually installing build dependencies or simply editing build dependencies in the package tar.gz. But it would be better to release the astropy version.