spacetelescope / pysynphot

Synthetic Photometry.
http://pysynphot.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
23 stars 21 forks source link

Package fails to install with setuptools 58.0.2 #144

Closed eslavich closed 3 years ago

eslavich commented 3 years ago

setuptools now raises an error when the use_2to3 argument is present:

https://setuptools.readthedocs.io/en/latest/history.html?highlight=use_2to3#misc

Since pysynphot specifies that argument, it is not possible to install the package using yesterday's setuptools release:

#31 20.24   Downloading pysynphot-1.0.1.tar.gz (10.8 MB)
#31 22.61   Installing build dependencies: started
#31 29.36   Installing build dependencies: finished with status 'done'
#31 29.37   Getting requirements to build wheel: started
#31 29.65   Getting requirements to build wheel: finished with status 'done'
#31 29.80   Installing backend dependencies: started
#31 32.96   Installing backend dependencies: finished with status 'done'
#31 32.97     Preparing wheel metadata: started
#31 33.31     Preparing wheel metadata: finished with status 'error'
#31 33.31     ERROR: Command errored out with exit status 1:
#31 33.31      command: /home/crds/venv/bin/python3 /home/crds/venv/lib64/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp_pz5nsbb
#31 33.31          cwd: /tmp/pip-install-3r0mdyaw/pysynphot_b5c8dfdb34cf47a3beac44ff8cd00f4d
#31 33.31     Complete output (1 lines):
#31 33.31     error in pysynphot setup command: use_2to3 is invalid.
pllim commented 3 years ago

Are you using pysynphot for something? 😆

eslavich commented 3 years ago

Alas, it's still a dependency of the CRDS server. ReDCaT needs us to keep testing submitted synphot files with pysynphot until users have migrated away from it.