Skip to content

Commit 969c4df

Browse files
authored
Test macos py3.11 in CI (#710)
1 parent 7e76dd8 commit 969c4df

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,6 @@ jobs:
218218
os: [ubuntu-20.04, macos-13]
219219
# some versions of python can't be tested on GHA with osx because of SIP:
220220
exclude:
221-
- os: macos-13
222-
python-version: 3.11.0
223221
- os: macos-13
224222
python-version: 3.11.10
225223
- os: macos-13

ci/update_python_test_versions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
def parse_version(v):
12-
return tuple(int(part) for part in re.split("\W", v)[:3])
12+
return tuple(int(part) for part in re.split(r"\W", v)[:3])
1313

1414

1515
def get_github_python_versions():
@@ -82,7 +82,7 @@ def update_python_test_versions():
8282
# since it currently fails in GHA on SIP errors
8383
exclusions = []
8484
for v in versions:
85-
if v.startswith("3.11") or v.startswith("3.12"):
85+
if v.startswith("3.11.10") or v.startswith("3.12"):
8686
exclusions.append(" - os: macos-13\n")
8787
exclusions.append(f" python-version: {v}\n")
8888
first_exclude_line = lines.index(" exclude:\n", first_line)

tests/integration_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ def _sample_process(self, script_name, options=None, include_profile_name=False)
4343
]
4444
cmdline.extend(options or [])
4545
cmdline.extend(["--", sys.executable, script_name])
46-
subprocess.check_output(cmdline)
46+
env = dict(os.environ, RUST_LOG="debug")
47+
subprocess.check_output(cmdline, env=env)
4748
with open(profile_file.name) as f:
4849
profiles = json.load(f)
4950

0 commit comments

Comments
 (0)