Skip to content

Commit 35c980f

Browse files
Merge branch 'master' into tapelink
2 parents 17598e5 + 2174666 commit 35c980f

70 files changed

Lines changed: 1385 additions & 908 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ jobs:
259259
COVERALLS_SERVICE_NAME: github
260260
COVERALLS_SERVICE_JOB_ID: "${{ github.run_id }}"
261261
COVERALLS_SERVICE_NUMBER: "${{ github.workflow }}-${{ github.run_number }}"
262-
uses: nick-fields/retry@v3
262+
uses: nick-fields/retry@v4
263263
with:
264264
timeout_seconds: 30
265265
max_attempts: 3
@@ -315,7 +315,7 @@ jobs:
315315
env:
316316
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
317317
COVERALLS_SERVICE_NUMBER: "${{ github.workflow }}-${{ github.run_number }}"
318-
uses: nick-fields/retry@v3
318+
uses: nick-fields/retry@v4
319319
with:
320320
timeout_seconds: 30
321321
max_attempts: 3

.safety-policy-develop.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ security:
3636
reason: Fixed filelock version 3.20.1 requires Python>=3.10 and is used there
3737
84183:
3838
reason: Fixed filelock version 3.20.3 requires Python>=3.10 and is used there
39+
84415:
40+
reason: Fixed filelock version 3.20.3 requires Python>=3.10 and is used there
41+
# Need to comment out due to issue https://github.com/pyupio/safety/issues/847
42+
# SFTY-20260218-01424:
43+
# reason: Fixed nltk version 3.9.3 requires Python>=3.10 and is used there
3944

4045
# Continue with exit code 0 when vulnerabilities are found.
4146
continue-on-vulnerability-error: False

.whitesource

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"settingsInheritedFrom": "whitesource-config/whitesource-config@master"
2+
"settingsInheritedFrom": "whitesource-config/whitesource-config@main"
33
}

Makefile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,12 +295,12 @@ help:
295295
@echo " unittest - Run unit tests (adds to coverage results)"
296296
@echo " functiontest - Run function tests (adds to coverage results)"
297297
@echo " test - Run unit and function tests (adds to coverage results)"
298-
@echo " end2end_mocked - Run end2end tests against example mock environments (adds to coverage results)"
298+
@echo " end2end_mocked - Run end2end tests against example mock environments (adds to coverage results, checks blanked-out properties in log)"
299299
@echo " installtest - Run install tests"
300300
@echo " build - Build the distribution files in: $(dist_dir)"
301301
@echo " builddoc - Build documentation in: $(doc_build_dir)"
302302
@echo " all - Do all of the above"
303-
@echo " end2end - Run end2end tests (adds to coverage results)"
303+
@echo " end2end - Run end2end tests (adds to coverage results, checks blanked-out properties in log)"
304304
@echo " end2end_show - Show HMCs defined for end2end tests"
305305
@echo " end2end_check - Check access to all HMCs defined in your HMC inventory file for end2end tests"
306306
@echo " authors - Generate AUTHORS.md file from git log"
@@ -703,15 +703,19 @@ endif
703703

704704
.PHONY: end2end
705705
end2end: $(done_dir)/develop_$(pymn)_$(PACKAGE_LEVEL).done $(package_py_files) $(test_end2end_py_files) $(test_common_py_files) $(coverage_config_file)
706-
bash -c "PYTHONPATH=. TESTEND2END_LOAD=true coverage run --append -m pytest -v -m 'not check_hmcs' $(pytest_general_opts) $(pytest_test_opts) $(test_dir)/end2end"
706+
-$(call RM_FUNC,end2end.log)
707+
bash -c "PYTHONPATH=. TESTLOGFILE=end2end.log TESTEND2END_LOAD=true coverage run --append -m pytest -v -m 'not check_hmcs' $(pytest_general_opts) $(pytest_test_opts) $(test_dir)/end2end"
707708
coverage html
709+
bash -c "tools/check_blanked.py --accept-null end2end.log"
708710
@echo "Makefile: $@ done."
709711

710712
# TODO: Enable rc checking again once the remaining issues are resolved
711713
.PHONY: end2end_mocked
712714
end2end_mocked: $(done_dir)/develop_$(pymn)_$(PACKAGE_LEVEL).done $(package_py_files) $(test_end2end_py_files) $(test_common_py_files) $(coverage_config_file) tests/end2end/mocked_inventory.yaml tests/end2end/mocked_vault.yaml tests/end2end/mocked_hmc_z16.yaml
713-
bash -c "PYTHONPATH=. TESTEND2END_LOAD=true TESTINVENTORY=tests/end2end/mocked_inventory.yaml TESTVAULT=tests/end2end/mocked_vault.yaml coverage run --append -m pytest -v -m 'not check_hmcs' $(pytest_general_opts) $(pytest_test_opts) $(test_dir)/end2end"
715+
-$(call RM_FUNC,end2end.log)
716+
bash -c "PYTHONPATH=. TESTLOGFILE=end2end.log TESTEND2END_LOAD=true TESTINVENTORY=tests/end2end/mocked_inventory.yaml TESTVAULT=tests/end2end/mocked_vault.yaml coverage run --append -m pytest -v -m 'not check_hmcs' $(pytest_general_opts) $(pytest_test_opts) $(test_dir)/end2end"
714717
coverage html
718+
bash -c "tools/check_blanked.py --accept-null end2end.log"
715719
@echo "Makefile: $@ done."
716720

717721
.PHONY: authors

base-requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Base dependencies (must be consistent with minimum-constraints-install.txt
66
# and build-system.requires in pyproject.toml)
77

8-
pip>=25.2
8+
pip>=26.0
99
setuptools>=78.1.1
1010
setuptools-scm[toml]>=9.2.0
11-
wheel>=0.41.3
11+
wheel>=0.46.2

changes/2122.fix.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fixed the issue that the zhmcclient mock support returned write-only properties
2+
of resources in Get and List operations.

changes/noissue.24.feature.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Improved checking for sensitive properties in logs to reduce maintenance
2+
effort.

changes/noissue.25.feature.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Test: Added support for checking blanked-out sensitive properties in the
2+
zhmcclient log file created during the end2end tests, by adding a new
3+
script tools/check_blanked.py, and running it during "make end2end"
4+
and "make end2end_mocked".

changes/noissue.mend.fix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed Mend issues up to 2026-02-26.

changes/noissue.mendscan.fix.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Added a step to the release instructions for checking Mend issues in the
2+
internal copy of the repo.

0 commit comments

Comments
 (0)