File tree Expand file tree Collapse file tree 6 files changed +17
-12
lines changed Expand file tree Collapse file tree 6 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 29
29
id-token : write
30
30
steps :
31
31
- name : Download artifacts
32
- uses : dawidd6/action-download-artifact@bf251b5aa9c2f7eeb574a96ee720e24f801b7c11 # v6
32
+ uses : dawidd6/action-download-artifact@07ab29fd4a977ae4d2b275087cf67563dfdf0295 # v9
33
33
with :
34
34
path : artifacts/
35
35
run_id : ${{ github.event.inputs.run_id || github.event.workflow_run.id }}
@@ -42,13 +42,13 @@ jobs:
42
42
mv artifacts/wheels-*/*.whl dist/
43
43
44
44
- name : Publish to pypi.org
45
- uses : pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
45
+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
46
46
if : github.event_name == 'workflow_run' || (github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'pypi')
47
47
with :
48
48
packages-dir : dist/
49
49
50
50
- name : Publish to test.pypi.org
51
- uses : pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
51
+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
52
52
if : github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'testpypi'
53
53
with :
54
54
repository-url : https://test.pypi.org/legacy/
Original file line number Diff line number Diff line change 36
36
run : .venv/bin/pip install -U pip build
37
37
- name : Make sdist
38
38
run : .venv/bin/python -m build --sdist
39
- - uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
39
+ - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
40
40
with :
41
41
name : sdist
42
42
path : dist/*.tar.gz
47
47
strategy :
48
48
fail-fast : false
49
49
matrix :
50
- os : [ubuntu-20 .04, windows-2019 , macos-12 ]
50
+ os : [ubuntu-24 .04, windows-2022 , macos-13 ]
51
51
52
52
steps :
53
53
- uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
57
57
persist-credentials : false
58
58
59
59
- name : Build wheels
60
- uses : pypa/cibuildwheel@7940a4c0e76eb2030e473a5f864f291f63ee879b # v2.21.3
60
+ uses : pypa/cibuildwheel@42728e866bbc80d544a70825bd9990b9a26f1a50 # v2.23.1
61
61
62
- - uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
62
+ - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
63
63
with :
64
64
name : wheels-${{ matrix.os }}
65
65
path : ./wheelhouse/*.whl
Original file line number Diff line number Diff line change 1
1
version : 2
2
2
3
3
build :
4
- os : ubuntu-20 .04
4
+ os : ubuntu-24 .04
5
5
tools :
6
6
python : " 3.11"
7
7
Original file line number Diff line number Diff line change 1
1
Logbook Changelog
2
2
=================
3
3
4
+ Version 1.8.1
5
+ -------------
6
+
7
+ - Fixed crash on Python 3.12+ in speedups extension module.
8
+
4
9
Version 1.8.0
5
10
-------------
6
11
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ from logbook.concurrency import (
21
21
thread_local,
22
22
)
23
23
24
- from cpython.dict cimport PyDict_Clear, PyDict_SetItem
25
- from cpython.list cimport PyList_Append, PyList_GET_SIZE, PyList_Sort
24
+ from cpython.dict cimport PyDict_Clear, PyDict_SetItem, PyDict_Size
25
+ from cpython.list cimport PyList_Append, PyList_Sort
26
26
from cpython.pythread cimport (
27
27
WAIT_LOCK,
28
28
PyThread_acquire_lock,
@@ -218,7 +218,7 @@ cdef class ContextStackManager:
218
218
219
219
objects = self ._cache.get(tid)
220
220
if objects is None :
221
- if PyList_GET_SIZE (self ._cache) > _MAX_CONTEXT_OBJECT_CACHE:
221
+ if PyDict_Size (self ._cache) > _MAX_CONTEXT_OBJECT_CACHE:
222
222
PyDict_Clear(self ._cache)
223
223
objects = self ._global[:]
224
224
objects.extend(getattr (self ._thread_context, ' stack' , ()))
Original file line number Diff line number Diff line change 1
- __version__ = "1.8.0 "
1
+ __version__ = "1.8.1 "
You can’t perform that action at this time.
0 commit comments