Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ea7fa7628 | ||
|
|
3f3effe25d | ||
|
|
328a6714e9 |
@@ -77,7 +77,7 @@ env:
|
|||||||
# Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings
|
# Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- python3 -m pip install cibuildwheel==1.4.0
|
- python3 -m pip install cibuildwheel==1.4.1
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# build the wheels, put them into './wheelhouse'
|
# build the wheels, put them into './wheelhouse'
|
||||||
@@ -143,6 +143,14 @@ This is similar to static linking, so it might have some licence implications. C
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
### 1.4.1
|
||||||
|
|
||||||
|
_4 May 2020_
|
||||||
|
|
||||||
|
- 🐛 Fix a bug causing programs running inside the i686 manylinux images to
|
||||||
|
think they were running x86_64 and target the wrong architecture. (#336,
|
||||||
|
#338)
|
||||||
|
|
||||||
### 1.4.0
|
### 1.4.0
|
||||||
|
|
||||||
_2 May 2020_
|
_2 May 2020_
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = '1.4.0'
|
__version__ = '1.4.1'
|
||||||
|
|||||||
@@ -109,6 +109,7 @@ def build(options: BuildOptions):
|
|||||||
container_name = 'cibuildwheel-{}'.format(uuid.uuid4())
|
container_name = 'cibuildwheel-{}'.format(uuid.uuid4())
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
shell_cmd = ['linux32', '/bin/bash'] if platform_tag.endswith("i686") else ['/bin/bash']
|
||||||
call(['docker', 'create',
|
call(['docker', 'create',
|
||||||
'--env', 'CIBUILDWHEEL',
|
'--env', 'CIBUILDWHEEL',
|
||||||
'--name', container_name,
|
'--name', container_name,
|
||||||
@@ -136,7 +137,7 @@ def build(options: BuildOptions):
|
|||||||
)
|
)
|
||||||
|
|
||||||
call(
|
call(
|
||||||
['docker', 'exec', '-i', container_name, '/bin/bash'],
|
['docker', 'exec', '-i', container_name] + shell_cmd,
|
||||||
universal_newlines=True,
|
universal_newlines=True,
|
||||||
input='''
|
input='''
|
||||||
# give xtrace output an extra level of indent inside docker
|
# give xtrace output an extra level of indent inside docker
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ stack: python 3.7
|
|||||||
init:
|
init:
|
||||||
- cmd: set PATH=C:\Python37;C:\Python37\Scripts;%PATH%
|
- cmd: set PATH=C:\Python37;C:\Python37\Scripts;%PATH%
|
||||||
|
|
||||||
install: python -m pip install cibuildwheel==1.4.0
|
install: python -m pip install cibuildwheel==1.4.1
|
||||||
|
|
||||||
build_script: python -m cibuildwheel --output-dir wheelhouse
|
build_script: python -m cibuildwheel --output-dir wheelhouse
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ jobs:
|
|||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
- bash: |
|
- bash: |
|
||||||
python3 -m pip install --upgrade pip
|
python3 -m pip install --upgrade pip
|
||||||
pip3 install cibuildwheel==1.4.0
|
pip3 install cibuildwheel==1.4.1
|
||||||
cibuildwheel --output-dir wheelhouse .
|
cibuildwheel --output-dir wheelhouse .
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs: {pathtoPublish: 'wheelhouse'}
|
inputs: {pathtoPublish: 'wheelhouse'}
|
||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
- bash: |
|
- bash: |
|
||||||
python3 -m pip install --upgrade pip
|
python3 -m pip install --upgrade pip
|
||||||
pip3 install cibuildwheel==1.4.0
|
pip3 install cibuildwheel==1.4.1
|
||||||
cibuildwheel --output-dir wheelhouse .
|
cibuildwheel --output-dir wheelhouse .
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs: {pathtoPublish: 'wheelhouse'}
|
inputs: {pathtoPublish: 'wheelhouse'}
|
||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
displayName: Install Visual C++ for Python 2.7
|
displayName: Install Visual C++ for Python 2.7
|
||||||
- bash: |
|
- bash: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install cibuildwheel==1.4.0
|
pip install cibuildwheel==1.4.1
|
||||||
cibuildwheel --output-dir wheelhouse .
|
cibuildwheel --output-dir wheelhouse .
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs: {pathtoPublish: 'wheelhouse'}
|
inputs: {pathtoPublish: 'wheelhouse'}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Build the Linux wheels.
|
name: Build the Linux wheels.
|
||||||
command: |
|
command: |
|
||||||
pip3 install --user cibuildwheel==1.4.0
|
pip3 install --user cibuildwheel==1.4.1
|
||||||
cibuildwheel --output-dir wheelhouse
|
cibuildwheel --output-dir wheelhouse
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: wheelhouse/
|
path: wheelhouse/
|
||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Build the OS X wheels.
|
name: Build the OS X wheels.
|
||||||
command: |
|
command: |
|
||||||
pip3 install --user cibuildwheel==1.4.0
|
pip3 install --user cibuildwheel==1.4.1
|
||||||
cibuildwheel --output-dir wheelhouse
|
cibuildwheel --output-dir wheelhouse
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: wheelhouse/
|
path: wheelhouse/
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install cibuildwheel
|
- name: Install cibuildwheel
|
||||||
run: |
|
run: |
|
||||||
python -m pip install cibuildwheel==1.4.0
|
python -m pip install cibuildwheel==1.4.1
|
||||||
|
|
||||||
- name: Install Visual C++ for Python 2.7
|
- name: Install Visual C++ for Python 2.7
|
||||||
if: startsWith(matrix.os, 'windows')
|
if: startsWith(matrix.os, 'windows')
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ env:
|
|||||||
# Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings
|
# Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- python3 -m pip install cibuildwheel==1.4.0
|
- python3 -m pip install cibuildwheel==1.4.1
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# build the wheels, put them into './wheelhouse'
|
# build the wheels, put them into './wheelhouse'
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
- ln -s /c/Python38/python.exe /c/Python38/python3.exe
|
- ln -s /c/Python38/python.exe /c/Python38/python3.exe
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- python3 -m pip install cibuildwheel==1.4.0
|
- python3 -m pip install cibuildwheel==1.4.1
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# build the wheels, put them into './wheelhouse'
|
# build the wheels, put them into './wheelhouse'
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ jobs:
|
|||||||
- stage: deploy
|
- stage: deploy
|
||||||
name: Build and deploy Linux wheels
|
name: Build and deploy Linux wheels
|
||||||
services: docker
|
services: docker
|
||||||
install: python3 -m pip install cibuildwheel==1.4.0
|
install: python3 -m pip install cibuildwheel==1.4.1
|
||||||
script: python3 -m cibuildwheel --output-dir wheelhouse
|
script: python3 -m cibuildwheel --output-dir wheelhouse
|
||||||
after_success: |
|
after_success: |
|
||||||
python3 -m pip install twine
|
python3 -m pip install twine
|
||||||
@@ -66,7 +66,7 @@ jobs:
|
|||||||
name: Build and deploy macOS wheels
|
name: Build and deploy macOS wheels
|
||||||
os: osx
|
os: osx
|
||||||
language: shell
|
language: shell
|
||||||
install: python3 -m pip install cibuildwheel==1.4.0
|
install: python3 -m pip install cibuildwheel==1.4.1
|
||||||
script: python3 -m cibuildwheel --output-dir wheelhouse
|
script: python3 -m cibuildwheel --output-dir wheelhouse
|
||||||
after_success: |
|
after_success: |
|
||||||
python3 -m pip install twine
|
python3 -m pip install twine
|
||||||
@@ -76,7 +76,7 @@ jobs:
|
|||||||
name: Build and deploy Windows wheels
|
name: Build and deploy Windows wheels
|
||||||
os: windows
|
os: windows
|
||||||
language: shell
|
language: shell
|
||||||
install: python3 -m pip install cibuildwheel==1.4.0
|
install: python3 -m pip install cibuildwheel==1.4.1
|
||||||
script: python3 -m cibuildwheel --output-dir wheelhouse
|
script: python3 -m cibuildwheel --output-dir wheelhouse
|
||||||
after_success: |
|
after_success: |
|
||||||
python3 -m pip install twine
|
python3 -m pip install twine
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ markdown_extensions:
|
|||||||
permalink: True
|
permalink: True
|
||||||
- attr_list
|
- attr_list
|
||||||
- admonition
|
- admonition
|
||||||
|
- pymdownx.magiclink:
|
||||||
|
repo_url_shortener: True
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
- importmarkdown
|
- importmarkdown
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
-e ./docs/mkdocs_include_markdown_plugin
|
-e ./docs/mkdocs_include_markdown_plugin
|
||||||
pytest
|
pytest
|
||||||
mkdocs==1.0.4
|
mkdocs==1.0.4
|
||||||
|
pymdown-extensions
|
||||||
pip-tools
|
pip-tools
|
||||||
requests
|
requests
|
||||||
click
|
click
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ with io.open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='cibuildwheel',
|
name='cibuildwheel',
|
||||||
version='1.4.0',
|
version='1.4.1',
|
||||||
install_requires=['bashlex!=0.13'],
|
install_requires=['bashlex!=0.13'],
|
||||||
description="Build Python wheels on CI with minimal configuration.",
|
description="Build Python wheels on CI with minimal configuration.",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import os
|
import os
|
||||||
|
import platform
|
||||||
import sys
|
import sys
|
||||||
|
import struct
|
||||||
from unittest import TestCase
|
from unittest import TestCase
|
||||||
|
|
||||||
import spam
|
import spam
|
||||||
@@ -43,3 +45,12 @@ class TestSpam(TestCase):
|
|||||||
print("=[listdir]2", os.listdir(os.path.join(virtualenv_path, 'bin')))
|
print("=[listdir]2", os.listdir(os.path.join(virtualenv_path, 'bin')))
|
||||||
self.assertTrue(path_contains(virtualenv_path, sys.executable))
|
self.assertTrue(path_contains(virtualenv_path, sys.executable))
|
||||||
self.assertTrue(path_contains(virtualenv_path, spam.__file__))
|
self.assertTrue(path_contains(virtualenv_path, spam.__file__))
|
||||||
|
|
||||||
|
def test_uname(self):
|
||||||
|
if platform.system() == "Windows":
|
||||||
|
return
|
||||||
|
# if we're running in 32-bit Python, check that the machine is i686.
|
||||||
|
# See #336 for more info.
|
||||||
|
bits = struct.calcsize("P") * 8
|
||||||
|
if bits == 32:
|
||||||
|
self.assertEqual(platform.machine(), "i686")
|
||||||
|
|||||||
Reference in New Issue
Block a user