Commit 749d394
[WIP] Manylinux2010 (#279)
* Minimal usable merge of markrwilliams:manylinux2 into current pypa:master
- The dockerfiles build successfully.
- Compared to current master, there's a new intermediate image for
glibc. As the x86_64 build depends on it, this must have a predefined
name. In the PR the "naming prefix" is 'markrwilliams/manylinux2',
therefore it's assumed for all images.
- There's a problem with libcurl which has been (temporarily) resolved
with script which redirects yum. See docker/build_scripts/build.sh for
details.
The following script is proven to work:
pushd docker/glibc/
docker build -t markrwilliams/manylinux2:centos-6.9-no-vsyscall
popd
docker/build_scripts/prefetch.sh curl openssl
docker build -t markrwilliams/manylinux2:x86_64 \
-f docker/Dockerfile-x86_64 docker/
docker build -t markrwilliams/manylinux2:i686 \
-f docker/Dockerfile-i686 docker/
* Clean-up and adjustments for manylinux2010
- docker/build_scripts/build.sh:
- removed libncurses.devel; not part of PEP 571
- removed gpg as dependency, because yum already requires it
- removed some /dev/null redirections, because they hinder debugging
- docker/build_scripts/manylinux1-check.py
- renamed to manylinux-check.py
- changed names/comments to new version
- the check now targets glibc 2.12 instead of 2.5
- .travis.yml
- only changed the image name
- TODO: x86_64 still needs a script for the no-vsyscall image dependency
- docker/deploy.sh
- changed image name
- note: .rst files have not been touched
* Fix for new release of pip (v10.0.0) breaking the build script
- The freshly released version of pip breaks build_utils.sh which tries
to get the latest and greatest. Added a condition to instead use the
latest version below v10.
* Merge upstream changes (4a20e4b); remove get-pip hack
- Incorporated the lastest changes from the official repository.
- That cleanup removed two packages from 'yum erase ...' which looks
like an oversight. Readded.
- Removed the hack which fixed the broken build when the new pip was
released. This has been fixed upstream, see here:
pypa/get-pip#19
* Re-add the two /dev/null redirections in build.sh
* Merge upstream changes (6f3bc0b)
* Merge upstream changes (3dd4551)
* Merge upstream changes (4132165)
* Adapt build.sh for the x86_64 two-stage build
- Add platform-dependent clause
- Assign the same prefix to the the no-vsyscall image (quay.io/pypa/...)
- The dependent docker/Dockerfile-x86_64 needs this prefix in FROM ...
* Getting Travis to play along
- Increase in `travis_wait` time
- Shunting build output off into a log file which can be inspected
on failure.
* Drop 32-bit support and upgrade to devtoolset-7
* Update README.rst
manylinux2 -> manylinux2010
* Add comment regarding MANYLINUX2010_DEPS
* Add comment for Software collection & EPEL usage
* Move expat-devel to PYTHON_COMPILE_DEPS
* Use local gpgkey for RPM-GPG-KEY-CentOS-6
* Update to devtoolset-8
* Replace travis wait by custom command
Prevent stdout timeout. The global travis timeout is the only one to apply now.
* Use travis-ci build stages and cache glibc build
glibc patch is unlikely to change very often, use travis-ci cache mechanism in order not to rebuild it every time.
also, use build stages so that when it does change, glibc build is run as a pre-step, it will probably help not reaching the time limit, or at least, glibc build will be cached for job restart.1 parent 120c395 commit 749d394
File tree
16 files changed
+690
-91
lines changed- docker
- build_scripts
- glibc
- build_scripts
16 files changed
+690
-91
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | | - | |
20 | | - | |
| 23 | + | |
21 | 24 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
6 | 19 | | |
7 | | - | |
| 20 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 49 | + | |
| 50 | + | |
59 | 51 | | |
60 | 52 | | |
61 | 53 | | |
62 | 54 | | |
63 | 55 | | |
64 | 56 | | |
65 | 57 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
70 | 62 | | |
71 | | - | |
72 | 63 | | |
73 | | - | |
74 | 64 | | |
| 65 | + | |
| 66 | + | |
75 | 67 | | |
76 | 68 | | |
| 69 | + | |
77 | 70 | | |
78 | 71 | | |
79 | 72 | | |
| |||
147 | 140 | | |
148 | 141 | | |
149 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
150 | 163 | | |
151 | 164 | | |
152 | 165 | | |
153 | 166 | | |
154 | 167 | | |
155 | 168 | | |
| 169 | + | |
156 | 170 | | |
157 | 171 | | |
158 | 172 | | |
159 | 173 | | |
160 | | - | |
161 | | - | |
| 174 | + | |
| 175 | + | |
162 | 176 | | |
163 | 177 | | |
164 | 178 | | |
| |||
180 | 194 | | |
181 | 195 | | |
182 | 196 | | |
183 | | - | |
| 197 | + | |
184 | 198 | | |
185 | 199 | | |
186 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 57 | + | |
61 | 58 | | |
62 | 59 | | |
63 | 60 | | |
| |||
Binary file not shown.
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
0 commit comments