Skip to content

minor fixes including python3 fix #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 5, 2017
Merged

minor fixes including python3 fix #14

merged 1 commit into from
Jul 5, 2017

Conversation

tgarc
Copy link
Contributor

@tgarc tgarc commented Jul 2, 2017

  • In linux environment, if there was no matching python configurations for a
    particular architecture (i.e. if that architecture was skipped) the docker
    build script would just crash. The offending line:

    for whl in /tmp/linux_wheels/*.whl; do

    would result in whl being equal to the unexpanded glob expression. Rather
    than checking this in the bash script, python checks whether there are any
    actual wheels to build and skips the script if there are none.

  • added universal_newlines=True when making the call to grab the package name -
    this fix is required for python3 since other a bytes prefix (b'') will be
    added to the package name

  • In the linux/docker environment, added a try/catch statement around the
    docker script for KeyboardInterrupt that will kill the docker subprocess in
    cases where cibuildwheel is being run interactively.

+ In linux environment, if there was no matching python configurations for a
  particular architecture (i.e. if that architecture was skipped) the docker
  build script would just crash. The offending line:

    for whl in /tmp/linux_wheels/*.whl; do

  would result in whl being equal to the unexpanded glob expression. Rather
  than checking this in the bash script, python checks whether there are any
  actual wheels to build and skips the script if there are none.

+ added universal_newlines=True when making the call to grab the package name -
  this fix is required for python3 since other a bytes prefix (b'') will be
  added to the package name

+ In the linux/docker environment, added a try/catch statement around the
  docker script for KeyboardInterrupt that will kill the docker subprocess in
  cases where cibuildwheel is being run interactively.
@tgarc
Copy link
Contributor Author

tgarc commented Jul 2, 2017

BTW this has no relation to recent discussions (e.g. #11)

@joerick joerick merged commit 5b7f105 into pypa:master Jul 5, 2017
@joerick
Copy link
Contributor

joerick commented Jul 5, 2017

Thanks tgarc!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants