Skip to content

Commit cd1de83

Browse files
Merge branch 'actions:main' into main
2 parents 498135d + 6ca8e85 commit cd1de83

File tree

10 files changed

+3335
-3243
lines changed

10 files changed

+3335
-3243
lines changed

.github/workflows/test-pypy.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,59 @@ jobs:
6969
${EXECUTABLE} --version
7070
shell: bash
7171

72+
check-non-eol:
73+
name: Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }}
74+
runs-on: ${{ matrix.os }}
75+
strategy:
76+
fail-fast: false
77+
matrix:
78+
os:
79+
- macos-13
80+
- macos-14
81+
- macos-15
82+
- windows-2019
83+
- windows-2022
84+
- windows-2025
85+
- ubuntu-22.04
86+
- ubuntu-24.04
87+
- ubuntu-22.04-arm
88+
- ubuntu-24.04-arm
89+
pypy: ['pypy-2.7', 'pypy-3.10']
90+
91+
steps:
92+
- name: Checkout
93+
uses: actions/checkout@v4
94+
95+
- name: setup-python ${{ matrix.pypy }}
96+
id: setup-python
97+
uses: ./
98+
with:
99+
python-version: ${{ matrix.pypy }}
100+
101+
- name: Check python-path
102+
run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
103+
shell: bash
104+
105+
- name: PyPy and Python version
106+
run: python --version
107+
108+
- name: Run simple code
109+
run: python -c 'import math; print(math.factorial(5))'
110+
111+
- name: Assert PyPy is running
112+
run: |
113+
import platform
114+
assert platform.python_implementation().lower() == "pypy"
115+
shell: python
116+
117+
- name: Assert expected binaries (or symlinks) are present
118+
run: |
119+
EXECUTABLE=${{ matrix.pypy }}
120+
EXECUTABLE=${EXECUTABLE/pypy-/pypy} # remove the first '-' in "pypy-X.Y" -> "pypyX.Y" to match executable name
121+
EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe
122+
${EXECUTABLE} --version
123+
shell: bash
124+
72125
setup-pypy-noenv:
73126
name: Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv)
74127
runs-on: ${{ matrix.os }}

.licenses/npm/@actions/http-client.dep.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

__tests__/data/requirements-linux.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Kivy-Garden==0.1.4
77
packaging==20.7
88
pdf2image==1.12.1
99
Pygments==2.6.1
10-
requests==2.24.0
10+
requests==2.32.2
1111
urllib3==1.26.19
1212
xlrd==1.2.0

__tests__/data/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pyparsing==2.4.7; python_version >= '2.6' and python_version not in '3.0, 3.1, 3
4040

4141
pywin32-ctypes==0.2.0
4242

43-
requests==2.24.0
43+
requests==2.32.2
4444

4545
urllib3==1.26.19
4646

0 commit comments

Comments
 (0)