Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cfel_fmt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dataAnalysis
cfel_fmt
Commits
2738adfa
Commit
2738adfa
authored
7 months ago
by
Philipp Middendorf
Browse files
Options
Downloads
Patches
Plain Diff
Replace cibuildwheels with custom jobs
parent
ead813c7
No related branches found
Branches containing commit
Tags
2.1.0
No related merge requests found
Pipeline
#167539
canceled
4 days ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+41
-22
41 additions, 22 deletions
.gitlab-ci.yml
cfelpyutils/__init__.py
+1
-1
1 addition, 1 deletion
cfelpyutils/__init__.py
setup.cfg
+3
-3
3 additions, 3 deletions
setup.cfg
with
45 additions
and
26 deletions
.gitlab-ci.yml
+
41
−
22
View file @
2738adfa
# Gitlab pipeline for CFELPyUtils
image
:
python:3.
8-buster
image
:
python:3.
9
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
...
...
@@ -33,28 +33,49 @@ test:
coverage_format
:
cobertura
path
:
coverage.xml
build-wheels
:
build-wheel39
:
image
:
python:3.9
stage
:
build
image
:
python:3.8-buster
# make a docker daemon available for cibuildwheel to use
services
:
-
name
:
docker:dind
variables
:
DOCKER_HOST
:
tcp://docker:2376
DOCKER_TLS_CERTDIR
:
"
/certs"
CIBW_PLATFORM
:
"
linux"
CIBW_BUILD
:
"
cp36-manylinux_x86_64
cp37-manylinux_x86_64
cp38-manylinux_x86_64
cp39-manylinux_x86_64"
script
:
-
curl -sSL https://get.docker.com/ | sh
-
python -m pip install cibuildwheel==2.1.2
-
python -m pip config set global.timeout
100
-
cibuildwheel --output-dir packages
-
python -m pip --timeout 100 install numpy cython
-
python setup.py bdist_wheel
-
mkdir -p packages/ && mv dist/*.whl packages/
artifacts
:
paths
:
-
packages/*.whl
build-wheel310
:
image
:
python:3.10
stage
:
build
script
:
-
python -m pip --timeout 100 install numpy cython
-
python setup.py bdist_wheel
-
mkdir -p packages/ && mv dist/*.whl packages/
artifacts
:
paths
:
-
packages/*.whl
build-wheel311
:
image
:
python:3.11
stage
:
build
script
:
-
python -m pip --timeout 100 install numpy cython
-
python setup.py bdist_wheel
-
mkdir -p packages/ && mv dist/*.whl packages/
artifacts
:
paths
:
-
packages/*.whl
build-wheel312
:
image
:
python:3.12
stage
:
build
script
:
-
python -m pip --timeout 100 install numpy cython
-
python setup.py bdist_wheel
-
mkdir -p packages/ && mv dist/*.whl packages/
artifacts
:
paths
:
-
packages/*.whl
only
:
-
tags
-
main
build-sdist
:
stage
:
build
...
...
@@ -81,22 +102,20 @@ pages:
deploy-to-gitlab
:
stage
:
deploy
needs
:
[
"
build-wheel
s
"
,
"
build-sdist"
]
needs
:
[
"
build-wheel
39"
,
"
build-wheel310"
,
"
build-wheel311"
,
"
build-wheel312
"
,
"
build-sdist"
]
script
:
-
ls -l packages/
-
pip install twine
-
TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url https://gitlab.desy.de/api/v4/projects/${CI_PROJECT_ID}/packages/pypi packages/*
only
:
-
tags
-
main
deploy-to-pypi
:
stage
:
deploy
needs
:
[
"
build-wheel
s
"
,
"
build-sdist"
]
needs
:
[
"
build-wheel
39"
,
"
build-wheel310"
,
"
build-wheel311"
,
"
build-wheel312
"
,
"
build-sdist"
]
script
:
-
ls -l packages/
-
pip install twine
-
TWINE_PASSWORD="$PYPI" TWINE_USERNAME=cfelsc python -m twine upload packages/*
only
:
-
tags
-
main
This diff is collapsed.
Click to expand it.
cfelpyutils/__init__.py
+
1
−
1
View file @
2738adfa
...
...
@@ -17,4 +17,4 @@ This is the CFELPyUtils package, which contains all modules of the library.
Please refer to the individual modules to learn more about their function.
"""
__version__
=
"
2.
0.6
"
__version__
=
"
2.
1.0
"
This diff is collapsed.
Click to expand it.
setup.cfg
+
3
−
3
View file @
2738adfa
...
...
@@ -31,10 +31,10 @@ platforms = unix, linux, osx, cygwin, win32
classifiers
=
Programming
Language :: Python :: 3
Programming
Language :: Python :: 3 :: Only
Programming
Language :: Python :: 3.6
Programming
Language :: Python :: 3.7
Programming
Language :: Python :: 3.8
Programming
Language :: Python :: 3.9
Programming
Language :: Python :: 3.10
Programming
Language :: Python :: 3.11
Programming
Language :: Python :: 3.12
License
:: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Natural
Language :: English
Intended
Audience :: Science/Research
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment