Closed jsirois closed 1 year ago
@adityav this fixes:
$ pex3 lock create "apache-airflow[cncf.kubernetes]==2.4.3" --style universal --interpreter-constraint "==3.10.*" --target-system linux --target-system mac --resolver-version pip-2020-resolver --pip-version 22.3 --indent 2 -o pip-22.3-extras-cncf.kubernetes.lock
The key bit being --pip-version 22.3
A proof of the fix is:
$ pex --lock pip-22.3-extras-cncf.kubernetes.lock -oexample.pex
$ pex-tools ./example.pex info -i2 | jq '{reqs: .requirements, dists: .distributions | keys[] | select(test("^apache_airflow-"))}'
{
"reqs": [
"apache-airflow[cncf.kubernetes]==2.4.3"
],
"dists": "apache_airflow-2.4.3-py3-none-any.whl"
}
But I've attachedthe resulting lock as well: pip-22.3-extras-cncf.kubernetes.lock.txt
This lock nets apache-airflow 2.4.3:
This does not. It nets apache-airflow 2.5.1 instead: