Skip to content

Commit 2d96a46

Browse files
committed
Update CI files
1 parent 8e70355 commit 2d96a46

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.ci/assets/ci_constraints.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
pulpcore>=3.21.30,!=3.23.*,!=3.24.*,!=3.25.*,!=3.26.*,!=3.27.*,!=3.29.*,!=3.30.*,!=3.31.*,!=3.32.*,!=3.33.*,!=3.34.*,!=3.35.*,!=3.36.*,!=3.37.*,!=3.38.*,!=3.40.*,!=3.41.*,!=3.42.*,!=3.43.*,!=3.44.*,!=3.45.*,!=3.46.*,!=3.47.*,!=3.48.*,!=3.50.*,!=3.51.*,!=3.52.*,!=3.53.*,!=3.54.*
33

44

5-
65
tablib!=3.6.0
76
# 3.6.0: This release introduced a regression removing the "html" optional dependency.
7+
8+
9+
multidict!=6.3.0
10+
# This release failed the lower bounds test for some case sensitivity in CIMultiDict.

.flake8

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@
88
exclude = ./docs/*,*/migrations/*
99
per-file-ignores = */__init__.py: F401
1010

11-
ignore = E203,W503,Q000,Q003,D100,D104,D106,D200,D205,D400,D401,D402
11+
ignore = E203,W503,Q000,Q003,D100,D104,D106,D200,D205,D400,D401,D402,F824
1212
max-line-length = 100
1313

1414
# Flake8 builtin codes
1515
# --------------------
1616
# E203: no whitespace around ':'. disabled until https://github.com/PyCQA/pycodestyle/issues/373 is fixed
1717
# W503: This enforces operators before line breaks which is not pep8 or black compatible.
18+
# F824: 'nonlocal' is unused: name is never assigned in scope
1819

1920
# Flake8-quotes extension codes
2021
# -----------------------------

.github/workflows/scripts/script.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,11 @@ echo "::endgroup::"
100100
# Install test requirements
101101
###########################
102102

103+
# Carry on previous constraints (there might be no such file).
104+
cat *_constraints.txt > bindings_constraints.txt || true
105+
cat .ci/assets/ci_constraints.txt >> bindings_constraints.txt
103106
# Add a safeguard to make sure the proper versions of the clients are installed.
104-
echo "$REPORTED_STATUS" | jq -r '.versions[]|select(.package)|(.package|sub("_"; "-")) + "-client==" + .version' > bindings_constraints.txt
107+
echo "$REPORTED_STATUS" | jq -r '.versions[]|select(.package)|(.package|sub("_"; "-")) + "-client==" + .version' >> bindings_constraints.txt
105108
cmd_stdin_prefix bash -c "cat > /tmp/unittest_requirements.txt" < unittest_requirements.txt
106109
cmd_stdin_prefix bash -c "cat > /tmp/functest_requirements.txt" < functest_requirements.txt
107110
cmd_stdin_prefix bash -c "cat > /tmp/bindings_requirements.txt" < bindings_requirements.txt

0 commit comments

Comments
 (0)