Skip to content

Commit 2917d2b

Browse files
Merge branch 'main' into issue_2003_rez_depends
2 parents 20839b7 + cd8476f commit 2917d2b

File tree

9 files changed

+43
-32
lines changed

9 files changed

+43
-32
lines changed

.github/workflows/benchmark.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525

2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2929

3030
- name: Setup python ${{ matrix.python-version }}
31-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
31+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434

@@ -68,13 +68,13 @@ jobs:
6868
max-parallel: 1
6969

7070
steps:
71-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
71+
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
7272
with:
7373
name: "benchmark-result-${{ matrix.python-version }}"
7474
path: .
7575

7676
- name: Checkout (release)
77-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
77+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
7878
if: ${{ github.event_name =='release' }}
7979
with:
8080
ref: main
@@ -88,13 +88,13 @@ jobs:
8888
# token: "${{ secrets.GH_ACTION_TOKEN }}"
8989

9090
- name: Checkout (pr)
91-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
91+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
9292
if: ${{ github.event_name !='release' }}
9393
with:
9494
path: src
9595

9696
- name: Setup python ${{ matrix.python-version }}
97-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
97+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
9898
with:
9999
python-version: ${{ matrix.python-version }}
100100

.github/workflows/copyright.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2424

2525
- name: Set up Python
26-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
26+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
2727
with:
2828
python-version: 3
2929

.github/workflows/flake8.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929

3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3333

3434
- name: Set up Python
35-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
35+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
3636
with:
3737
python-version: 3.11
3838

.github/workflows/installation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ jobs:
7979
REZ_INSTALL_COMMAND: pip install --target C:\ProgramData\rez .
8080

8181
steps:
82-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
82+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8383

8484
- name: Setup python ${{ matrix.python-version }}
85-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
85+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
8686
with:
8787
python-version: ${{ matrix.python-version }}
8888

.github/workflows/pypi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2323

2424
- name: Set up Python
25-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
25+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
2626
with:
2727
python-version: 3.11
2828

@@ -37,6 +37,6 @@ jobs:
3737
# Note that we don't need credentials.
3838
# We rely on https://docs.pypi.org/trusted-publishers/.
3939
- name: Upload to PyPI
40-
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
40+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
4141
with:
4242
packages-dir: dist

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: "Checkout code"
28-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2929
with:
3030
persist-credentials: false
3131

@@ -61,6 +61,6 @@ jobs:
6161
# Upload the results to GitHub's code scanning dashboard (optional).
6262
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
6363
- name: "Upload to code-scanning"
64-
uses: github/codeql-action/upload-sarif@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
64+
uses: github/codeql-action/upload-sarif@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
6565
with:
6666
sarif_file: results.sarif

.github/workflows/sonarcloud.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ jobs:
88
name: SonarQube Scan
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
11+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1212
with:
1313
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
1414
- name: SonarQube Scan
15-
uses: SonarSource/sonarqube-scan-action@2500896589ef8f7247069a56136f8dc177c27ccf #v5.2.0
15+
uses: SonarSource/sonarqube-scan-action@fd88b7d7ccbaefd23d8f36f73b59db7a3d246602 #v6.0.0
1616
env:
1717
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
1818
with:
1919
args: >
20-
-Dsonar.organization="academysoftwarefoundation"
21-
-Dsonar.projectKey="AcademySoftwareFoundation_rez"
22-
-Dsonar.projectName="rez"
23-
-Dsonar.sources="src/"
24-
-Dsonar.tests="tests/"
25-
-Dsonar.exclusions="sonar.exclusions=src/build_utils/**,src/rez/data/**,src/rez/tests/**,src/rez/vendor/**"
26-
-Dsonar.python.version="3.7, 3.8, 3.9, 3.10, 3.11, 3.12"
20+
"-Dsonar.organization=academysoftwarefoundation"
21+
"-Dsonar.projectKey=AcademySoftwareFoundation_rez"
22+
"-Dsonar.projectName=rez"
23+
"-Dsonar.sources=src/"
24+
"-Dsonar.tests=tests/"
25+
"-Dsonar.exclusions=sonar.exclusions=src/build_utils/**,src/rez/data/**,src/rez/tests/**,src/rez/vendor/**"
26+
"-Dsonar.python.version=3.7, 3.8, 3.9, 3.10, 3.11, 3.12"

.github/workflows/tests.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ jobs:
6060

6161
steps:
6262
- name: Checkout
63-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
63+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6464

6565
- name: Setup python ${{ matrix.python-version }}
66-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
66+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
6767
with:
6868
python-version: ${{ matrix.python-version }}
6969

@@ -81,6 +81,15 @@ jobs:
8181
- name: Install rez
8282
run: python ./install.py ./installdir
8383

84+
- name: Install test system dependencies (macOS)
85+
if: ${{ startsWith(matrix.os, 'macos-') }}
86+
run: |
87+
set -ex
88+
# Make sure to use cmake < 4. CMake 4 dropped support for features
89+
# from cmake < 3.5 and rez uses these features.
90+
brew uninstall cmake
91+
python -m pip install 'cmake<4'
92+
8493
- name: Setup environment variables
8594
shell: bash
8695
env:
@@ -98,7 +107,7 @@ jobs:
98107
_REZ_ENSURE_TEST_SHELLS: ${{ matrix.shells }}
99108

100109
- name: Upload coverage reports to Codecov
101-
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
110+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
102111
# Run on both success and failure, but only if coverage.xml exists.
103112
if: ${{ hashFiles('coverage.xml') != '' && (steps.tests.outcome == 'success' || steps.tests.outcome == 'failure') }}
104113
with:

SECURITY.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@ If you think you've found a potential vulnerability in rez, please
99
report it by filing a GitHub [security
1010
advisory](https://github.com/AcademySoftwareFoundation/rez/security/advisories/new). Alternatively,
1111
email [email protected] and provide your contact info for further
12-
private/secure discussion. If your email does not receive a prompt
13-
acknowledgement, your address may be blocked.
12+
private/secure discussion. If your email does not receive a prompt
13+
acknowledgement, your address may be blocked. If you request anonymity,
14+
your name and contact information will not be published. Otherwise,
15+
credit will be given in notices related to the vulnerability.
1416

1517
Our policy is to acknowledge the receipt of vulnerability reports
1618
within 48 hours. Our policy is to address critical security vulnerabilities
1719
rapidly and post patches within 14 days if possible.
1820

1921
## Known Vulnerabilities
2022

21-
The only currently known security vulnerability is issue [#937](https://github.com/AcademySoftwareFoundation/rez/issues/937).
23+
The only currently known security vulnerability is issue [#417](https://github.com/AcademySoftwareFoundation/rez/issues/417), reported by @ttanimura.
2224
No others are known at this time.
2325

2426
See the [release notes](CHANGES.md) for more information.

0 commit comments

Comments
 (0)