Commit Graph
6 Commits
Author SHA1 Message Date
Ross Burton 0a583b3502 recipes: update for PYPI_PACKAGE change
The pypi class has slightly changed the semantics of the PYPI_PACKAGE
variable[1], now PYPI_PACKAGE is the normalised package name and the new
variable PYPI_PACKAGE_SDIST is used when the source tarball doesn't match.

Update recipes as appropriate: this is mostly deleting now-redundant
assignments but some assignments are still needed where packages are not
uploaded using the modern standards.

[1] oe-core 98049bf86b6 ("classes/pypi: change PYPI_PACKAGE to be normalised")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-10-08 22:27:01 -07:00
Derek Straka a3edd4f6d7 python3-requests-toolbelt: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-17 11:29:12 -08:00
Tim Orling 3f5af1db9a python3-requests-toolbelt: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:36 -08:00
Michael Opdenacker 61d14138c2 meta-python: Remove unused AUTHOR variable
No longer used in generating packages
Also creates a possible confusion with the recipe maintainer
name.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-05 09:29:56 -07:00
Khem Raj 970766c297 python3-requests-toolbelt: Fix ptest failures seen with urllib3 2.0
Currently we see ptest failures like below

testseries | result_id : oeqa | runtime_meta-python-ptest-image-python3-requests-toolbelt_qemux86-64_20230713012809
    ptestresult.python3-requests-toolbelt.tests/test_dump.py::TestDumpRealResponses::test_dump_all
    ptestresult.python3-requests-toolbelt.tests/test_dump.py::TestDumpRealResponses::test_dump_response
    ptestresult.python3-requests-toolbelt.tests/test_sessions.py::TestBasedSession::test_prepared_request_override_base
    ptestresult.python3-requests-toolbelt.tests/test_sessions.py::TestBasedSession::test_prepared_request_with_base
    ptestresult.python3-requests-toolbelt.tests/test_sessions.py::TestBasedSession::test_request_override_base
    ptestresult.python3-requests-toolbelt.tests/test_sessions.py::TestBasedSession::test_request_with_base

These patches from a posted pull upstream fixes them

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-13 07:22:17 -07:00
Wang Mingyu ba7c586172 python3-requests-toolbelt: upgrade 0.10.1 -> 1.0.0
Changelog:
=========
    Removed Google App Engine support to allow using urllib3 2.0
    Ensured the test suite no longer reaches the Internet
    Added explicit support for Python 3.11

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 10:12:44 -07:00