Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mpsd-software-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
MPSD Computational Science
mpsd-software-manager
Commits
a963f6bc
Unverified
Commit
a963f6bc
authored
1 year ago
by
Henri Menke
Browse files
Options
Downloads
Patches
Plain Diff
Add OpenSUSE pipeline with Python 3.6
parent
2cf52ef6
No related branches found
No related tags found
1 merge request
!132
Add compatibility for Python 3.6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+36
-0
36 additions, 0 deletions
.gitlab-ci.yml
setup.cfg
+37
-0
37 additions, 0 deletions
setup.cfg
with
73 additions
and
0 deletions
.gitlab-ci.yml
+
36
−
0
View file @
a963f6bc
...
@@ -66,6 +66,35 @@ stages:
...
@@ -66,6 +66,35 @@ stages:
-
echo "Which version of Debian are we running?"
-
echo "Which version of Debian are we running?"
-
cat /etc/issue
-
cat /etc/issue
.prepare_opensuse
:
&prepare_opensuse
-
echo -e "\e[0Ksection_start:`date +%s`:deps[collapsed=true]\r\e[0KInstall dependencies"
-
|
zypper -n refresh
zypper -n install --no-recommends python3 patterns-devel-base-devel_basis git gzip rsync
python3 -m ensurepip
pip3 install --upgrade pip setuptools
-
|
python3 -m venv venv
source venv/bin/activate
type python3
python3 --version
-
|
pip3 install --upgrade pip setuptools
pip3 install .[dev]
pytest --version
-
echo -e "\e[0Ksection_end:`date +%s`:deps\r\e[0K"
# https://gitlab.gwdg.de/mpsd-cs/spack-environments/-/merge_requests/56
-
echo -e "\e[0Ksection_start:`date +%s`:patch[collapsed=true]\r\e[0KBinary patching /bin/bash"
-
|
cd "$(mktemp -d)"
cp "$(readlink -e /bin/bash)" bash.patched
printf '5.4' > dist_version
dd if=dist_version of=bash.patched obs=1 seek=866776 conv=notrunc
[ 5 -eq $(./bash.patched -c 'echo "${BASH_VERSINFO[0]}"') ] || { echo "Binary patching unsuccessful"; false; }
mv bash.patched "$(readlink -e /bin/bash)"
cd -
-
echo -e "\e[0Ksection_end:`date +%s`:patch\r\e[0K"
style
:
style
:
stage
:
test
stage
:
test
...
@@ -96,3 +125,10 @@ test-bookworm:
...
@@ -96,3 +125,10 @@ test-bookworm:
script
:
script
:
-
*prepare_debian
-
*prepare_debian
-
pytest -v -l
-
pytest -v -l
test-opensuse
:
stage
:
test
image
:
opensuse/leap:15.4
before_script
:
*prepare_opensuse
script
:
-
pytest -v -l
This diff is collapsed.
Click to expand it.
setup.cfg
0 → 100644
+
37
−
0
View file @
a963f6bc
# This file is only needed for setuptools<61.0.0 (Python 3.6) support
# It duplicates the information present in pyproject.toml
# With setuptools>=61.0.0 this file is ignored
# https://gitlab.gwdg.de/mpsd-cs/mpsd-software-manager/-/merge_requests/132
[metadata]
name
=
mpsd_software_manager
version
=
2023.12.18
author
=
SSU-Computational Science (Fangohr et al)
author_email
=
ssu-cs@mpsd.mpg.de
long_description
=
file: README.rst
license
=
MIT
classifiers
=
License
::
OSI
Approved
::
MIT
License
[options]
package_dir
=
=src
packages
=
find:
install_requires
=
archspec
importlib-metadata
rich
[options.packages.find]
where
=
src
[options.entry_points]
console_script
=
mpsd-software
=
mpsd_software_manager.mpsd_software:main
[options.extras_require]
dev
=
pre-commit
pytest
pytest-mock
pytest-cov
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