Bug 2151315 - Review Request: autorsync - Automate execution of various rsync commands
Summary: Review Request: autorsync - Automate execution of various rsync commands
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-06 17:36 UTC by Jonny Heggheim
Modified: 2024-03-06 12:48 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-03-06 12:48:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github avibrazil autorsync issues 1 0 None open distutils package is deprecated 2022-12-08 11:09:29 UTC
Github avibrazil autorsync issues 4 0 None open Clarify license 2022-12-08 11:09:29 UTC

Description Jonny Heggheim 2022-12-06 17:36:31 UTC
Spec URL: https://jonny.fedorapeople.org/autorsync.spec
SRPM URL: https://jonny.fedorapeople.org/autorsync-1.0.5-1.fc36.src.rpm

Description:
Command to automate execution of various rsync commands based on profiles
defined on a YAML configuration file.

Fedora Account System Username: jonny

Comment 1 Jonny Heggheim 2022-12-06 17:36:34 UTC
This package built on koji:  https://koji.fedoraproject.org/koji/taskinfo?taskID=95021873

Comment 2 Vitaly 2022-12-06 20:07:42 UTC
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

Comment 3 Jonny Heggheim 2022-12-06 20:52:45 UTC
Thanks, I did not know that they were mandatory

Comment 4 Jonny Heggheim 2022-12-06 20:55:36 UTC
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

Comment 5 Vitaly 2022-12-07 07:52:30 UTC
> BuildRequires: python3dist(jinja2)
> BuildRequires: python3dist(pyyaml)

No longer required. %pyproject_buildrequires will discover everything automatically.

Comment 6 Jonny Heggheim 2022-12-07 15:17:18 UTC
(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)

Comment 7 Vitaly 2022-12-07 18:27:50 UTC
> 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.

Comment 8 Vitaly 2022-12-07 18:30:25 UTC
> License:   LGPL

Incorrect. Use this:

License: GPL-3.0-or-later

Comment 9 Jonny Heggheim 2022-12-08 11:09:30 UTC
(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

Comment 10 Package Review 2023-12-09 00:45:26 UTC
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.

Comment 11 Package Review 2024-01-08 00:45:34 UTC
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.

Comment 12 Jonny Heggheim 2024-03-06 12:48:11 UTC
Closing due to little feedback from upstream.


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