Skip to content

Commit 02b874b

Browse files
committed
Version bump
1 parent d809345 commit 02b874b

File tree

6 files changed

+13
-12
lines changed

6 files changed

+13
-12
lines changed

.conda/meta.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ build:
1717

1818
requirements:
1919
host:
20-
- python>=3.8
20+
- python>=3.10
2121

2222
run:
23-
- python>=3.8
24-
- pytorch>=1.11
23+
- python>=3.10
24+
- jaxtyping
25+
- mpmath>=0.19,<=1.3
26+
- pytorch>=2.0
2527
- scipy
26-
- jaxtyping==0.2.19
2728

2829
test:
2930
imports:

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Python
2323
uses: actions/setup-python@v2
2424
with:
25-
python-version: "3.8"
25+
python-version: "3.10"
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
@@ -44,7 +44,7 @@ jobs:
4444
- uses: conda-incubator/setup-miniconda@v2
4545
with:
4646
auto-update-conda: false
47-
python-version: "3.8"
47+
python-version: "3.10"
4848
- name: Install dependencies
4949
run: |
5050
conda install -y anaconda-client conda-build

.github/workflows/run_linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Python
1515
uses: actions/setup-python@v2
1616
with:
17-
python-version: "3.8"
17+
python-version: "3.10"
1818
- name: Install dependencies
1919
run: |
2020
pip install flake8==5.0.4 flake8-print==5.0.0 pre-commit

.github/workflows/run_test_suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v2
1919
with:
20-
python-version: "3.8"
20+
python-version: "3.10"
2121
- name: Install dependencies
2222
run: |
2323
if [[ ${{ matrix.pytorch-version }} = "latest" ]]; then

.github/workflows/run_type_checked_test_suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
if [[ ${{ matrix.pytorch-version }} = "latest" ]]; then
2828
pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
2929
else
30-
pip install torch==1.11+cpu -f https://download.pytorch.org/whl/torch_stable.html
30+
pip install torch==2.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
3131
pip install "numpy<2"
3232
fi
3333
pip install -e ".[test]"

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from setuptools import find_packages, setup
99

1010
REQUIRED_MAJOR = 3
11-
REQUIRED_MINOR = 8
11+
REQUIRED_MINOR = 10
1212

1313
# Check for python version
1414
if sys.version_info < (REQUIRED_MAJOR, REQUIRED_MINOR):
@@ -24,7 +24,7 @@
2424

2525
readme = open("README.md").read()
2626

27-
torch_min = "1.11"
27+
torch_min = "2.0"
2828
install_requires = [">=".join(["torch", torch_min])]
2929

3030
# if recent dev version of PyTorch is installed, no need to install stable
@@ -77,7 +77,7 @@ def find_version(*file_paths):
7777
"Programming Language :: Python :: 3",
7878
],
7979
packages=find_packages(exclude=["test", "test.*"]),
80-
python_requires=">=3.8",
80+
python_requires=f">={REQUIRED_MAJOR}.{REQUIRED_MINOR}",
8181
install_requires=install_requires,
8282
extras_require={
8383
"dev": ["pre-commit", "setuptools_scm", "ufmt", "twine"],

0 commit comments

Comments
 (0)