Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
pull_request:
branches:
- 'master'
- 'release-v1'
paths:
- '**'

Expand Down Expand Up @@ -42,7 +43,7 @@ jobs:
os: ubuntu-latest
test-id: include
- julia-version: '1'
python-version: '3.8'
python-version: '3.9'
os: ubuntu-latest
test-id: include

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/CI_Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
pull_request:
branches:
- 'master'
- 'release-v1'
paths:
- '**'

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/CI_apptainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
pull_request:
branches:
- 'master'
- 'release-v1'
paths:
- '**'

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/CI_conda_forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3']
# NOTE: pin to avoid free-threaded Python variants (e.g. 3.14t)
python-version: ['3.10', '3.13']
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']

steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/CI_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
pull_request:
branches:
- 'master'
- 'release-v1'
paths:
- '**'

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/CI_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
pull_request:
branches:
- 'master'
- 'release-v1'
paths:
- '**'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: "CodeQL"

on:
push:
branches: [ "master" ]
branches: [ "master", "release-v1" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
branches: [ "master", "release-v1" ]
schedule:
- cron: '28 17 * * 1'

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/update_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ jobs:
fi

- name: "Create PR if necessary"
uses: peter-evans/create-pull-request@v7
uses: peter-evans/create-pull-request@v8
with:
branch: backend-update/v${{ steps.get-latest.outputs.version }}
base: release-v1
title: "Automated update to backend: v${{ steps.get-latest.outputs.version }}"
body: |
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: test
channels:
- conda-forge
dependencies:
- python>=3.8
- python>=3.9
- sympy>=1.0.0,<2.0.0
- pandas>=0.21.0,<4.0.0
- numpy>=1.13.0,<3.0.0
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ authors = [
description = "Simple and efficient symbolic regression"
readme = {file = "README.md", content-type = "text/markdown"}
license = {file = "LICENSE"}
requires-python = ">=3.8"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
Expand Down
4 changes: 2 additions & 2 deletions pysr/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def add_export_formats(
)

if output_jax_format:
exports["jax_format"] = jax_format
exports["jax_format"] = pd.Series(jax_format, index=output.index)
if output_torch_format:
exports["torch_format"] = torch_format
exports["torch_format"] = pd.Series(torch_format, index=output.index)

return exports
Loading