We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3457293 commit 601f8beCopy full SHA for 601f8be
1 file changed
scripts/populate_tox/populate_tox.py
@@ -172,9 +172,8 @@ def _get_dependency_probe_constraints(
172
constraints = []
173
for rule, dependencies in TEST_SUITE_CONFIG[integration].get("deps", {}).items():
174
# Skip if rule does not apply to current package or Python version
175
- if (
176
- rule == "*"
177
- or (rule.startswith("py3") and f"py{python_version}" not in rule.split(","))
+ if rule != "*" and (
+ (rule.startswith("py3") and f"py{python_version}" not in rule.split(","))
178
or (
179
not rule.startswith("py3")
180
and release not in SpecifierSet(rule, prereleases=True)
0 commit comments