Opened 3 years ago

Closed 3 years ago

#63671 closed defect (fixed)

py27-flake8 @ 4.0.1_0 does not build under MacOS 11.6

Reported by: josephsacco Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: py-flake8

Description

py27-flake8 @ 4.0.1_0 does not build under MacOS 11.6. The build log reports AttributeError:

:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-flake8/py27-flake8/work/flake8-4.0.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-flake8/py27-flake8/work/flake8-4.0.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build
:info:build Traceback (most recent call last):
:info:build   File "setup.py", line 9, in <module>
:info:build     setuptools.setup()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/__init__.py", line 162, in setup
:info:build     return distutils.core.setup(**attrs)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 124, in setup
:info:build     dist.parse_config_files()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", line 702, in parse_config_files
:info:build     ignore_option_errors=ignore_option_errors)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/config.py", line 121, in parse_configuration
:info:build     meta.parse()
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/config.py", line 426, in parse
:info:build     section_parser_method(section_options)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/config.py", line 399, in parse_section
:info:build     self[name] = value
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/config.py", line 184, in __setitem__
:info:build     value = parser(value)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/config.py", line 515, in _parse_version
:info:build     version = self._parse_attr(value, self.package_dir)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/config.py", line 350, in _parse_attr
:info:build     value = getattr(module, attr_name)
:info:build AttributeError: 'module' object has no attribute '__version__'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-flake8/py27-flake8/work/flake8-4.0.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build
:info:build Exit code: 1

-Joseph

Attachments (1)

main.log (11.2 KB) - added by josephsacco 3 years ago.
main.log

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by josephsacco

Attachment: main.log added

main.log

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

Keywords: python27 flake8 removed
Port: py-flake8 added; py27-flake8 removed

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

Owner: set to reneeotten
Resolution: fixed
Status: newclosed

In 73e1ec3f05d5e197b0219fbffdcac73561b2b9b1/macports-ports (master):

py-flake8: restrict version for Python 2.7 and 3.5

Closes: #63671

Note: See TracTickets for help on using tickets.