Skip to content

[bp/3.39] Pin pycares to avoid bug with aiodns combination#6699

Merged
mdellweg merged 2 commits into
pulp:3.39from
pedro-psb:patchback/backports/3.39/b1560306741816770ddafa3d51dadbef4c7b072a/pr-6697
Jul 7, 2025
Merged

[bp/3.39] Pin pycares to avoid bug with aiodns combination#6699
mdellweg merged 2 commits into
pulp:3.39from
pedro-psb:patchback/backports/3.39/b1560306741816770ddafa3d51dadbef4c7b072a/pr-6697

Conversation

@pedro-psb

Copy link
Copy Markdown
Member

See for more context:
#6695

(cherry picked from commit b156030)

@pedro-psb pedro-psb force-pushed the patchback/backports/3.39/b1560306741816770ddafa3d51dadbef4c7b072a/pr-6697 branch from 285769b to 239c8d5 Compare June 18, 2025 18:14
See for more context:
pulp#6695

(cherry picked from commit b156030)
@mdellweg mdellweg force-pushed the patchback/backports/3.39/b1560306741816770ddafa3d51dadbef4c7b072a/pr-6697 branch from 239c8d5 to e226c1a Compare July 2, 2025 08:32
@pedro-psb pedro-psb force-pushed the patchback/backports/3.39/b1560306741816770ddafa3d51dadbef4c7b072a/pr-6697 branch 5 times, most recently from 8ae7b6b to b8e21ff Compare July 3, 2025 21:27
@pedro-psb pedro-psb marked this pull request as draft July 3, 2025 21:28
fi

CI_IMAGE="ghcr.io/pulp/pulp-ci-centos" # get dynamically in plugin-template
CONTAINER_PYTHON_VERSION="$(docker run --rm $CI_IMAGE python3 --version | awk '{print $2}')"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be done in github workflow level (workflows/test.yml) and passed as an environment variable.
Or maybe there is a better way of getting this?

Comment thread requirements.txt Outdated
Comment thread .ci/scripts/calc_constraints.py Outdated
if requirement.name == "pulpcore":
# An exception to allow for pulpcore deprecation policy.
return fetch_pulpcore_upper_bound(requirement)
# check python scope. E.g 'foo==1.0.0;python_version>=3.9'

@mdellweg mdellweg Jul 4, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I would be OK with

if requirement.marker:
    return "# Skipping because environmental conditions are untrackable."

@pedro-psb

Copy link
Copy Markdown
Member Author

Added the change on plugin_template (without the python-version aware feature, for simplicity): pulp/plugin_template#971

@pedro-psb pedro-psb force-pushed the patchback/backports/3.39/b1560306741816770ddafa3d51dadbef4c7b072a/pr-6697 branch from a41a3f3 to 9f3c844 Compare July 7, 2025 14:16
@pedro-psb pedro-psb marked this pull request as ready for review July 7, 2025 14:17
@mdellweg mdellweg merged commit 8205062 into pulp:3.39 Jul 7, 2025
23 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants