[PATCH 2 of 2 wheels stable] contrib: drop Python 2.6 from manylinux1 wheel script

Boris Feld boris.feld at octobus.net
Wed Jul 19 17:30:24 EDT 2017


On Wed, 2017-07-19 at 14:04 -0400, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <augie at google.com>
> # Date 1500486262 14400
> #      Wed Jul 19 13:44:22 2017 -0400
> # Branch stable
> # Node ID b3453767f02a999701a2bacfe1d093bbea359180
> # Parent  132d4c069e2dee21bd319d536772589a19dcd5d4
> contrib: drop Python 2.6 from manylinux1 wheel script
> 
> diff --git a/contrib/build-linux-wheels.sh b/contrib/build-linux-
> wheels.sh
> --- a/contrib/build-linux-wheels.sh
> +++ b/contrib/build-linux-wheels.sh
> @@ -3,7 +3,7 @@
>  # https://github.com/pypa/python-manylinux-demo/blob/master/travis/b
> uild-wheels.sh
>  set -e -x
>  
> -PYTHON_TARGETS=$(ls -d /opt/python/cp2*/bin)
> +PYTHON_TARGETS=$(ls -d /opt/python/cp27*/bin)
>  
>  # Create an user for the tests
>  useradd hgbuilder

Looks good to me. with these two patches, I've managed to create python
2.7 manylinux wheels. I've go one test failing for both 32 and 64 bits
wheels:

sss.................................s.....sss......s.s....s...s..s....s
.s.s
--- /io/tests/test-http-bad-server.t
+++ /io/tests/test-http-bad-server.t.err
@@ -36,6 +36,7 @@
   $ hg clone http://localhost:$HGPORT/ clone
   abort: error: Connection reset by peer (no-windows !)
   abort: error: An existing connection was forcibly closed by the
remote host (windows !)
+  abort: error: Cannot assign requested address
   [255]
 
 (The server exits on its own, but there is a race between that and
starting a new server.

ERROR: test-http-bad-server.t output changed
!.s...s.........sss.....s.s...................s.................s......
...................................s........s...s...................sss
......ssssss..............................s.........s...s..............
.............s..............s......s.............s.s..........s........
...................................................s..s................
................................s.....s................................
.........s......s.......s........s.s..s............s.s.................
...............................................
Skipped test-convert-git.t: blacklisted
Skipped test-subrepo-git.t: blacklisted
Skipped test-patchbomb-tls.t: blacklisted
Skipped test-subrepo-svn.t: missing feature: subversion client and
admin tools >= 1.5
Skipped test-gendoc-ja.t: missing feature: GNU Gettext (msgfmt)
Skipped test-convert-cvs.t: missing feature: cvs client/server
Skipped test-gendoc.t: missing feature: Docutils text processing
library
Skipped test-convert-svn-sink.t: missing feature: subversion client and
admin tools >= 1.3
Skipped test-convert-svn-move.t: missing feature: subversion python
bindings
Skipped test-convert-svn-source.t: missing feature: subversion python
bindings
Skipped test-check-pyflakes.t: missing feature: Pyflakes python linter
Skipped test-convert-svn-encoding.t: missing feature: subversion python
bindings
Skipped test-convert-cvs-detectmerge.t: missing feature: cvs
client/server
Skipped test-check-pylint.t: missing feature: Pylint python linter
Skipped test-convert-cvs-synthetic.t: missing feature: cvs
client/server 1.12.* (not cvsnt)
Skipped test-gendoc-ro.t: missing feature: GNU Gettext (msgfmt)
Skipped test-convert-cvsnt-mergepoints.t: missing feature: cvs
client/server
Skipped test-highlight.t: missing feature: Pygments source highlighting
library
Skipped test-convert-cvs-branch.t: missing feature: cvs client/server
Skipped test-convert-hg-svn.t: missing feature: subversion python
bindings
Skipped test-convert-svn-branches.t: missing feature: subversion python
bindings
Skipped test-gendoc-de.t: missing feature: GNU Gettext (msgfmt)
Skipped test-convert-p4-filetypes.t: missing feature: Perforce server
and client
Skipped test-convert-svn-startrev.t: missing feature: subversion python
bindings
Skipped test-mq-subrepo-svn.t: missing feature: subversion client and
admin tools >= 1.3
Skipped test-convert-mtn.t: missing feature: monotone client (>= 1.0)
Skipped test-convert-svn-tags.t: missing feature: subversion python
bindings
Skipped test-gendoc-zh_CN.t: missing feature: GNU Gettext (msgfmt)
Skipped test-gendoc-zh_TW.t: missing feature: GNU Gettext (msgfmt)
Skipped test-gendoc-pt_BR.t: missing feature: GNU Gettext (msgfmt)
Skipped test-gendoc-fr.t: missing feature: GNU Gettext (msgfmt)
Skipped test-gendoc-ru.t: missing feature: GNU Gettext (msgfmt)
Skipped test-gendoc-sv.t: missing feature: GNU Gettext (msgfmt)
Skipped test-gendoc-da.t: missing feature: GNU Gettext (msgfmt)
Skipped test-gendoc-it.t: missing feature: GNU Gettext (msgfmt)
Skipped test-gendoc-el.t: missing feature: GNU Gettext (msgfmt)
Skipped test-casecollision-merge.t: missing feature: case insensitive
file system
Skipped test-convert-bzr.t: missing feature: Canonical's Bazaar client
Skipped test-py3-commands.t: missing feature: a Python 3.x interpreter
is available
Skipped test-convert-baz.t: missing feature: GNU Arch baz client
Skipped test-chg.t: missing feature: running with chg
Skipped test-casefolding.t: missing feature: case insensitive file
system
Skipped test-convert-p4.t: missing feature: Perforce server and client
Skipped test-convert-bzr-directories.t: missing feature: Canonical's
Bazaar client
Skipped test-convert-tla.t: missing feature: GNU Arch tla client
Skipped test-convert-darcs.t: missing feature: darcs client
Skipped test-mac-packages.t: missing feature: OS X packaging tools
Skipped test-verify-repo-operations.py: missing feature: allow slow
tests (use --allow-slow-tests)
Skipped test-convert-bzr-merges.t: missing feature: Canonical's Bazaar
client
Skipped test-sparse-fsmonitor.t: skipped
Skipped test-no-symlinks.t: system supports symbolic links
Skipped test-gpg.t: missing feature: gpg client
Skipped test-docker-packaging.t: missing feature: docker support
Skipped test-convert-bzr-ghosts.t: missing feature: Canonical's Bazaar
client
Skipped test-convert-bzr-114.t: missing feature: Canonical's Bazaar
client >= 1.14
Skipped test-convert-bzr-treeroot.t: missing feature: Canonical's
Bazaar client
Skipped test-debian-packages.t: missing feature: debian packaging tools
Failed test-http-bad-server.t: output changed
# Ran 562 tests, 57 skipped, 1 failed.

A number of tests has been skipped or blacklisted (in contrib/linux-
wheel-centos5-blacklist) because wheels are generated on old OS
(centos5). I've send the generated wheel to Augie so we can put them
somehwere and people can start testing them if we want.


More information about the Mercurial-devel mailing list