Skip to content

Commit

Permalink
Update to latest release workflow + bump to Lineax compatible with la…
Browse files Browse the repository at this point in the history
…test JAX
  • Loading branch information
patrick-kidger committed Sep 29, 2024
1 parent 6d5b6e4 commit 211d3d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Release
uses: patrick-kidger/action_update_python_project@v2
uses: patrick-kidger/action_update_python_project@v4
with:
python-version: "3.11"
test-script: |
Expand All @@ -21,7 +21,3 @@ jobs:
pypi-token: ${{ secrets.pypi_token }}
github-user: patrick-kidger
github-token: ${{ github.token }}
email-user: ${{ secrets.email_user }}
email-token: ${{ secrets.email_token }}
email-server: ${{ secrets.email_server }}
email-target: ${{ secrets.email_target }}
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.7
hooks:
- id: ruff # linter
- id: ruff-format
types_or: [ python, pyi, jupyter ]
args: [ --fix ]
- id: ruff-format # formatter
- id: ruff
types_or: [ python, pyi, jupyter ]
args: [ --fix ]
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.331
hooks:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ classifiers = [
"Topic :: Scientific/Engineering :: Mathematics",
]
urls = {repository = "https://github.com/patrick-kidger/optimistix" }
dependencies = ["jax>=0.4.28", "jaxtyping>=0.2.23", "lineax>=0.0.5", "equinox>=0.11.7", "typing_extensions>=4.5.0"]
dependencies = ["jax>=0.4.28", "jaxtyping>=0.2.23", "lineax>=0.0.8", "equinox>=0.11.7", "typing_extensions>=4.5.0"]

[build-system]
requires = ["hatchling"]
Expand Down

0 comments on commit 211d3d9

Please sign in to comment.