Browse Source

Remove python-qpid-proton 0.14.0 build

At least one distro (ubuntu xenial)
does not have the necessary packages in its default repositories
for building python-qpid-proton 0.14.0 (libqpid-proton2-dev doesn't provide
the necessary qpid-proton required in the wheel build).

When building the wheel, the bundling of qpid-proton fails
due to apache mirrors having removed this old version.

This prevents the newton branch to build.

Example pip wheel log:
```
Collecting python-qpid-proton===0.14.0 (from -r requirements.txt (line 1))
  Using cached d39f0e805f/dda8ebc0eae03d2647f6/python-qpid-proton-0.14.0.tar.gz
Building wheels for collected packages: python-qpid-proton
  Running setup.py bdist_wheel for python-qpid-proton ... error
  Complete output from command /usr/bin/python -u -c (redacted)
  running bdist_wheel
  running build
  running build_ext
  running configure
  Did not find libqpid-proton via pkg-config:
  Bundling qpid-proton into the extension
  fetching http://www.apache.org/dist/qpid/proton/0.14.0/qpid-proton-0.14.0.tar.gz into build/bundled
  error: HTTP Error 404: Not Found
```

Change-Id: I1b3708da4cefa7e15ec5f5623e182a3258508fc7
Jean-Philippe Evrard 4 months ago
parent
commit
fd832fafe8
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      scripts/requirements.sh

+ 4
- 0
scripts/requirements.sh View File

@@ -16,6 +16,10 @@ if (( $(openssl version | awk -F'[ .]' '{print $3}') >= 1 )); then
16 16
     sed -i '/python-qpid-proton/d' /upper-constraints.txt
17 17
 fi
18 18
 
19
+# Remove python-qpid-proton 0.14.0 as this old version cannot be built in CI
20
+# anymore
21
+sed -i '/python-qpid-proton===0.14.0/d' /upper-constraints.txt
22
+
19 23
 if [[ "${PYTHON3}" == "no" ]]; then
20 24
     ignore_wheels=py2
21 25
 else

Loading…
Cancel
Save