Skip to content

Commit 4caf798

Browse files
committed
Remove trailing 3.10 references
1 parent 0e62e26 commit 4caf798

File tree

5 files changed

+36
-37
lines changed

5 files changed

+36
-37
lines changed

.github/workflows/auto-label.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "Automatic Labeling"
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [opened, synchronize, reopened]
66
issues:
77
types: [opened, reopened]
@@ -13,7 +13,7 @@ jobs:
1313
permissions:
1414
issues: write
1515
pull-requests: write
16-
16+
1717
steps:
1818
- name: Checkout repository
1919
uses: actions/checkout@v5
@@ -32,7 +32,7 @@ jobs:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3333
xs_label: 'size/xs'
3434
xs_max_size: '10'
35-
s_label: 'size/s'
35+
s_label: 'size/s'
3636
s_max_size: '100'
3737
m_label: 'size/m'
3838
m_max_size: '500'
@@ -51,62 +51,62 @@ jobs:
5151
const title = context.payload.issue.title.toLowerCase();
5252
const body = context.payload.issue.body?.toLowerCase() || '';
5353
const text = title + ' ' + body;
54-
54+
5555
const labels = [];
56-
56+
5757
// GPU/Hardware related
58-
if (text.includes('gpu') || text.includes('cuda') || text.includes('device') ||
58+
if (text.includes('gpu') || text.includes('cuda') || text.includes('device') ||
5959
text.includes('memory') || text.includes('jax.device')) {
6060
labels.push('gpu-support');
6161
}
62-
62+
6363
// Performance related
6464
if (text.includes('slow') || text.includes('performance') || text.includes('speed') ||
6565
text.includes('memory usage') || text.includes('regression') || text.includes('benchmark')) {
6666
labels.push('performance');
6767
}
68-
68+
6969
// Numerical stability
7070
if (text.includes('numerical') || text.includes('instability') || text.includes('nan') ||
7171
text.includes('inf') || text.includes('convergence') || text.includes('precision')) {
7272
labels.push('numerical-stability');
7373
}
74-
74+
7575
// JAX compatibility
76-
if (text.includes('jax') || text.includes('jit') || text.includes('vmap') ||
76+
if (text.includes('jax') || text.includes('jit') || text.includes('vmap') ||
7777
text.includes('pmap') || text.includes('xla')) {
7878
labels.push('jax-compatibility');
7979
}
80-
80+
8181
// Component detection
8282
if (text.includes('kernel') || text.includes('rbf') || text.includes('matern')) {
8383
labels.push('kernels');
8484
}
85-
85+
8686
if (text.includes('gaussian process') || text.includes(' gp ') || text.includes('posterior') ||
8787
text.includes('prior') || text.includes('inference')) {
8888
labels.push('gps');
8989
}
90-
90+
9191
if (text.includes('variational') || text.includes('elbo') || text.includes('svgp')) {
9292
labels.push('variational');
9393
}
94-
94+
9595
if (text.includes('likelihood') || text.includes('bernoulli') || text.includes('poisson')) {
9696
labels.push('likelihoods');
9797
}
98-
98+
9999
if (text.includes('optimization') || text.includes('optimizer') || text.includes('fit') ||
100100
text.includes('scipy') || text.includes('optax')) {
101101
labels.push('optimization');
102102
}
103-
103+
104104
// Documentation related
105105
if (text.includes('documentation') || text.includes('docs') || text.includes('example') ||
106106
text.includes('tutorial') || text.includes('docstring')) {
107107
labels.push('documentation');
108108
}
109-
109+
110110
// Bug vs Feature detection
111111
if (text.includes('bug') || text.includes('error') || text.includes('fail') ||
112112
text.includes('broken') || text.includes('issue') || text.includes('problem')) {
@@ -115,7 +115,7 @@ jobs:
115115
text.includes('implement') || text.includes('support') || text.includes('new')) {
116116
labels.push('enhancement');
117117
}
118-
118+
119119
// Difficulty assessment
120120
if (text.includes('good first issue') || text.includes('beginner') || text.includes('easy')) {
121121
labels.push('good first issue');
@@ -124,14 +124,14 @@ jobs:
124124
} else if (text.includes('complex') || text.includes('advanced') || text.includes('expert')) {
125125
labels.push('expert-level');
126126
}
127-
127+
128128
// Priority detection
129129
if (text.includes('urgent') || text.includes('critical') || text.includes('blocking')) {
130130
labels.push('priority/high');
131131
} else if (text.includes('nice to have') || text.includes('low priority')) {
132132
labels.push('priority/low');
133133
}
134-
134+
135135
// Apply labels
136136
if (labels.length > 0) {
137137
await github.rest.issues.addLabels({
@@ -150,51 +150,51 @@ jobs:
150150
const title = context.payload.pull_request.title.toLowerCase();
151151
const body = context.payload.pull_request.body?.toLowerCase() || '';
152152
const text = title + ' ' + body;
153-
153+
154154
const labels = [];
155-
155+
156156
// Breaking changes
157157
if (text.includes('breaking') || text.includes('breaking change') ||
158158
title.includes('!:') || body.includes('breaking change')) {
159159
labels.push('breaking-change');
160160
}
161-
161+
162162
// Dependencies
163163
if (title.includes('deps') || title.includes('dependenc') || title.includes('bump') ||
164164
text.includes('requirements') || text.includes('pyproject.toml')) {
165165
labels.push('dependencies');
166166
}
167-
168-
// CI/Infrastructure
167+
168+
// CI/Infrastructure
169169
if (text.includes('github actions') || text.includes('workflow') || text.includes('.yml') ||
170170
text.includes('ci') || text.includes('pipeline')) {
171171
labels.push('ci');
172172
}
173-
173+
174174
// Performance improvements
175175
if (text.includes('performance') || text.includes('optimization') || text.includes('faster') ||
176176
text.includes('efficient') || text.includes('benchmark')) {
177177
labels.push('performance');
178178
}
179-
179+
180180
// Documentation
181181
if (text.includes('docs') || text.includes('readme') || text.includes('docstring') ||
182182
text.includes('example') || text.includes('.md') || text.includes('tutorial')) {
183183
labels.push('documentation');
184184
}
185-
185+
186186
// Tests
187187
if (text.includes('test') || text.includes('pytest') || text.includes('coverage') ||
188188
title.startsWith('test:') || text.includes('testing')) {
189189
labels.push('tests');
190190
}
191-
191+
192192
// Security
193193
if (text.includes('security') || text.includes('vulnerability') || text.includes('cve') ||
194194
text.includes('safety') || text.includes('bandit')) {
195195
labels.push('security');
196196
}
197-
197+
198198
// Apply labels
199199
if (labels.length > 0) {
200200
await github.rest.issues.addLabels({

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ jobs:
6060
fail-fast: false
6161
matrix:
6262
os: [ubuntu-latest, macos-latest]
63-
python-version: ['3.10', '3.11', '3.12', '3.13']
63+
python-version: ['3.11', '3.12', '3.13']
6464
exclude:
6565
# Reduce matrix size - test all Python versions on Ubuntu, subset on others
6666
- os: macos-latest
67-
python-version: '3.10'
67+
python-version: '3.11'
6868
- os: macos-latest
6969
python-version: '3.12'
7070

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ conda install --channel conda-forge gpjax
136136
>
137137
> We advise you create virtual environment before installing:
138138
> ```
139-
> conda create -n gpjax_experimental python=3.10.0
139+
> conda create -n gpjax_experimental python=3.11.0
140140
> conda activate gpjax_experimental
141141
> ```
142142

docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ hardware acceleration support as detailed in the
5050
We advise you create virtual environment before installing:
5151

5252
```bash
53-
conda create -n gpjax_experimental python=3.10.0
53+
conda create -n gpjax_experimental python=3.11.0
5454
conda activate gpjax_experimental
5555
```
5656

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ authors = [{ name = "Thomas Pinder", email = "[email protected]" }]
1414
classifiers = [
1515
"Development Status :: 4 - Beta",
1616
"Programming Language :: Python",
17-
"Programming Language :: Python :: 3.10",
1817
"Programming Language :: Python :: 3.11",
1918
"Programming Language :: Python :: 3.12",
2019
"Programming Language :: Python :: 3.13",
@@ -194,7 +193,7 @@ skip_covered = true
194193

195194
[tool.black] # https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-via-a-file
196195
line-length = 88
197-
target-version = ["py310"]
196+
target-version = ["py311"]
198197

199198
[tool.pytest.ini_options] # https://docs.pytest.org/en/latest/reference/reference.html#ini-options-ref
200199
filterwarnings = ["error", "ignore::DeprecationWarning"]
@@ -207,7 +206,7 @@ cache-dir = "~/.cache/ruff"
207206
exclude = ["docs/", "examples/"]
208207
line-length = 88
209208
src = ["gpjax", "tests"]
210-
target-version = "py310"
209+
target-version = "py311"
211210

212211
[tool.ruff.lint]
213212
dummy-variable-rgx = "^_$"

0 commit comments

Comments
 (0)