Skip to content
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

Unbreak CI wheel building on Linux #90

Merged
merged 8 commits into from
Jul 3, 2018
Merged

Unbreak CI wheel building on Linux #90

merged 8 commits into from
Jul 3, 2018

Conversation

madig
Copy link
Collaborator

@madig madig commented Jul 2, 2018

Edit: So, the 2.0 release was botched. The bundling didn't work on Linux because the FREETYPEPY_BUNDLE_FT variable didn't reach the Docker container. This PR makes it work. AppVeyor deployment may need a separate fix.

@madig
Copy link
Collaborator Author

madig commented Jul 2, 2018

Something's wrong. The Linux bundling jobs do not bundle the library and the non-bundling job does not create a universal wheel. The macOS build seems to work as expected.

@madig
Copy link
Collaborator Author

madig commented Jul 2, 2018

I forgot that the env var might not reach the test. Hm.

@madig
Copy link
Collaborator Author

madig commented Jul 2, 2018

Slowly getting there... why did this not turn up before?!

@madig madig mentioned this pull request Jul 3, 2018
@madig
Copy link
Collaborator Author

madig commented Jul 3, 2018

Not really happy with creating a custom Docker wrapper for Linux, but creating an env_vars.sh file on the fly doesn't work... may change it again when I get feedback on https://github.com/matthew-brett/multibuild/issues/183.

Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
madig added 3 commits July 3, 2018 11:11
FREETYPEPY_BUNDLE_FT does not reach the container otherwise.

Generating an env_vars.sh file doesn't seem to work.
[ -z "$plat" ] && echo "plat not defined" && exit 1
local build_cmds="$2"
local docker_image=${DOCKER_IMAGE:-quay.io/pypa/manylinux1_\$plat}
docker_image=$(eval echo "$docker_image")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this line do?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dunno 😁

Repository owner deleted a comment from AppVeyorBot Jul 3, 2018
@madig madig changed the title Update to multibuild with Python 3.7 support Unbreak CI Jul 3, 2018
@madig madig changed the title Unbreak CI Unbreak CI wheel building on Linux Jul 3, 2018
@madig madig merged commit a51317b into rougier:master Jul 3, 2018
@madig madig deleted the fix-ci-build branch July 3, 2018 10:33
@anthrotype
Copy link
Collaborator

I haven't deeply looked into this, but honestly, I don't like that you have to basically "fork" parts from multibuild to accomplish such a basic task of passing an environment variable to the docker container. We should ask multibuild maintainers how to best do this.

@madig
Copy link
Collaborator Author

madig commented Jul 3, 2018

I did: https://github.com/matthew-brett/multibuild/issues/183

Will change once I hear from them.

@anthrotype
Copy link
Collaborator

anthrotype commented Jul 3, 2018

https://github.com/rougier/freetype-py/releases/tag/2.0.0.post1

for the title of the Github release notes, it think it's better to keep the same format as the previous ones: e.g. "Version 2.0.0.post1", instead of a descriptive "Fixed CI Linux builds"

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.

3 participants