Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Python Binary Wheel Package
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON Templates
Python Binary Wheel Package
Merge requests
!1
Initial binary wheel setup
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Initial binary wheel setup
initial-binary-wheel-setup
into
main
Overview
2
Commits
12
Pipelines
17
Changes
3
Merged
Initial binary wheel setup
Corné Lukken
requested to merge
initial-binary-wheel-setup
into
main
Jul 6, 2023
Overview
2
Commits
12
Pipelines
17
Changes
3
Remaining checklist:
Backport improved linting parts to main Python Package template (specify paths)
Backport unit test fix to Python Package template (override job)
Backport failing unimplemented jobs with allow failure to Python Package
Fix ci-build-wheel as gitlab job -
https://cibuildwheel.readthedocs.io/en/stable/setup/#gitlab-ci
Edited
Jul 7, 2023
by
Corné Lukken
0
0
Merge request reports
Viewing commit
9dc7584a
Prev
Next
Show latest version
3 files
+
25
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
9dc7584a
Use recommend setup for building wheels on ci
· 9dc7584a
Corné Lukken
authored
Jul 7, 2023
{{cookiecutter.project_slug}}/.gitlab-ci.yml
+
14
−
1
View file @ 9dc7584a
Edit in single-file editor
Open in Web IDE
Show full file
@@ -79,12 +79,25 @@ run_unit_tests_coverage:
package_files
:
stage
:
package
image
:
python:3.8
# make a docker daemon available for cibuildwheel to use
# services:
# - name: docker:dind
# entrypoint: [ "env", "-u", "DOCKER_HOST" ]
# command: [ "dockerd-entrypoint.sh" ]
# variables:
# DOCKER_HOST: tcp://docker:2375/
# DOCKER_DRIVER: overlay2
# # See https://github.com/docker-library/docker/pull/166
# DOCKER_TLS_CERTDIR: ""
artifacts
:
expire_in
:
1w
paths
:
-
dist/*
script
:
-
tox -e build-ci-linux
-
curl -sSL https://get.docker.com/ | sh
-
python -m pip install cibuildwheel==2.13.1 cookiecutter
-
cibuildwheel --platform linux --output-dir dist
package_docs
:
stage
:
package
Loading