Bug 2049808 - Review Request: awscli-2 - Universal Command Line Environment for AWS, Version 2
Summary: Review Request: awscli-2 - Universal Command Line Environment for AWS, Version 2
Keywords:
Status: CLOSED DUPLICATE of bug 2189420
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2049689 2179888
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-02 17:54 UTC by David Duncan
Modified: 2023-04-25 07:33 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-25 07:33:36 UTC
Type: ---
Embargoed:
ppisar: fedora-review?


Attachments (Terms of Use)

Description David Duncan 2022-02-02 17:54:37 UTC
Spec URL: https://davdunc.fedorapeople.org/awscli-2-rpms/awscli-2.spec
SRPM URL: https://davdunc.fedorapeople.org/awscli-2-rpms/awscli-2-2.4.12-2.fc35.src.rpm
Description: This package provides version 2 of the unified command line interface to Amazon Web Services.
Fedora Account System Username: davdunc

Comment 1 Michel Lind 2022-02-03 06:40:36 UTC
This depends on awscrt, marked it as a blocker. Meanwhile:

- why rename this to awscli-2 ? If the intention is that both are parallel installable, this should not obsolete the other. If not, then you can just call this awscli (and actually, don't need a review request)
- missing %license LICENSE.txt
- with auto build requirement, you only need python3-devel. Drop toml and wheel, they should be automatically picked up
- drop python_provide, it's deprecated: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_deprecated_macros
- there are tests, you probably want a %check section. If invoking %tox is too much of a work, invoking %pytest should work. See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_tests

Comment 2 David Duncan 2022-02-04 01:29:22 UTC
(In reply to Michel Alexandre Salim from comment #1)
> This depends on awscrt, marked it as a blocker. Meanwhile:
> 
> - why rename this to awscli-2 ? If the intention is that both are parallel
> installable, this should not obsolete the other. If not, then you can just
> call this awscli (and actually, don't need a review request)

it's a separate package. We have to maintain the original awscli package because it is in RHEL and needs to stay consistent for the foreseeable future. We will need to maintain the two tracks because they function in very different ways. 

> - missing %license LICENSE.txt

whoops! 

> - with auto build requirement, you only need python3-devel. Drop toml and
> wheel, they should be automatically picked up
> - drop python_provide, it's deprecated:
> https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/
> #_deprecated_macros

Thank you. some careless copying of old process. 

> - there are tests, you probably want a %check section. If invoking %tox is
> too much of a work, invoking %pytest should work. See
> https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_tests

I think kyle can figure  this out for me. Thanks.

Comment 3 Package Review 2022-03-06 00:45:19 UTC
This is an automatic action taken by review-stats script.

The ticket submitter failed to clear the NEEDINFO flag in a month.
As per https://fedoraproject.org/wiki/Policy_for_stalled_package_reviews
we consider this ticket as DEADREVIEW and proceed to close it.

Comment 4 Neal Gompa 2022-03-06 02:18:09 UTC
This not stalled...

Comment 5 Nikola Forró 2023-03-29 18:46:13 UTC
Here are some more important issues:

> Name:           %{appname}-2

I don't think this is a valid name. Packaging Guidelines say about packages with the same base name [1]:

If the base package name does not end with a digit, the version MUST be directly appended to the package name with no intervening separator.


> License:        ASL 2.0 and MIT

This should be:

License:        Apache-2.0 AND MIT

You should also explicitly state in a comment which source files are under MIT (since majority of them are under Apache-2.0).


> Patch0:         awscli-2.patch

Existence of this patch should be justified.


The package doesn't build. It does build after updating to the latest upstream version (2.11.6) and removing the downstream patch and version cap of prompt-toolkit, but the test suite ends with:

= 96 failed, 64530 passed, 4 skipped, 3 warnings, 97 errors in 518.31s (0:08:38) =


[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#multiple

Comment 6 Nikola Forró 2023-04-25 07:33:36 UTC
Closing this in favor of bug #2189420.

*** This bug has been marked as a duplicate of bug 2189420 ***


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