Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#64798 closed defect (fixed)

py-astroquery @0.4.5: error: no commands supplied

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: lpsinger (Leo Singer)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: reneeotten (Renee Otten)
Port: py-astroquery

Description

https://build.macports.org/builders/ports-12_x86_64-builder/builds/23014/steps/install-port/logs/stdio

Freezing version number to ./astroquery/version.py
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/astropy_helpers/git_helpers.py:119: UserWarning: No git repository present at '/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-astroquery/py39-astroquery/work/astropy-astroquery-c361122'! Using default dev version.
  warnings.warn('No git repository present at {0!r}! Using '
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied
Command failed:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-astroquery/py39-astroquery/work/astroquery-0.4.5" && /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 setup.py --no-user-cfg --offline --no-git 
Exit code: 1

Change History (3)

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

In 7bb3fd700ecdf91aff183950fb85b6aa1a26fbaf/macports-ports (master):

py-astroquery: do not use pep517

Closes: #64798

comment:2 Changed 3 years ago by jmroot (Joshua Root)

That's not going to be a viable long-term option. Hopefully using build's --config-setting argument to pass options to the back end will work: https://pypa-build.readthedocs.io/en/latest/#python--m-build---config-setting

comment:3 in reply to:  2 Changed 3 years ago by reneeotten (Renee Otten)

Replying to jmroot:

That's not going to be a viable long-term option. Hopefully using build's --config-setting argument to pass options to the back end will work: https://pypa-build.readthedocs.io/en/latest/#python--m-build---config-setting

True... and thank you for pointing out the --config-setting argument, I'll take a look at that. I committed the update too quickly this morning and thus broke the build, the quickest solution was just to go back to the good-old setup.py method for now.

Note: See TracTickets for help on using tickets.