Bug 2033796 - Review Request: python-ua-parser - Python port of Browserscope's user agent parser
Summary: Review Request: python-ua-parser - Python port of Browserscope's user agent p...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jarek Prokop
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-17 21:05 UTC by Sandro Mani
Modified: 2022-01-05 02:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-21 16:25:15 UTC
Type: ---
Embargoed:
jprokop: fedora-review+


Attachments (Terms of Use)

Description Sandro Mani 2021-12-17 21:05:00 UTC
Spec URL: https://smani.fedorapeople.org/review/python-ua-parser.spec
SRPM URL: https://smani.fedorapeople.org/review/python-ua-parser-0.10.0-1.fc36.src.rpm
Description: Python port of Browserscope's user agent parser
Fedora Account System Username: smani

Comment 1 Jarek Prokop 2021-12-20 11:42:17 UTC
Taking for a review.

Comment 2 Jarek Prokop 2021-12-20 12:25:22 UTC
LGTM, but there are a some nits that need to be fixed before approving:
  * Invalid license: `python-ua-parser.src: W: invalid-license ASL2.0`
    * Correct format is "ASL 2.0"
  * E: non-executable-script /usr/lib/python3.10/site-packages/ua_parser/user_agent_parser_test.py 644 /usr/bin/python2.5
    * The shebang should not be there with those file permissions.
      This seems like appropriate medicine: `sed -i -e '\|^#!|d' ua_parser/user_agent_parser_test.py`
    * Optional: It looks like a test file, which could be run in the %check section.

Please fix the license and the shebang.

Comment 3 Sandro Mani 2021-12-21 08:29:56 UTC
The unit tests are failing [1], I'll need to look into it as time allows - I guess it's a mismatching version of uap-core.

[1] https://kojipkgs.fedoraproject.org//work/tasks/7669/80237669/build.log

Spec URL: https://smani.fedorapeople.org/review/python-ua-parser.spec
SRPM URL: https://smani.fedorapeople.org/review/python-ua-parser-0.10.0-2.fc36.src.rpm

%changelog
* Mon Dec 20 2021 Sandro Mani <manisandro> - 0.10.0-2
- Fix license
- Add possibility to run unittest
- Don't install unittest

Comment 4 Jarek Prokop 2021-12-21 09:54:25 UTC
> The unit tests are failing [1], I'll need to look into it as time allows - I guess it's a mismatching version of uap-core.

Good to see them here, upstream's tests are ok (it seems), so the mismatched version makes sense.

LGTM, package approved!

Comment 5 Gwyn Ciesla 2021-12-21 15:35:17 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/python-ua-parser

Comment 6 Sandro Mani 2021-12-21 16:25:15 UTC
Thanks!

Comment 7 Fedora Update System 2021-12-27 18:13:19 UTC
FEDORA-2021-fa593b16a5 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-fa593b16a5

Comment 8 Fedora Update System 2021-12-27 18:20:32 UTC
FEDORA-2021-b68878febc has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-b68878febc

Comment 9 Fedora Update System 2021-12-28 01:26:02 UTC
FEDORA-2021-b68878febc has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-b68878febc \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-b68878febc

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2021-12-28 01:59:07 UTC
FEDORA-2021-fa593b16a5 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-fa593b16a5 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-fa593b16a5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2022-01-05 01:22:52 UTC
FEDORA-2021-b68878febc has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2022-01-05 02:04:10 UTC
FEDORA-2021-fa593b16a5 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


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