Skip to content

Commit 677a682

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 66a41d7 + 3c6f142 commit 677a682

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+8677
-5311
lines changed

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
# Enable version updates for npm
9+
- package-ecosystem: 'npm'
10+
# Look for `package.json` and `lock` files in the `root` directory
11+
directory: '/'
12+
# Check the npm registry for updates every day (weekdays)
13+
schedule:
14+
interval: 'weekly'
15+
16+
# Enable version updates for GitHub Actions
17+
- package-ecosystem: 'github-actions'
18+
# Workflow files stored in the default location of `.github/workflows`
19+
# You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.
20+
directory: '/'
21+
schedule:
22+
interval: 'weekly'
Lines changed: 221 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,221 @@
1+
name: e2e-cache freethread
2+
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- '**.md'
7+
push:
8+
branches:
9+
- main
10+
- releases/*
11+
paths-ignore:
12+
- '**.md'
13+
workflow_dispatch:
14+
15+
permissions:
16+
contents: read
17+
jobs:
18+
python-pip-dependencies-caching:
19+
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }})
20+
runs-on: ${{ matrix.os }}
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
os:
25+
[
26+
ubuntu-latest,
27+
ubuntu-22.04,
28+
ubuntu-24.04-arm,
29+
ubuntu-22.04-arm,
30+
windows-latest,
31+
macos-latest,
32+
macos-13
33+
]
34+
python-version: [3.13.0t, 3.13.1t, 3.13.2t]
35+
steps:
36+
- uses: actions/checkout@v4
37+
- name: Setup Python
38+
uses: ./
39+
with:
40+
python-version: ${{ matrix.python-version }}
41+
cache: 'pip'
42+
- name: Install dependencies
43+
run: pip install numpy pandas requests
44+
45+
python-pipenv-dependencies-caching:
46+
name: Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }})
47+
runs-on: ${{ matrix.os }}
48+
strategy:
49+
fail-fast: false
50+
matrix:
51+
os:
52+
[
53+
ubuntu-latest,
54+
ubuntu-24.04-arm,
55+
ubuntu-22.04,
56+
ubuntu-22.04-arm,
57+
windows-latest,
58+
macos-latest,
59+
macos-13
60+
]
61+
python-version: [3.13.1t, 3.13.2t, 3.13.5t]
62+
steps:
63+
- uses: actions/checkout@v4
64+
- name: Setup Python
65+
id: cache-pipenv
66+
uses: ./
67+
with:
68+
python-version: ${{ matrix.python-version }}
69+
cache: 'pipenv'
70+
- name: Install pipenv
71+
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
72+
- name: Install dependencies
73+
run: pipenv install requests
74+
75+
python-poetry-dependencies-caching:
76+
name: Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }})
77+
runs-on: ${{ matrix.os }}
78+
strategy:
79+
fail-fast: false
80+
matrix:
81+
os:
82+
[
83+
ubuntu-latest,
84+
ubuntu-22.04,
85+
ubuntu-24.04-arm,
86+
ubuntu-22.04-arm,
87+
windows-latest,
88+
macos-latest,
89+
macos-13
90+
]
91+
python-version: [3.13.0, 3.13.1, 3.13.2]
92+
steps:
93+
- uses: actions/checkout@v4
94+
- name: Install poetry
95+
run: pipx install poetry
96+
- name: Init pyproject.toml
97+
run: mv ./__tests__/data/pyproject.toml .
98+
- name: Setup Python
99+
uses: ./
100+
with:
101+
python-version: ${{ matrix.python-version }}
102+
freethreaded: true
103+
cache: 'poetry'
104+
- name: Install dependencies
105+
run: poetry install --no-root
106+
107+
python-pip-dependencies-caching-path:
108+
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path)
109+
runs-on: ${{ matrix.os }}
110+
strategy:
111+
fail-fast: false
112+
matrix:
113+
os:
114+
[
115+
ubuntu-latest,
116+
ubuntu-22.04,
117+
ubuntu-24.04-arm,
118+
ubuntu-22.04-arm,
119+
windows-latest,
120+
macos-latest,
121+
macos-13
122+
]
123+
python-version: [3.13.0t, 3.13.1t, 3.13.2t]
124+
steps:
125+
- uses: actions/checkout@v4
126+
- name: Setup Python
127+
uses: ./
128+
with:
129+
python-version: ${{ matrix.python-version }}
130+
cache: 'pip'
131+
cache-dependency-path: __tests__/data/requirements.txt
132+
- name: Install dependencies
133+
run: pip install numpy pandas requests
134+
135+
python-pipenv-dependencies-caching-path:
136+
name: Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path)
137+
runs-on: ${{ matrix.os }}
138+
strategy:
139+
fail-fast: false
140+
matrix:
141+
os:
142+
[
143+
ubuntu-latest,
144+
ubuntu-22.04,
145+
ubuntu-24.04-arm,
146+
ubuntu-22.04-arm,
147+
windows-latest,
148+
macos-latest,
149+
macos-13
150+
]
151+
python-version: [3.13.1t, 3.13.2t, 3.13.5t]
152+
steps:
153+
- uses: actions/checkout@v4
154+
- name: Setup Python
155+
id: cache-pipenv
156+
uses: ./
157+
with:
158+
python-version: ${{ matrix.python-version }}
159+
cache: 'pipenv'
160+
cache-dependency-path: '**/pipenv-requirements.txt'
161+
- name: Install pipenv
162+
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
163+
- name: Install dependencies
164+
run: pipenv install requests
165+
166+
python-pip-dependencies-caching-with-pip-version:
167+
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }})
168+
runs-on: ${{ matrix.os }}
169+
strategy:
170+
fail-fast: false
171+
matrix:
172+
os:
173+
[
174+
ubuntu-latest,
175+
ubuntu-22.04,
176+
ubuntu-24.04-arm,
177+
ubuntu-22.04-arm,
178+
windows-latest,
179+
macos-latest,
180+
macos-13
181+
]
182+
python-version: [3.13.0t, 3.13.1t, 3.13.2t]
183+
steps:
184+
- uses: actions/checkout@v4
185+
- name: Setup Python
186+
uses: ./
187+
with:
188+
python-version: ${{ matrix.python-version }}
189+
cache: 'pip'
190+
pip-version: '25.0.1'
191+
- name: Install dependencies
192+
run: pip install numpy pandas requests
193+
194+
python-pip-dependencies-caching-path-with-pip-version:
195+
name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path)
196+
runs-on: ${{ matrix.os }}
197+
strategy:
198+
fail-fast: false
199+
matrix:
200+
os:
201+
[
202+
ubuntu-latest,
203+
ubuntu-22.04,
204+
ubuntu-24.04-arm,
205+
ubuntu-22.04-arm,
206+
windows-latest,
207+
macos-latest,
208+
macos-13
209+
]
210+
python-version: [3.13.0t, 3.13.1t, 3.13.2t]
211+
steps:
212+
- uses: actions/checkout@v4
213+
- name: Setup Python
214+
uses: ./
215+
with:
216+
python-version: ${{ matrix.python-version }}
217+
cache: 'pip'
218+
cache-dependency-path: __tests__/data/requirements.txt
219+
pip-version: '25.0.1'
220+
- name: Install dependencies
221+
run: pip install numpy pandas requests

0 commit comments

Comments
 (0)