Skip to content

Commit 4ce330c

Browse files
authored
Merge pull request scikit-build#37 from thomasjo/update-to-latest-cmake
Update to CMake 3.11.2
2 parents a964ab7 + 72f9243 commit 4ce330c

File tree

7 files changed

+23
-20
lines changed

7 files changed

+23
-20
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ pip-log.txt
3636
# Unit test / coverage reports
3737
.cache
3838
.coverage
39+
.pytest_cache
3940
.tox
4041
coverage.xml
4142
htmlcov

CMakeUrls.cmake

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11

22
#-----------------------------------------------------------------------------
33
# CMake sources
4-
set(unix_source_url "https://cmake.org/files/v3.11/cmake-3.11.0.tar.gz")
5-
set(unix_source_sha256 "c313bee371d4d255be2b4e96fd59b11d58bc550a7c78c021444ae565709a656b")
4+
set(unix_source_url "https://cmake.org/files/v3.11/cmake-3.11.2.tar.gz")
5+
set(unix_source_sha256 "5ebc22bbcf2b4c7a20c4190d42c084cf38680a85b1a7980a2f1d5b4a52bf5248")
66

7-
set(windows_source_url "https://cmake.org/files/v3.11/cmake-3.11.0.zip")
8-
set(windows_source_sha256 "6b250f1ffc2e27545b715512e6ef3d1d99139763b1721c961f1599906288fc08")
7+
set(windows_source_url "https://cmake.org/files/v3.11/cmake-3.11.2.zip")
8+
set(windows_source_sha256 "dc24bbbebb428ad7e215e5052eca481b68104dcab4c472cbedd6e5d2dbb23d81")
99

1010
#-----------------------------------------------------------------------------
1111
# CMake binaries
1212

1313
set(linux32_binary_url "NA") # Linux 32-bit binaries not available
1414
set(linux32_binary_sha256 "NA")
1515

16-
set(linux64_binary_url "https://cmake.org/files/v3.11/cmake-3.11.0-Linux-x86_64.tar.gz")
17-
set(linux64_binary_sha256 "5babc7953b50715028a05823d18fd91b62805b10aa7811e5fd02b27224d60f10")
16+
set(linux64_binary_url "https://cmake.org/files/v3.11/cmake-3.11.2-Linux-x86_64.tar.gz")
17+
set(linux64_binary_sha256 "76b745e84ee24323154163f4ab8419076db0c98b89aec05e426ed2f9347a6f62")
1818

19-
set(macosx_binary_url "https://cmake.org/files/v3.11/cmake-3.11.0-Darwin-x86_64.tar.gz")
20-
set(macosx_binary_sha256 "1ea5e27da42817ed80f4bc99bff36acc364420579f6e6d3e59ef5906c67a8286")
19+
set(macosx_binary_url "https://cmake.org/files/v3.11/cmake-3.11.2-Darwin-x86_64.tar.gz")
20+
set(macosx_binary_sha256 "1baca0ccec9b412a83a7001cf8dbfd4f80886c42a99d8855816115a6a3a0e672")
2121

22-
set(win32_binary_url "https://cmake.org/files/v3.11/cmake-3.11.0-win32-x86.zip")
23-
set(win32_binary_sha256 "c473db9e18c1f27024820df917aa2d9d460f69d4cb0305fbf5da7f96ce99754c")
22+
set(win32_binary_url "https://cmake.org/files/v3.11/cmake-3.11.2-win32-x86.zip")
23+
set(win32_binary_sha256 "0d8bf9bf56519733a09bd9f39423514adfbb6513ed4e0508a3222e31f1f8264d")
2424

25-
set(win64_binary_url "https://cmake.org/files/v3.11/cmake-3.11.0-win64-x64.zip")
26-
set(win64_binary_sha256 "e776f4d310b8bc144ab66c3365bfbbd1dcfaad23a13ed0d4929a88a3f4b2bb62")
25+
set(win64_binary_url "https://cmake.org/files/v3.11/cmake-3.11.2-win64-x64.zip")
26+
set(win64_binary_sha256 "8c998fd7c278169e44f19f546de2c9a275e2acc8dbf858f0112a02242dfbbcd2")

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ CMake Python Distributions
1212
:target: https://travis-ci.org/scikit-build/cmake-python-distributions
1313

1414
`CMake <http://www.cmake.org>`_ is used to control the software compilation
15-
process using simple platform and compiler independent configuration files,
15+
process using simple platform and compiler independent configuration files,
1616
and generate native makefiles and workspaces that can be used in the
1717
compiler environment of your choice.
1818

1919
The suite of CMake tools were created by Kitware in response to the need
2020
for a powerful, cross-platform build environment for open-source projects
2121
such as ITK and VTK.
2222

23-
The CMake python wheels provide `CMake 3.11.0 <https://cmake.org/cmake/help/v3.11/index.html>`_.
23+
The CMake python wheels provide `CMake 3.11.2 <https://cmake.org/cmake/help/v3.11/index.html>`_.
2424

2525
This project is maintained by Jean-Christophe Fillion-Robin from Kitware Inc.
2626
It is covered by the `Apache License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`_.

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The suite of CMake tools were created by Kitware in response to the need
1515
for a powerful, cross-platform build environment for open-source projects
1616
such as `ITK <https://www.itk.org>`_ and `VTK <http://www.vtk.org>`_.
1717

18-
The CMake python wheels provide `CMake 3.11.0 <https://cmake.org/cmake/help/v3.11/index.html>`_.
18+
The CMake python wheels provide `CMake 3.11.2 <https://cmake.org/cmake/help/v3.11/index.html>`_.
1919

2020
.. toctree::
2121
:maxdepth: 2

scikit-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ install:
2828
commands:
2929
- python --version
3030
- python -m pip install --disable-pip-version-check --upgrade pip
31+
- pip install -U setuptools
3132
- $<RUN_ENV> pip install -U -r requirements-dev.txt
3233

3334
before_build:

setup.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import sys
44
import versioneer
55

6-
from pip.req import parse_requirements
6+
from distutils.text_file import TextFile
77
from skbuild import setup
88

99

@@ -14,12 +14,13 @@
1414
history = fp.read().replace('.. :changelog:', '')
1515

1616

17-
def _parse_requirements(filename):
18-
return [str(ir.req) for ir in parse_requirements(filename, session=False)]
17+
def parse_requirements(filename):
18+
with open(filename, 'r') as file:
19+
return TextFile(filename, file).readlines()
1920

2021

2122
requirements = []
22-
dev_requirements = _parse_requirements('requirements-dev.txt')
23+
dev_requirements = parse_requirements('requirements-dev.txt')
2324

2425
# Require pytest-runner only when running tests
2526
pytest_runner = (['pytest-runner>=2.0,<3dev']

tests/test_wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def test_command_line(virtualenv, tmpdir):
1313

1414
virtualenv.run("pip install %s" % wheels[0])
1515

16-
expected_version = "3.11.0"
16+
expected_version = "3.11.2"
1717

1818
for executable_name in ["cmake", "cpack", "ctest"]:
1919
output = virtualenv.run(

0 commit comments

Comments
 (0)