[Bug 1605156] New: Review Request: python-bundled-wheels - Wheels to be bundled with Python tools for virtual environments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1605156

            Bug ID: 1605156
           Summary: Review Request: python-bundled-wheels - Wheels to be
                    bundled with Python tools for virtual environments
           Product: Fedora
           Version: rawhide
         Component: Package Review
          Severity: medium
          Priority: medium
          Assignee: nobody@xxxxxxxxxxxxxxxxx
          Reporter: mhroncok@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: package-review@xxxxxxxxxxxxxxxxxxxxxxx



Spec URL: https://churchyard.fedorapeople.org/SRPMS/python-bundled-wheels.spec
SRPM URL:
https://churchyard.fedorapeople.org/SRPMS/python-bundled-wheels-0-1.fc28.src.rpm
Description:
The purpose of this package is to build various Python wheels to be bundled
with Python tools for virtual environments, instead of taking prebuilt bundled
wheels from upstreams. This also allows to deduplicate the wheels and specify
the licenses better (no need to specify them in the projects that need those).

Fedora Account System Username: churchyard

Rationale: We bundle a lot of wheels in Fedora and we don't even rebuild them.
This is an attempt to fix it. Maybe even to replace the python3 rewheel patch
in  the future. Consider it proof of concept. Feedback is welcomed.

In the package that has wheel, one would do:

    Requires: wheel(setuptools-39.1.0-py2.py3-none-any.whl)

    ...

    pushd %{buildroot}%{python3_sitelib}/virtualenv_support
    rm setuptools-39.1.0-py2.py3-none-any.whl
    ln -s
%{_datatdir}/python-bundled-wheels/setuptools-39.1.0-py2.py3-none-any.whl .
    ...
    popd

If desired, we could provide a macro for %{_datatdir}/python-bundled-wheels and
possible for the linking, so the maintainer would only need to: require the
wheel and run:

    for WHL in %{buildroot}%{python3_sitelib}/virtualenv_support/*; do
       %link_bundled_wheel $WHL
    done

(This is just an idea and it is not done yet.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx/message/3TJJGQDU24CPE7WKPVEL6AIGMJZALA3N/




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux