[MacPorts] #64421: py37-astroscrappy @1.0.5: ImportError: Could not import file packagename/version.py
MacPorts
noreply at macports.org
Wed Jan 12 22:21:44 UTC 2022
#64421: py37-astroscrappy @1.0.5: ImportError: Could not import file
packagename/version.py
------------------------+-----------------------------
Reporter: ryandesign | Owner: lpsinger
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: py-astroscrappy
------------------------+-----------------------------
https://build.macports.org/builders/ports-
12_x86_64-builder/builds/13279/steps/install-port/logs/stdio
{{{
running build_ext
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown
distribution option: 'test_requires'
warnings.warn(msg)
/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/setuptools/dist.py:300: DistDeprecationWarning: use_2to3 is
ignored.
warnings.warn(f"{attr} is ignored.", DistDeprecationWarning)
Traceback (most recent call last):
File "setup.py", line 129, in <module>
**package_info
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/setuptools/__init__.py", line 155, in setup
return distutils.core.setup(**attrs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/setuptools/_distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/setuptools/_distutils/dist.py", line 985, in run_command
cmd_obj.ensure_finalized()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/setuptools/_distutils/cmd.py", line 107, in
ensure_finalized
self.finalize_options()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/astropy_helpers/commands/build_ext.py", line 81, in
finalize_options
name='version').version
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/astropy_helpers/utils.py", line 218, in import_file
raise ImportError('Could not import file {0}'.format(filename))
ImportError: Could not import file packagename/version.py
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64421>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list