Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
bedf085
1
Parent(s):
727a57c
chore: update python version constraints
Browse files
.github/workflows/CI.yml
CHANGED
@@ -32,12 +32,12 @@ jobs:
|
|
32 |
strategy:
|
33 |
matrix:
|
34 |
julia-version: ['1']
|
35 |
-
python-version: ['3.
|
36 |
os: [ubuntu-latest]
|
37 |
test-id: [main]
|
38 |
include:
|
39 |
- julia-version: '1.6'
|
40 |
-
python-version: '3.
|
41 |
os: ubuntu-latest
|
42 |
test-id: include
|
43 |
- julia-version: '1'
|
@@ -99,11 +99,11 @@ jobs:
|
|
99 |
strategy:
|
100 |
matrix:
|
101 |
os: ['ubuntu-latest']
|
102 |
-
python-version: ['3.
|
103 |
julia-version: ['1']
|
104 |
include:
|
105 |
- os: ubuntu-latest
|
106 |
-
python-version: '3.
|
107 |
julia-version: '1.6'
|
108 |
steps:
|
109 |
- uses: actions/checkout@v4
|
@@ -122,7 +122,7 @@ jobs:
|
|
122 |
shell: bash -l {0}
|
123 |
strategy:
|
124 |
matrix:
|
125 |
-
python-version: ['3.
|
126 |
os: ['ubuntu-latest']
|
127 |
|
128 |
steps:
|
@@ -181,8 +181,8 @@ jobs:
|
|
181 |
strategy:
|
182 |
matrix:
|
183 |
python-version:
|
184 |
-
- '3.
|
185 |
-
- '3.
|
186 |
os: ['ubuntu-latest']
|
187 |
|
188 |
steps:
|
@@ -199,10 +199,10 @@ jobs:
|
|
199 |
pip install mypy
|
200 |
- name: "Install additional dependencies"
|
201 |
run: python -m pip install jax jaxlib torch
|
202 |
-
if: ${{ matrix.python-version != '3.
|
203 |
- name: "Run mypy"
|
204 |
run: python -m mypy --install-types --non-interactive pysr
|
205 |
-
if: ${{ matrix.python-version != '3.
|
206 |
- name: "Run compatible mypy"
|
207 |
run: python -m mypy --ignore-missing-imports pysr
|
208 |
-
if: ${{ matrix.python-version == '3.
|
|
|
32 |
strategy:
|
33 |
matrix:
|
34 |
julia-version: ['1']
|
35 |
+
python-version: ['3.12']
|
36 |
os: [ubuntu-latest]
|
37 |
test-id: [main]
|
38 |
include:
|
39 |
- julia-version: '1.6'
|
40 |
+
python-version: '3.8'
|
41 |
os: ubuntu-latest
|
42 |
test-id: include
|
43 |
- julia-version: '1'
|
|
|
99 |
strategy:
|
100 |
matrix:
|
101 |
os: ['ubuntu-latest']
|
102 |
+
python-version: ['3.12']
|
103 |
julia-version: ['1']
|
104 |
include:
|
105 |
- os: ubuntu-latest
|
106 |
+
python-version: '3.8'
|
107 |
julia-version: '1.6'
|
108 |
steps:
|
109 |
- uses: actions/checkout@v4
|
|
|
122 |
shell: bash -l {0}
|
123 |
strategy:
|
124 |
matrix:
|
125 |
+
python-version: ['3.12']
|
126 |
os: ['ubuntu-latest']
|
127 |
|
128 |
steps:
|
|
|
181 |
strategy:
|
182 |
matrix:
|
183 |
python-version:
|
184 |
+
- '3.12'
|
185 |
+
- '3.8'
|
186 |
os: ['ubuntu-latest']
|
187 |
|
188 |
steps:
|
|
|
199 |
pip install mypy
|
200 |
- name: "Install additional dependencies"
|
201 |
run: python -m pip install jax jaxlib torch
|
202 |
+
if: ${{ matrix.python-version != '3.8' }}
|
203 |
- name: "Run mypy"
|
204 |
run: python -m mypy --install-types --non-interactive pysr
|
205 |
+
if: ${{ matrix.python-version != '3.8' }}
|
206 |
- name: "Run compatible mypy"
|
207 |
run: python -m mypy --ignore-missing-imports pysr
|
208 |
+
if: ${{ matrix.python-version == '3.8' }}
|
.github/workflows/CI_Windows.yml
CHANGED
@@ -30,7 +30,7 @@ jobs:
|
|
30 |
strategy:
|
31 |
matrix:
|
32 |
julia-version: ['1']
|
33 |
-
python-version: ['3.
|
34 |
os: [windows-latest]
|
35 |
|
36 |
steps:
|
|
|
30 |
strategy:
|
31 |
matrix:
|
32 |
julia-version: ['1']
|
33 |
+
python-version: ['3.12']
|
34 |
os: [windows-latest]
|
35 |
|
36 |
steps:
|
.github/workflows/CI_docker_large_nightly.yml
CHANGED
@@ -19,7 +19,7 @@ jobs:
|
|
19 |
fail-fast: false
|
20 |
matrix:
|
21 |
julia-version: ['1.6', '1']
|
22 |
-
python-version: ['3.
|
23 |
os: [ubuntu-latest]
|
24 |
arch: ['linux/amd64', 'linux/arm64']
|
25 |
|
|
|
19 |
fail-fast: false
|
20 |
matrix:
|
21 |
julia-version: ['1.6', '1']
|
22 |
+
python-version: ['3.8', '3.12']
|
23 |
os: [ubuntu-latest]
|
24 |
arch: ['linux/amd64', 'linux/arm64']
|
25 |
|
.github/workflows/CI_large_nightly.yml
CHANGED
@@ -23,8 +23,8 @@ jobs:
|
|
23 |
strategy:
|
24 |
fail-fast: false
|
25 |
matrix:
|
26 |
-
julia-version: ['1.6', '1.8', '1.
|
27 |
-
python-version: ['3.
|
28 |
os: [ubuntu-latest, macos-latest, windows-latest]
|
29 |
|
30 |
steps:
|
|
|
23 |
strategy:
|
24 |
fail-fast: false
|
25 |
matrix:
|
26 |
+
julia-version: ['1.6', '1.8', '1.10']
|
27 |
+
python-version: ['3.8', '3.10', '3.12']
|
28 |
os: [ubuntu-latest, macos-latest, windows-latest]
|
29 |
|
30 |
steps:
|
.github/workflows/CI_mac.yml
CHANGED
@@ -30,7 +30,7 @@ jobs:
|
|
30 |
strategy:
|
31 |
matrix:
|
32 |
julia-version: ['1']
|
33 |
-
python-version: ['3.
|
34 |
os: [macos-latest]
|
35 |
|
36 |
steps:
|
|
|
30 |
strategy:
|
31 |
matrix:
|
32 |
julia-version: ['1']
|
33 |
+
python-version: ['3.12']
|
34 |
os: [macos-latest]
|
35 |
|
36 |
steps:
|
.github/workflows/docker_deploy.yml
CHANGED
@@ -18,8 +18,8 @@ jobs:
|
|
18 |
matrix:
|
19 |
os: [ubuntu-latest]
|
20 |
arch: [linux/amd64]
|
21 |
-
python-version: [3.
|
22 |
-
julia-version: [1.
|
23 |
steps:
|
24 |
- name: Checkout
|
25 |
uses: actions/checkout@v4
|
|
|
18 |
matrix:
|
19 |
os: [ubuntu-latest]
|
20 |
arch: [linux/amd64]
|
21 |
+
python-version: [3.12.3]
|
22 |
+
julia-version: [1.10.3]
|
23 |
steps:
|
24 |
- name: Checkout
|
25 |
uses: actions/checkout@v4
|
environment.yml
CHANGED
@@ -2,7 +2,7 @@ name: test
|
|
2 |
channels:
|
3 |
- conda-forge
|
4 |
dependencies:
|
5 |
-
- python>=3.
|
6 |
- sympy>=1.0.0,<2.0.0
|
7 |
- pandas>=0.21.0,<3.0.0
|
8 |
- numpy>=1.13.0,<2.0.0
|
|
|
2 |
channels:
|
3 |
- conda-forge
|
4 |
dependencies:
|
5 |
+
- python>=3.8
|
6 |
- sympy>=1.0.0,<2.0.0
|
7 |
- pandas>=0.21.0,<3.0.0
|
8 |
- numpy>=1.13.0,<2.0.0
|
pyproject.toml
CHANGED
@@ -11,7 +11,7 @@ authors = [
|
|
11 |
description = "Simple and efficient symbolic regression"
|
12 |
readme = {file = "README.md", content-type = "text/markdown"}
|
13 |
license = {file = "LICENSE"}
|
14 |
-
requires-python = ">=3.
|
15 |
classifiers = [
|
16 |
"Programming Language :: Python :: 3",
|
17 |
"Operating System :: OS Independent",
|
|
|
11 |
description = "Simple and efficient symbolic regression"
|
12 |
readme = {file = "README.md", content-type = "text/markdown"}
|
13 |
license = {file = "LICENSE"}
|
14 |
+
requires-python = ">=3.8"
|
15 |
classifiers = [
|
16 |
"Programming Language :: Python :: 3",
|
17 |
"Operating System :: OS Independent",
|