Skip to content

Commit

Permalink
Merge pull request #124 from sumerc/bump-version-1.4.0
Browse files Browse the repository at this point in the history
Bump version `1.4.0`
  • Loading branch information
sumerc authored Oct 31, 2022
2 parents 2a202ff + 51cf7db commit bef4283
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [2.7, 3.6, 3.7, 3.8, 3.9, "3.10", 3.11.0-rc.1]
python-version: [2.7, 3.6, 3.7, 3.8, 3.9, "3.10", 3.11.0]
exclude:
- os: windows-latest
python-version: 2.7 # error: Microsoft Visual C++ 9.0 is required
- os: macos-latest
python-version: 3.9 # TODO: getting Illegal instruction somehow
# - os: macos-latest
# python-version: 3.9 # TODO: getting Illegal instruction somehow

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
CHANGELOG
=========

1.4.0 (2022-10-27)

- Add support for Python 3.11

1.3.6 (2022-08-03)

- cibuildwheel integration
Expand Down
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

HOMEPAGE = "https://github.com/sumerc/yappi"
NAME = "yappi"
VERSION = "1.3.6"
VERSION = "1.4.0"
_DEBUG = False # compile/link code for debugging
_PROFILE = False # profile yappi itself

Expand Down Expand Up @@ -62,10 +62,7 @@
'Topic :: Software Development :: Libraries :: Python Modules',
]

test_deps = []
if sys.version_info <= (3, 10):
# TODO: fix this when gevent supports 3.11
test_deps += ['gevent>=20.6.2']
test_deps = ['gevent>=20.6.2']

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion yappi/_yappi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ _call_leave(PyObject *self, PyFrameObject *frame, PyObject *arg, int ccall)
}

// if the function that the frame belongs is a coroutine, we check if we RETURN
// or YIELD from the coroutine to calculate the correct walltime
// or await the coroutine to calculate the correct walltime
if (IS_ASYNC(frame)) {
if (IS_SUSPENDED(frame)) {
yielded = 1;
Expand Down

0 comments on commit bef4283

Please sign in to comment.