Bug 2219941 - F39FailsToInstall: awscli2
Summary: F39FailsToInstall: awscli2
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: awscli2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikola Forró
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.12 F39FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2023-07-05 19:02 UTC by Fedora Fails To Install
Modified: 2023-07-28 08:19 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-07-28 08:19:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fedora Fails To Install 2023-07-05 19:02:26 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (awscli2) Fails To Install in Fedora 39:

can't install awscli2:
  - nothing provides python(abi) = 3.11 needed by awscli2-2.12.0-1.fc39.noarch
  - nothing provides python3.11dist(colorama) >= 0.2.5 needed by awscli2-2.12.0-1.fc39.noarch
  - nothing provides python3.11dist(docutils) >= 0.10 needed by awscli2-2.12.0-1.fc39.noarch
  - nothing provides python3.11dist(python-dateutil) >= 2.1 needed by awscli2-2.12.0-1.fc39.noarch
  - nothing provides python3.11dist(awscrt) >= 0.16.4 needed by awscli2-2.12.0-1.fc39.noarch
  - nothing provides python3.11dist(cryptography) >= 3.3.2 needed by awscli2-2.12.0-1.fc39.noarch
  - nothing provides python3.11dist(distro) >= 1.5 needed by awscli2-2.12.0-1.fc39.noarch
  - nothing provides python3.11dist(jmespath) >= 0.7.1 needed by awscli2-2.12.0-1.fc39.noarch
  - nothing provides python3.11dist(prompt-toolkit) >= 3.0.24 needed by awscli2-2.12.0-1.fc39.noarch
  - nothing provides python3.11dist(ruamel-yaml) >= 0.15 needed by awscli2-2.12.0-1.fc39.noarch
  - nothing provides python3.11dist(ruamel-yaml-clib) >= 0.2 needed by awscli2-2.12.0-1.fc39.noarch
  - nothing provides python3.11dist(urllib3) >= 1.25.4 needed by awscli2-2.12.0-1.fc39.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-39-x86_64 --config-opts mirrored=False install awscli2


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Fedora Fails To Install 2023-07-13 11:38:29 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on devel.org if you are unsure how to fix this bug.

Comment 2 Davide Cavalca 2023-07-18 15:02:06 UTC
This currently fails to build due to an issue with the bundled botocore dependency:

Building wheels for collected packages: awscli
  Building wheel for awscli (pyproject.toml): started
  Running command Building wheel for awscli (pyproject.toml)
  Traceback (most recent call last):
    File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/builddir/build/BUILD/aws-cli-2.12.0/backends/pep517.py", line 64, in build_wheel
      _inject_wheel_extras(os.path.join(wheel_directory, whl_filename))
    File "/builddir/build/BUILD/aws-cli-2.12.0/backends/pep517.py", line 189, in _inject_wheel_extras
      _build_and_inject_ac_index(BUILD_DIR, extracted_wheel_dir)
    File "/builddir/build/BUILD/aws-cli-2.12.0/backends/pep517.py", line 217, in _build_and_inject_ac_index
      ac_index_build_name = _build_ac_index(build_dir)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/builddir/build/BUILD/aws-cli-2.12.0/backends/pep517.py", line 228, in _build_ac_index
      from awscli.autocomplete.generator import generate_index
    File "/builddir/build/BUILD/aws-cli-2.12.0/awscli/autocomplete/generator.py", line 17, in <module>
      from awscli.autocomplete.serverside.indexer import APICallIndexer
    File "/builddir/build/BUILD/aws-cli-2.12.0/awscli/autocomplete/serverside/indexer.py", line 18, in <module>
      import awscli.clidriver
    File "/builddir/build/BUILD/aws-cli-2.12.0/awscli/clidriver.py", line 21, in <module>
      import botocore.session
    File "/builddir/build/BUILD/aws-cli-2.12.0/awscli/botocore/session.py", line 27, in <module>
      import botocore.client
    File "/builddir/build/BUILD/aws-cli-2.12.0/awscli/botocore/client.py", line 16, in <module>
      from botocore import UNSIGNED, waiter, xform_name
    File "/builddir/build/BUILD/aws-cli-2.12.0/awscli/botocore/waiter.py", line 17, in <module>
      from botocore.docs.docstring import WaiterDocstring
    File "/builddir/build/BUILD/aws-cli-2.12.0/awscli/botocore/docs/__init__.py", line 15, in <module>
      from botocore.docs.service import ServiceDocumenter
    File "/builddir/build/BUILD/aws-cli-2.12.0/awscli/botocore/docs/service.py", line 13, in <module>
      from botocore.docs.bcdoc.restdoc import DocumentStructure
    File "/builddir/build/BUILD/aws-cli-2.12.0/awscli/botocore/docs/bcdoc/restdoc.py", line 15, in <module>
      from botocore.compat import OrderedDict
    File "/builddir/build/BUILD/aws-cli-2.12.0/awscli/botocore/compat.py", line 36, in <module>
      from botocore.vendored.six.moves import http_client
  ModuleNotFoundError: No module named 'botocore.vendored.six.moves'
  error: subprocess-exited-with-error

Comment 3 Nikola Forró 2023-07-18 15:21:15 UTC
True, it fails to import moves from botocore.vendored.six, but even if you resolve that (I simply replaced the imports since we don't care about Python 2 in Fedora) there are hundreds of test failures with Python 3.12 :(

Comment 4 Fedora Fails To Install 2023-07-28 08:19:32 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 39.

Thanks for taking care of it!


Note You need to log in before you can comment on or make changes to this bug.