Skip to content

Commit c0e558c

Browse files
committed
disabling sonar checks for dependencies which do not seem to work properly #3 #12
1 parent e94ed44 commit c0e558c

4 files changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/cibuildwheel.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
- name: Building windows / macos platform wheel sumo-data
130130
if: ${{ startsWith(matrix.os, 'windows') || startsWith(matrix.os, 'macos') }}
131131
run: |
132-
python -m pip install build
132+
python -m pip install -r tools/req_dev.txt
133133
python tools/build_config/version.py --pep440plat build_config/pyproject/sumo-data.toml pyproject.toml
134134
python -m build --wheel -o wheelhouse
135135
@@ -149,7 +149,6 @@ jobs:
149149
- name: Relocating libs in macos wheels to sumo-data
150150
if: ${{ startsWith(matrix.os, 'macos') }}
151151
run: |
152-
python -m pip install wheel delocate
153152
python tools/build_config/relocate.py wheelhouse
154153
mv wheelhouse ci_wheelhouse
155154
mv ci_wheelhouse/relocate wheelhouse

.github/workflows/documentation.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ jobs:
2727
python-version: '3.x'
2828

2929
- name: Installing pip packages
30-
run: |
31-
cd docs/web/
32-
python -m pip install --upgrade pip
33-
python -m pip install -r requirements.txt
30+
run: python -m pip install -r docs/web/requirements.txt
3431

3532
- name: Building documentation
3633
run: |

sonar-project.properties

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ sonar.projectKey=org.eclipse.sumo
44
# relative paths to source directories. More details and properties are described
55
# in https://docs.sonarqube.org/latest/project-administration/narrowing-the-focus/
66
sonar.sources=.
7-
sonar.exclusions=**/*.java,**/*.flow,**/*JAVA_wrap.cxx,**/*PYTHON_wrap.cxx
7+
# activating checks for the GitHub workflows and Dockerfiles triggers a lot of warnings for pip install like
8+
# "Using dependencies without locking resolved versions is security-sensitive"
9+
sonar.exclusions=**/*.java,**/*.flow,**/*JAVA_wrap.cxx,**/*PYTHON_wrap.cxx,.github/workflows/*,build_config/docker/*
810
sonar.host.url=https://sonarcloud.io
9-
sonar.python.version=3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13
11+
sonar.python.version=3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, 3.14

tools/req_dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# additional requirements for a developer system for GUI testing and wheel creation
2-
bibtexparser
32
build>=0.7.0
43
delocate; sys.platform == 'darwin'
54
dmgbuild; sys.platform == 'darwin'

0 commit comments

Comments
 (0)