Skip to content

Commit

Permalink
Merge pull request #32 from BirkhoffG/py312
Browse files Browse the repository at this point in the history
Support python=3.12
  • Loading branch information
BirkhoffG authored Jun 29, 2024
2 parents 37fec20 + 2b307e8 commit e96ae81
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nbdev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.10"
cache: "pip"
cache-dependency-path: settings.ini

Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: "3.10"
cache: "pip"
cache-dependency-path: settings.ini

Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
py: ['3.9', '3.10', '3.11']
py: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ requirements = jax[cpu] plum-dispatch
dev_requirements = scikit-learn pandas nbdev jupyter dm-haiku optax nbdev-mkdocs
torch_requirements = torch torchvision
tensorflow_requirements = tensorflow tensorflow-datasets
huggingface_requirements = datasets
huggingface_requirements = datasets numpy<2.0.0
black_formatting = False
readme_nb = index.ipynb
allowed_metadata_keys =
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
statuses = [ '1 - Planning', '2 - Pre-Alpha', '3 - Alpha',
'4 - Beta', '5 - Production/Stable', '6 - Mature', '7 - Inactive' ]
py_versions = '3.7 3.8 3.9 3.10 3.11'.split()
py_versions = '3.7 3.8 3.9 3.10 3.11 3.12'.split()

requirements = cfg.get('requirements','').split()
if cfg.get('pip_requirements'): requirements += cfg.get('pip_requirements','').split()
Expand Down

0 comments on commit e96ae81

Please sign in to comment.