Skip to content

Commit

Permalink
resultsdb-api support on 3.8 fix
Browse files Browse the repository at this point in the history
The resultsdb-api uses urllib as dependency. The urllib dropped support
for the python 3.8 in the version 2.3.0. Let's use older version of
urllib to keep python 3.8 support for resultsdb plugin.

Reference:
https://urllib3.readthedocs.io/en/stable/changelog.html#deprecations-and-removals
Signed-off-by: Jan Richter <[email protected]>
  • Loading branch information
richtja committed Jan 9, 2025
1 parent 56b8eec commit a4cd2aa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion optional_plugins/resultsdb/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ def get_long_description():
url="http://avocado-framework.github.io/",
packages=packages,
include_package_data=True,
install_requires=[f"avocado-framework=={VERSION}", "resultsdb-api==2.1.5"],
install_requires=[
f"avocado-framework=={VERSION}",
"resultsdb-api==2.1.5",
"urllib3<2.3.0; python_version < '3.9'",
],
entry_points={
"avocado.plugins.cli": [
"resultsdb = avocado_resultsdb.resultsdb:ResultsdbCLI",
Expand Down

0 comments on commit a4cd2aa

Please sign in to comment.