Skip to content

Fix CI failures on Github #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Dec 2, 2024
5 changes: 3 additions & 2 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "pypy-3.8"
os:
- "ubuntu-latest"
- "windows-latest"
- "macos-latest"
- "macos-12" # (later seem to fail building python)
architecture:
- x64
- x86
Expand All @@ -35,7 +36,7 @@ jobs:
# Linux and macOS don't have x86 python
- os: "ubuntu-latest"
architecture: x86
- os: "macos-latest"
- os: "macos-12"
architecture: x86

name: "Python: ${{ matrix.py }}-${{ matrix.architecture }} on ${{ matrix.os }}"
Expand Down
7 changes: 7 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Unreleased
----------

- Add support for Python 3.13 (thanks to musicinmybrain).

- Fix GitHub test actions.

3.1.0 (2023-11-06)
------------------

Expand Down
4 changes: 3 additions & 1 deletion tests/test_advice.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ def testCallInfo(self):
sys._getframe()
)
self.assertEqual(kind, "function call")
self.assertTrue(f_locals is locals()) # ???
frame = sys._getframe()
self.assertEqual(f_locals, frame.f_locals)
self.assertEqual(f_locals, locals())
for d in module.__dict__, f_globals:
self.assertTrue(d is globals())
self.assertEqual(len(codeinfo), 4)
Loading