Commit Graph
100 Commits
Author SHA1 Message Date
Yannick Jadoul a06998e2f6 Merge pull request #366 from YannickJadoul/ignore-docker-rm
Ignore errors when cleaning up docker container in linux.py
2020-06-02 21:45:50 +02:00
Yannick Jadoul 46688ae3f9 Revert previous solution and just don't try removing the container if 'docker create' errors 2020-06-02 17:15:27 +02:00
Yannick Jadoul a0dab888a7 Ignore errors when cleaning up docker container in linux.py 2020-06-02 15:09:41 +02:00
Yannick Jadoul ac0012e3da Merge pull request #315 from YannickJadoul/type-annotations
Add type annotations and drop Python 3.5 host support
2020-05-09 02:37:58 +02:00
Yannick Jadoul 0368d58065 Run mypy in CircleCI job 2020-05-07 00:41:16 +02:00
Yannick Jadoul 9daad5c60c Ignore .mypy_cache and add mypy configuration to setup.cfg 2020-05-07 00:28:57 +02:00
Yannick Jadoul 4683ac3d6c Remove macOS Python 3.7 job on CircleCI 2020-05-07 00:28:53 +02:00
Yannick Jadoul 7cc85c2e4f Replace Callable[[str], bool] by BuildSelector 2020-05-07 00:07:14 +02:00
Yannick Jadoul 891e2dd6aa Fixing some review remarks 2020-05-06 23:57:33 +02:00
Yannick Jadoul 575e229514 Drop 3.5 host support and adapt CI configurations 2020-05-06 23:57:00 +02:00
Yannick Jadoul 1a765ac431 Use variable annotations instead of workarounds 2020-05-06 23:55:54 +02:00
Yannick Jadoul 5bdb21b705 More type annotations after rebasing 2020-05-06 23:55:54 +02:00
Yannick Jadoul 40967a6572 collections.namedtuple to typing.NameTuple and flake8 fixes 2020-05-06 23:55:54 +02:00
Yannick Jadoul c128018590 Clean up bashlex_eval.py's types 2020-05-06 23:55:54 +02:00
Yannick Jadoul 618f1cefae Added majority of type annotations (to a by now outdated version) 2020-05-06 23:55:54 +02:00
Yannick Jadoul 185a1c09ad Update docs on workaround for modern MSVC/C++ in Python 2.7 2020-05-04 23:39:59 +02:00
Yannick Jadoul 3d4a6b0765 Only build Python 2.7 wheel in test_cpp17_py27_modern_msvc_workaround 2020-05-04 23:39:59 +02:00
Yannick Jadoul 7eb82bf90c Add note in CI.md about reduced tests on AppVeyor 2020-05-04 23:39:59 +02:00
Yannick Jadoul 5986c91937 Also try to build C++14/C++17 wheels for PyPy 3.6 with default MSVC 2020-05-04 23:39:59 +02:00
Yannick Jadoul 63421d40f0 Testing if cp35 works for modern C++ 2020-05-04 23:39:59 +02:00
Yannick Jadoul e11c0c2dd1 Simplify and clarify test_cpp17_modern_msvc_workaround 2020-05-04 23:39:59 +02:00
Yannick Jadoul 362b4314cb Make distinction between 32- and 64-bit Python wheels 2020-05-04 23:39:59 +02:00
Yannick Jadoul ba60f1865f Use setuptools backported versions of distutils._msvccompiler in setuptools.msvc to get environment variables from vcvarsall 2020-05-04 23:39:59 +02:00
Yannick Jadoul f0e65d9f5a Correct VC++ version in test_cpp17_modern_msvc_workaround 2020-05-04 23:39:59 +02:00
Yannick Jadoul e1881976e8 Add test to build wheels on Windows for C++17, setting DISTUTILS_USE_SDK and MSSdk to not use vcpython27 or MSVC 10 2020-05-04 23:39:59 +02:00
Yannick Jadoul 328a6714e9 Enable pymdownx.magiclink to get automatic links for URLs in the Markdown docs 2020-05-04 00:32:18 +02:00
Yannick Jadoul e2cafa487b Cherry pick: Drop 3.5 host support and adapt CI configurations 2020-05-03 10:37:09 +01:00
Yannick Jadoul 2e4a29bf1f Updating the description of C++17 support on macOS (#330)
* Updating the description of C++17 support on macOS, adding nuances about runtime library support vs. C++17 compiler/STL features

* Improve phrasing of macOS C++17 docs with suggested edits
2020-05-02 09:58:48 +01:00
Yannick JadoulandJoe Rickerby dadf6a7ac9 PyPy 7.3.1 (#304)
* Testing PyPy 7.3.1rc1/7.3.1rc2

* Try PyPy's fix for macOS

* 7.3.1rc3

* Update PyPy to 7.3.1

* Using latest pypywheels/manylinux2010-pypy_x86_64:2020-04-15-4ce2a6f with PyPy 7.3.1

* Rehost pypy-7.3.1 on Github to guard against bitbucket links going away

The pypy team plan to have a CDN in front of their buildbot downloads
page, but the timeline is unknown. In the meantime, this should be more
reliable than the bitbucket links!

* Updating macOS and Windows download links for PyPy to https://downloads.python.org/pypy/

Co-authored-by: Joe Rickerby <joerick@mac.com>
2020-04-28 19:05:28 +01:00
Yannick Jadoul 882ea3426a Merge remote-tracking branch 'upstream/master' 2020-04-09 15:20:05 +02:00
Yannick Jadoul 25f2e8cb46 Fix flake8 2020-04-09 14:37:12 +02:00
Yannick Jadoul b8dbedcdbe Remove explicit object base class of DependencyConstraints 2020-04-08 16:43:01 +02:00
Yannick Jadoul 8be6d47eec Merge pull request #313 from YannickJadoul/less-appveyor
Only run unit tests and 01_basic on AppVeyor
2020-04-08 16:24:44 +02:00
Yannick Jadoul b0d99df007 Allow failure for macOS job on AppVeyor 2020-04-08 15:10:48 +02:00
Yannick Jadoul f38eb2644f Run all tests on AppVeyor on master and appveyor-* branches 2020-04-08 13:18:27 +02:00
Yannick Jadoul 3a3d1a4d2b Only run unit tests and 01_basic on AppVeyor 2020-04-08 10:45:12 +02:00
Yannick Jadoul 49bbbec7f0 Fix flake8 whitespace warnings 2020-04-08 10:24:16 +02:00
Yannick Jadoul c22d50427c Merge pull request #297 from YannickJadoul/travis-yml-reference-allow_failures
Use yaml anchors and references to not repeat full job in allow_failures
2020-03-10 01:05:29 +01:00
Yannick Jadoul ce85c8730d Use yaml anchors and references to not repeat full job in allow_failures 2020-03-09 21:03:15 +01:00
Yannick Jadoul 774af30d71 Merge pull request #274 from YannickJadoul/undo-virtualenv-workaround
Revert "Keeping virtualenv<20 on macOS, until problems get fixed by new release"
2020-02-28 18:51:20 +01:00
Yannick Jadoul 1199d78d88 Always unset __PYVENV_LAUNCHER__ environment variable to avoid unwanted surprises 2020-02-27 16:56:47 +01:00
Yannick Jadoul 7d0cc37b17 Revert "Keeping virtualenv<20 on macOS, until problems get fixed by new release"
This reverts commit 691174cf11.
2020-02-25 13:36:21 +01:00
Yannick Jadoul 65792bd700 Merge pull request #264 from YannickJadoul/check-python-path
Checking python in PATH is the one `cibuildwheel` installed/expects
2020-02-20 12:10:37 +01:00
Yannick Jadoul d14427d781 Adding more informative error messages 2020-02-20 00:17:06 +01:00
Yannick Jadoul 2ce304d5d9 Add test checking cibuildwheel detects when PATH is messed up by CIBW_ENVIRONMENT 2020-02-20 00:16:09 +01:00
Yannick Jadoul 42a231f830 Making sure that python and pip are the ones we expect 2020-02-20 00:16:03 +01:00
Yannick Jadoul 4f47ab8052 Merge pull request #185 from YannickJadoul/pypy
Adding PyPy support
2020-02-20 00:06:04 +01:00
Yannick Jadoul cf73c3355e Addressing a few more minor remarks of @joerick 2020-02-19 17:10:17 +01:00
Yannick Jadoul 60dd3f0807 Fixing paths of PyPy on manylinux after PyPy's manylinux image's update 2020-02-19 17:10:17 +01:00
Yannick Jadoul 8c6abf3811 Pushing creation of symlinks into install_cpython and install_pypy 2020-02-19 17:10:17 +01:00
Yannick Jadoul fc0dbe15d5 Fixing flake8 errors and warnings after rebasing 2020-02-19 17:10:17 +01:00
Yannick Jadoul 0423d79e63 Dropping PyPy version from PyPy build identifiers 2020-02-19 17:10:17 +01:00
Yannick Jadoul fd0a789988 Fix minor review comment from @Czaki and @joerick 2020-02-19 17:10:13 +01:00
Yannick Jadoul 1e317895fe Adding PyPy images to main_options_test::test_manylinux_images 2020-02-15 23:47:07 +01:00
Yannick Jadoul b743b8ae5b Fixing Windows tests by skipping pp27 in 10_cpp_standards tests (and pp36 for C++17) on Windows 2020-02-15 23:47:03 +01:00
Yannick Jadoul 60f198c90d Changing the expected wheel filenames to the new pip>=20 tags 2020-02-15 23:24:51 +01:00
Yannick Jadoul 11423a47f6 Reverting PyPy manylinux docker image back to the official version, now that it supports 7.3.0 2020-02-15 23:24:51 +01:00
Yannick Jadoul aac5db8a46 Cleaning up Python installations on Windows and macOS, and creating PyPy executable python symlinks outside of installation directory 2020-02-15 23:24:51 +01:00
Yannick Jadoul 17137c3c2f Changing *-manylinux_pypy_x86_64 build identifiers to *-manylinux_x86_64 2020-02-15 23:24:51 +01:00
Yannick Jadoul bafb4fd294 Adding PyPy to the README and docs 2020-02-15 23:24:51 +01:00
Yannick Jadoul fea54e25ab PyPy 7.3.0 released! 2020-02-15 23:24:51 +01:00
Yannick Jadoul 4c718706c8 Trying out PyPy 7.3.0rc3 on manylinux2010 as well, with a temporary newer version of manylinux2010-pypy_x86_64 image 2020-02-15 23:24:51 +01:00
Yannick Jadoul 08d3ee1d91 Updating PyPy to v7.3.0rc3 on macOS and Windows 2020-02-15 23:24:51 +01:00
Yannick Jadoul e80f7f4774 Trying out PyPy 7.3.0rc1 on macOS and Windows 2020-02-15 23:24:51 +01:00
Yannick Jadoul 186e09d543 Implementing @mayeut's suggestion for alternative way of generating CPython/PyPy manylinux and Windows platform tags in test/shared/utils.py 2020-02-15 23:24:51 +01:00
Yannick Jadoul ae6832e18d Building PyPy wheels on macOS 2020-02-15 23:24:51 +01:00
Yannick Jadoul 743051a453 Using C:\cibw as base folder for PyPy installation (cfr. #197) 2020-02-15 23:24:51 +01:00
Yannick Jadoul 129cf601da Building PyPy wheels on Windows 2020-02-15 23:24:51 +01:00
Yannick Jadoul dd26ef8ac6 Updated PyPy from 7.1.1 to 7.2.0 2020-02-15 23:24:51 +01:00
Yannick Jadoul ef80beb433 Skipping PyPy for 06_docker_images test, and manylinux1 and manylinux2014 runs of 08_manylinuxXXXX_only test 2020-02-15 23:24:51 +01:00
Yannick Jadoul 100fc14411 Adding PyPy builds to Linux, using the manylinux2010-pypy_x86_64 image 2020-02-15 23:24:51 +01:00
Yannick Jadoul d9948da29a Merge pull request #212 from nsoranzo/flake8
Fix all PEP-008 issues
2020-02-14 18:14:36 +01:00
Yannick Jadoul 1e420a9b57 Merge pull request #270 from YannickJadoul/debug-virtualenv
Fixing macOS CI and tests after lastest release of virtualenv
2020-02-14 14:06:17 +01:00
Yannick Jadoul 691174cf11 Keeping virtualenv<20 on macOS, until problems get fixed by new release 2020-02-14 13:32:49 +01:00
Yannick Jadoul 0b0830fbbb Merge pull request #265 from YannickJadoul/drop-2.7
Dropping Python 2.7 host support
2020-02-04 23:35:19 +01:00
Yannick Jadoul 165e51aec5 Remove 'from __future__ import print_function' lines 2020-02-04 11:58:52 +01:00
Yannick Jadoul e8d121552c Remove a few more Python 2-compatibility workarounds 2020-02-04 11:58:52 +01:00
Yannick Jadoul 67ec8fe99f Removing Python 2-compatible imports of urllib.request.open and shlex.quote 2020-02-04 11:58:52 +01:00
Yannick Jadoul b900b2d51e Ditching run_docker for subprocess.run 2020-02-04 11:58:52 +01:00
Yannick Jadoul 9fe8d29545 Dropping Python 2 from setup.py 2020-02-04 11:58:52 +01:00
Yannick Jadoul 692c64ffd9 Removing Python 2 configurations for CI runs 2020-02-04 11:58:50 +01:00
Yannick Jadoul ffec9aecf8 Update line in docs/cpp_standards.md on setting MACOSX_DEPLOYMENT_TARGET >= 10.9 (see #220) 2020-02-02 20:07:22 +01:00
Yannick Jadoul 88029d2a28 Clean up temporary workaround in test/06_docker_images/cibuildwheel_test.py 2020-01-30 17:20:14 +01:00
Yannick Jadoul aca7611fc4 Merge pull request #248 from YannickJadoul/travis-ci-if-tagged
Remove check for branch of tags in examples/travis-ci-test-and-deploy.yml; fix #246
2020-01-17 11:00:00 +01:00
Yannick Jadoul 9d44d9edf0 Remove check for branch of tags in examples/travis-ci-test-and-deploy.yml; fix #246 2020-01-16 17:17:20 +01:00
Yannick Jadoul 0d5a2a7843 Moving MACOSX_DEPLOYMENT_TARGET from test utils' expected_wheels to run_cibuildwheel, and some minor style fixes 2020-01-16 16:10:05 +01:00
Yannick Jadoul e64916fe9c Rewording a few things in cpp_standards.md, and some other minor fixes 2020-01-16 16:10:05 +01:00
Yannick Jadoul 9648b44bdf Merge pull request #232 from Czaki/improve_platform_tag_tests
Test main function with unit tests
2019-12-30 20:12:38 +01:00
Yannick Jadoul 492b5f4039 Splitting off fake_project_dir fixture from mock_protection, only mocking os.path.exist for setup.py in the mocked project directory 2019-12-27 00:56:00 +01:00
Yannick Jadoul fabb82e9cf Add manylinux2014 to unit_test/main_options_test.py::test_manylinux_images 2019-12-26 15:03:13 +01:00
Yannick Jadoul 8bfe9ac6cd Fix @joerick's remarks in unit_test/main_options_test.py 2019-12-26 14:55:08 +01:00
Yannick Jadoul de55153931 Remove 'from cibuildwheel import linux, macos, windows' from new tests, as imports are done in fixtures 2019-12-26 14:55:08 +01:00
Yannick Jadoul a9c968868a Fix main_platform_test.py::test_platform_argument, making sure --platform overrides CIBW_PLATFORM 2019-12-26 14:55:08 +01:00
Yannick Jadoul 05e7858815 Refactoring main_function_test.py 2019-12-26 14:55:08 +01:00
Yannick Jadoul 795413e5c0 Fix typo in docs 2019-12-15 13:55:44 +01:00
Yannick Jadoul eda3dc1a4f Moving Azure, AppVeyor, and CircleCI minimal examples in docs also to their own file under examples/ 2019-12-10 14:57:25 +01:00
Yannick Jadoul 472fa32d9f Added {% include ... %} directive for including examples/travis-ci-minimal.yml in docs/setup.md 2019-12-08 23:51:09 +01:00
Yannick Jadoul 2f41683e85 Including example Travis CI configuration from examples/ directory in docs/setup.md 2019-12-08 23:50:47 +01:00
Yannick Jadoul 34515b78c6 Merge pull request #209 from YannickJadoul/silence-script-not-on-path-warnings
Avoid script location warnings on Windows
2019-11-14 11:59:40 +01:00
Yannick Jadoul 7d99ccfc7b Collapse multiple 'pip install's into one in windows.py and macos.py, and replace full path by 'python' in windows.py 2019-11-12 23:47:06 +01:00