Bug 2151315
| Summary: | Review Request: autorsync - Automate execution of various rsync commands | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jonny Heggheim <hegjon> |
| Component: | Package Review | Assignee: | Nobody's working on this, feel free to take it <nobody> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | package-review, vitaly |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-03-06 12:48:11 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jonny Heggheim
2022-12-06 17:36:31 UTC
This package built on koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=95021873 This SPEC uses legacy Python guidelines. You have to port it to a modern one: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ Older guidelines are only allowed for existing packages: > Older guidelines are still being kept up to date, and existing packages MAY use them instead of this document Thanks, I did not know that they were mandatory Updated the spect+srpm to new Python packaging guidelines, same urls: Spec URL: https://jonny.fedorapeople.org/autorsync.spec SRPM URL: https://jonny.fedorapeople.org/autorsync-1.0.5-1.fc36.src.rpm > BuildRequires: python3dist(jinja2)
> BuildRequires: python3dist(pyyaml)
No longer required. %pyproject_buildrequires will discover everything automatically.
(In reply to Vitaly Zaitsev from comment #5) > > BuildRequires: python3dist(jinja2) > > BuildRequires: python3dist(pyyaml) > > No longer required. %pyproject_buildrequires will discover everything > automatically. Without them I am getting this error, not sure if it is upstream that are using some bad practice or if it is a bug in the rpm build system? It might be related to comments in this issue https://github.com/avibrazil/autorsync/issues/1 + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/auto_remote_sync-1.0.5/pyproject-wheeldir Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 59.6.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.1) Traceback (most recent call last): File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 501, in main generate_requires( File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 415, in generate_requires generate_build_requirements(backend, requirements) File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 265, in generate_build_requirements new_reqs = get_requires() File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 162, in get_requires_for_build_wheel return self._get_build_requires( File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 143, in _get_build_requires self.run_setup() File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 267, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 158, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 5, in <module> from autorsync import __version__ File "/builddir/build/BUILD/auto_remote_sync-1.0.5/autorsync/__init__.py", line 9, in <module> import yaml ModuleNotFoundError: No module named 'yaml' error: Bad exit status from /var/tmp/rpm-tmp.wHpst0 (%generate_buildrequires) Bad exit status from /var/tmp/rpm-tmp.wHpst0 (%generate_buildrequires) > Without them I am getting this error, not sure if it is upstream that are using some bad practice or if it is a bug in the rpm build system?
Yes, upstream uses very bad Python practices.
> License: LGPL
Incorrect. Use this:
License: GPL-3.0-or-later
(In reply to Vitaly Zaitsev from comment #8) > > License: LGPL > > Incorrect. Use this: > > License: GPL-3.0-or-later I have asked upstream to clarify their license https://github.com/avibrazil/autorsync/issues/4 This is an automatic check from review-stats script. This review request ticket hasn't been updated for some time, but it seems that the review is still being working out by you. If this is right, please respond to this comment clearing the NEEDINFO flag and try to reach out the submitter to proceed with the review. If you're not interested in reviewing this ticket anymore, please clear the fedora-review flag and reset the assignee, so that a new reviewer can take this ticket. Without any reply, this request will shortly be resetted. This is an automatic action taken by review-stats script. The ticket reviewer failed to clear the NEEDINFO flag in a month. As per https://fedoraproject.org/wiki/Policy_for_stalled_package_reviews we reset the status and the assignee of this ticket. Closing due to little feedback from upstream. |