Skip to content

Commit b899482

Browse files
committed
Update xcookie
1 parent 2c9b61e commit b899482

File tree

2 files changed

+34
-18
lines changed

2 files changed

+34
-18
lines changed

.github/workflows/tests.yml

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout source
24-
uses: actions/checkout@v4.1.1
24+
uses: actions/checkout@v4.2.2
2525
- name: Set up Python 3.13 for linting
26-
uses: actions/setup-python@v5.1.1
26+
uses: actions/setup-python@v5.6.0
2727
with:
2828
python-version: '3.13'
2929
- name: Install dependencies
@@ -49,9 +49,9 @@ jobs:
4949
runs-on: ubuntu-latest
5050
steps:
5151
- name: Checkout source
52-
uses: actions/checkout@v4.1.1
52+
uses: actions/checkout@v4.2.2
5353
- name: Set up Python 3.13
54-
uses: actions/setup-python@v5.1.1
54+
uses: actions/setup-python@v5.6.0
5555
with:
5656
python-version: '3.13'
5757
- name: Upgrade pip
@@ -130,7 +130,7 @@ jobs:
130130
- auto
131131
steps:
132132
- name: Checkout source
133-
uses: actions/checkout@v4.1.1
133+
uses: actions/checkout@v4.2.2
134134
- name: Enable MSVC 64bit
135135
uses: ilammy/msvc-dev-cmd@v1
136136
if: matrix.os == 'windows-latest' && ${{ contains(matrix.cibw_skip, '*-win32') }}
@@ -140,7 +140,7 @@ jobs:
140140
with:
141141
platforms: all
142142
- name: Build binary wheels
143-
uses: pypa/cibuildwheel@v2.21.0
143+
uses: pypa/cibuildwheel@v3.1.2
144144
with:
145145
output-dir: wheelhouse
146146
config-file: pyproject.toml
@@ -153,7 +153,7 @@ jobs:
153153
shell: bash
154154
run: ls -la wheelhouse
155155
- name: Set up Python 3.13 to combine coverage
156-
uses: actions/setup-python@v5.1.1
156+
uses: actions/setup-python@v5.6.0
157157
if: runner.os == 'Linux'
158158
with:
159159
python-version: '3.13'
@@ -172,7 +172,7 @@ jobs:
172172
echo '### The cwd should now have a coverage.xml'
173173
ls -altr
174174
pwd
175-
- uses: codecov/codecov-action@v4.5.0
175+
- uses: codecov/codecov-action@v5.4.3
176176
name: Codecov Upload
177177
env:
178178
HAVE_CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN != '' }}
@@ -181,7 +181,7 @@ jobs:
181181
with:
182182
file: ./coverage.xml
183183
token: ${{ secrets.CODECOV_TOKEN }}
184-
- uses: codecov/codecov-action@v4.5.0
184+
- uses: codecov/codecov-action@v5.4.3
185185
name: Codecov Upload
186186
with:
187187
file: ./coverage.xml
@@ -264,6 +264,10 @@ jobs:
264264
install-extras: tests,optional
265265
os: ubuntu-latest
266266
arch: auto
267+
- python-version: 3.14.0-rc.1
268+
install-extras: tests,optional
269+
os: ubuntu-latest
270+
arch: auto
267271
- python-version: '3.8'
268272
install-extras: tests,optional
269273
os: macOS-latest
@@ -288,6 +292,10 @@ jobs:
288292
install-extras: tests,optional
289293
os: macOS-latest
290294
arch: auto
295+
- python-version: 3.14.0-rc.1
296+
install-extras: tests,optional
297+
os: macOS-latest
298+
arch: auto
291299
- python-version: '3.8'
292300
install-extras: tests,optional
293301
os: windows-latest
@@ -312,9 +320,13 @@ jobs:
312320
install-extras: tests,optional
313321
os: windows-latest
314322
arch: auto
323+
- python-version: 3.14.0-rc.1
324+
install-extras: tests,optional
325+
os: windows-latest
326+
arch: auto
315327
steps:
316328
- name: Checkout source
317-
uses: actions/checkout@v4.1.1
329+
uses: actions/checkout@v4.2.2
318330
- name: Enable MSVC 64bit
319331
uses: ilammy/msvc-dev-cmd@v1
320332
if: matrix.os == 'windows-latest'
@@ -324,7 +336,7 @@ jobs:
324336
with:
325337
platforms: all
326338
- name: Setup Python
327-
uses: actions/setup-python@v5.1.1
339+
uses: actions/setup-python@v5.6.0
328340
with:
329341
python-version: ${{ matrix.python-version }}
330342
- uses: actions/download-artifact@v4.1.8
@@ -354,9 +366,11 @@ jobs:
354366
")
355367
export MOD_VERSION=$(python -c "if 1:
356368
from pkginfo import Wheel, SDist
369+
import pathlib
357370
fpath = '$WHEEL_FPATH'
358371
cls = Wheel if fpath.endswith('.whl') else SDist
359-
print(cls(fpath).version)
372+
item = cls(fpath)
373+
print(item.version)
360374
")
361375
echo "WHEEL_FPATH=$WHEEL_FPATH"
362376
echo "INSTALL_EXTRAS=$INSTALL_EXTRAS"
@@ -409,7 +423,7 @@ jobs:
409423
echo '### The cwd should now have a coverage.xml'
410424
ls -altr
411425
pwd
412-
- uses: codecov/codecov-action@v4.5.0
426+
- uses: codecov/codecov-action@v5.4.3
413427
name: Codecov Upload
414428
with:
415429
file: ./coverage.xml
@@ -423,7 +437,7 @@ jobs:
423437
- build_binpy_wheels
424438
steps:
425439
- name: Checkout source
426-
uses: actions/checkout@v4.1.1
440+
uses: actions/checkout@v4.2.2
427441
- uses: actions/download-artifact@v4.1.8
428442
name: Download wheels
429443
with:
@@ -499,7 +513,7 @@ jobs:
499513
- build_binpy_wheels
500514
steps:
501515
- name: Checkout source
502-
uses: actions/checkout@v4.1.1
516+
uses: actions/checkout@v4.2.2
503517
- uses: actions/download-artifact@v4.1.8
504518
name: Download wheels
505519
with:
@@ -576,7 +590,7 @@ jobs:
576590
- live_deploy
577591
steps:
578592
- name: Checkout source
579-
uses: actions/checkout@v4.1.1
593+
uses: actions/checkout@v4.2.2
580594
- uses: actions/download-artifact@v4.1.8
581595
name: Download artifacts
582596
with:

docs/source/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,16 @@
1616
1717
# need to edit the conf.py
1818
19+
# Remove any old auto docs folder and regenerate it.
20+
rm -rf ~/code/line_profiler/docs/source/auto
1921
cd ~/code/line_profiler/docs
2022
sphinx-apidoc --private --separate --force --output-dir ~/code/line_profiler/docs/source/auto ~/code/line_profiler/line_profiler
23+
git add source/auto/*.rst
2124
2225
# Note: the module should importable before running this
2326
# (e.g. install it in developer mode or munge the PYTHONPATH)
2427
make html
2528
26-
git add source/auto/*.rst
27-
2829
Also:
2930
To turn on PR checks
3031
@@ -83,6 +84,7 @@
8384
push events,
8485
tag push events,
8586
merge request events
87+
release events
8688
8789
Click the "Add webhook" button.
8890

0 commit comments

Comments
 (0)