Skip to content

50.0.0 broken on AIX with python 3.6 #2358

@scddev

Description

@scddev
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade lazy-object-proxy
...
    File "setup.py", line 20, in <module>
      from setuptools.command.build_ext import build_ext
    File "/tmp/pip-build-env-lp5wmcjm/overlay/lib/python3.6/site-packages/setuptools/command/__init__.py", line 8, in <module>
      from distutils.command.bdist import bdist
    File "/tmp/pip-build-env-lp5wmcjm/overlay/lib/python3.6/site-packages/setuptools/_distutils/command/bdist.py", line 24, in <module>
      class bdist(Command):
    File "/tmp/pip-build-env-lp5wmcjm/overlay/lib/python3.6/site-packages/setuptools/_distutils/command/bdist.py", line 32, in bdist
      "(default: %s)" % get_platform()),
    File "/tmp/pip-build-env-lp5wmcjm/overlay/lib/python3.6/site-packages/setuptools/_distutils/util.py", line 107, in get_platform
      return get_host_platform()
    File "/tmp/pip-build-env-lp5wmcjm/overlay/lib/python3.6/site-packages/setuptools/_distutils/util.py", line 82, in get_host_platform
      from _aix_support import aix_platform
  ModuleNotFoundError: No module named '_aix_support'

Setuptools is fetched in https://github.com/ionelmc/python-lazy-object-proxy/blob/master/pyproject.toml

As a quickfix i added https://github.com/python/cpython/blob/master/Lib/_aix_support.py to my python 3.6 installation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions