{"action":"opened","issue":{"url":"https://api.github.com/repos/python-cmake-buildsystem/python-cmake-buildsystem/issues/116","repository_url":"https://api.github.com/repos/python-cmake-buildsystem/python-cmake-buildsystem","labels_url":"https://api.github.com/repos/python-cmake-buildsystem/python-cmake-buildsystem/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/python-cmake-buildsystem/python-cmake-buildsystem/issues/116/comments","events_url":"https://api.github.com/repos/python-cmake-buildsystem/python-cmake-buildsystem/issues/116/events","html_url":"https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/issues/116","id":144355938,"number":116,"title":"Bump CMake minimum required version ","user":{"login":"jcfr","id":219043,"avatar_url":"https://avatars.githubusercontent.com/u/219043?v=3","gravatar_id":"","url":"https://api.github.com/users/jcfr","html_url":"https://github.com/jcfr","followers_url":"https://api.github.com/users/jcfr/followers","following_url":"https://api.github.com/users/jcfr/following{/other_user}","gists_url":"https://api.github.com/users/jcfr/gists{/gist_id}","starred_url":"https://api.github.com/users/jcfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcfr/subscriptions","organizations_url":"https://api.github.com/users/jcfr/orgs","repos_url":"https://api.github.com/users/jcfr/repos","events_url":"https://api.github.com/users/jcfr/events{/privacy}","received_events_url":"https://api.github.com/users/jcfr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-29T18:58:33Z","updated_at":"2016-03-29T18:58:33Z","closed_at":null,"body":"To simplify the build system and remove some of the workaround needed to support older version of CMake, I was thinking to bump the minimum required version to CMake. \r\n\r\nLooking at the table below compiled using detailed data reported further down, bumping to CMake 2.8.11 will allow to use the CMake executable provided by most of the system (expect Centos 5 and 7).\r\n\r\nOr we could bump the requirement to CMake 3.5 and expect developer to either download the latest CMake binaries or build CMake from source.\r\n\r\nWhat do you all think ?\r\n\r\n\r\n| System  | Available CMake version |\r\n| ------------- | ------------- |\r\n| Debian stable (Jessie) | 3.0.2  |\r\n| Ubuntu 15.10 LTS (wily) |  3.2.2 |\r\n| Fedora 23 | 3.4.1 |\r\n| Manylinux (based of Centos 5.11) | 2.6.4 |\r\n| CentOS 7 |  2.8.11 |\r\n| CentOS 6 |  2.8.12 |\r\n| CentOS 5 |  2.6.4 |\r\n| OpenSuse 13.X | 3.2.2 |\r\n| RedHat EL 5,6,7| 2.8.11 |\r\n| Windows (Chocolatey) | 3.4.3 |\r\n| MacOSX (Homebrew) | 3.5.0 |\r\n| MacOSX (MacPort) | 3.5.1 |\r\n\r\n\r\n\r\n\r\nTo help make a decision, as of March 29th 2016, I collected these info:\r\n\r\n* [manylinux](https://github.com/pypa/manylinux/blob/master/docker/Dockerfile-x86_64) is based of `centos:5.11` and provides `cmake-2.6.4-5.el5.4.x86_64.rpm`. See http://mirror.centos.org/centos/5.11/os/x86_64/CentOS/\r\n\r\n* chocolatey: provides CMake 3.4.3. See https://chocolatey.org/packages/cmake\r\n\r\n* homebrew:  Formula for `cmake-3.5.0`. See https://github.com/Homebrew/homebrew/blob/master/Library/Formula/cmake.rb\r\n\r\n* macport: `cmake-3.5.1`. See https://www.macports.org/ports.php?by=library&substr=cmake\r\n\r\n* debian: https://packages.debian.org/search?keywords=cmake\r\n\r\n```\r\n    wheezy (oldstable) (devel): cross-platform, open-source make system\r\n    2.8.9-1: amd64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc\r\n    wheezy-backports (devel): cross-platform, open-source make system\r\n    2.8.11.1-1~bpo70+1: amd64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc\r\n    jessie (stable) (devel): cross-platform, open-source make system\r\n    3.0.2-1: amd64 arm64 armel armhf i386 mips mipsel powerpc ppc64el s390x\r\n    stretch (testing) (devel): cross-platform, open-source make system\r\n    3.5.0-1: amd64 arm64 armel armhf i386 mips mipsel powerpc ppc64el s390x\r\n    sid (unstable) (devel): cross-platform, open-source make system\r\n    3.5.0-1: alpha amd64 arm64 armel armhf hppa hurd-i386 i386 m68k mips mipsel powerpc ppc64 ppc64el s390x sh4 sparc64 x32\r\n    3.2.2-2+b1: kfreebsd-amd64 kfreebsd-i386\r\n```\r\n\r\n* Ubuntu: http://packages.ubuntu.com/search?searchon=names&keywords=cmake\r\n\r\n```\r\n    precise (12.04LTS) (devel): cross-platform, open-source make system\r\n    2.8.7-0ubuntu4: amd64 i386\r\n    precise-updates (devel): cross-platform, open-source make system\r\n    2.8.7-0ubuntu5: amd64 i386\r\n    trusty (14.04LTS) (devel): cross-platform, open-source make system\r\n    2.8.12.2-0ubuntu3: amd64 i386\r\n    vivid (devel): cross-platform, open-source make system\r\n    3.0.2-1ubuntu2: amd64 i386\r\n    wily (devel): cross-platform, open-source make system\r\n    3.2.2-2ubuntu3: amd64 i386\r\n    xenial (devel): cross-platform, open-source make system\r\n    3.3.2is3.2.2-0ubuntu5: amd64 i386\r\n```\r\n\r\n* Gentoo: `CMake 3.5.1` See https://packages.gentoo.org/packages/dev-util/cmake\r\n\r\n* RPM based distrib:\r\n\r\n```\r\nScientific Linux 7 \tftp.sourceforge.net/pub/sourceforge/s/sl/sl7-i686-project/yum/FEDOREL7/FULLMISSING/cmake-2.8.11-4.el7.i686.rpm\r\nScientific Linux 6 \tftp.scientificlinux.org/linux/scientific/6rolling/x86_64/os/Packages/cmake-2.8.12.2-4.el6.x86_64.rpm\r\nScientific Linux 5 \tftp.scientificlinux.org/linux/scientific/5rolling/x86_64/SL/cmake-2.6.4-5.el5.4.x86_64.rpm\r\nRedHat EL 7 \tpkgs.repoforge.org/cmake/cmake-2.8.8-1.el7.rfx.x86_64.rpm\r\nRedHat EL 6 \tpkgs.repoforge.org/cmake/cmake-2.8.8-1.el6.rfx.x86_64.rpm\r\nRedHat EL 5 \tpkgs.repoforge.org/cmake/cmake-2.8.8-1.el5.rfx.x86_64.rpm\r\nOpenSuSE 13.X \tpackman.iu-bremen.de/suse/openSUSE_13.1/Essentials/x86_64/cmake-3.2.2-200.2.x86_64.rpm\r\nOpenSuSE 12.X \tpackman.iu-bremen.de/suse/openSUSE_12.3/Essentials/x86_64/cmake-3.2.2-200.1.x86_64.rpm\r\nOpenSuSE 11.X \tpackman.iu-bremen.de/suse/openSUSE_11.4/Essentials/x86_64/cmake-3.1.3-184.1.x86_64.rpm\r\nMageia 5 \tdistrib-coffee.ipsl.jussieu.fr/mageia/distrib/5/x86_64/media/core/updates/cmake-3.0.2-1.mga5.x86_64.rpm\r\nMageia 4 \tdistrib-coffee.ipsl.jussieu.fr/mageia/distrib/4/x86_64/media/core/release/cmake-2.8.12.1-1.mga4.x86_64.rpm\r\nMageia 3 \tdistrib-coffee.ipsl.jussieu.fr/mageia/distrib/3/x86_64/media/core/release/cmake-2.8.10.2-5.mga3.x86_64.rpm\r\nFedora 23 \tdownload.fedora.redhat.com/pub/fedora/linux/updates/23/x86_64/c/cmake-3.4.1-4.fc23.x86_64.rpm\r\nFedora 22 \tdownload.fedora.redhat.com/pub/fedora/linux/updates/22/x86_64/c/cmake-3.3.2-1.fc22.x86_64.rpm\r\nFedora 21 \tftp5.gwdg.de/pub/opensuse/repositories/devel:/cloverleaf:/testing/Fedora_21/x86_64/cmake-3.2.1-3.1.fc21.x86_64.rpm\r\nFedora 20 \tftp5.gwdg.de/pub/opensuse/repositories/Openwsman/Fedora_20/x86_64/cmake-3.0.0-142.1.x86_64.rpm\r\nFedora 19 \tftp5.gwdg.de/pub/opensuse/repositories/Openwsman/Fedora_19/x86_64/cmake-3.0.0-142.1.x86_64.rpm\r\nFedora 18 \tftp5.gwdg.de/pub/opensuse/repositories/Openwsman/Fedora_18/x86_64/cmake-2.8.11.2-106.1.x86_64.rpm\r\nFedora 17 \tftp5.gwdg.de/pub/opensuse/repositories/Openwsman/Fedora_17/x86_64/cmake-2.8.11.2-106.1.x86_64.rpm\r\nCentOS 7 \tftp.centos.org/7.2.1511/os/x86_64/Packages/cmake-2.8.11-5.el7.x86_64.rpm\r\nCentOS 6 \tftp.centos.org/6.7/os/x86_64/Packages/cmake-2.8.12.2-4.el6.x86_64.rpm\r\nCentOS 5 \tftp.centos.org/5.11/os/x86_64/CentOS/cmake-2.6.4-5.el5.4.x86_64.rpm\r\n```\r\n\r\nList above obtained by:\r\n(1) manually copying output of search illustrated below into file `~/Projects/cmake-pbone-list.txt`\r\n(2) running `cat ~/Projects/cmake-pbone-list.txt | sort -r | uniq > ~/Projects/cmake-pbone-list-filtered.txt`\r\n(3) manually editing files `~/Projects/cmake-pbone-list-filtered.txt` keeping the first entry of each distrib\r\n\r\n![2016 03 29_cmake_pbone_search](https://cloud.githubusercontent.com/assets/219043/14119459/3fb47926-f5bc-11e5-9ec7-134235a36347.png)\r\n"}}