Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta python merge #538

Closed
wants to merge 21 commits into from
Closed

Meta python merge #538

wants to merge 21 commits into from

Commits on Feb 28, 2022

  1. python3-apt: Point PYPA_WHEEL to custom location

    Standard deduction logic does not work so help the system a bit
    
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    kraj authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    b18453d View commit details
    Browse the repository at this point in the history
  2. python3-pycups: Inherit setuptools_build_meta

    Gets the wheel dependencies sorted during build
    Fixes
    | error: invalid command 'bdist_wheel'
    
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    kraj authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    f627206 View commit details
    Browse the repository at this point in the history
  3. python3-anyjson: Drop recipe

    anyjson is inactive [1] moreover does not have wheel support
    
    there is drop-in replacement to use oslo.serialization if needed
    we can accept such a recipe if submitted
    
    [1] https://snyk.io/advisor/python/anyjson
    
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Cc: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    kraj authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    cc7a471 View commit details
    Browse the repository at this point in the history
  4. python3-prettytable: Upgrade 2.4.0 -> 3.1.1

    Upgrade to release 3.1.1:
    
    - Drop support for EOL Python 3.6
    - Use <caption> tags to print html table titles
    - Add colorful tables and themes
    - Convert None to empty cell or custom value
    - Resolve "KeyError" issue on _stringify_row
    
    Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    leon-anavi authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    cb797fb View commit details
    Browse the repository at this point in the history
  5. python3-transitions: Upgrade 0.8.10 -> 0.8.11

    Upgrade to release 0.8.11:
    
    - Rewrote an async test and replaced setDaemon with daemon property
      assignment for thread handling
    
    Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    leon-anavi authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    e26b24d View commit details
    Browse the repository at this point in the history
  6. python3-charset-normalizer: Upgrade 2.0.10 -> 2.0.12

    Upgrade to release 2.0.12:
    
    - ASCII miss-detection on rare cases
    - Explicit support for Python 3.11
    
    Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    leon-anavi authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    6436da0 View commit details
    Browse the repository at this point in the history
  7. python3-setuptools-rust-native: fix wheel build

    Add comment that setuptools_build_meta is currently broken and stick
    with setuptools3 for now.
    
    For some reason, the wheel is built in ${S}/dist and not ${B}/dist.
    Set PIP_INSTALL_DIST_PATH accordingly as a workaround.
    
    Signed-off-by: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    moto-timo authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    2e1f8c5 View commit details
    Browse the repository at this point in the history
  8. python3-cryptography: fix wheel build

    Like python3-setuptools-rust-native, this is building its wheel in
    ${S}/dist rather than ${B}/dist. Set PIP_INSTALL_DIST_PATH accordingly.
    
    Signed-off-by: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    moto-timo authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    832455e View commit details
    Browse the repository at this point in the history
  9. python3-pyruvate: fix wheel build

    Like python3-setuptools-rust-native, the wheel is being built in
    ${S}/dist rather than ${B}/dist so set PIP_INSTALL_DIST_PATH
    accordingly.
    
    Signed-off-by: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    moto-timo authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    548d1e8 View commit details
    Browse the repository at this point in the history
  10. python3-backcall: inherit flit_core

    Upstream provides a pyproject.toml which declares the flit_core.buildapi
    backend for PEP-517 packaging.
    
    Signed-off-by: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    moto-timo authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    1ff47a4 View commit details
    Browse the repository at this point in the history
  11. python3-distutils-extra; merge inc, fix wheel build

    We have not supported Python2 for quite some time now, so there is no
    reason to maintain a separate inc file.
    
    This recipe does not inherit pypi and the PN does not match the built
    wheel. Set PIP_INSTALL_PACKAGE appropriately so the wheel can be found.
    
    Signed-off-by: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    moto-timo authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    3afff11 View commit details
    Browse the repository at this point in the history
  12. python3-ptyprocess: inherit flit_core

    Upstream provides a pyproject.toml which declares a flit_core.buildapi
    build backend for PEP-517 packaging.
    
    Signed-off-by: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    moto-timo authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    93bae42 View commit details
    Browse the repository at this point in the history
  13. python3-pyserial: also remove /usr/bin/__pycache__

    PEP-517 packaging tries to also ship ${bindir}/__pycache__,
    since we are removing all the scripts from ${bindir}, remove the cache
    as well.
    
    Signed-off-by: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    moto-timo authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    04fb63d View commit details
    Browse the repository at this point in the history
  14. python3-twisted: also ship Twisted-*.dist-info

    With the PEP-517 packaging, we need to ship additional FILES-${PN} (the
    wheel dist-info standard files).
    
    This recipe may be overly complicated. This commit is only an attempt to
    fix the install of the wheel.
    
    Signed-off-by: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    moto-timo authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    fdd2877 View commit details
    Browse the repository at this point in the history
  15. python3-pillow: fix wheel build

    Recipe does not inherit pypi nor would PN resolve to the name of the
    wheel so we must set PIP_INSTALL_PACKAGE appropriately.
    
    The recipe also builds its wheel in ${S}/dist so we must set
    PIP_INSTALL_DIST_PATH appropriately.
    
    Signed-off-by: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    moto-timo authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    abbb5cd View commit details
    Browse the repository at this point in the history
  16. python3-xlrd: fix wheel build

    Recipe does not inherit pypi nor would PN resolve to a useful name for
    the wheel. Set PIP_INSTALL_PACKAGE appropriately.
    
    Recipe builds wheel in ${S}/dist so set PIP_INSTALL_DIST_PATH
    appropriately.
    
    Signed-off-by: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    moto-timo authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    abdabe9 View commit details
    Browse the repository at this point in the history
  17. python3-pykickstart: fix wheel build

    Recipe does not inherit pypi, nor is PN a reasonable guess for the wheel
    name so set PIP_INSTALL_PACKAGE appropriately.
    
    The wheel is built in ${S}/dist rather than ${B}/dist so set
    PIP_INSTALL_DIST_PATH appropriately.
    
    Signed-off-by: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    moto-timo authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    5dca066 View commit details
    Browse the repository at this point in the history
  18. python3-twofish: drop recipe

    The code has not been touched since 2013 and does not build with
    bdist_wheel. If you depend upon this recipe, please work with upstream
    to update the package to PEP-517 packaging.
    
    Signed-off-by: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    moto-timo authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    f515150 View commit details
    Browse the repository at this point in the history
  19. python3-monotonic: fix wheel build

    Recipe does not inherit pypi nor would PN be a good guess for the wheel
    name so set PIP_INSTALL_PACKAGE appropriately.
    
    Signed-off-by: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    moto-timo authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    313b063 View commit details
    Browse the repository at this point in the history
  20. python3-geomet: fix wheel build

    Recipe does not inherit pypi nor would PN be a good guess at the name of
    the wheel. Set PIP_INSTALL_PACKAGE appropriately.
    
    Signed-off-by: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    moto-timo authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    4b52ec6 View commit details
    Browse the repository at this point in the history
  21. python3-pako: remove duplicate LICENSE

    The LICENSE is already included in the wheel and therefore packaged like
    any other wheel. Remove the duplicate LICENSE erroneously installed in
    /usr/pako/LICENSE.
    
    Signed-off-by: Tim Orling <tim.orling@konsulko.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    moto-timo authored and Trevor Gamblin committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    8b4a9cf View commit details
    Browse the repository at this point in the history