Skip to content

Unable to Install purestorage and purity_fb packages in RHEL 9 #29

@scotttyso

Description

@scotttyso

very basic using local profile, no virtual environment

OS Build is

NAME="Red Hat Enterprise Linux"
VERSION="9.5 (Plow)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="9.5"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Red Hat Enterprise Linux 9.5 (Plow)"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9"
BUG_REPORT_URL="https://issues.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_BUGZILLA_PRODUCT_VERSION=9.5
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.5"

Using pip to perform installation

 pip3 install purity_fb

Defaulting to user installation because normal site-packages is not writeable
Collecting purity_fb
  Using cached purity-fb-1.12.3.tar.gz (1.2 MB)
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ndy6vwl0/purity-fb_ea80cd5c157148a6a31b39556b5d5075/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ndy6vwl0/purity-fb_ea80cd5c157148a6a31b39556b5d5075/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-3tp619o1
       cwd: /tmp/pip-install-ndy6vwl0/purity-fb_ea80cd5c157148a6a31b39556b5d5075/
  Complete output (56 lines):
  /home/atcadmin/.local/lib/python3.9/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options
  !!
  
          ********************************************************************************
          Usage of dash-separated 'description-file' will not be supported in future
          versions. Please use the underscore name 'description_file' instead.
  
          This deprecation is overdue, please update your project and remove deprecated
          calls to avoid build errors in the future.
  
          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************
  
  !!
    opt = self.warn_dash_deprecation(opt, section)
  running egg_info
  creating /tmp/pip-pip-egg-info-3tp619o1/purity_fb.egg-info
  writing /tmp/pip-pip-egg-info-3tp619o1/purity_fb.egg-info/PKG-INFO
  writing dependency_links to /tmp/pip-pip-egg-info-3tp619o1/purity_fb.egg-info/dependency_links.txt
  writing requirements to /tmp/pip-pip-egg-info-3tp619o1/purity_fb.egg-info/requires.txt
  writing top-level names to /tmp/pip-pip-egg-info-3tp619o1/purity_fb.egg-info/top_level.txt
  writing manifest file '/tmp/pip-pip-egg-info-3tp619o1/purity_fb.egg-info/SOURCES.txt'
  reading manifest file '/tmp/pip-pip-egg-info-3tp619o1/purity_fb.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  adding license file 'LICENSE.txt'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-ndy6vwl0/purity-fb_ea80cd5c157148a6a31b39556b5d5075/setup.py", line 30, in <module>
      setup(
    File "/home/atcadmin/.local/lib/python3.9/site-packages/setuptools/__init__.py", line 117, in setup
      return distutils.core.setup(**attrs)
    File "/home/atcadmin/.local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 183, in setup
      return run_commands(dist)
    File "/home/atcadmin/.local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
      dist.run_commands()
    File "/home/atcadmin/.local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
      self.run_command(cmd)
    File "/home/atcadmin/.local/lib/python3.9/site-packages/setuptools/dist.py", line 995, in run_command
      super().run_command(command)
    File "/home/atcadmin/.local/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
      cmd_obj.run()
    File "/home/atcadmin/.local/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 313, in run
      self.find_sources()
    File "/home/atcadmin/.local/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 321, in find_sources
      mm.run()
    File "/home/atcadmin/.local/lib/python3.9/site-packages/setuptools/command/egg_info.py", line 549, in run
      self.prune_file_list()
    File "/home/atcadmin/.local/lib/python3.9/site-packages/setuptools/command/sdist.py", line 162, in prune_file_list
      super().prune_file_list()
    File "/home/atcadmin/.local/lib/python3.9/site-packages/setuptools/_distutils/command/sdist.py", line 380, in prune_file_list
      base_dir = self.distribution.get_fullname()
    File "/home/atcadmin/.local/lib/python3.9/site-packages/setuptools/_core_metadata.py", line 267, in get_fullname
      return _distribution_fullname(self.get_name(), self.get_version())
    File "/home/atcadmin/.local/lib/python3.9/site-packages/setuptools/_core_metadata.py", line 285, in _distribution_fullname
      canonicalize_version(version, strip_trailing_zero=False),
  TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/9f/01/b3dee76d5a2fddaa51e7ce709a521411d5d8b1944e37797a609f2d25b388/purity-fb-1.12.3.tar.gz#sha256=df90b6c7efb8f8fa795c51da432d52453ffe519160d2ebcd8494aaad970edc89 (from https://pypi.org/simple/purity-fb/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached purity-fb-1.12.2.tar.gz (3.0 MB)
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ndy6vwl0/purity-
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/e1/6a/3861523c2b0d24fdc452b6abfe46414a2a739709a5e9e1e5f8b8cc562317/purity-fb-1.0.tar.gz#sha256=5903e6039f8cda093b4459ea545efc857f716bf749ca23c18bc7a5f4b6fb7b62 (from https://pypi.org/simple/purity-fb/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement purity_fb (from versions: 1.0, 1.1, 1.2.7, 1.3, 1.4.0, 1.5.0, 1.6.0, 1.6.1, 1.7.0, 1.8.0, 1.11.0, 1.12.2, 1.12.3)
ERROR: No matching distribution found for purity_fb

It tried all versions of the module and exited in the end with the above.

This is very similar for both purity_fb and purestorage modules. I didn't have any problem with the py-pure-client

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions